Update resources.md

fix links

Docs Build status updates of commit 91af22e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamics-gp/resources.md
:warning:Warning
View
Details

dynamics-gp/resources.md

Line 85, Column 3: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/dynamics/s-e/gp/hot_topic_mdgp2016upgrade_413' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 85, Column 3: [Suggestion-docs-link-absolute] Absolute link 'https://docs.microsoft.com/en-us/dynamics/s-e/gp/hot_topic_mdgp2016upgrade_413' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 1d801e1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-gp/resources.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Downgrade phpunit

I tried to rewrite the tests in #629 and found it very hard.
IMO we should better stay at PHPUnit 4.8 for now then have all the tests broken.

Hmm so this means we drop updating the tests and stick to PHPUnit 4?!

what we discuessed here

I'd propose staying on the PHPUnit 4 for now. Just to have the tests passing.
Then we can upgrade it in a PR, rewriting/fixing all the tests.

I'd propose staying on the PHPUnit 4 for now. Just to have the tests passing.
Then we can upgrade it in a PR, rewriting/fixing all the tests.

I agree but that was the plan for v2.2, we kept it as it is for v1.1 now.
Maybe @tillkruss have a different opnion! lets see what he thinks.

I see no point in having the main branch tests broken.
I'm not against upgrading phpunit, I just want to have the tests working to check new code/fixes.

I see no point in having the main branch tests broken.
I'm not against upgrading phpunit, I just want to have the tests working to check new code/fixes.

yes I agree with you it should be working and someone else doing the tests update.
My point was to see if we really have to do the upgrade or not will keep it like this in v2, will see.

I'd propose staying on the PHPUnit 4 for now. Just to have the tests passing.
Then we can upgrade it in a PR, rewriting/fixing all the tests.

@b1rdex I agree. I mean I do think we should upgrade to a newer PHPUnit version for Predis v2.0 but I just don't see the point of doing it right now if PHPUnit 4 still works with PHP 7.4 / PHP 8.0 after patching. Investigating on what needs to be done for the upgrade is fine, obviously, but doing the actual work of rewriting tests should be done when the codebase on main will be stable enough in terms of changes in order to avoid wasting time.
On a kind of related note, I understand the excitement of reviving Predis and it's awesome but IMHO we are going a bit too fast and sometimes getting too trigger-happy with merges and commits, for no practical reasons. Clearly this doesn't mean we should stick with how I was getting things done back when I was actively working on this library alone, it wouldn't work now and I was probably doing the exact opposite to the extreme anyway (test stuff locally first on multiple runtimes, think about changes twice or thrice for a few days and then finally push stuff). Just my point of view, that goes without saying 😉

My point was to see if we really have to do the upgrade or we will keep it like this in v2, will see.

@AhmedRaafat14 it really depends on the effort required for upgrading to a newer PHPUnit, but I think it will be worth doing so for v2.

@nrk I completely agree with you as we decided to get a little bit slow, I also would love to merge this PR at least to have a successful build on the main branch so people can feel trusty on their code changes exactly as @b1rdex suggested.
Also, I will take a lazy approach to upgrade PHPUnit and fix the tests step by step as we go & will always rebase to latest changes on the main so be inline with the code changes and not get many merge conflicts at the end 😅.

I agree with upgrading PHPUnit and fixing the tests slowly over the next weeks. No rush, but keeping PHPUnit v4 going seems like dragging on baggage.

Should we merge #629 in the meantime to fix up some of the tests?

@predishq/team If any of you want to jump in on fixing up the tests piece by piece, please go for it 🙌🏻

@predishq/team If any of you want to jump in on fixing up the tests piece by piece, please go for it 🙌🏻

I was planning to do it :)

@AhmedRaafat14 LOL! I started on that this morning. I can drop it if you want to though.

@AhmedRaafat14 LOL! I started on that this morning. I can drop it if you want to though.

Hahah no problem move on :)
Ping me if you need my help :)

@AhmedRaafat14 ok, I'll keep you in the loop.

I still don't understand why we didn't proceed with #630 (this PR) to revert to a working test suite first and then do the grunt work of converting the whole set of tests to the new framework on a separate PR to be merged at a later stage, but oh well if there's someone already working on it I guess it's fine 😃 I'm going back to recovering stuff from master-stale in the meanwhile 😉

As defined in v2 Roadmap in #615. The base PHP version would be 7.2 for v2. My suggestion is that we keep PHPUnit version to 6 (PHP 7) minimum for v2.

As defined in v2 Roadmap in #615. The base PHP version would be 7.2 for v2. My suggestion is that we keep PHPUnit version to 6 (PHP 7) minimum for v2.

@srmklive but their matrix says that PHPUnit 8 supports PHP versions starting with 7.2 which will be our minimum target for v2 as dicussed. It's totally possible I'm missing something, but what would be the advantage of going with PHPUnit 6?

@nrk my view is there might be a lot of application using Predis on 7.0 & 7.1 that are using v1.1. But once v2 is released, they may want to use v2 in their applications.

People running 7.0 and 7.1 are probably also fine with running Predis 1.x, no?

@nrk my view is there might be a lot of application using Predis on 7.0 & 7.1 that are using v1.1. But once v2 is released, they may want to use v2 in their applications.

@srmklive phpunit is a dev dependency. It doesn't affect root composer package restrictions.


react-native support

@ixje in slack mentioned that neon-js has problems integrating with react-native (also that @totalvm may have some experience with this)
it would be great to resolve these issue so that other app developers can use the library

To elaborate on this;
I initially used neon-js in neon-wallet-react-native after some startup help of @snowypowers (see #18) to build it in a suitable way. This worked fine for iOS with some tweaks, but once I wanted to make it work with Android all hell broke lose. After spending 3-4 days fighting various babel errors (@totalvm also gave it some time in trying to solve those) to get it up and running I gave up an wrote my own implementation.
Note that back then I was using react-native version 0.48.3 and there were a serious number of issues when it came to the babel presets on their issue tracker and SO. We're currently at 0.53-RC so perhaps they solved some of that to make it work more easily.
If you have any questions drop me a DM on slack or mention me here.

any updates?

I believe this has been working for a while now, but it's good to verify again and otherwise report whats not working. 1 thing you'll notice is that encryption/decryption of keys is not feasible on the actual device without moving that to native. You can read more about that here: https://github.com/CityOfZion/neon-wallet-react-native/issues/6
and to add to that issue; i can confirm it also works on android

See also #474

https://github.com/CityOfZion/neon-js/issues/474#issuecomment-669508470

https://github.com/CityOfZion/neon-js/issues/474#issuecomment-669932463


Request for configurations

Hello,
I am currently using the snntoolbox to test SNN conversion accuracy under various configurations.
I was able to get useful information and really appreciate for providing this nice tool.
However, at some point, I found it is quite difficult to achieve error rates reported in the paper (Conversion of analog to spiking neural networks using sparse temporal coding).
For TTFS, I have tried out various configurations (duartions, dt, etc.) on Lenet-5, but I was unable to achieve the error rate of 2% (as reported in the paper).
The error rate exceeds 10%, far worse than the error rate reported in the paper.
So, I was wondering if I'm making a mistake at some point (maybe the configuration was wrong).
If you don't mind, can I get the well-fit configuration files for temporal_mean_rate and TTFS coding scheme?
Thank you!

The issue is moved to the project main repository. Sorry for any inconvenience!


Add internal copr build to the copr-build workflow

Can one of the admins verify this patch?

@vojtechsokol Do you have a link to the successful run (in your fork for example)?

@fernflower There is a run in my fork: https://github.com/vojtechsokol/leapp/commit/2d3b8162de703255157e244e255d67dc495469d1
however only with srpm Makefile target as I didn't want to clutter the copr project. If you still want a run with copr_build target, let me know and I'll setup a run in a private copr project.

@vojtechsokol  it seems this PR doesn't make sense anymore as we are leaving internal copr for leapp related projects. closing. Feel free to reopen it if I miss something


fix layout thrashing - performance issue

Problem:
There is huge performance problem while handling mouse move first time. It freeze 1-2s before moving when sortable element count increased. If sortable element has more complicated dom tree it getting even worse.
What cause the problem
While handling first mousemove there is for loop applying style transform: translate3d(0,0,0) for each node. On the next iteration of the loop, the browser has to account for the fact that styles have changed since transform was last requested (in the previous iteration), and so it must apply the style changes, and run layout. This will happen on every single iteration!.

Solution
Moving applying style outside of calcuation loop after all calculation done.

I'm fairly certain this issue also causes some significant performance issues we're seeing in IE11. I'd love to see this PR merged!


Update index.js

Fix https://github.com/shama/gulp-webpack/issues/22 (Invalid file using querystring)

Thanks!

May you generate a new version on npm with this fix please?
Thanks

@shama I've found a issue related with this fix. We was creating a file using the querystring inside the name of file.
I've fixed and its working good now ;)
https://github.com/raphaelluchini/gulp-webpack/commit/a80c2317f7e52a1a7f1f3d7fa30a98ae9d4cf294


Setting LCARS as front-end theme messes up the sidebar

When I run the automation to set the them, once I refresh the browser the sidebar only shows the very top part - I can't access any of the additional buttons/links.
It does work properly until I refresh the browser and clearing my cache doesn't solve the problem.

Can you please provide a screenshot of what you are seeing? Thanks.

[image0.jpeg]
Jonathan
On 4 Jan 2023, at 15:06, Jonathan Drake @.***> wrote:

<385CDF35-1B69-416D-89E8-4D1BDB22226D.jpeg>

Sorry Jonathan, that didn't work:

you’ll also notice that there are no gaps between the sidebar button - hopefully this one works 😁

Sorry you can’t see the buttons of course!

Yeah, that ain't right. Looks like an incompatibility.
What other front-end mods do you have installed?

None as far as I know - this was the first one I added.

What sort of thing might affectnit/

Did you call the reload themes service?

What sort of thing might affectnit/

Anything that modifies the sidebar or header bar could potentially break things. Another user bulk-disabled a bunch of custom cards he wasn't using anymore, and that fixed his issues with the sidebar and header. I would say to make sure you have followed the readme closely. It looks like you may have added the theme property to your cards' YAML which is not necessary.

I've had a look - I do use layout-card and custom-button card - could these impact it do you think?  I've noticed I can't get the standard weather card to show with the middle-left LCARS as you have in the examples.
Whilst writing, what layout do you use for the entire screen - is it a single column or multiple?  I think it would be helpful if you could add a bit to show how you've built up on of the screens as it will save an awful lot of fiddling about trying bits out :-)
Definitely want to get this to work as I've been wanting LCARS for a very long time!
J

I'm really struggling to make any progress on resolving this.  I only have a few HACS front-end integrations and 1 other theme installed, but I don't know what else to try.  Incidentally I have tried the reload themes service but it doesn't change anything.  If I move to another dashboard the theme kicks in other than the gaps between buttons on the sidebar, but if I refresh the browser, the sidebar goes again and I have to reset to the standard theme.

I just removed the layout-card integration but that's only made things worse as the custom-gap card seems to have gone with it now.

I do like what you've got so far! But we've gotta get that sidebar and header working for you! Can you verify that the card-mod.js file is in the location you specified in your configuration.yaml? For example:
frontend:
  javascript_version: latest
  themes: !include_dir_merge_named themes
  extra_module_url:
    - /local/community/lovelace-card-mod/card-mod.js

...check that card-mod.js is there. In case you don't know, the local folder is the www folder in the root of your HA installation directory.

It may be helpful if you can provide the full list of front-end mods you've installed from HACS, and if you have anything from the addon-store that modify anything in the UI.
Also, are you on the latest version? Have you modified LCARS.yaml at all?

Here's the full YAML for one of my dashboards:
views:
  - title: Home
    cards:
      - type: vertical-stack
        cards:
          - type: markdown
            content: '# Entryway'
            card_mod:
              class: header
          - show_current: true
            show_forecast: false
            type: weather-forecast
            entity: weather.home
            name: Outside
            card_mod:
              class: middle
          - type: horizontal-stack
            cards:
              - show_name: true
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: cover.garage_door
                icon: mdi:garage-variant
                show_state: true
                icon_height: 30px
                card_mod:
                  class: button-bullet
              - show_name: true
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: light.stairs
                icon: mdi:stairs
                icon_height: 30px
                card_mod:
                  class: button-lozenge
          - type: custom:mail-and-packages-card
            name: Mail Summary
            updated: sensor.mail_updated
            details: true
            image: false
            packages_delivered: sensor.mail_packages_delivered
            packages_in_transit: sensor.mail_packages_in_transit
            fedex_packages: sensor.mail_fedex_packages
            ups_packages: sensor.mail_ups_packages
            usps_packages: sensor.mail_usps_packages
            amazon_packages: sensor.mail_amazon_packages
            usps_mail: sensor.mail_usps_mail
            gif_sensor: sensor.mail_image_system_path
            camera_entity: camera.mail_usps_camera
            camera: true
            card_mod:
              class: footer
      - type: vertical-stack
        cards:
          - type: markdown
            content: '# Front Door'
            card_mod:
              class: header
          - show_state: true
            show_name: true
            camera_view: auto
            type: picture-entity
            entity: camera.front_doorbell_main
            image: https://demo.home-assistant.io/stub_config/bedroom.png
            aspect_ratio: '16:9'
            card_mod:
              class: middle
          - show_name: true
            show_icon: true
            type: button
            tap_action:
              action: toggle
            entity: lock.front_door_doorlock
            show_state: true
            name: Front door lock
            card_mod:
              class: footer

Here's the full list of my front-end mods:

And here's my list of add-ons:

card-mod.js is in the right location.

Oh and no I haven't changed the yaml file

Okay, I'm going to install those and see if I can reproduce.

Thank you.  I do appreciate this help as I'm desperate to get it up and running :-)

I managed to reproduce it once, but it fixed itself on the next refresh.
Out of curiosity, what hardware are you running on?

Its an R-Pi 4

Okay, so far I am able to reproduce the exact screenshot you shared by the following:

Set a non-LCARS theme from the profile page
Refresh so that everything is set to the new theme
Set an LCARS theme
Navigate to a dashboard
However, once on a dashboard, if I refresh, the sidebar loads correctly and stays that way.

Where do I set the theme from profile?

Found it - ignore that.

It does say backend-selected

Yeah, that means your browser session is relying on an automation to set it, which is fine.
I'm beginning to think this is hardware/performance-related, but not sure yet. Almost through all your mods.

What hardware are you running it on?

I think it's performance.
Let's talk about your setup, now.

Are you using a proxy/reverse-proxy like Nginx or Apache to access your Home assistant, or are you accessing it directly by <ip>:8123?
If you are behind a proxy, what happens when you access via <ip>:8123?
If you are behind a proxy, have you set up Cloudflare?

I'm running my instance on a full-fat Ubuntu server with AMD Ryzen 4000 series CPU, NVMe storage, and hardwired to my network. I have Nginx set up with Cloudflare for optimization, and I am using my own domain name and static IP--no DDNS service like DuckDNS.
If you have Nginx set up so that you can access your Home Assistant outside of your home network, I would recommend setting up Cloudflare, which is pretty easy.

Some other things:

Every time you change the theme, you should call the reload themes service and then refresh the browser, especially if switching from a non-LCARS theme.
I would recommend removing every front-end mod that you are not using, especially the ones that ask you to reload the frontend, as each of those get loaded every time a page loads.

Also recommend clearing your browser cache.

I’ll try that later - I have tried clearing the cache but will do it again.

I removed all front-end integrations, cleared cache etc and this is the result.  This is the same dashboard I sent previously.  Currently restoring from backup.  Don’t really understand why it got worse 🙄
[image0.jpeg]
Jonathan
On 6 Jan 2023, at 14:07, Jesse Wisener @.***> wrote:

Also recommend clearing your browser cache.
—
Reply to this email directly, view it on GitHubhttps://github.com/th3jesta/ha-lcars/issues/22#issuecomment-1373690241, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL5ZTQNBK5YQMO657UKFTP3WRARIHANCNFSM6AAAAAATQ3R6X4.
You are receiving this because you authored the thread.Message ID: @.***>

I don't think images in email replies make it to GitHub.
What browser are you using? Have you tried on the mobile app?

Yes, same on the app.  I’m taking a break now - need a glass of wine!  I’ll try some more over the weekend.  May even start entirely from scratch with a fresh SD card and install.
Jonathan
On 6 Jan 2023, at 15:02, Jesse Wisener @.***> wrote:

I don't think images in email replies make it to GitHub.
What browser are you using? Have you tried on the mobile app?
—
Reply to this email directly, view it on GitHubhttps://github.com/th3jesta/ha-lcars/issues/22#issuecomment-1373743556, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL5ZTQLNBADLFAQKSNCU2W3WRAXZXANCNFSM6AAAAAATQ3R6X4.
You are receiving this because you authored the thread.Message ID: @.***>

I have the same problem when using Safari or the campanion app. The problem seems to be solved by editing the lcars.yaml themes file (located in /config/themes/lcars/lcars.yaml) and removing the defined height for the sidebar:
card-mod-sidebar: &card-mod-sidebar |
    :host {
      content: "";
      # height: 100px;
      width: 200px;
      border-right: 0px !important;
      border-top-left-radius: 80px;
      box-shadow: black 0px -130px 0px 0px;
    }

Interesting! Can you share a screenshot of the result, please?

I also removed the line for width, because the mobile view was not looking good. Here is the result.

Thanks for that. I'll have to play around with it, because at one point during development, those were required for the radii to not get squished.

Just as information: I use Home Assistant 2023.1.1 with Frontend 20230104.0 - latest. Maybe somthing has changed there?

Confirmed. I commented those lines and nothing changed. I think it's because I positioned the Home Assistant text and the icon some time after defining the size of the corner and radii, and now they are keeping the proportions of their parent container correct. @Xiondewah Xiondewah please try updating to the latest release (1.7.6) and see if that resolves your issues.

I have a Home Assistant Yellow coming in the next month (hopefully) so will try from a bare bones install.
In the mean time I'm fiddling about and have come up with this - which I think looks good:
type: vertical-stack
cards:

type: markdown
content: '#  '
card_mod:
class: header
type: horizontal-stack
cards:

type: custom:auto-entities
card:
type: logbook
title: Sensor Log
style: |
.card-header {
font-size: 18px;
padding: 2px 15px 2px 15px
}
ha-card {
background: black;
}
ha-card {
color: red;
}
hours_to_show: 1
filter:
include:
- area: Library*
- area: kitchen
- area: Hallway
- area: Dining*
- area: Living*
- area: Lobby*
- area: Utility*
- area: Landing*
- area: Jonny*
- area: Colin*
- area: Spare*
- area: Front*
- area: Garden*
card_mod:
class: middle

type: horizontal-stack
cards:

show_name: true
show_icon: false
type: button
tap_action:
action: navigate
navigation_path: ''
hold_action:
action: none
name: Overview
card_mod:
class: footer

Give it a go - just change the area names etc.

Also - I think a class on the vertical/horizontal stack could be useful (you mentioned it somewhere) - especially vertical.

Confirmed. I commented those lines and nothing changed. I think it's because I positioned the Home Assistant text and the icon some time after defining the size of the corner and radii, and now they are keeping the proportions of their parent container correct. @Xiondewah Xiondewah please try updating to the latest release (1.7.6) and see if that resolves your issues.

I'm on the latest version - no change.  I'm going to try taking out the sidebar stuff from the theme just to check.

Interesting! Can you share a screenshot of the result, please?
It's already commented out for me so that's not it I'm afraid.

OK so I don't pretend to understand this, but I refreshed Safari after Chrome was opened and it's working perfectly!  I closed Chrome and refreshed Safari and it's still fine.

Safari probably just decided to clear the cache. I suspect it had nothing to do with Chrome.
Either way, glad this is (finally) resolved! Big thanks to @chrda81!

I don’t think this is related to the safari cache as the problem was on multiple devices.  However it is now fixed - no idea how.
But yes, thank you to all!


Raspbian nearly works

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [X] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

./sample.exe ../configs/config.json

Any log messages given by the failure

New status : Initializing
09:15:59.897  Loading configuration from file: ../configs/config.json
09:15:59.941  Configuration loaded. Creating connector...
09:15:59.957  Connector created
09:15:59.958  Creating prime activity
09:15:59.958  Sending inform-of-keyword activity: {"name":"KeywordPrefix","type":"event","value":"Computer"}
09:15:59.959  Connector successfully initialized!
Expected/desired behavior

It should not hang on connection

Looks like a Speech SDK issue
OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

RPi 3 with Debian Buster
Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

Raspbian was renamed Raspberry Pi OS.
The new 64 bit version works, we can prioritize the 32bit support lower.


Can i disable ajax request ?

I don`t need store all ajax requests can i ?

yes i want it too.
something like do_not_track_ajax in config


soc: st: stm32: common: fix wakeup off-by-one

Wakeup pin indices are 1-based, but LISTIFY is 0-based. Consequently, the last element of the pin-to-register-bit lookup table was never populated.
For example, STM32L4xx MCUs, like the STM32L4R5ZI on the NUCLEO-L4R5ZI board supported by the samples/boards/st/power_mgmt/wkup_pins sample, have five WKUP pins, numbered 1 through 5. However, the LISTIFY invocation populating table_wakeup_pins ranged over [0, 4], and so the table was actually defined as:
static const uint32_t table_wakeup_pins[6] = {
	LL_PWR_WAKEUP_PIN0, LL_PWR_WAKEUP_PIN1, LL_PWR_WAKEUP_PIN2, LL_PWR_WAKEUP_PIN3, LL_PWR_WAKEUP_PIN4,};

I.e., the last member was 0-filled (and the first member – LL_PWR_WAKEUP_PIN0 – is synthetic, and is defined in the adjacent header only to suppress an error generating this array). Attempts to actually configure WKUP5 would fail silently.
Happy to hear feedback on other ways to accomplish this fix – it is quite verbose.

Thank you both for your feedback. I've revised to basically what Guillaume suggested.
Unfortunately, I was not able to get a COND_CODE_1/IS_ENABLED/IF_ENABLED-based existence check for pin definitions to work, because all of those depend on the macro in question being defined as “1”. Because the LL_PWR_WAKEUP_PIN1x macros define bit masks, that condition only holds for the first one. Happy to take another stab at this if I've missed something else!

Maybe you can use the macro IS_EMPTY. It checks if the macro has a value (any value, not just 1).
But if you're fed up with Zephyr macros, that's perfectly ok, we can merge the current fix ;)

Unfortunately, I can't get that to work, either, as it requires the macro under test to be defined – IS_EMPTY() returns false for undefined macros, which puts me right back where I started. I guess I could change stm32_wkup_pins.h to define missing pins as empty rather than 0, but I don't really believe that would be a meaningful improvement.
I think I'm personally happy with this as it stands – tremendously less verbose than it was, thank you – and it does meet our internal needs.


Segmentation fault from node.replace

I start having this problem in my production application and reduced it to the following script: https://gist.github.com/gazay/6275c98062127ac5b947
It reproduced in any linux environment (on mac os x I can't reproduce this fault). I've tried this script on ruby 2.1.5/2.2.0/2.2.1/trunk. Also I've tried it on nokogiri 1.6.5/<IP_ADDRESS> and libxml-ruby 2.7.0/2.8.0.

Hi @gazay,
Sorry for not responding earlier. What stands out to me is:
require 'libxml'

Why are you using both libxml-ruby and nokogiri?
Nokogiri tries very hard to work around how libxml-ruby manages libxml2 memory, but officially it's just not something I'm interested in spending time supporting.
That said, I'll take a look and see if this is something we can easily work around (but I doubt it).

Hello! I don't remember it already =) But I think in our production application it was in dependencies for a couple of gems. After we had found this – we left only nokogiri in our gemfile. I think it would be enough to point this somewhere in readme, that if someone will experience this error – they can find it quickly

I'm going to consider this a duplicate of #1426. Please follow along there?


argocd: 1.8.4 -> 1.8.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/argoproj/argo-cd/releases.
meta.description for argocd is: "Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes"
meta.homepage for argocd is: "https://github.com/argoproj/argo"
meta.changelog for argocd is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.8.5 with grep in /nix/store/dwqaa8jmipjvb3xx8n7rdwz8b6jgnnsz-argocd-1.8.5

directory tree listing: https://gist.github.com/1f7b206ae8c27ad729625d1049a0ff3b

du listing: https://gist.github.com/56c20eb74a6744ee2d7d2e689dfb6327

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
argocd

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/dwqaa8jmipjvb3xx8n7rdwz8b6jgnnsz-argocd-1.8.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A argocd https://github.com/r-ryantm/nixpkgs/archive/467dd50cc25ab960f77e92d3fff8763681791180.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/dwqaa8jmipjvb3xx8n7rdwz8b6jgnnsz-argocd-1.8.5
ls -la /nix/store/dwqaa8jmipjvb3xx8n7rdwz8b6jgnnsz-argocd-1.8.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

argocd

Maintainer pings
cc @shahrukh330 @kalbasit for testing.

Result of nixpkgs-review pr 113805 at 467dd50c run on aarch64-linux 1

1 package built:

argocd

1 suggestion:

error: no-flags-array
buildFlagsArray is only intended to be used in Bash, not as a Nix attribute.
Near pkgs/applications/networking/cluster/argocd/default.nix:21:3:
   |
21 |   buildFlagsArray = ''
   |   ^


PowerToys Run blur effect does not work all the time

Microsoft PowerToys version
v0.76.1
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
Try opening it on a dark background and then open it on any other background. (Just After booting)
✔ Expected Behavior

❌ Actual Behavior

Other Software
No response

@Niels9001 FYI

@stefansjfw Yeah this is a WpfUI quirk :(

👍 Thanks for the info. Could we do something about it ? Help fixing it there?

👍 Thanks for the info. Could we do something about it ? Help fixing it there?

Yeah think that's the best approach 👍

Any news on this ?
Also, will there be a fallback to acrylic or other blur methods for Win10 ?
Perhaps bundling Mica could be a nice solution ?

I noticed the latest changelog contains the following entry:

Use Mica backdrop instead of Acrylic to resolve random crashes caused by the Windows composition being temporarily disabled.

However, the latest version of Mica still becomes ineffective after running for a while.


Refactoring Kyber ref for F-star proofs

Make compress::compress_q in the reference code look more like compress::compress_d in the specification.

This looks more explicit and will help proofs in short-run, but we don't have to do it this way just to make the proofs work. If you preferred the earlier code that would be fine too, this just makes it a 1-1 correspondence, which is more convenient.

I think this change makes the code look nicer anyway, what do you think @franziskuskiefer?


Using DNS server that IPBan exists on results in ban of that client with laptops only

I looked into why my laptop was unable to ping my DNS server and found that IPBan had blocked it. I cleared the ban list and one web search worked before it was banned again. It inst even touching MS Exchange, Remote Desktop, or SQL.
Any insight into why this is happening? The laptops IPv4 address isnt in the perma ban list either.
Extra Info: It bans its IPv6 address first after a single web search, then proceeds to ban the IPv4 address after a ping.

No idea. You'll have to check the event viewer for your ip address to see what is failing to login.

Event viewer on the laptop or the server?

Any luck looking through those event viewer logs?

My apologies for the delay. I am currently out of town due to a family member's poor health, so it will be a few days until I can check. If possible, please bear with until I can get a chance to look thoroughly.

No rush, take your time, hope things work out...


Prepare storytime for versioned aliases

Prepare a story-time for how to create versioned aliases
list possible options, downsides, upsides
Similar implementations by other projects
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Sprint: Sprint 20 Umiak
┆Issue Number: DOCK-1019

➤ Walt Shands commented:
This would be for aliases to a workflow version instead of just the top level workflow


y-partykit: better default for gc

It's better to default to gc: true with partykit, so memory is better used in partykit servers. We should also ensure gc and persist are never used together. So this PR adds a little logic to find a better default, and ensuring the 2 never clash.

Tested this, feeling good about it, landing.


Strip any number of trailing slashes from realm URLs

This does the following, to fix https://github.com/zulip/zulip-mobile/issues/3567:

Things I expect we'll want to do to clean this up:

Tweak fixRealmUrl so it strips any number of trailing slashes.
Add a migration that strips trailing slashes on realm in all existing accounts.

It also removes some "DEPRECATED" comments that don't seem to apply.

Marking as priority, following the issue.

(Bumping this to remind myself to come back to it next week.)

Thanks @chrisbobbe ! Sorry this has sat for so long.
These changes LGTM. About to merge.

I still think it's possible to configure a proxy server in such a way that the extra slash is needed; but if that's explicitly not a case we want to support,

Yeah, Zulip in general doesn't support going through a proxy that involves altering the URLs. Like many complex webapps, it has a notion of "what is my base URL", and using that it expects to be able to know exactly what URL from the user perspective corresponds to a given route.
I'm not sure we've ever had someone run into trouble from this kind of attempted proxy use case; if that does come up, we'll address it in our production docs.
Note we absolutely do support reverse proxies, which are a common tool in deploying webapps. A working reverse proxy has no problem setting up appropriate URLs.

Thanks @chrisbobbe ! Sorry this has sat for so long.

No problem! 🙂


Get error: module 'bokeh.plotting' has no attribute 'Figure'

PLEASE FILL OUT THE TEMPLATE
Describe the bug
Using pandasgui in my code to show DataFrame as following:
import pandas as pd
import pandasgui

# ignore how to get df
df = pd.DataFrame(...)
pandasgui.show(df)

Get error: module 'bokeh.plotting' has no attribute 'Figure'. Did you mean: 'figure'
Environment
OS: Windows 10
Python: 3.10
IDE: VS Code
Package versions
ipython==8.10.0
ipython-genutils==0.2.0
pandasgui==0.2.14
plotly==5.10.0
PyQt5==5.15.9
PyQt5-sip==12.12.1
PyQtWebEngine==5.15.6
bokeh==3.1.1

In source file utility.py:446, following code:
        import bokeh.plotting
        if issubclass(type(fig), bokeh.plotting.Figure):
            return "bokeh"

Change 'bokeh.plotting.Figure' to 'bokeh.plotting.figure'  (Figure to lower case)
Everything is OK

same problem here . looks like migration guide fro bokeh  https://github.com/bokeh/bokeh/wiki/Migration-Guides says Figure has been removed
the code could look for either Figure or figure for compatibility with Bokeh pre 3.0 and post 3.0
Bokeh document
Removals
bokeh.server.django was moved to a separate project bokeh_django, which should be a drop-in replacement in most cases. bokeh_django was also updated to work with Django 3.x and 4.x.
Figure
The duplicative attribute Figure (capital-F) was removed from bokeh.plotting. Use bokeh.plotting.figure (lowercase-f) instead.

Same problem and error message here. It works, if I downgrade bokeh to version 2.4.3 or 2.4.2. However, my problem is that this is incompatible with dask, which needs for its dashboard verion >3.0*

I submitted this Pull Request to fix it.

Just noting that there is not really a need for a version check as in the PR. Lowercase-f figure will work the same for all versions newer than 1.0 (and 0.x versions before that are too old to consider for any use in 2024)


Helper ping api support

This PR add the support to Helper methods, the first one is the basic helper/ping

Thanks for the PR :+1:

Thanks to you @AhmedSamy :)


Limit filter option for querying Collection

Is your feature request related to a problem? Please describe.
I'm worried about relations that could become large with the collection.init() function using postgres. Looked through the code and it seems like a relatively simple change. I don't mind helping out with this if you'd like as this is something I would like to have and really like this project.
qb.select('*').populate(populate).where(where).orderBy(orderBy);

could be change to:
qb.select('*').populate(populate).limit(limit).offset(offset).where(where).orderBy(orderBy);

Describe the solution you'd like
drivers/DatabaseDriver.ts
interface Filter<T>{
    where?: FilterQuery<T>;
    orderBy?: QueryOrderMap;
    fields?: string[];
    limit?: number;
    offset?: number,
}

loadFromPivotTable<T extends AnyEntity<T>>(prop: EntityProperty, owners: Primary<T>[], filter: Filter<T>, ctx?: Transaction): Promise<Dictionary<T[]>>;

This should change the DatabaseDriver functions to all except Filter, this could make the function arguments more dynamic and extendible for custom configuration. Which would cause a breaking change unfortunately, unless you had variants for the functions inputs until the next version.
Let me know your thoughts!

I am not against this, but the problem is that semi-initialized collection can't be used for anything more than reading, so we will need to introduce some read only collection wrapper to be used instead. The problem is already there, as you are able to use filtering on collections.
Are you talking just about the Collection.init() method, or you would like to incorporate this into the EM API too? Because you can populate collections too via EntityLoader, but that would be more complicated.

Agreed with @B4nan that this will very likely cause bugs if 1 part of your application initializes the collection with the "only load 50" option, but then some other part of your application processes some business logic (like "sum all my account transactions") with the "great it's already loaded collection, I'll skip calling init" but it's missing ~80% of the rows.
If you have too many rows to pull into memory as a Collection, then it shouldn't be a collection, b/c the collection API insinuates to the rest of your program that "this is small enough to pull into memory", and if any caller forgets to pass this filter option, you'll cause a out-of-memory type error.
Alternatively, Mikro could introduce a concept of VeryLargeCollection<Child>, with some sort of API that would make it very apparent to callers that they will never all a Child[] in-memory array of every single child this entity points to, but instead they could work in batches of 100, or maybe do bulk operations like parent.largeChildrenCollection.deleteAll() or something.


Signals not working in a separate class

Hey, hope you're good. I'm curious why Signals aren't firing inside a class, it does work when outside a class but that's hard to manage the code. Check out the example below. Looking forward to your insights. Thanks!
// Controller code, with functions & Signals
class DemoPageController {
final Signal counter = Signal(0);
increment() {
counter.value++;
}
}
// UI Code
class CounterExample extends StatelessWidget {
const CounterExample({super.key});
@override
Widget build(BuildContext context) {
DemoPageController controller = DemoPageController();
return Scaffold(
appBar: AppBar(
title: const Text('Flutter Counter'),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Text(
'You have pushed the button this many times:',
),
Text(
controller.counter.watch(context).toString(),
style: Theme.of(context).textTheme.headlineMedium,
),
],
),
),
floatingActionButton: FloatingActionButton(
onPressed: () => controller.increment(),
tooltip: 'Increment',
child: const Icon(Icons.add),
),
);
}
}

You are creating a new controller every time the build method runs.
You should pass in the controller to the widget constructor.

// Controller code, with functions & Signals

class DemoPageController {
final Signal counter = Signal(0);
increment() {
counter.value++;
}
}

// UI Code

class CounterExample extends StatelessWidget {
const CounterExample({
  super.key,
+  required this.controller,
});

+ final DemoPageController controller;

@OverRide
Widget build(BuildContext context) {
- DemoPageController controller = DemoPageController();
return Scaffold(
appBar: AppBar(
title: const Text('Flutter Counter'),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Text(
'You have pushed the button this many times:',
),
Text(
controller.counter.watch(context).toString(),
style: Theme.of(context).textTheme.headlineMedium,
),
],
),
),
floatingActionButton: FloatingActionButton(
onPressed: () => controller.increment(),
tooltip: 'Increment',
child: const Icon(Icons.add),
),
);
}
}

Thank you so much sir for your time. ❤


New Action verify_brew or Plugin

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
I am writing a new plugin which depends on non-ruby tool that can be installed via homebrew so to help with that I was thinking about a verify_brew action which would bail out if tool is not installed and/or version mismatched (similar to verify_gem! action ).
I've read that you don't accept new actions anymore, even if imo this could be of general interest. So the alternative I guess is to make it a plugin.
Is it possible to write a plugin that depends on another plugin?

You should check out the badge plugin.  They just updated to include a brew dependency and have messaging for errors in fastlane when it's not installed.  No extra plugin required.
As a side note, any package can be found outside of brew. Especially in CI environments you can't assume brew is available. If it were me, I'd follow the route Badge took with brew messaging.  Ops folks who know how to manage environments will see that message and know they need to add that dependency to their stack.
What type of plug are you working on?  Happy to see new flavors coming to fastlane!

@PetrosIchor are you talking about https://github.com/HazAT/fastlane-plugin-badge ? I see only that they do verify_gem!. Got what you meant on the original gem.
I am working on making rome (An S3 cache tool for Carthage) available for fastlane.

Closing this issue, fyi the plugin is available :) : https://github.com/netbe/fastlane-plugin-rome

That's awesome @netbe, thanks for sharing


Update github secret

Follow up on  https://github.com/aws/amazon-ecs-cli-v2/pull/390
Customers may want to update the value of secret. We could perhaps update it if they provide a value a second time, though this is likely a rare scenario.

I think we can punt on this work until there is better integration between GitHub and CodePipeline.
I'll resolve this issue.


Vertical scroll

hello could you help me? I want to make the vertical scroll work from the bottom up

oh sorry I find it in closed issue. Thank you.It's  help me in my project.

Hey, glad you figured it out. Please do not hesitate to ask me any other questions. Happy coding


DDP Encoder mode bluray

Hello,
In the code we can read this line :
 if bitrate > 1024:
                    xml_base['job_config']['filter']['audio']['pcm_to_ddp']['encoder_mode'] = 'bluray'

However, according to the documentation, bluray encoder_mode should be available for ddp 7.1 >= 768kbps
I think the behavior in the code should be modified (or at least the encoder_mode could be specified in the arguments)
Thank you !

The standard mode is more efficient so there's no point of encoding 7.1 768/1024kbps with bluray mode.

more efficient but less compatible :)

I'll add an option for it.

added -fs/--force-standard and -fb/--force-bluray options in 2.2.0

Thank you !
Just one thing, you forgot to add the force-bluray args in this part to produce eb3 files :
if aformat == 'ddp':
            if bitrate > 1024:
                xml['job_config']['output']['ec3']['file_name'] = f'\"{basename(filelist[i], "eb3")}\"'
            else:
                xml['job_config']['output']['ec3']['file_name'] = f'\"{basename(filelist[i], "ec3")}\"'

fixed, thanks.

In fact you did an inversion between args standard and bluray in the code :) -fb still produces ec3 files

Oh, thanks. I looked at the other part where args are being used and applied the same alternating value setup but at the file extension part i used an if else lol.


Fix typo in MigratingFromRoundhousE docs page

Thanks a lot for contributing! (even if it's a small contribution this time 😄 )


AMD loader module not working on Liferay 7.2.

Since Liferay 7.2 the Liferay.Loader has changed API. The function addModule was dropped without any replacement.
We need to find a way how to fix this.
Suggested by liferay:
https://github.com/liferay/liferay-js-toolkit/wiki
link to the liferay issue: https://github.com/liferay/liferay-amd-loader/issues/210

workin on it

@jamescoq it should work now in 0.14.0.


test: drop oscap test script and gitlab job (HMS-3710)

The test is being migrated to osbuild/images.
See https://github.com/osbuild/images/pull/502

Since this is merged: https://github.com/osbuild/images/pull/502
We can also go ahead with this PR.
(https://github.com/osbuild/images/pull/547 is gonna be solved separately)


New Teams Shift cmdlet: Update-CsTeamsShiftsConnectionInstance

New cmdlet created in order to patch update a connector instance. Part of 4.8.1-preview release.

@microsoft-github-policy-service agree [company="{microsoft}"]

Learn Build status updates of commit 47bc8a5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

teams/teams-ps/teams/Set-CsTeamsShiftsConnectionInstance.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/Update-CsTeamsShiftsConnectionInstance.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@microsoft-github-policy-service agree company="microsoft"

@microsoft-github-policy-service agree

@JohanFreelancer9

@get-itips @dariomws @tseward

Learn Build status updates of commit 13e6ddb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

teams/teams-ps/teams/Set-CsTeamsShiftsConnectionInstance.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/teams.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/Update-CsTeamsShiftsConnectionInstance.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 7cc5829:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

teams/teams-ps/teams/Set-CsTeamsShiftsConnectionInstance.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/teams.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/Update-CsTeamsShiftsConnectionInstance.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@nunocorreia-ms is the -Break parameter shipping with the release version of the cmdlet? Sounds like something only useful for MSFT internally.

@tseward thanks for the review and the feedback! Yes the cmdlet will ship with the break parameter. Screenshot from the 4.8.1-preview release:

The related cmdlets also have this parameter, but I'll check internally if it makes sense to remove it and I'll update the doc ;)

Learn Build status updates of commit 64d56af:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

teams/teams-ps/teams/Set-CsTeamsShiftsConnectionInstance.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/teams.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/Update-CsTeamsShiftsConnectionInstance.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@JohanFreelancer9 really appreciate the review! I have committed all the suggested changes. Thank you for the help :)

@tiburd Please merge this PR. Thanks


Loading snapshot error

After running my application for a while I reach the 1000 journal limit and a coordinator snapshot is taken.
Every subsequent time I load the application from this point I receive the error below.
I'm wondering if this is a hocon configuration issue?
Many thanks
Setup:

Akka 1.3.8
Akka.Persistence.PostgreSql 1.3.8

[12:02:19 ERR] Persistence failure when replaying events for persistenceId [/system/sharding/collectCoordinator/singleton/coordinator]. Last known sequence number [0]
System.TypeLoadException: Could not load type 'AA' from assembly 'Akka.Persistence.PostgreSql, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type, ObjectHandleOnStack keepalive)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName, Boolean throwOnError)
   at Akka.Persistence.PostgreSql.Snapshot.PostgreSqlQueryExecutor.ReadSnapshot(DbDataReader reader)
   at Akka.Persistence.Sql.Common.Snapshot.AbstractQueryExecutor.SelectSnapshotAsync(DbConnection connection, CancellationToken cancellationToken, String persistenceId, Int64 maxSequenceNr, DateTime maxTimestamp)
   at Akka.Persistence.Sql.Common.Snapshot.SqlSnapshotStore.LoadAsync(String persistenceId, SnapshotSelectionCriteria criteria)
   at Akka.Util.Internal.AtomicState.CallThrough[T](Func`1 task)
   at Akka.Util.Internal.AtomicState.CallThrough[T](Func`1 task)

Hocon:
akka {

    loglevel = INFO,

    loggers = ["Akka.Logger.Serilog.SerilogLogger, Akka.Logger.Serilog"],

    actor {
        provider = cluster
    }

    remote {
        dot-netty.tcp {
            hostname = "<IP_ADDRESS>"
            port = 0
        }
    }

    cluster {

        ...

        auto-down-unreachable-after = 5s

        run-coordinated-shutdown-when-down = on

        sharding {
            remember-entities = on
            journal-plugin-id = "akka.persistence.journal.sharding"
            snapshot-plugin-id = "akka.persistence.snapshot-store.sharding"
        }
    }

    persistence {

        journal {
            plugin = "akka.persistence.journal.postgresql"
            postgresql {
                class = "Akka.Persistence.PostgreSql.Journal.PostgreSqlJournal, Akka.Persistence.PostgreSql"
                plugin-dispatcher = "akka.actor.default-dispatcher"
                connection-string = "User ID=example;Password=example;Host=localhost;Port=5432;Database=example;"
                connection-timeout = 30s
                schema-name = public
                table-name = event_journal
                auto-initialize = off
                timestamp-provider = "Akka.Persistence.Sql.Common.Journal.DefaultTimestampProvider, Akka.Persistence.Sql.Common"
                metadata-table-name = metadata
                stored-as = BYTEA
            }
            sharding {
                class = "Akka.Persistence.PostgreSql.Journal.PostgreSqlJournal, Akka.Persistence.PostgreSql"
                plugin-dispatcher = "akka.actor.default-dispatcher"
                connection-string = "User ID=example;Password=example;Host=localhost;Port=5432;Database=example;"
                connection-timeout = 30s
                schema-name = public
                table-name = sharding_event_journal
                auto-initialize = off
                timestamp-provider = "Akka.Persistence.Sql.Common.Journal.DefaultTimestampProvider, Akka.Persistence.Sql.Common"
                metadata-table-name = sharding_metadata
                stored-as = BYTEA
            }
        }

        snapshot-store {
            plugin = "akka.persistence.snapshot-store.postgresql"
            postgresql {
                class = "Akka.Persistence.PostgreSql.Snapshot.PostgreSqlSnapshotStore, Akka.Persistence.PostgreSql"
                plugin-dispatcher = "akka.actor.default-dispatcher"
                connection-string = "User ID=example;Password=example;Host=localhost;Port=5432;Database=example;"
                connection-timeout = 30s
                schema-name = public
                table-name = snapshot_store
                auto-initialize = off
                stored-as = BYTEA
            }
            sharding {
                class = "Akka.Persistence.PostgreSql.Snapshot.PostgreSqlSnapshotStore, Akka.Persistence.PostgreSql"
                plugin-dispatcher = "akka.actor.default-dispatcher"
                connection-string = "User ID=example;Password=example;Host=localhost;Port=5432;Database=example;"
                connection-timeout = 30s
                schema-name = public
                table-name = sharding_snapshot_store
                auto-initialize = off
                stored-as = BYTEA
            }
        }
    }
}

Exception points to problems with deserializing type AA which is trying to get located in Akka.Persistence.PostgreSQL. I guess this is your custom type. What serializer have you picked up for it?

Hey @Horusiath
I should have mentioned this is the system shard coordinator which is failing to start.
From what I can see it's correctly stored the key AA as its pseudo "type"   https://github.com/akkadotnet/akka.net/blob/dev/src/contrib/cluster/Akka.Cluster.Sharding/Serialization/ClusterShardingMessageSerializer.cs#L28 however it looks to me like Akka.Persistence.PostgreSQL is actually trying to create a new type of this constant value rather than follow the deserialization code path.
My setup doesn't make use of any custom serialization - everything should be using the defaults which I believe is Protobuf.
Thanks for your help!

@dubs999  Cluster sharding has its own dedicated serializer, which interprets manifests differently than akka default message serializer. Having that error message message means, that default is tried to being used.
Most probably you haven't included ClusterSharding.DefaultConfig() as a fallback configuration in your actor system:
var system = ActorSystem.Create("system", myConfig.WithFallback(ClusterSharding.DefaultConfig()));

Hey @Horusiath
I've copied and pasted the setup I'm using below. I have the fallback configuration already declared. Sorry if this is going off topic but we didnt cover persistence module setup in quite as much detail during Aaron's course.
Is there any additional fallback modules that are required for persistence/sharding?
var config = ConfigurationFactory
    .ParseString(Hocon())
    .WithFallback(ClusterSharding.DefaultConfig());

var system = ActorSystem.Create("my-system", config);

var sharding = ClusterSharding.Get(system);
var settings = ClusterShardingSettings
    .Create(_system)
    .WithRole("transaction-v1");

ShardRegion = sharding.Start(
    "collect",
    Props.Create<CollectTransactionActor>(),
    settings,
    new MessageExtractor());

I don't know whether this is an over simplification but this is the line which appears to blow up.
https://github.com/AkkaNetContrib/Akka.Persistence.PostgreSql/blob/195b93873dcf7d6587fb3eecb2d4ca32f2942b5c/src/Akka.Persistence.PostgreSql/Snapshot/PostgreSqlQueryExecutor.cs#L143:L144

You're right, @dubs999 . This is a bug.

Thanks @Horusiath
I guess I have a couple of options.

I push up the limit at which a snapshot occurs to a really high number and run my application off of journal entries (until such time as the bug is fixed).
I use an alternative persistence plugin.

Do you have customers which are using persistent sharding in production? If so, do you know which persistence plugin they are using?
We may also have some time to contribute a fix however our release deadline is fairly tight and I assume a public build wont be available in the very near term.
Many thanks

I know about several projects using Akka.Persistence.SqlServer. If I'm right redis plugin also should work, and mongodb plugin was modified some time ago specifically to also expose cluster sharding compatibility. Another option is to use cluster sharding in akka.cluster.sharding.state-store-mode = ddata mode, which doesn't need any persistence, however it won't allow you to use akka.cluster.sharding.remember-entities option.

I've submitted a PR which fixes the issue (when tested locally). I've not got a great deal of exposure to the Akka framework so apologies if the fix isn't robust enough.
https://github.com/AkkaNetContrib/Akka.Persistence.PostgreSql/pull/58
Thank you for all your help guys!

Closed via #60


Create simple Enemy

This could be a slime that bounces around randomly, or towards the player.

Implemented a slime creature


Changing the contact name adds new contact

I am trying to change the name of a contact and it adds a new contact.
To Reproduce
change a contact name
Expected behavior
All of my 110 requirements under NIST 800-171 have an observation - both compliant and non-compliant.  I have a dummy contact record that I assign all of the non-compliant requirements to so it groups them together on the observation tear outs. When I try and change the name of the contact, it adds a new contact.  .
Any helpful log output
Paste the results here:

I just deleted a contact but the wrong one was removed from the database....  maybe that has something to do with the issue.

Tested this in 10.2 development code, and will be in included with the release.


Grammar for cursor declaration misses for read only

The page (https://github.com/MicrosoftDocs/sql-docs/blob/live/docs/t-sql/language-elements/declare-cursor-transact-sql.md) lists two ways of declaring a cursor, iso and tsql.
The below is a valid tsql syntax, but not according to documentation:
DECLARE CR_X CURSOR LOCAL FOR SELECT 1 FOR READ ONLY
Note that this is mutually-exclusive to READ_ONLY option, ie. this is not a valid declaration:
DECLARE CR_X CURSOR LOCAL READ_ONLY FOR SELECT 1 FOR READ ONLY

@siggemannen -- thank you for your feedback.
@cawrites -- please look into this issue.

Yeah, either "LOCAL" should be added to the iso cursor documentation as a available keyword, or FOR READ ONLY should be added to tsql extended syntax as allowed keywords. But since i don't know exact internals of cursors you guys probably do a better job of providing updated syntax.
The reason for my questions is that i'm doing sql parsing, and sometimes hit grammars that are accepted by the server but don't match the sql server documentation

@siggemannen upon further review it appears that all the syntax options are shown here:ISO Syntax
DECLARE cursor_name [ INSENSITIVE ] [ SCROLL ] CURSOR
FOR select_statement
[ FOR { READ ONLY | UPDATE [ OF column_name [ ,...n ] ] } ]
[;]
Transact-SQL Extended Syntax
DECLARE cursor_name CURSOR [ LOCAL | GLOBAL ]
[ FORWARD_ONLY | SCROLL ]
[ STATIC | KEYSET | DYNAMIC | FAST_FORWARD ]
[ READ_ONLY | SCROLL_LOCKS | OPTIMISTIC ]
[ TYPE_WARNING ]
FOR select_statement
[ FOR UPDATE [ OF column_name [ ,...n ] ] ]
[;]
Although the examples don't show all the variations it is defined in the syntax as an option.

Thank you for contacting Microsoft.


Spotify API deprecated

The version of the API used in this plugin is deprecated. Trying to run the plugin yields
This API has been deprecated. Please upgrade to our new APIs: https://developer.spotify.com/web-api/migration-guide/

That's not good.
I'm not using this one myself anymore, so I'm considering either removing this gem or giving it to someone else that would continue the, honestly, little work that it actually is.


Allow for Pipelining GPT Responses

adds last as a source
adds verbal as a response option if TTS is installed
Renamed the list insertionMethod to be responseMethod since it is clearer with that naming
renamed the responseMethod browser to windowed to fit the adverb grammar better
Implements a beta command to reverse the chain order and put user.text at the end, allowing for easier chaining and better recognition.

Examples: on last model please make this more terse, on clipboard responding clipped model please make this into bullet points
When the order is reversed I think we need on and responding with the textSource and responseMethod since otherwise it is a bit difficult to parse mentally. (i.e. last windowed model please make this more terse is a bit odd imo)

@jaresty with this grammar you can essentially have the model have state and respond in any fashion you please
i.e. in the context of coding

responding clipped model please create a react component for a navbar
on last responding windowed model please make that more terse with dark mode styling

in the context of writing a research paper
on this responding verbal model please explain if there are any inconsistencies with my thinking

This looks really powerful. I'll give it a test run when I can. Excited! Thanks.

Should we change the model blend grammar to match this too?

Should we change the model blend grammar to match this too?

I think that is out of scope for this PR at least on my end. It could fit in the grammar but you would have to do some if statement checking in python that gets a little messy/tedious to match all the cases.

I'm mostly thinking it would make sense to just change the "model blend clip" into "on clip model blend" to reduce interference. It wouldn't have to handle all cases, just to avoid having to keep a different mental model for the one command.

There's something bit weird about the way it is matching. I didn't expect it to match this: on section responding at dot model summarize but it did. Is that expected behavior? I was trying to say: on selection responding windowed model summarize. I later realized that I should have been saying on this responding windowed model summarize

I played with it a bit and it's great. I really loved the power of being able to pipeline transformations. I ran into a couple of issues that are somewhat orthogonal to this pull request:

The browser window doesn't format the model responses very well. I think we should display the response inside of a preformatted HTML tag so that it handles new lines in a way that is readable.
I find myself wanting to respond below and selected. Maybe the selected argument should be appended to above or below instead of being an alternative.

One thought on the grammar with respect to cursorless. In cursorless we usually say "verb  to ". This grammar is essentially "on  responding  <verb". It might be more cursorless-like to reorder it. You could probably even use the cursorless grammar and just have these act as virtual targets/destinations. Something like: "model summarize clip/last to clip/window"

There's something bit weird about the way it is matching. I didn't expect it to match this: on section responding at dot model summarize but it did. Is that expected behavior? I was trying to say: on selection responding windowed model summarize. I later realized that I should have been saying on this responding windowed model summarize. When I did that it worked really well-nice work!

Should be fixed now. Seems like it matched a cursorless tag. Moved the cursorless target into the cursorless specific file.

One thought on the grammar with respect to cursorless. In cursorless we usually say "verb target to destination". This grammar is essentially "on target responding destination verb". It might be more cursorless-like to reorder it. You could probably even use the cursorless grammar and just have these act as virtual targets/destinations. Something like: "model summarize clip/last to clip/window"

One of my goals with pipelining is to allow easier use of model please for arbitrary requests. (and integrate it better alongside the static prompts in a format that is more consistent)
Model please doesn't flow particularly well if you have arbitrary user requested text in the middle, and then have to break out of it at the very end of the phrase to say a specific keyword. That was my main justification for it is at the end.

Got it. That is a good point. I'm curious to hear thoughts from @pokey  on this one. I'm also interested in adding a way to add additional textual context to every prompt, so this grammar does solve that nicely.

Fwiw, one way you could use cursorless grammar and allow for gaining arbitrary text at the end could be to use a conjunction like "and". Example:

Model summarize clip to window and text
model ask to window and text

Pokey and I discussed this a lot today.

I decided against this pipeling approach. It doesn't really match the cursorless grammar and it is probably way too much cognitive load. We want to be able to split up commands into multiple parts, not put everything into one huge phrase.
I added model please and model ask into the modelPrompt capture so they work like the others.
I changed some of the source and target around a bit.
I removed some old parts of the repo that aren't being used.
We changed paste and select to have a separate action after the fact model take last

Quick note: "model take that" would be more cursorless-like than "model take last"

Yeah honestly I think I'm going to change it to be model take response anyways since I think I want to refer to the last dictated phrase from Talon.
Pokey and I did discuss this during the meet up and I thought that was a bit ambiguous particularly in the context where we have the response as well as the last dictated phrase

I think I like "last" since it also is hard as a target

Btw, I was using selected/below quite a bit. Hope there's something analogous in the new grammar

Aside-it would be nice if there were a way to view the clipboard contents in a browser window (model view clipboard?) since we sometimes put things into it without ever seeing them.

Btw, I was using selected/below quite a bit. Hope there's something analogous in the new grammar

Below is the same. Pokey recommended removing selected and just using model take last since selected isn't a destination so it doesn't fit in the grammar. Most users also don't know if they want it to be selected until after it is pasted.
I think for the time being if you want to select it in advance it would make sense to create a simple custom command for it. In the future we can think about another PR for destination modifiers

If you feel strongly and you really need selected to be a part of the destination grammar then I can just keep it in though

I do really appreciate having it-it acts almost like a working memory. Have you ever seen a clipboard ring? It reminds me of that (example: https://marketplace.visualstudio.com/items?itemName=SirTobi.code-clip-ring)

Ideally, I think it would be an optional addendum to pasted destinations like before, after, and pasting with no modifiers, since it is more of a behavioral modification than a destination, really. I'm ok making do with whatever you decide, however. I had been relying on it as a way to transform the last prompt while I can still look at it (since last and clipboard end up invisible to the user)

For the time being I think I would prefer if you use a custom command for selection in your repo. i.e. the one below
I will discuss this with Pokey next meetup. Just want to get this merged since I am not sure about how I want to do modifiers right now. (i.e. before the destination or after the destination and what other modifiers might be reasonable, if any.)
model <user.modelPrompt> [{user.modelSource}] [{user.modelDestination}] selected$:
    text = user.gpt_get_source_text(modelSource or "")
    result = user.gpt_apply_prompt(modelPrompt, text)
    user.gpt_insert_response(result, modelDestination or "")
    user.gpt_select_last()

Ok. I'll use that.

We also now have pass as an action that doesn't do any transformation and just passed the raw source to the target. So model pass to speech or model pass to browser both work to visualize / verbalize info.

Merging this. I will talk with Pokey again in the future and get his feedback and then we can iterate if you are unhappy or thing the grammar should be made more complex. I've myself refrained from adding some things that might be useful for my own workflow just since I am trying to make the repo a bit more generalized and fitting to a clear, predictable grammar. Hope this tradeoff is reasonable.


Reduce the number of times env.Processes gets called

Proposed changes

Only call env.Processes once on startup of the agent
Plugins that require process information now subscribe to core.NginxDetailProcUpdate to get any updates
The process watcher plugin now only checks for process changes every 5 seconds instead of every 500 milliseconds

Checklist
Before creating a PR, run through this checklist and mark each as complete.

[ ] I have read the CONTRIBUTING document
[ ] I have run make install-tools and have attached any dependency changes to this pull request
[ ] If applicable, I have added tests that prove my fix is effective or that my feature works
[ ] If applicable, I have checked that any relevant tests pass after adding my changes
[ ] If applicable, I have updated any relevant documentation (README.md)
[ ] If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

Codecov Report
Patch coverage: 73.91% and project coverage change: -0.05% :warning:

Comparison is base (d75b51e) 66.40% compared to head (8ee5d06) 66.36%.

:exclamation: Current head 8ee5d06 differs from pull request most recent head 76e90ae. Consider uploading reports for the commit 76e90ae to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #482      +/-   ##
==========================================
- Coverage   66.40%   66.36%   -0.05%
==========================================
  Files         118      118
  Lines       13392    13422      +30
==========================================
+ Hits         8893     8907      +14
- Misses       3907     3924      +17
+ Partials      592      591       -1

Files Changed
Coverage Δ

.../github.com/nginx/agent/v2/src/plugins/features.go
36.79% <45.45%> (-0.21%)
:arrow_down:

...github.com/nginx/agent/v2/src/plugins/agent_api.go
61.93% <50.00%> (-0.87%)
:arrow_down:

...com/nginx/agent/v2/src/plugins/dataplane_status.go
67.28% <71.42%> (-0.48%)
:arrow_down:

...or/github.com/nginx/agent/v2/src/plugins/common.go
70.93% <88.88%> (+0.69%)
:arrow_up:

...r/github.com/nginx/agent/v2/src/plugins/metrics.go
68.06% <100.00%> (+1.13%)
:arrow_up:

...dor/github.com/nginx/agent/v2/src/plugins/nginx.go
71.42% <100.00%> (-0.21%)
:arrow_down:

....com/nginx/agent/v2/src/plugins/process_watcher.go
87.09% <100.00%> (-0.14%)
:arrow_down:

...hub.com/nginx/agent/v2/src/plugins/registration.go
79.02% <100.00%> (+0.14%)
:arrow_up:

... and 2 files with indirect coverage changes

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

can you regenerate the profile.cgo?

Run agent on a production system with pprof enabled.


[docs] Improved demo transpiling

[x] I have followed (at least) the PR section of the contributing guide.

formattedTSDemos.js

Added support for running babel directly from the script, reducing I/O down to one read and write per demo transpiled
Added ignore list and babel config
Added support for watching for file changes with --watch
Added "cache" to skip transpiling if the JavaScript version is newer, can be disabled with --disable-cache
Added support for fixBabelGeneratorIssues to detect the line endings used, instead of always using \n, if no line ending is found, it uses the OS default
Fixed fixBabelGeneratorIssues not working with \r\n line endings

package.json

Changed yarn docs:typescript to use formattedTSDemos.js in watch mode, this fixes it outputting with incorrect formatting

circleci

Changed to run docs:typescript:formatted with --disable-cache

Other:

Deleted docs/babel.config.ts.js and docs/ts-demo-ignore.json, moved into formattedTSDemos.js, edited CONTRIBUTING.md to reflect this

Really dig the new script

Makes working with the docs a nicer experience

Just added some minor tweaks to the code structure.

Looks a lot cleaner :+1:

@eps1lon I added "cache" support, so that it wont hit the drive at all with read/write when it doesn't have to (disabled in CI builds).
Running yarn docs:typescript:formatted went from always taking 5+ seconds to ~0,5 if there is nothing to transpile. If you could do another review that would be great.

@merceyz 👌. This change can inspire us for a few improvements in the API generation logic, e.g. the caching 👀.

I have a few more ideas for this, hold off on merging please

@merceyz It's already a nice improvement. We don't mind two pull requests. Let us know :).

@oliviertassinari I was trying to make babel automatically generate propTypes from the TypeScript definitions, but the plugin is unable to handle all the cases.
Go ahead and merge, i'll look at it another time.

@oliviertassinari I was trying to make babel automatically generate propTypes from the TypeScript definitions, but the plugin is unable to handle all the cases.

Making this work would be amazing. This would require a rewrite of our api parser since we extract prop API docs from the propTypes.
Verifying that propTypes and type definitions match would already be a huge improvement. Those get out of sync pretty easily (seems like we get an issue every 1 or 2 weeks about this).


Feature/175 dev

Adds a development page in ./thebelab and contribution instructions in README.
I tried webpack-dev-server, however, I think the @jupyter package is too large as it doesn't rebuild after changes are made. This seems to work just fine, you simply have to reload the page after making changes.

This is super helpful, thanks very much 👍 ah this already makes my life easier haha

Good to hear!


Usability question: how do I get all photos and iterate over them?

Apologies for the noob question, but I've read the manual and played around with the CLI and I can't seem to figure this out.
What I want to do:

get IDs of all photos
iterate over all IDs, fetching each photos
modify caption by ID

I'm basically stuck at the first step, and don't see a way to list all photos

Hey,
the Python API will help you. Take a look at the first example how to read all Photos.
https://github.com/RhetTbull/osxphotos/blob/main/API_README.md

Hi @sg-s are you interested in writing python code to do this or using CLI tools? If the latter, what scripting skills do you have?
From the CLI, you can get the ID of all assets using something like this which prints a CSV of uuid, filename:
osxphotos query --field uuid "{uuid}" --field name "{photo.original_filename}"
You can use the osxphotos batch-edit to edit the captions (descriptions) of selected photos. See osxphotos help batch-edit
If using a python script, see this example which creates a CLI that iterates over photos. See the full API docs for more info. To edit the photo, you'll need to use photoscript. Reference this code in batch-edit:
https://github.com/RhetTbull/osxphotos/blob/39f16e40cedcfe5de98f28e414dd5ae7fa9136bd/osxphotos/cli/batch_edit.py#L293-L320
it's important to note that osxphotos alone cannot edit the Photos library or any assets in the library. osxphotos is primarily a tool for reading the library. To make changes you'll need to use PhotoScript, a companion project that provides a Python interface to the Photos AppleScript interface. Alternatively you could just use AppleScript but that's left as a exercise for the reader. For example, the following will loop through all the photos in the library and adjust the description (caption) without using osxphotos, just photoscript:
"""Loop through all photos in the Photos library and adjust the caption (description)"""

import photoscript

def main():
    photolibrary = photoscript.PhotosLibrary()
    print("Loading photos...")
    for photo in photolibrary.photos():
        uuid = photo.uuid
        old_description = photo.description
        print(f"Photo: {uuid} {photo.filename}: {old_description}")
        # set new description
        #photo.description = f"New description for {uuid}"

if __name__ == "__main__":
    main()

Also note that scripts using osxphotos (as in the CLI example above) or PhotoScript (as in the code directly above) can be run with osxphotos via osxphotos run script.py.  This may be more convenient than installing python and using pip to install the right libraries.

thank you so much!
this is sufficient for my needs:
for photo in photosdb.photos():
    print(photo.uuid)

i'm closing this for now


[DO-NOT-MERGE-YET][WFCORE-3402] MSC Upgrade Test Fixes

retest this please

retest this please

retest this please

The failure on the elytron job on the first run concerns me as it was in tests affected by this PR. It didn't fail on the next run though.

retest this please

Besides the retests here I ran ten custom -Dts.manualmode runs of the "WildFly - Elytron" job and never again saw the failure in the first run here. So I'm reasonably confident this PR doesn't introduce it.


Fails with zola deploy action: variable not found in context

When attempting to use the Zola Deploy Action with this theme it fails with the following error:
Reason: Variable 'config.default_language' not found in context while rendering 'macros/header.html'
I'm aware there was a previous pull request (#10) solving a similar issue in a different macro. I am using the latest commit to the main branch which includes that patch.
Full logs for build_and_deploy task are here.

Zola Version: 0.14.1
Adidoks Version: 5c698271c460046034605b743a15196b12e32887

Never mind. Disregard this. I just realised that 0.14.1 is far from the latest Zola version and you can change it in the workflow. Updating seems to have fixed it.


Add X-twitter Icon

What is the purpose of this pull request?

[x] New Icon
[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other:

Description

Adding the X-twitter Icon, json schema and svg itself
Icon use case

Adding the X-twitter Icon to your website can improve its visibility and make it more recognizable. Visitors will be able to easily identify and connect with your brand, increasing engagement and potentially attracting more traffic.
Alternative icon designs

The eX Twitter Icon is an updated version of the classic Twitter bird logo. It brings a fresh look while still representing the familiar Twitter brand.
Icon Design Checklist
Concept

[x] I have provided valid use cases for each icon.
[x] I have not added any a brand or logo icon.
[x] I have not used any hate symbols.
[x] I have not included any religious or political imagery.

Author, credits & license

[x] The icons are solely my own creation.
[ ] The icons were originally created in # by @
[ ] I've based them on the following Lucide icons:
[ ] I've based them on the following design:

Naming

[x] I've read and followed the naming conventions
[x] I've named icons by what they are rather than their use case.
[x] I've provided meta JSON files in icons/[iconName].json.

Design

[x] I've read and followed the icon design guidelines
[x] I've made sure that the icons look sharp on low DPI displays.
[x] I've made sure that the icons look consistent with the icon set in size, optical volume and density.
[x] I've made sure that the icons are visually centered.
[x] I've correctly optimized all icons to two points of precision.

Before Submitting

[x] I've read the Contribution Guidelines.
[x] I've checked if there was an existing PR that solves the same issue.

@karsa-mistmere,  would you please explain, why don't you want to add the X icon to the library?
I really need it this icon on my project, and I want to keep all icons under Lucide,
Thanks

You have declared that this is not a brand icon, but it is in fact very much a brand icon.
We do not allow brand icons. #670

@richcahill I guess short answer is, switch to modern library with open eyes 👀


How to keep kernel alive after closing the vscode window

keep the code running after closing the vscode window, keep the kernel alive until I proactively shut down

This suggest is especially useful when using jupyter notebook over SSH over unhealthy network. If we can leave it running and connect back later, we don't need to worry about poor networks!

Closing as a duplicate of https://github.com/microsoft/vscode-jupyter/issues/3998
@NeonYYYYY @timsu92 Please upvote the above issue (please upvote the top issue, not towards the bottom)


fix: update openshift related manifests

This PR resolves an issue with checking operator subscriptions. The command wait_for_resource "$ns" get subscription/"$NAME" -o jsonpath='{.status.currentCSV}' fails to return a non-zero exit code when no CSV was found

cc: @alanconway


Add object independent bounds

This PR adds an option to add bounds to be respected in zoom calculation without having to add objects.

Thank you!


Editor Data folder instead of Resources

New project created in editor should have Data folder to match default engine folder settings.

Makes sense to me, would definitely like that.

Why not :man_shrugging:


Q. on Point-wise MLP methods

Thank you for the insightful work! I had a quick Q: in the Point-wise MLP methods, are you using the input/feature transform nets as proposed in PointNet? I was wondering if SotA/modern point-wise and graph-based approaches are still using these transform nets...
Additionally, in your paper p.12 eq.10, I would like to confirm: is it a typo that epsilon is being element-wise multiplied with f_{ij}? I assume that the correct operator is to multiply it with f_{j}?

Hi @chaitjo ,
We are not using the input/feature transform nets. And from my experience, most recent works are not using them either.
f_{ij} has the same meaning with  f_{j},  representing the feature of the j-th point in i point's neighborhood, but in most case we omitted the mark i for brevity.
Best,
Ze


clean up kvc support for lists

@tgoyne @segiddins
I think this addresses the concerns. valueForKey now returns a List. setValue supports both lists and RLMArrays. We only had to forward the fast enumeration method to make this work.

Tests for this? You may just want to use what I'd written that uncovered the issue, namely
func testInitStandaloneObjectWithObjectWithDefaultArrayProperty() {
        let object = SwiftObject(object: [
            "intCol": 200
            ])

        XCTAssertNil(object.realm)
        XCTAssertEqual(object.stringCol, "a", "Should be initialized with default value")
        XCTAssertEqual(object.intCol, 200, "Should be initialized with the passed-in value")
        XCTAssertEqual(object.arrayCol.count, 0)
        XCTAssertNil(object.arrayCol.realm)
    }

    func testInitStandaloneObjectWithObjectWithCustomArrayProperty() {
        let object = SwiftObject(object: [
            "arrayCol" : [[true]]
            ])

        XCTAssertNil(object.realm)
        XCTAssertEqual(object.arrayCol.count, 1)
        XCTAssertEqual(object.arrayCol.first!.boolCol, true)
        XCTAssertNil(object.arrayCol.realm)
    }

I assumed you were working on these in another pr. These tests do pass now though :)

Please add them, then?


Fix metric name linter

Fix the github action job trigger to only when pushing new changes to prom-metrics-linter dir
Add new lines in the Docker file
Add missing error msg

/approve
/lgtm


Keep AutoLines._lines_instances dict up to date with figures/plot_builders lists

Description
AutoLines now has a function (on_figure_removed) that updates the _lines_instances dict when a figure is removed or a tab is closed.
Motivation and Context
The AutoLines._line_instances dict is not updated after closing a figure, so no new figures are created after closing out all the figures and adding another run.
How Has This Been Tested?
Tested interactively by using AutoLines to plot a scan, closing the tab, and rerunning the scan.

One fix needed to make flake8 happy:
https://github.com/bluesky/bluesky-widgets/runs/3944835297?check_suite_focus=true#step:5:7
Once that is addressed is CI passes* self-merge at will @AbbyGi.
*It looks like the Python 3.6 tests are failing on main consistently, something to do with the Jupyter view. IMO the best solution is to drop 3.6 support.


change url query without changing page

I have a problem about changing url query in methods.
First way:
When I use :
var data = Object.assign({}, this.$route.query)
        data['color'] = somevalue
        this.$router.push({path: '/images', query: data})

The page refresh with correct query but load content twice.
Second way :
When I  get the new content with ajax without reloading the page . I works good but I need to change the url query accordingly.
What should I do in this dilemma?

You can use a middleware to load the dynamic query and redirect to the page with that query.
Doc: https://nuxtjs.org/api/pages-middleware#the-middleware-property
Maybe such like:
export default async function ({redirect, route }) {
  if (!route.query) {
    const query = axios.get('...')
    return redirect('/login', query)
  }
}


Uncountable Fort space is not ccc

Please check me on this, but it seems this is a mistake in Steen & Seebach.

Interesting observation. Even the Wikipedia article on Fort space notes that X without the special point is discrete. I'll come back to this once I'm in my office in a few hours.

Thanks @prabau! I was curious so I looked back and found that it was introduced to the Git repo here: https://github.com/prabau/data/commit/5cfa99f6585eed9e86199973ad9267e9003fae73#diff-58f1e5109756e64982f62c4093bdb0c2 That means it was actually introduced before pi-base's data was tracked in a Git repo. It was likely from an undergraduate student in Austin Mohr's inquiry-based topology course that used the pi-base a few years ago.


build failure

src/panel/cpanelwidget.cpp: In member function ‘virtual void CPanelWidget::volumesChanged(const std::deque&, Panel)’:
src/panel/cpanelwidget.cpp:740:28: error: ‘const struct VolumeInfo’ has no member named ‘displayName’
QString name = driveInfo.displayName();

g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -std=gnu++1y -Wall -Wno-c++11-extensions -Wno-local-type-template-args -Wno-deprecated-register -D_REENTRANT -fPIC -D_SCL_SECURE_NO_WARNINGS -DNDEBUG=1 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -I../file-commander-core/src -I../file-commander-core/include -I../qtutils -I../cpputils -I../github-releases-autoupdater/src -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -I../build/release/x64/FileCommander -isystem /usr/include/libdrm -I../build/release/x64/FileCommander -I/usr/lib/qt/mkspecs/linux-g++ -o ../build/release/x64/FileCommander/cpanelwidget.o src/panel/cpanelwidget.cpp
src/panel/cpanelwidget.cpp: In member function ‘virtual void CPanelWidget::volumesChanged(const std::deque&, Panel)’:
src/panel/cpanelwidget.cpp:740:28: error: ‘const struct VolumeInfo’ has no member named ‘displayName’
QString name = driveInfo.displayName();
^~~~~~~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-register’
cc1plus: warning: unrecognized command line option ‘-Wno-local-type-template-args’
cc1plus: warning: unrecognized command line option ‘-Wno-c++11-extensions’
make[1]: *** [Makefile:1627: ../build/release/x64/FileCommander/cpanelwidget.o] Error 1
make[1]: Leaving directory '/home/solaraquarion/pkgbuild/file-commander-git/src/file-commander-git/qt-app'
make: *** [Makefile:58: sub-qt-app-make_first] Error 2
==> ERROR: A failure occurred in build().

Fixed the compilation issue. But it's no use because the application crashes due to QFileSystemWatcher being constructed before QApplication::exec() call, which is apparently illegal (but used to work before). I've already had half a mind to throw QFileSystemWatcher away because it fails to detect some changes. I'm assigning #12 top priority and will get to it as soon as possible.
I'll look into the #pragma warnings, too, but that's not critical.

@VioletGiraffe I'm now getting a fragmentation fault

Yep. As I said, it crashes on Mac and Linux. I'm working on it right now.

Fixed.


Not able to parse new blocks with incentive fields

Subject of the issue
Conduit is not able to parse new blocks with incentive fields
Your environment
Latest algod and conduit docker images
Steps to reproduce

Attempt to run conduit against latest algod

Expected behaviour
Conduit is able to process block
Actual behaviour
importer algod.GetBlock() error getting block for round 1, check node configuration: error decoding block for round 1: msgpack decode error [pos 13]: no matching struct field found when decoding stream map with key bi

@joe-p are you running consensus version future when you see this issue?

@jasonpaulos Ah yeah we were using future consensus.

Re-opening this issue because it's happening without vFuture as well


FIX-#1930: Fix one of the cases of heterogeneous data for read_csv

Signed-off-by: Anatoly Myachev<EMAIL_ADDRESS>
What do these changes do?

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[x] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #1930
[x] tests added and passing
[x] module layout described at docs/development/architecture.rst is up-to-date

@YarShev I found a interesting problem with Unidist. Could you take a look?
Job link: https://github.com/modin-project/modin/actions/runs/3781849458/jobs/6535203451
    unwrapped_kwargs = {k: unwrap_object_refs(v) for k, v in kwargs.items()}
/usr/share/miniconda3/envs/modin_on_unidist/lib/python3.8/site-packages/unidist/core/backends/common/utils.py:26: in unwrap_object_refs
    unwrapped_value = unwrap_object_refs(
/usr/share/miniconda3/envs/modin_on_unidist/lib/python3.8/site-packages/unidist/core/backends/common/utils.py:26: in unwrap_object_refs
    unwrapped_value = unwrap_object_refs(
E   RecursionError: maximum recursion depth exceeded while calling a Python object
!!! Recursion detected (same locals & position)

---------- coverage: platform linux, python 3.8.15-final-0 -----------
Coverage XML written to file coverage.xml

=========================== short test summary info ============================
FAILED modin/pandas/test/dataframe/test_indexing.py::test_loc_multi_index - RecursionError: maximum recursion depth exceeded while calling a Python object

@Retribution98 is looking into this.

@anmyachev, we merged a fix in unidist master. Can you change requirements/env_unidist.yml to install latest unidist master to see if the issue is gone?

the issue is fixed.
Do I need to skip the test before the new release?

@anmyachev, we released unidist 0.2.2, which contains the fix. The release is already available on conda-forge so you should just rerun tests and they should pass with the new release.

@anmyachev did you make sure your newly added test is failing without your fix?

yes, I rechecked


How to deserialize an Update in a web server request handler?

I'm writing a TG webhook handler in Ktor. I guess, that in order to deserialize an Update, I need to use UpdateSerializerWithoutSerialization / UpdateDeserializationStrategy or have direct access to RawUpdate (which is serializable).
But all those classes are internal and cannot be used in user code. So, how do we deserialize incoming updates?

Hello! Here I pasted a minimal workaround for using of webhooks:
val bot = telegramBot("BOT TOKEN")
val flowUpdates = FlowsUpdatesFilter(64)
runBlocking {
    bot.setWebhook(
        "https://your.domain/some_secret",
        8081,
        flowUpdates,
        Netty
    )
}

Unfortunately, currently it is impossible to work with updates directly "by hands" and it is supposed that you will use long polling (via startGettingOfUpdates/startGettingFlowsUpdates) or webhooks (as it was mentioned in the example above, setWebhook). But I thikn, that it is possible to make Update serializable via setting up internal serializer. The problem here is that currently it does not support serialization. The other option is to make UpdateDeserializationStrategy public, but in this case I afraid that it could be a little bit sensitive to updates in other parts of library.

I think it's not a rare case when bot developers will use BotFather to set up webhooks for their own web servers written on Ktor or Spring Boot. Even more, some bots may use Heroku or AWS Lambda (serverless) deployments, where it's impossible to have a long-running process listening for updates, and where every update triggers (wakes up) some computation. It's crucial to have an ability to deserialize payloads directly to Update in such scenarios. Could you please consider making it possible?

Here setWebhook wll start ktor server for updates retrieving.  But I think that in the next release it will be allowed to deserialize updates outside of library.

Fixed in #88


Change default plugin/workflow load paths

Fixes #242

Resolved merge conflicts in favour of @scottyw changes.