Create key and zone section for static DHCP mappings

[X] Redmine Issue: https://redmine.pfsense.org/issues/10224
[X] Ready for review

@ableischwitz do you still plan to work on this change?  If so, please rebase your fork and fix conflicts

Closing due to lack of activity for 6 months


Update merge-up config

This PR updates the configuration for the merge-up workflow. The fallback branch is no longer needed, instead we use devBranchNamePattern set to v<major>.x.

Related to https://github.com/alcaeus/automatic-merge-up-action/pull/41


Relay Event Notification

When the relay gets activated the listener sees the event and shows the door as "OPEN" > or true, when the relay closes itself 3 seconds later (or whatever the timer was set to) the CLOSED event is not fired to the listener.
All other events and features seem to be working.

Hi,
You may need to enable events for the door input contacts using the record-special-events node.
The default controller configuration as shipped by the manufacturer only seems to generate access related events (e.g. swipe) and the other inputs need to be specifically enabled.
Sample trace - the door open event has an event.card value of 8 and the door closed event an event.card value of 9.
DOOR OPEN:
{
  "deviceId": 405419896,
  "state": {
    "serialNumber": 405419896,
    "event": {
      "index": 333,
      "type": {
        "code": 2,
        "event": "door"
      },
      "granted": false,
      "door": 4,
      "direction": {
        "code": 1,
        "direction": "in"
      },
      "card": 8,
      "timestamp": "2021-03-16 11:07:28",
      "reason": {
        "code": 23,
        "reason": "door opened"
      }
    },
    "doors": {
      "1": true,
      "2": true,
      "3": true,
      "4": true
    },
    "buttons": {
      "1": false,
      "2": false,
      "3": false,
      "4": false
    },
    "system": {
      "status": 0,
      "date": "2021-03-16",
      "time": "11:07:28"
    },
    "specialInfo": 0,
    "relays": {
      "state": 0,
      "relays": {
        "1": false,
        "2": false,
        "3": false,
        "4": false
      }
    },
    "inputs": {
      "state": 0,
      "forceLock": false,
      "fireAlarm": false
    }
  }
}

DOOR CLOSED:
{
  "deviceId": 405419896,
  "state": {
    "serialNumber": 405419896,
    "event": {
      "index": 332,
      "type": {
        "code": 2,
        "event": "door"
      },
      "granted": false,
      "door": 4,
      "direction": {
        "code": 1,
        "direction": "in"
      },
      "card": 9,
      "timestamp": "2021-03-16 11:07:26",
      "reason": {
        "code": 24,
        "reason": "door closed"
      }
    },
    "doors": {
      "1": true,
      "2": true,
      "3": true,
      "4": false
    },
    "buttons": {
      "1": false,
      "2": false,
      "3": false,
      "4": false
    },
    "system": {
      "status": 0,
      "date": "2021-03-16",
      "time": "11:07:26"
    },
    "specialInfo": 0,
    "relays": {
      "state": 0,
      "relays": {
        "1": false,
        "2": false,
        "3": false,
        "4": false
      }
    },
    "inputs": {
      "state": 0,
      "forceLock": false,
      "fireAlarm": false
    }
  }
}

Thanks for the quick reply, you say enable events. I just got into this project so Im not sure how to "enable".
I have used the record-special-events node already.
It shows the door sensor open/closed events but not the relay state events.
Also does not show push button ok status > only shows when pressed but not when released.
If there is already a writeup how to do this please point me to the correct section.
(record-special-events)
deviceId: 422244351
enable: true
updated: true

Oh, ok, I understand what you were asking now. The controller doesn't seem to generate events for the state of the door activation relays or push button release. At a guess it was a design decision made on the basis that those are essentially internal state for the controller.
As a workaround you can poll the controller using get-status (e.g. after a relay open or push button press event) until you detect the change of state.

Ok thanks for checking up on that. If it cant be done then ill make a work around.
Also can you provide some info on what module to use for the webui portion of the examples? Im just getting error components. Maybe make it more clear somewhere.

Added the additional components needed for the dashboard example flow to the README:

node-red-node-ui-list
node-red-node-ui-table


Halt rendering early once all fragments have been found

I benchmarked this searching for a fragment really early in the page. In theory, this should have given it its best shot. Unfortunately it was slower.
Before:
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) +YJIT [arm64-darwin23]
Warming up --------------------------------------
                Page    68.008k i/100ms
Calculating -------------------------------------
                Page    693.068k (± 0.7%) i/s -      3.468M in   5.004713s

After:
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) +YJIT [arm64-darwin23]
Warming up --------------------------------------
                Page    59.632k i/100ms
Calculating -------------------------------------
                Page    601.793k (± 1.0%) i/s -      3.041M in   5.054132s


Run TypeScript tests in ts-node

We previously ran the test/type-test.ts test through the TypeScript compiler to catch type issues, but there are more subtle problems that can happen at runtime with tools like ts-node (and maybe things like Deno, too — I haven't tested that). This actually runs the test file in ts-node to make sure it doesn't throw at runtime, which would have caught issues like #196 ahead of time.
⚠ This isn’t ready to merge. I added a commit that should cause the test to fail (partly reverting the fix for #196). If it fails, that I’ll take that back out and it should be merge-able.

Ah, beautiful failure! This prints out some pretty good info in the GitHub Actions logs:

✅ Should be safe to ship now!

Good idea, thanks!


Swift 4.0 & Improvements

Swift 4.0 Support
Added Attributed Message Support
Improved Warnings

@jjessel Any feedback on this?


Disable auto-update

Hi there @adyanth,
Thanks for your work, its all working well on my Teltonika RUTX OpenWRT routers.
How can I disable the auto-update? I'd prefer to update tailscale manually as these devices are in the field.
Thanks
James

Removing these lines below will get you that behavior.
https://github.com/adyanth/openwrt-tailscale-enabler/blob/f433061545db16cf7a9baf73f064f19b17b63c27/usr/bin/tailscale#L19-L22
Then, this line will set the version:
https://github.com/adyanth/openwrt-tailscale-enabler/blob/f433061545db16cf7a9baf73f064f19b17b63c27/usr/bin/tailscale#L17

awesome thanks

Remember to do the same on the tailscaled file as well!


Remove multiple director queries for a cache when doing a recursive download

Pelican Service:

[x ] Client

Is your feature request related to a problem? Please describe.
When doing a 'pelican object get' call with 'recursive' downloads enabled, it's very slow. Part of the issue may be the regular "info" call to the collections url, but there is also no retained cache url. Basically, each transfer job does a director call for a cache unless the cache is set/determined by the user from the beginning. This creates many unneeded director call.
Describe the solution you'd like
At the top level of the recursive download, get a cache that serves that namespace. Assign that cache to the transfer job. This should reduce director calls immensely. There are considerations on how to choose that cache that I discuss in the additional context.
Additional context
The easiest option would be to use the nearest/best cache that the sorting algorithm for the caches returns. However, what if there are two close caches, but one has half the data already? The second cache would clearly be preferable, but it there would need to be a recursive query for all the data in the cache sorting algorithm (when doing a recursive download) to check for that information.
The first option is probably best for a starting implementation and maybe further refinements based on how much data is already in for a recursive cache ordering might be possible.

I may have been wrong about this. Doing a placeholder here as I look into the code to see what's happening with the directory calls.


'MaterialFactory' does not contain a constructor that takes 2 arguments

This is a problem on ImporterContext.cs Line 50 on the latest version of UniVRM plugin
Removing MaterialFallback.FallbackShaders parameter fixed this issue

MaterialFactory.cs is updated.


Fix HTTP/2 peer_data

Also take the change to refactor some of the plumbing.
Contrast with #171

Could be move build_transport_info/1 into the Bandit.SocketHelpers module?
Currently the code is duplicated in HTTP1.Adapter and HTTP2.Connection.

Ohhhhh that's a good idea!

Also build_transport_info/1and peer_data/1 both call ThousandIsland.Socket.peername/1.
Is there a good way to reuse the transport_info when constructing the peer_data?
Maybe even split up transport_info since at most one element of the tuple is used in a function.
And it looks like the Telemetry part on the transport_info is never used after initial creation.

I've got a WiP on the go here, but I'm not going to be able to finish it today. I've already got the general idea sketched out; hopefully I'll get a spike up by this evening.

It's up at https://github.com/mtrudel/bandit/commit/27c2d2cee157d13968c22cd0c1c5ccef3133709b. The general idea is to abstract all aspects of transport info into a module that inits itself directly off of a socket, and then answer all questions about transport info (whether for Plug adapters or in the internals of the pipeline) from there.
The HTTP/2 side still needs to be done, and there are a few TODOs pointed out in code, but the idea hangs together really well I think.

HTTP/2 ready to go. Barring two TODOs in Pipeline, I think this is ready to stand for review


2048 is a clone of Threes

Great work on the plugin!  I have a fairly odd request.
In your readme there is a gif of debugging a game called 2048.
I'm not sure if you are aware, but 2048 was a clone of the game Threes.  Threes design was agonized over for a long time, endlessly refined, it is a masterpiece of game design.  At the last minute it was copied, and the copy received the mindshare.
It'd be great if the publicity went to the original creators.  I'm hoping in your demo you could change the heading to Three's.
Thank you

@JAForbes thanks for the context, I definitely wasn't aware of any of the history. To avoid any further complication I've update the gif to just use the Todo MVC app from the TypeScript samples .

Thank you 🎉


Edit and clarify adding-features.ipynb, then include in the documentation

Pull request #299 does this.


How to install GlobalRoutePlannerDAO?

I use carla0.9.15, Installed requirements under pythonapi folder. But I get error when run datagen.sh.
from agents.navigation.global_route_planner_dao import GlobalRoutePlannerDAO
ModuleNotFoundError: No module named 'agents.navigation.global_route_planner_dao'

global_route_planner_dao is part of CARLA <IP_ADDRESS> and was removed in newer CARLA versions.
If you want to collect data with a newer CARLA version (e.g. for CARLA leaderboard 2) I would recommend you use the PDM-Lite expert which works with carla0.9.15.
Otherwise you need to adapt the code yourself to work with CARLA 0.9.15, or downgrade if you don't need the features of newer CARLA versions.
The supported CARLA version for this repo is <IP_ADDRESS>.

Hi @Utine, what torch and cuda version are you using? I am unable to set the requirements.


fix: load the appbrowsermodule instead of appmodule

Issue referenced in #50

@theomathieubhvr I tested this and works OK.
Thanks again for your fantastic contribution 👍


java.io.IOException at RawSocket.open

Hello,
I included rocksaw to my Java Project in Eclipse. Then I tried to run the TestPing to try it, but I got the java.io.IOExecption at RackSocket.open. What could be wrong?

I'm not too sure - I just updated the codebase, so perhaps you want to pull it in and try again?  I'm going to push a release to Maven central later today.

Thanks for your help.
Am 22.03.2016 19:59 schrieb "Michael Laccetti"<EMAIL_ADDRESS>
I'm not too sure - I just updated the codebase, so perhaps you want to
pull it in and try again? I'm going to push a release to Maven central
later today.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/mlaccetti/rocksaw/issues/2#issuecomment-199963843

Okay, 1.1.0 has been published to the Sonatype OSS repo, and will sync up with Maven central shortly: https://oss.sonatype.org/#nexus-search;quick~rocksaw

Yes I have compiled it, and now it works. Thanks for your help.


SAK-40091. Modification to control null values in FormatHelper code a…

…s suggested in PR comments
I have changed the control over null values following a suggestion in a previous pull request.
With this change the export failure exposed in jira ticket is also avoided

@mateullas, FYI you didn't have to close the previous PR. When changes are requested, you just need to make new commits on your existing branch and force push. This process will automatically update the PR with your new commits.
Makes less work for you, as you don't have to close the old PR, create a new branch, apply the commit(s), and then create a new PR.

Thank you, @bjones86 for your advice. I have tried to incorporate new commits in branch as you suggest but maybe I have done something wrong because old commits appeared in branch. When I clean up the code to incorporate the last commit apparently the PR automatically closed and for that reason I have created a new one. I hope next time I'll make it better.


webui: display health durations with a 3 digits precision

What does this PR do?
webui: display health durations with a 3 digits precision
Motivation
So instead of 10h50m42.15673436371s, display 10h50m42.156s
It is applied to "total response time" and "average response time".
More

[ ] Added/updated tests
[ ] Added/updated documentation

Additional Notes

I'm working on a PR about WebUI, and I have already fixed that point and lot more things.

@mvertes won :yum:


NavigationView.cpp throws exception in Windows.UI.Xaml.dll: Access violation reading location 0x1B0144C4

Describe the bug
I'm using NavigationView inside a XboxGameBarWidget  settings widget. The first time i open the Settings view with NavigationView, it works fine. However, the second time (or occasionally the problem takes a few more opens to trigger) the I get an exception:
Exception thrown at 0x79B12FF9 (Windows.UI.Xaml.dll) in GhostOverlay.exe: 0xC0000005: Access violation reading location 0x17672284.

That appears to be in NavigationView::MeasureOverride on the final return __super::MeasureOverride(availableSize); line.

Steps to reproduce the bug

Steps to reproduce the behavior:
I do not have a reproduction project available right now, as it relies on authentication to a remote API, However my project is on Github https://github.com/joshhunt/GhostOverlay/blob/master/GhostOverlay/WidgetSettingsBountiesView.xaml.cs. WidgetSettingsView contains the NavigationView, with WidgetSettingsBountiesView being the first page in the nav.
Expected behavior
I expect it to not crash!!!
Version Info
Windows 10 1909  - Desktop
Microsoft.UI.Xaml 2.3.200213001

@joshhunt can you try using the latest pre-release build ? There have been several updates to NavigationView since the last stable release.

@ranjeshj I installed 2.4.0-prerelease.200322001 from Nuget from within Visual Studio, and i get a load of "Payload file does not exist" errors. The previous prerelease also had the same problem.

These files are indeed not in my filesystem. I downloaded the .nupkg from https://www.nuget.org/packages/Microsoft.UI.Xaml/2.4.0-prerelease.200322001 and looked it in manually and the files were not there either :/

Can you try deleting the output folder, restarting VS and doing a clean build ? If you still hit it, can you share a repro ?

@ranjeshj Yeah, no dice. Here's the repo https://github.com/joshhunt/GhostOverlay
I made a new solution and was able to add the prerelease, so there must be something funky in this solution, but im unsure (I'm quite new to .Net development!)

well.. I am able to build the app without errors. I had to create a packages folder, rename the resw file and restore the nuget packages for it to work. Can you ensure that your nuget packages are restored without any errors ? Perhaps you are hitting issues with nuget restore which is causing other errors down the line.

Thanks for checking that @ranjeshj. I recloned the repo and then i was able to successfully install the prerelease version. Unfortunately, I still experience the same issue

If i get a moment I will see if I can create a repro test case that doesnt require the API. Right now, I'm unsure if the issue only occurs when the View is loaded within the Game Bar - I'll try and include that in my testing.

A little more investigation - if I launch the same Page in the main desktop app first, and then open the settings widget in Game Bar, this issue doesnt appear to occur.

I've created a minimal reproduction case that demonstrates the problem for me https://github.com/joshhunt/GhostOverlay/tree/nav-view-reproduction. Note that this is a branch nav-view-reproduction.

Ensure that you're running Windows 1903 or 1903 with all installed updates (required for Game Bar widgets)\
Build and run the application
Windows + G to open the Game Bar
From the Widget Menu in the Game Bar, select "Ghost Overlay"
Open Settings by clicking either the button in the body of the widget, or in the title bar

Settings view should open and load successfully.

Close Settings and open again

The application should crash.
If it does not crash, close the widget an open again a few more times. While most times it will crash on the second or third open, I've seen it take about 5 tries before.

Please let me know if you have any further questions :)

@joshhunt I'm having trouble getting it to repro/debug. Would it be possible to create a standalone repro without the ghost overlay ?

@ranjeshj from the best i can tell, the issue only occurs when using NavigationView within a widget in the Windows Xbox Game Bar https://docs.microsoft.com/en-us/gaming/game-bar/overview. I have not been able to replicate this issue outside that.
I get reports from users that this issue happens to them as well. Sometimes it takes a few opens to trigger, but I'm able to fairly consistently replicate it.

It appears I've resolved the problem by using the default platform NavigationView rather than the one from the NuGet package.

The NavigationView in MUX has a lot of updates compared to the one in the platform. Once you update to WinUI3, you will get the MUX one as well, so it would be good to not revert back to the one in the platform. If we can figure out what the crash is then it would be helpful.


Ionic state change issues on iOS 9 post version update to 1.1.1

Confirming that i have updated Ionic to 1.1.1, so assuming the iOS9 webview patch is included in it. However, i am still facing issues with side menus onclick of which i am invoking $state.go() which does not render the actual page & reverts to original state. UI is completely broken.
Below is the system information:
Cordova CLI: 5.3.3
Gulp version:  CLI version 3.9.0
Ionic Version: 1.1.1
Ionic CLI Version: 1.7.10
Ionic App Lib Version: 0.6.5
ios-deploy version: 1.8.3
ios-sim version: 5.0.3
OS: Mac OS X El Capitan
Node Version: v0.12.7
Xcode version: Xcode 7.1.1 Build version 7B1005
HTML Code in the side menus:
<ion-item menu-close href="#" ng-click="getWishlist()" ng-if="userId && userId != ''">

           My Wishlist

JS Code in getWishlist():
$scope.getWishlist = function (){
$state.go("app.wishlist", {}, {reload: true});

}
Help appreciated!
Note: Static URL invocations within menu seem to work just fine!
<ion-item nav-clear menu-close href="#/app/contact-us"  >

Contact Us

Greetings @ymashalkar!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Well, i guess it was my bad for not reading this post properly!
I figured the issue was due to href='#'. The post does mention to remove empty href links if necessary which invoke the otherwise state in iOS 9. Once i removed them the links started to work as expected.
However, i did have to alter my CSS to cover the menu UI since there were other static links with non-empty href, both on iOS & Android build
Thanks for the patch & the post! Closing the issue.


Broken sample in Docs - Inline Panels and Model Clusters

Found a bug? Please fill out the sections below. 👍
Issue Summary
sample dont work
http://docs.wagtail.io/en/v2.1/reference/pages/panels.html#inline-panels-and-model-clusters

Traceback (most recent call last):
File "C:\Dev\landing\venv\lib\site-packages\django\db\models\options.py", line 566, in get_field
return self.fields_map[field_name]
KeyError: 'related_links'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 181.3870.25\helpers\pycharm\django_manage.py", line 59, in
run_command()
File "C:\Program Files\JetBrains\PyCharm 181.3870.25\helpers\pycharm\django_manage.py", line 46, in run_command
run_module(manage_file, None, 'main', True)
File "C:\Python\lib\runpy.py", line 205, in run_module
return _run_module_code(code, init_globals, run_name, mod_spec)
File "C:\Python\lib\runpy.py", line 96, in run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Python\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:/Dev/landing\manage.py", line 10, in
execute_from_command_line(sys.argv)
File "C:\Dev\landing\venv\lib\site-packages\django\core\management_init.py", line 371, in execute_from_command_line
utility.execute()
File "C:\Dev\landing\venv\lib\site-packages\django\core\management_init.py", line 365, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Dev\landing\venv\lib\site-packages\django\core\management\base.py", line 288, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Dev\landing\venv\lib\site-packages\django\core\management\base.py", line 332, in execute
self.check()
File "C:\Dev\landing\venv\lib\site-packages\django\core\management\base.py", line 364, in check
include_deployment_checks=include_deployment_checks,
File "C:\Dev\landing\venv\lib\site-packages\django\core\management\base.py", line 351, in _run_checks
return checks.run_checks(**kwargs)
File "C:\Dev\landing\venv\lib\site-packages\django\core\checks\registry.py", line 73, in run_checks
new_errors = check(app_configs=app_configs)
File "C:\Dev\landing\venv\lib\site-packages\wagtail\admin\checks.py", line 62, in get_form_class_check
edit_handler = cls.get_edit_handler()
File "C:\Dev\landing\venv\lib\site-packages\wagtail\utils\decorators.py", line 53, in call
return self.value
File "C:\Dev\landing\venv\lib\site-packages\django\utils\functional.py", line 36, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Dev\landing\venv\lib\site-packages\wagtail\utils\decorators.py", line 49, in value
return self.fn(self.cls)
File "C:\Dev\landing\venv\lib\site-packages\wagtail\admin\edit_handlers.py", line 804, in get_edit_handler
return edit_handler.bind_to_model(cls)
File "C:\Dev\landing\venv\lib\site-packages\wagtail\admin\edit_handlers.py", line 131, in bind_to_model
new.on_model_bound()
File "C:\Dev\landing\venv\lib\site-packages\wagtail\admin\edit_handlers.py", line 280, in on_model_bound
for child in self.children]
File "C:\Dev\landing\venv\lib\site-packages\wagtail\admin\edit_handlers.py", line 280, in
for child in self.children]
File "C:\Dev\landing\venv\lib\site-packages\wagtail\admin\edit_handlers.py", line 131, in bind_to_model
new.on_model_bound()
File "C:\Dev\landing\venv\lib\site-packages\wagtail\admin\edit_handlers.py", line 280, in on_model_bound
for child in self.children]
File "C:\Dev\landing\venv\lib\site-packages\wagtail\admin\edit_handlers.py", line 280, in
for child in self.children]
File "C:\Dev\landing\venv\lib\site-packages\wagtail\admin\edit_handlers.py", line 131, in bind_to_model
new.on_model_bound()
File "C:\Dev\landing\venv\lib\site-packages\wagtail\admin\edit_handlers.py", line 688, in on_model_bound
self.db_field = self.model._meta.get_field(self.relation_name)
File "C:\Dev\landing\venv\lib\site-packages\django\db\models\options.py", line 568, in get_field
raise FieldDoesNotExist("%s has no field named '%s'" % (self.object_name, field_name))
django.core.exceptions.FieldDoesNotExist: BookPage has no field named 'related_links'

any idea???
can any send minimal demo ForeignKey with model and inline code feature please???
very need
my e-mail<EMAIL_ADDRESS>th!

Hi @mmmcorpsvit,
You probably didn't change demo in the line page = ParentalKey('demo.BookPage'... to the name of your app.
I can confirm that the example works for me on a new project created with wagtail start, with the home/models.py file edited as follows:
from django.db import models

from wagtail.core.models import Page

class HomePage(Page):
    pass

from wagtail.core.models import Orderable, Page
from modelcluster.fields import ParentalKey
from wagtail.admin.edit_handlers import FieldPanel, InlinePanel

# The abstract model for related links, complete with panels
class RelatedLink(models.Model):
    title = models.CharField(max_length=255)
    link_external = models.URLField("External link", blank=True)

    panels = [
        FieldPanel('title'),
        FieldPanel('link_external'),
    ]

    class Meta:
        abstract = True

# The real model which combines the abstract model, an
# Orderable helper class, and what amounts to a ForeignKey link
# to the model we want to add related links to (BookPage)
class BookPageRelatedLinks(Orderable, RelatedLink):
    page = ParentalKey('home.BookPage', on_delete=models.CASCADE, related_name='related_links')

class BookPage(Page):
    # ...

    content_panels = Page.content_panels + [
        InlinePanel('related_links', label="Related Links"),
    ]


Fix localhost handling

Pull Request Description
This PR added support for localhost in the Kusto client. This is extremely useful to mock ADX using Wiremock for example.
There seems to be one last issue however in com.microsoft.azure.kusto.data.Utils.parseUriFromUrlString. A typical input url would be http://localhost:[port]/v2/rest/query; however, when parsed, the cleanUrl host is localhost and not http://localhost.
The fix in this PR is to use the exact same logic as the ClientImpl constructor which is:
aadAuthenticationHelper = clusterUrl.toLowerCase().startsWith(CloudInfo.LOCALHOST) ? null : TokenProviderFactory.createTokenProvider(csb, httpClient);

Future Release Comment
Full support of localhost in Kusto Data to effectively be able to mock ADX APIs.

Wouldn't it make more sense then to change the constant LOCALHOST to "localhost", and then we'll still parse the url and avoid weird scenarios like "abc.localhost/something"

Wouldn't it make more sense then to change the constant LOCALHOST to "localhost", and then we'll still parse the url and avoid weird scenarios like "abc.localhost/something"

I tried to make as little a change as possible. Honestly I don't know if the logic around localhost needs to be complex and handle cases like you mention. As far as I understand, the localhost case is only used to be able to mock ADX (?) and that should not require much complexity.

I see, sure


Bug: Files freeze crashes when deleting a folder

Description
Sometime Files will crash but the windows will just be frozen and have to be killed from task manager. I've only had this when deleting folders with no specific area.
Steps To Reproduce

Delete a folder
Files might freeze

Steps to fix
?
Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.875
Relevant Assets/Logs
debug.log

Is this when deleting a specific kind folder (eg. empty folders)?

Seems to be when there's a file in the folder beeing used


Remove Related Subjects accordion from People & Group records

Problem Description:
Related Subjects accordion is redundant to the Related Concepts accordion in People & Group records. This can cause user confusion as they both contain the same results.
Expected Behavior/Solution:
After discussion on IT team meeting 4/26 it was proposed to remove the related subjects accordion from People & Group records.
Requirements:

Related subjects accordion will no longer show on people & group records.

Needed for promotion:
If an item on the list is not needed, it should be crossed off but not removed.

[ ] Wireframe/Mockup - Mike
[ ] Committee discussions - Sarah
[ ] Feasibility/Team discussion - Sarah
[ ] Backend requirements - TBD
[ ] Frontend requirements- TBD
[ ] Questions
Are we also removing this accordion from event pages? I noticed that the event pages has a related subjects accordion as well but its query is different.

Ex: Shakespeare event | show all results AS query

UAT/LUX Examples:

https://lux-front-tst.collections.yale.edu/view/person/34f4eec7-7a03-49c8-b1be-976c2f6ba6ba (tst)

Dependencies/Blocks:

Blocked By: Issues that are blocking the completion of the current issue.
Blocking: Issues being blocked by the completion of the current issue.

Related Github Issues:
Related links:

Bugherd: https://www.bugherd.com/projects/284041/tasks/2118

Wireframe/Mockup:
Place wireframe/mockup for the proposed solution at end of ticket.

I left a question above, but I wanted to clarify whether this is only removing the related subjects accordion from the people & group records OR if this is removing all related subjects accordions from all scope records. Please see question above in the question section.
@kamerynB @prowns

Where else does Related Subjects appear?

It also appears in event pages. We have a ticket https://github.com/project-lux/lux-frontend/issues/180 where we are updating the related subjects on events pages to be a related list.

Approved by UAT

Looks good in prod, closing.


Concise scripts

Allow users to define scripts like so:
"wireit": {
  "patch": "patch-package",
  "husky": "npx husky install",
  "postinstall": {
    "dependencies": [
      "patch",
      "husky"
    ]
  }
}

equivalent to
"wireit": {
  "patch": {
    "command": "patch-package"
  },
  "husky": {
    "command": "npx husky install"
  },
  "postinstall": {
    "dependencies": [
      "patch",
      "husky"
    ]
  }
}

with wireit-only scripts (#653) landed, this could be useful to provide simple scripts without creating an 'entrypoint'


Add test for union select fields

Adds a test for union select fields to verify that they are normalized equally.
I'm not quite sure if this is the cause of the missing column from unions in https://github.com/elixir-ecto/ecto/issues/2997, but I did confirm it is behaving differently from 3.0.0 (test passes) and 3.1.4 (test fails).

Great job! 👏  :heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


Small grammatical changes and fixed typos in docs

Some suggested changes to grammar that may improve readability of the docs for your users.
Thanks for making Xania!

Thanks @Morritz  and @canadaduane


python311Packages.argcomplete: 3.1.1 -> 3.1.2

Diff: https://github.com/kislyuk/argcomplete/compare/refs/tags/v3.1.1...v3.1.2
Changelog: https://github.com/kislyuk/argcomplete/blob/v3.1.2/Changes.rst
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

2 packages marked as broken and skipped:

cwltool
cwltool.dist

17 packages failed to build:

apache-airflow
apache-airflow.dist
azure-cli
azure-cli.dist
diffoscope
diffoscope.dist
diffoscope.man
dvc-with-remotes
dvc-with-remotes.dist
pubs
pubs.dist
python310Packages.enhancements
python310Packages.enhancements.dist
python311Packages.enhancements
python311Packages.enhancements.dist
python311Packages.heudiconv
python311Packages.heudiconv.dist

137 packages built:

backblaze-b2
backblaze-b2.dist
barman
barman.dist
bitbake-language-server
bitbake-language-server.dist
checkov
checkov.dist
clickable
clickable.dist
cloud-custodian
cloud-custodian.dist
cmake-language-server
cmake-language-server.dist
commitizen
commitizen.dist
dart-sass
datalad
datalad.dist
diffoscopeMinimal
diffoscopeMinimal.dist
diffoscopeMinimal.man
discourse
discourseAllPlugins
domine
expidus.file-manager
firmware-updater
fluffychat
gallia
gallia.dist
git-aggregator
git-aggregator.dist
gitless
gitless.dist
lenovo-legion
lenovo-legion.dist
linkchecker
linkchecker.dist
meraki-cli
meraki-cli.dist
nix-update
nix-update.dist
nixpkgs-review
nixpkgs-review.dist
nuget-to-nix
pipx (python311Packages.pipx)
pipx.dist (python311Packages.pipx.dist)
protoc-gen-dart
python310Packages.amcrest
python310Packages.amcrest.dist
python310Packages.argcomplete
python310Packages.argcomplete.dist
python310Packages.censys
python310Packages.censys.dist
python310Packages.dvc-azure
python310Packages.dvc-azure.dist
python310Packages.heudiconv
python310Packages.heudiconv.dist
python310Packages.jedi-language-server
python310Packages.jedi-language-server.dist
python310Packages.knack
python310Packages.knack.dist
python310Packages.lsprotocol
python310Packages.lsprotocol.dist
python310Packages.milc
python310Packages.milc.dist
python310Packages.nbdev
python310Packages.nbdev.dist
python310Packages.nox
python310Packages.nox.dist
python310Packages.pipx
python310Packages.pipx.dist
python310Packages.pygls
python310Packages.pygls.dist
python310Packages.python-lsp-ruff
python310Packages.python-lsp-ruff.dist
python310Packages.sdkmanager
python310Packages.sdkmanager.dist
python310Packages.yq
python310Packages.yq.dist
python311Packages.amcrest
python311Packages.amcrest.dist
python311Packages.argcomplete
python311Packages.argcomplete.dist
python311Packages.censys
python311Packages.censys.dist
python311Packages.dvc-azure
python311Packages.dvc-azure.dist
python311Packages.jedi-language-server
python311Packages.jedi-language-server.dist
python311Packages.knack
python311Packages.knack.dist
python311Packages.lsprotocol
python311Packages.lsprotocol.dist
python311Packages.milc
python311Packages.milc.dist
python311Packages.nbdev
python311Packages.nbdev.dist
python311Packages.nox
python311Packages.nox.dist
python311Packages.pygls
python311Packages.pygls.dist
python311Packages.python-lsp-ruff
python311Packages.python-lsp-ruff.dist
sdkmanager (python311Packages.sdkmanager)
sdkmanager.dist (python311Packages.sdkmanager.dist)
yq (python311Packages.yq)
yq.dist (python311Packages.yq.dist)
qmk
qmk.dist
quarto
quartoMinimal
rstudio
rstudio-server
rstudioServerWrapper
rstudioWrapper
ruff-lsp
ruff-lsp.dist
shopware-cli
ssh-mitm
ssh-mitm.dist
stubby
stubby.man
stubby.stubbyExampleJson
styx
styx.lib
styx.themes
theharvester
theharvester.dist
tockloader
tockloader.dist
vimPlugins.YouCompleteMe
vscode-extensions.ms-python.python
wlc
wlc.dist
ycmd
yubioath-flutter

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

2 packages marked as broken and skipped:

cwltool
cwltool.dist

12 packages failed to build:

apache-airflow
apache-airflow.dist
azure-cli
azure-cli.dist
dvc-with-remotes
dvc-with-remotes.dist
pubs
pubs.dist
python310Packages.enhancements
python310Packages.enhancements.dist
python311Packages.enhancements
python311Packages.enhancements.dist

142 packages built:

backblaze-b2
backblaze-b2.dist
barman
barman.dist
bitbake-language-server
bitbake-language-server.dist
checkov
checkov.dist
clickable
clickable.dist
cloud-custodian
cloud-custodian.dist
cmake-language-server
cmake-language-server.dist
commitizen
commitizen.dist
dart-sass
datalad
datalad.dist
diffoscope
diffoscope.dist
diffoscope.man
diffoscopeMinimal
diffoscopeMinimal.dist
diffoscopeMinimal.man
discourse
discourseAllPlugins
domine
expidus.file-manager
firmware-updater
fluffychat
gallia
gallia.dist
git-aggregator
git-aggregator.dist
gitless
gitless.dist
lenovo-legion
lenovo-legion.dist
linkchecker
linkchecker.dist
meraki-cli
meraki-cli.dist
nix-update
nix-update.dist
nixpkgs-review
nixpkgs-review.dist
nuget-to-nix
pipx (python311Packages.pipx)
pipx.dist (python311Packages.pipx.dist)
protoc-gen-dart
python310Packages.amcrest
python310Packages.amcrest.dist
python310Packages.argcomplete
python310Packages.argcomplete.dist
python310Packages.censys
python310Packages.censys.dist
python310Packages.dvc-azure
python310Packages.dvc-azure.dist
python310Packages.heudiconv
python310Packages.heudiconv.dist
python310Packages.jedi-language-server
python310Packages.jedi-language-server.dist
python310Packages.knack
python310Packages.knack.dist
python310Packages.lsprotocol
python310Packages.lsprotocol.dist
python310Packages.milc
python310Packages.milc.dist
python310Packages.nbdev
python310Packages.nbdev.dist
python310Packages.nox
python310Packages.nox.dist
python310Packages.pipx
python310Packages.pipx.dist
python310Packages.pygls
python310Packages.pygls.dist
python310Packages.python-lsp-ruff
python310Packages.python-lsp-ruff.dist
python310Packages.sdkmanager
python310Packages.sdkmanager.dist
python310Packages.yq
python310Packages.yq.dist
python311Packages.amcrest
python311Packages.amcrest.dist
python311Packages.argcomplete
python311Packages.argcomplete.dist
python311Packages.censys
python311Packages.censys.dist
python311Packages.dvc-azure
python311Packages.dvc-azure.dist
python311Packages.heudiconv
python311Packages.heudiconv.dist
python311Packages.jedi-language-server
python311Packages.jedi-language-server.dist
python311Packages.knack
python311Packages.knack.dist
python311Packages.lsprotocol
python311Packages.lsprotocol.dist
python311Packages.milc
python311Packages.milc.dist
python311Packages.nbdev
python311Packages.nbdev.dist
python311Packages.nox
python311Packages.nox.dist
python311Packages.pygls
python311Packages.pygls.dist
python311Packages.python-lsp-ruff
python311Packages.python-lsp-ruff.dist
sdkmanager (python311Packages.sdkmanager)
sdkmanager.dist (python311Packages.sdkmanager.dist)
yq (python311Packages.yq)
yq.dist (python311Packages.yq.dist)
qmk
qmk.dist
quarto
quartoMinimal
rstudio
rstudio-server
rstudioServerWrapper
rstudioWrapper
ruff-lsp
ruff-lsp.dist
shopware-cli
ssh-mitm
ssh-mitm.dist
stubby
stubby.man
stubby.stubbyExampleJson
styx
styx.lib
styx.themes
theharvester
theharvester.dist
tockloader
tockloader.dist
vimPlugins.YouCompleteMe
vscode-extensions.ms-python.python
wlc
wlc.dist
ycmd
yubioath-flutter


Expose the number of tokens owned by an ingester

Also make sure the percentage is exposed for ingesters
that are not having any tokens

This will help with alerting for #954 If there are 0 tokens, the ownership_percentage series is missing.

These metrics will be exposed by distributor & querier - would be good to have some exposed by the ingester (through lifecycle.go)

Why do we need the new count metric? Is fixing the percentage metric not enough?


How do I use my own image?

How can I use this with my own image?
I type bot.py -i C:\image
It says there is no directory. But there is a file called image on my C drive. How exactly do I have to type it for it to find the file?

Whenever I type a directoy it seems to put two // by itself??

It can't be a directory...


Automated cherry pick of #3152: [batch/job] Allow unsuspending a job with a parallelism equal or less then minimum.

Cherry pick of #3152 on release-0.8.
#3152: [batch/job] Allow unsuspending a job with a parallelism equal or less then minimum.
For details on the cherry pick process, see the cherry pick requests page.
Fix webook validation for batch/Job to allow partial admission of a Job to use all available resources.
It also fixes a scenario of partial re-admission when some of the Pods are already reclaimed.

The conflict was triggered by the movement of job webhook integration tests. (mot relevant to the PR)

The conflict was triggered by the movement of job webhook integration tests. (mot relevant to the PR)

Thanks.
/hold cancel

/kind bug


fix(trace.py): encode datetime objects

fixes https://github.com/epsagon/epsagon-python/issues/77

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


fix: broken link to Getting Access in Support/FAQ

Go to https://www.adobe.io/runtime/docs/support/faq/#getting-access
Click on the getting access link which goes here: https://www.adobe.io/runtime/docs/support/overview/getting_access.md

Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] I have signed the Adobe Open Source CLA.
[X] My code follows the code style of this project.
[X] My change requires a change to the documentation.
[X] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[X] All new and existing tests passed.

sorry there are multiple breakages in the FAQ page, fixing it all in this PR soon


Add count_archived_for_workflow accessor for the number of archived workflows

Dor::WorkflowObject#to_solr [1] directly accesses the workflow service REST APi. This commit moves this logic upstream.
[1] https://github.com/sul-dlss/dor-services/blob/c672c0b60a74a5b1aa72ad69885638e8b4f34456/lib/dor/models/workflow_object.rb#L48

[1] is impressive :)


SSL: CERTIFICATE_VERIFY_FAILED error on "az bicep install" Resurfaced Again . Reference  #20842

Describe the bug
I do not use the proxy, but have the same issue when trying to run:
az bicep install
OS: MacOS Ventura 13.5
azure-cli 2.51.0
core 2.51.0
telemetry 1.1.0
Extensions:
azure-devops 0.26.0
Dependencies:
msal 1.24.0b1
azure-mgmt-resource 23.1.0b2
Bicep CLI version 0.19.5 (87ca110fc0)
Related command
az bicep *
Errors
Error while attempting to download Bicep CLI: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)>
Issue script & Debug output
DEBUG: cli.knack.cli: Command arguments: ['bicep', 'install', '--debug']
DEBUG: cli.knack.cli: init debug log:
Cannot enable color.
DEBUG: cli.knack.cli: Event: Cli.PreExecute []
DEBUG: cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x10124f700>, <function OutputProducer.on_global_arguments at 0x10149dc10>, <function CLIQuery.on_global_arguments at 0x101513160>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
DEBUG: cli.azure.cli.core: Modules found from index for 'bicep': ['azure.cli.command_modules.resource']
DEBUG: cli.azure.cli.core: Loading command modules:
DEBUG: cli.azure.cli.core: Name                  Load Time    Groups  Commands
DEBUG: cli.azure.cli.core: resource                  0.006        51       224
DEBUG: cli.azure.cli.core: Total (1)                 0.006        51       224
DEBUG: cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
DEBUG: cli.azure.cli.core: Loading extensions:
DEBUG: cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
DEBUG: cli.azure.cli.core: Total (0)                 0.000         0         0
DEBUG: cli.azure.cli.core: Loaded 51 groups, 224 commands.
DEBUG: cli.azure.cli.core: Found a match in the command table.
DEBUG: cli.azure.cli.core: Raw command  : bicep install
DEBUG: cli.azure.cli.core: Command table: bicep install
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x102615af0>]
DEBUG: cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/Users/n0mad/.azure/commands/2023-08-04.19-40-43.bicep_install.42062.log'.
INFO: az_command_data_logger: command args: bicep install --debug
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x10263d9d0>]
DEBUG: cli.azure.cli.core.profiles._shared: Traceback (most recent call last):
File "/Users/n0mad/Library/Python/3.9/lib/python/site-packages/azure/cli/core/profiles/_shared.py", line 659, in _get_attr
op = getattr(op, part)
AttributeError: module 'azure.mgmt.resource.resources.v2022_09_01.models' has no attribute 'ExemptionCategory'
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x1026cdca0>, <function register_cache_arguments..add_cache_arguments at 0x1026eac10>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x10149dca0>, <function CLIQuery.handle_query_parameter at 0x1015131f0>, <function register_ids_argument..parse_ids_arguments at 0x1026eab80>]
DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): aka.ms:443
DEBUG: urllib3.connectionpool: https://aka.ms:443 "GET /BicepLatestRelease HTTP/1.1" 301 0
DEBUG: urllib3.connectionpool: Starting new HTTPS connection (1): downloads.bicep.azure.com:443
DEBUG: urllib3.connectionpool: https://downloads.bicep.azure.com:443 "GET /releases/latest HTTP/1.1" 200 36737
DEBUG: cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1331, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1040, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 980, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1454, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 501, in wrap_socket
return self.sslsocket_class._create(
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1041, in _create
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1310, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/n0mad/Library/Python/3.9/lib/python/site-packages/azure/cli/command_modules/resource/_bicep.py", line 135, in ensure_bicep_installation
request = urlopen(_get_bicep_download_url(system, release_tag, target_platform=target_platform))
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/n0mad/Library/Python/3.9/lib/python/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/Users/n0mad/Library/Python/3.9/lib/python/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/Users/n0mad/Library/Python/3.9/lib/python/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/Users/n0mad/Library/Python/3.9/lib/python/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/Users/n0mad/Library/Python/3.9/lib/python/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/Users/n0mad/Library/Python/3.9/lib/python/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/Users/n0mad/Library/Python/3.9/lib/python/site-packages/azure/cli/command_modules/resource/custom.py", line 4259, in install_bicep_cli
ensure_bicep_installation(cmd.cli_ctx, release_tag=version, target_platform=target_platform)
File "/Users/n0mad/Library/Python/3.9/lib/python/site-packages/azure/cli/command_modules/resource/_bicep.py", line 154, in ensure_bicep_installation
raise ClientRequestError(f"Error while attempting to download Bicep CLI: {err}")
azure.cli.core.azclierror.ClientRequestError: Error while attempting to download Bicep CLI: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)>
ERROR: cli.azure.cli.core.azclierror: Error while attempting to download Bicep CLI: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)>
ERROR: az_command_data_logger: Error while attempting to download Bicep CLI: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)>
DEBUG: cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x102615d30>]
INFO: az_command_data_logger: exit code: 1
INFO: cli.main: Command ran in 1.776 seconds (init: 0.152, invoke: 1.624)
INFO: telemetry.main: Begin splitting cli events and extra events, total events: 1
INFO: telemetry.client: Accumulated 0 events. Flush the clients.
INFO: telemetry.main: Finish splitting cli events and extra events, cli events: 1
INFO: telemetry.save: Save telemetry record of length 3643 in cache
INFO: telemetry.main: Begin creating telemetry upload process.
INFO: telemetry.process: Creating upload process: "/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 /Users/n0mad/Library/Python/3.9/lib/python/site-packages/azure/cli/telemetry/init.py /Users/n0mad/.azure"
INFO: telemetry.process: Return from creating process
INFO: telemetry.main: Finish creating telemetry upload process.
Installing Bicep CLI v0.20.4...
Expected behavior
az bicep installed
Environment Summary
azure-cli                         2.51.0
core                              2.51.0
telemetry                          1.1.0
Extensions:
azure-devops                      0.26.0
Dependencies:
msal                            1.24.0b1
azure-mgmt-resource             23.1.0b2
Python location '/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9'
Extensions directory '/Users/n0mad/.azure/cliextensions'
Python (Darwin) 3.9.13 (v3.9.13:6de2ca5339, May 17 2022, 11:37:23)
[Clang 13.0.0 (clang-13<IP_ADDRESS>)]
Additional context
No response

Thank you for opening this issue, we will look into it.

@aslan-im Apologies for the late reply. Thanks for reaching out to us and reporting this issue. Could you please follow the steps mentioned in the below article depending on your environment to install the bicep CLI ? Hope this helps.
Linux
macOS
Windows
Awaiting your reply.

@navba-MSFT Yes, it can be installed that way, but I see the same error when run something like
az deployment group

@aslan-im Thanks for getting back.

Could you please try the same operation from a different reliable network and check if that helps ?

Run this command and check the result:

python.exe" -c "import urllib.request; print(urllib.request.getproxies())"

I understand it is your personal laptop, but looking at the error it seems like there is a proxy that is interfering. You need to add HTTP_PROXY and HTTPS_PROXY environment variables to the system

Then you need to find certifi path for your AzCLI installation. Default path should be: "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\certifi".

Download your corporate proxy's root certificate and append it to "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\certifi\cacert.pem"

You could try setting the env variable (set AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=1). Not a recommended approach though.

Try disabling SSL certificate verification temporarily by setting the REQUESTS_CA_BUNDLE environment variable to None and check if that helps to run the CLI command. export REQUESTS_CA_BUNDLE=None

Awaiting your reply.

@navba-MSFT
Could you please try the same operation from a different reliable network and check if that helps ?

Checked with another network (mobile internet) and result is the same.

Run this command and check the result:
python.exe" -c "import urllib.request; print(urllib.request.getproxies())"

result: {} (it is macOS)

I understand it is your personal laptop, but looking at the error it seems like there is a proxy that is interfering. You need to add HTTP_PROXY and HTTPS_PROXY environment variables to the system
Then you need to find certifi path for your AzCLI installation. Default path should be: "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\certifi".
Download your corporate proxy's root certificate and append it to "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\certifi\cacert.pem"
You could try setting the env variable (set AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=1). Not a recommended approach though.

Please update the instructions according to the MacOS

Try disabling SSL certificate verification temporarily by setting the REQUESTS_CA_BUNDLE environment variable to None and check if that helps to run the CLI command. export REQUESTS_CA_BUNDLE=None

@aslan-im Thanks for getting back.

Check if the OpenSSL version is up to date by running the following command in the terminal:

openssl version

If the version is not up to date, you can update it using Homebrew by running the following command:

brew upgrade openssl

I understand you don't have a proxy, it might still be worth double-checking the system's proxy settings. You can run the following command to print the proxy settings:
echo $http_proxy
echo $https_proxy

Try running the below:

export AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=1

Though it isn't recommended, its worth trying to isolate this issue.

Set the REQUESTS_CA_BUNDLE environment variable to the path of the Base64-encoded SSL certificate file. You can download the certificate from your corporate proxy and save it to a file on your local machine. Then, set the environment variable to the path of the file by running the following command.

export REQUESTS_CA_BUNDLE=/path/to/certificate.pem

If the above steps do not work, you can try disabling SSL certificate verification temporarily by setting the REQUESTS_CA_BUNDLE environment variable to None. Run the following command in the terminal:

export REQUESTS_CA_BUNDLE=None

Note that this is not a recommended, its worth trying to isolate this issue.

Check if the OpenSSL version is up to date by running the following command in the terminal:
openssl version
Output:
 OpenSSL 3.1.1 30 May 2023 (Library: OpenSSL 3.1.1 30 May 2023)

I understand you don't have a proxy, it might still be worth double-checking the system's proxy settings. You can run the following command to print the proxy settings:
echo $http_proxy
echo $https_proxy
output:
`
❯ echo $http_proxy
❯ echo $https_proxy
`

output is empty

Try running the below:
export AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=1
Though it isn't recommended, its worth trying to isolate this issue.
Set the REQUESTS_CA_BUNDLE environment variable to the path of the Base64-encoded SSL certificate file. You can download the certificate from your corporate proxy and save it to a file on your local machine. Then, set the environment variable to the path of the file by running the following command.
export REQUESTS_CA_BUNDLE=/path/to/certificate.pem // I have no proxy
If the above steps do not work, you can try disabling SSL certificate verification temporarily by setting the REQUESTS_CA_BUNDLE environment variable to None. Run the following command in the terminal:
export REQUESTS_CA_BUNDLE=None
Note that this is not a recommended, its worth trying to isolate this issue.

@aslan-im Thanks for getting back. Could you please collect network traces and share this trace over email navba [@] microsoft . (dot) com ? Awaiting your reply.

@navba-MSFT  email with network traces has been sent to your email address.

@aslan-im I had a look at the traces and this might require a deeper troubleshooting. May I know if it is feasible for you to open a support ticket with Microsoft ? so that our support professionals and get on a troubleshooting session with you to look into this. Awaiting your reply.

@navba-MSFT Please clarify through what I should rise a ticket? Is it possible to raise it in a way not related to particular Az tenant?

@aslan-im Thanks for getting back. You can type support in azure portal and select for Help + Support and create a ticket:

More Info here.
Alternatively, you can create support ticket from here.  Hope this helps.

@aslan-im I hope you had a chance to follow the above suggestion and opened a support ticket to work on this issue.

@aslan-im - I was running into the same issue, on macos, no proxy, latest openssl, etc, I was able to get past this error using the following commands. Guessing something from my dev env added a self signed cert to the CA bundle or something -
CERT_PATH=$(python -m certifi)
export SSL_CERT_FILE=${CERT_PATH}
export REQUESTS_CA_BUNDLE=${CERT_PATH}

ref - https://stackoverflow.com/a/57795811


requirement

If you want to use the trained model to use and count the accuracy on the test set, how can this be achieved? Need to rewrite the code by myself?

There is not need to rewrite code yourself, there are already related implementations in the repo.
You can run the following code to obtain the WER of the test set.

bash run.sh --stage 5 --stop-stage 5


Changes after R5

Main update:

Don't capitalize GeoTIFF metadata values.

Minor updates:

Update BBOX pixel_coordinate_convention from Upper left corner (ULC) to Edges/corners.
Update backscatter to dB conversion from BACKSCATTER_DB = 10*LOG10(BACKSCATTER_LINEAR) to 10*LOG10(BACKSCATTER_LINEAR).

Thank you, @seongsujeong !


Camera.transform deprecated in Cesium 1.6 equivalent in Cesium 1.8 is Camera.lookAtTransform()

I've been using Camera.transform property in Cesium 1.6 and it's working perfectly for me. It allows the camera to follow the model while it's moving and at the same time keeping the camera's state (orientation etc.) while the user is changing the camera on the fly (while the model is moving) such as zooming in/out, rotation, etc. Now in Cesium 1.8 the equivalent is to use Camera.lookAtTransform() function but this does not keep the camera settings. Is this a bug or issue or is there a way to mimic the the behavior of Cesium's 1.6's Camera.transform?

Looking at https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/Camera.js#L1581
If offset is not defined it simply sets the camera's offset then returns. Maybe instead it should check how many arguments are passed, if for some strange reason offset is defined but not passed? Try calling camera._setTransform(transform) instead camera.lookAtTransform and see if you get the same behavior.

It is exactly what I did after looking at the code by calling the "private method" camera._setTransform(transform) instead of the camera.lookAtTransform() unfortunately it's the same behavior. The good news is, I was able to mimic the 1.6 behavior (camera.transform = transform) in 1.8 by literally copying the old logic which is camera._transform = transform; camera._transformChanged = true;

in the updatemembers function:
camera._transformChanged == true invokes the if statement here
https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/Camera.js#L418
then camera._transform is used in that if statement
in the _setTransform function
https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/Camera.js#L781
it does set those vars then calls updatemembers, but does some other stuff as well. I suppose that other stuff messes with the camera settings? That other stuff seems to be transforming the camera rotation matrix to the new transform.
Is there anyway to invoke updatemembers from the outside? When I type viewer.scene.camera in the console I don't see it. I tried doing Cesium.Camera as well but couldn't find it there either.

The reason transform was remove is because there weren't many use cases for it and it was confusing to have so many ways to set the same property. Many of our code examples that set the camera reference frame also were followed by a lookAt. So, I combined the two. There were only a very few cases where I needed the old behavior, but it is still possible:
camera.setTransform(transform, Cartesian3.clone(camera.position));
See the ICRF example in the Sandcastle.
By the way, you shouldn't use any property of function that begins with an underscore. Those are private and we reserve the right to change them at any time. I'm not saying that I know those properties and functions will change, but they could and will most likely break any code that is using them.
This is not an issue so I am closing it.

I'm a bit confused by camera.setTransform(transform, Cartesian3.clone(camera.position));
The non-underscore version was deprecated. Also I don't see where either version uses a second argument. I'm guessing that's a typo, and you meant lookAtTranform, which makes sense considering the ICRF example.

@WarpDrive Yes, sorry, I meant lookAtTransform.

Thanks for the clarification. I see that will retain the position, but not orientation, which snaps to looking at the new origin. Though it would be weird if it didn't snap to looking at the new transform origin.


Changed notebooks to accomodate for the latest data files and to stan…

…dard mimic database instructions
Small modifications to make it easier to run the notebooks:

Changed the dataset notebook according to the latest files shared on the slack (name.csv and firstname.csv instead of fullnames.txt, address.csv instead of addresses.csv)
Changed psycopg2 settings to connect to the postgres database without password (provided official mimic instructions were followed)

Closed PR; re-pushed on ngram branch for more clarity


Marking modmail conversation as read

Issue Description
The new modmail API endpoint for getting a conversation includes a 'markRead' parameter that isn't currently implemented in PRAW. I was wondering what the best way would be to add this.
One option would be an extra argument to Subreddit.modmail.__call__. However, this would probably require overriding RedditBase._fetch, which doesn't take any parameters. Is there a cleaner way to pass extra data along with the _info_path?

While I think we could make it work by supporting params to _info_path, the bigger issue I have with that approach is that this parameter would need to be passed into the initializer for ModmailConversation, and that doesn't really seem to fit.
What I recommend is that instead we use __call__ on the helper to take the param, and then issue the request. If that is objectified at that point, great we return the conversation, otherwise, we can pass the returned data into the ModmailConversation constructor.
Thoughts?

Main downside I see is that __call__ would no longer return a lazy instance of the ModmailConversation.

You make a great point about the instance not being lazy. I suppose let's add a _info_params attribute to PRAWBase that's an empty dictionary by default, and we can set the params in the constructor, and then _fetch will always pass _info_params as part of the request.
It's a new model, but I'm convinced it is worth it.

Should that be on PRAWBase, or RedditBase?

Should that be on PRAWBase, or RedditBase?

Whichever one is right ;). Sounds like it should be on RedditBase.


fix: Add access token support to HuggingFace module

Describe your changes

Add access token support to HuggingFace module
Move deployment manifest for this module to examples

Checklist before requesting a review

[x] I updated CHANGELOG.MD with a description of my changes
[x] If the change was to a module, I ran the code validation script (scripts/validate.sh)
[x] If the change was to a module, I have added thorough tests
[x] If the change was to a module, I have added/updated the module's README.md
[x] If a module was added, I added a reference to the module to the repository's README.md
[x] I verified that my code deploys successfully using seedfarmer apply

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: AIOpsModuleTestsInfrastruct-doMLXEYsnmxr
Commit ID: b772a239a4226d78bae8bd50ae513d5b393a11b8
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AIOpsModuleTestsInfrastruct-doMLXEYsnmxr
Commit ID: dbcceded319dd7bfd3a2b4137d48456f36839bb1
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AIOpsModuleTestsInfrastruct-doMLXEYsnmxr
Commit ID: 4e5ad7874cb3be18592cc1256e342823f1b048da
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AIOpsModuleTestsInfrastruct-doMLXEYsnmxr
Commit ID: bf8ff66a73a81c176d4fe6e375b027b34574eeb4
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Only create filters for controllers and actions that need them

Previously every controller and action would get an AuthorizeFilter, now only those that need one will.

I spoke with @Eilon about this, his request was that we follow up by commenting about this coupling inside DefaultAuthenticationPolicyProvider. We need to leave a note there explaining what aspects of its behavior MVC depends on.

Need to see some tests for the application model parts of this change :watch:

And regarding @rynowak 's comment at https://github.com/aspnet/Mvc/pull/5044#issuecomment-234067277, please ping me, @rynowak , @HaoK , and @blowdart on that to review.

:watch:

:up::date:

:shipit:  for this PR
Remember, we're still waiting on this

And regarding @rynowak 's comment at #5044 (comment), please ping me, @rynowak , @HaoK , and @blowdart on that to review.

:shipit:


Error occurred when executing SamplerCustom:  'InstanceConditioning' object has no attribute 'current_loaded_device'

I keep getting this error for the spline example workflow:
Error occurred when executing SamplerCustom:

'InstanceConditioning' object has no attribute 'current_loaded_device'

File "/content/ComfyUI/execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/content/ComfyUI/execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/content/ComfyUI/execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/content/ComfyUI/comfy_extras/nodes_custom_sampler.py", line 455, in sample
samples = comfy.sample.sample_custom(model, noise, cfg, sampler, sigmas, positive, negative, latent_image, noise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=noise_seed)
File "/content/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/animatediff/sampling.py", line 549, in motion_sample
latents = orig_comfy_sample(model, noise, *args, **kwargs)
File "/content/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet/adv_control/sampling.py", line 116, in acn_sample
return orig_comfy_sample(model, *args, **kwargs)
File "/content/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet/adv_control/utils.py", line 116, in uncond_multiplier_check_cn_sample
return orig_comfy_sample(model, *args, **kwargs)
File "/content/ComfyUI/comfy/sample.py", line 48, in sample_custom
samples = comfy.samplers.sample(model, noise, positive, negative, cfg, model.load_device, sampler, sigmas, model_options=model.model_options, latent_image=latent_image, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "/content/ComfyUI/comfy/samplers.py", line 729, in sample
return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "/content/ComfyUI/comfy/samplers.py", line 706, in sample
self.inner_model, self.conds, self.loaded_models = comfy.sampler_helpers.prepare_sampling(self.model_patcher, noise.shape, self.conds)
File "/content/ComfyUI/comfy/sampler_helpers.py", line 66, in prepare_sampling
comfy.model_management.load_models_gpu([model] + models, memory_required=memory_required, minimum_memory_required=minimum_memory_required)
File "/content/ComfyUI/comfy/model_management.py", line 495, in load_models_gpu
total_memory_required[loaded_model.device] = total_memory_required.get(loaded_model.device, 0) + loaded_model.model_memory_required(loaded_model.device)
File "/content/ComfyUI/comfy/model_management.py", line 298, in model_memory_required
if device == self.model.current_loaded_device():

I updated comfy and all custom nodes.

Join me. Same error.

自动下载了模型，但还是同样的报错。

Thanks for calling this out, it's due to a Comfy update.
I've updated the nodes to fix it.


Modifications in the projectController.js file to enhance robustness, readability and maintainability.

There are a few improvements that could enhance performance, readability, and error handling:
-Reduce Rate Limiting Risk: Using GitHub's API for each repository’s pull requests might hit rate limits quickly, especially for organizations with many repositories. Considering to limit the repositories to only active ones or reducing data pulled in each call.
-Use Promise.allSettled for Robustness: Promise.all stops processing if any request fails. Using Promise.allSettled allows the process to continue even if some requests fail.
-Extract Authorization Headers: Moving the headers to a constant helps prevent duplication.
-Add Fallback Values: For fields that may be absent in the API response, add default values to avoid undefined errors.
-Optimize map Function: Avoiding to return unnecessary data by only fetching specific properties of the repositories and PRs that you need.

Please assign this issue to me. I have fixed this issue and also opened a PR #99 for the same. Thank You!


fix: added extra case when local env function has secrets

Description of changes

moved prePush and verification on env parameters after env init and before deploy
handling function secrets when checking out environments

Issue #10764

Description of how you validated changes

added unit test
added e2e test
manual testing

Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
[ ] Pull request labels are added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #12631 (1dc4278) into dev (ec9a2ba) will increase coverage by 47.57%.
The diff coverage is 46.91%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##              dev   #12631       +/-   ##
===========================================
+ Coverage    0.00%   47.57%   +47.57%
===========================================
  Files        1296      843      -453
  Lines      149743    38408   -111335
  Branches     1296     7853     +6557
===========================================
+ Hits            0    18272    +18272
+ Misses     148447    18502   -129945
- Partials     1296     1634      +338

Impacted Files
Coverage Δ

...ify-category-function/src/events/prePushHandler.ts
33.33% <0.00%> (+33.33%)
:arrow_up:

...lify-category-hosting/lib/S3AndCloudFront/index.js
89.65% <ø> (+89.65%)
:arrow_up:

...s/amplify-cli-core/src/errors/amplify-exception.ts
82.35% <ø> (+82.35%)
:arrow_up:

packages/amplify-cli-core/src/types.ts
100.00% <ø> (+100.00%)
:arrow_up:

packages/amplify-cli/src/commands/console.ts
0.00% <0.00%> (ø)

packages/amplify-cli/src/commands/pull.ts
0.00% <0.00%> (ø)

...meters/src/backend-config-parameters-controller.ts
92.85% <0.00%> (+92.85%)
:arrow_up:

...nt-parameters/src/environment-parameter-manager.ts
71.85% <ø> (+71.85%)
:arrow_up:

...ckages/amplify-environment-parameters/src/index.ts
0.00% <0.00%> (ø)

...y-provider-awscloudformation/src/push-resources.ts
20.73% <0.00%> (+20.73%)
:arrow_up:

... and 28 more

... and 1268 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@akshbhu this PR has a merge conflict


update language bindings doc to add coreos/jetcd

Maybe not the best time to add this to doc, but we need to at last. @xiang90 ptal.

@AdoHe Can you change the commit title to something like libraries-and-tools.md: add Java client?

@gyuho done.

LGTM. Thanks!


[bug] window does not show up when setting window resolution larger than system resolution

Describe the bug
window does not show up but a thumbnail can be seen by hovering on the taskbar icon
Reproduction
No response
Expected behavior
No response
Platform and versions
Operating System - Windows, version 10.0.22523 X64
Webview2 - 96.0.1054.62

Node.js environment
  Node.js - 16.13.1
  @tauri-apps/cli - 1.0.0-beta.10
  @tauri-apps/api - 1.0.0-beta.8

Global packages
  npm - 8.1.2
  yarn - 1.22.15

Rust environment
  rustc - 1.59.0-nightly
  cargo - 1.58.0-nightly

App directory structure
/.git
/.vs
/dist
/node_modules
/src
/src-tauri

App
  tauri.rs - 1.0.0-beta.8
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  distDir - ../dist
  devPath - http://localhost:3013
  framework - Vue.js

Stack trace
No response
Additional context
No response

please provide a minimal repro, or steps to produce. Also try using the stable rust version 1.57

Setting the window width/height bigger then screen resolution works fine on my Windows machine.


Create vmurol.txt

@Monopompom unfortunately the website of the university doesn't open. Could you please provide a working link to the university's page and provide a link to the page, describing long-term educational courses, that the university provides? Thank you!

@Monopompom i will close the request as being obsolete - please reply to reopen.


Using both MongoDB pagination and Queryable pagination with default provider not working

Is there an existing issue for this?

[X] I have searched the existing issues

Product
Hot Chocolate
Describe the bug
Can't use both Queryable and MongoDB providers without specifying ProviderName everywhere
Steps to reproduce
Given startup
            .AddQueryableCursorPagingProvider("Queryable")
            .AddQueryableOffsetPagingProvider("Queryable")
            .AddMongoDbPagingProviders("MongoDb", defaultProvider: true)
            .InitializeOnStartup()

And queries
    [UseOffsetPaging(IncludeTotalCount = true, MaxPageSize = 200)]
    public IExecutable<MySimpleType1> MySimpleTypes1()
    {
        return dbContext.GetMySimpleTypes1MongoCollection().AsExecutable();
    }

    [UseOffsetPaging(IncludeTotalCount = true, MaxPageSize = 200, ProviderName = "Queryable")]
    public IQueryable<MySimpleType2> MySimpleTypes2()
    {
        return dbContext.GetMySimpleTypes2MongoCollection().AsQueryable();
    }

When I start the service
I get NotSupportedException from CanHandleAsync of Queryable pagination
Expected result: everything works
Relevant log output
public override bool CanHandle(IExtendedType source)
    {
        throw new NotImplementedException(); // THIS thing throws from a loop of resolve pagination provider
    }

Additional Context?
There's a workaround: specify ProviderName everywhere.
Version
12.18.0

The reason I tried this is because I need IMongoQueryable pagination.

Can you create a minimal repro and attach it to this thread?

Closing, for lack of a reproduction.


Display NFX in Token map

Display NFX in the token map
Sources of NFX and their amounts for:
Circulating
DAO Treasury
Staked
In Defibox LP

I'll take a look at implementing this


It can not click the trade button.

I think the website is changed in the elements part

Can you post a screenshot of what it looks like when it gets stuck?

it can not get past this page

this is my code rn
import sys
from chase import account as acc
from chase import order
from chase import session
from playwright.sync_api import sync_playwright
import time
def get_current_price(stock_symbol):
stock_data = yf.Ticker(stock_symbol)
current_price = stock_data.history(period="1d")["Close"].iloc[-1]
return current_price
Create Session
cs = session.ChaseSession(title="ChaseProfile", headless=False, profile_path='./chase_profile')
Login to Chase.com
login_one = cs.login("", "", "")
Wait for 12 seconds to allow for login to process
time.sleep(12)
Check if login succeeded without needing 2fa
if not login_one:
print('Login succeeded without needing 2fa...')
else:
code = input('Please input code that was sent to your phone: ')
login_two = cs.login_two(code)
all_accounts = acc.AllAccount(cs)
if all_accounts.account_connectors is None:
sys.exit("Failed to get account connectors, exiting script...")
account_ids = list(all_accounts.account_connectors.keys())
Display options
print("Options:")
print("1. Buy")
print("2. Sell")
choice = input("Enter your choice (1 for BUY or 2 for SELL): ")
if choice == "1":
buy_or_sell = "BUY"
elif choice == "2":
buy_or_sell = "SELL"
else:
sys.exit("Invalid choice. Please enter '1' for BUY or '2' for SELL.")
stock_symbol = input("Enter the stock ticker: ")
quantity = int(input("Enter the quantity: "))
Get the current price of the stock
current_price = get_current_price(stock_symbol)
Place order for the specified stock symbol and quantity in all accounts
order_module = order.Order(cs)  # Creating an instance of Order
for account_id in account_ids:
try:
search_input = cs.page.wait_for_selector('input[name="search"]', timeout=1000)
search_input.fill(stock_symbol)
except Exception as e:
print(f"Error finding search input: {e}")
time.sleep(0.5)
# Ensure the interface has enough time to react
time.sleep(2)

try:
    order_messages = order_module.place_order(
        account_id,
        quantity,
        order.PriceType.MARKET,
        stock_symbol,
        order.Duration.DAY,
        order.OrderSide[buy_or_sell],
        dry_run=False,
    )

    if order_messages.get("ORDER CONFIRMATION"):
        print(order_messages["ORDER CONFIRMATION"])
    else:
        print(order_messages)

except Exception as e:
    print(f"Error placing order for account {account_id}: {e}")

# Wait for 4 seconds before proceeding to the next account
time.sleep(0.1)

Can you show me the traceback that it gives you when you fail? It is just not getting to the order page at all right now.

It was my bad I am really sorry I have imported to my new device and I had an older version downloaded


Add the ability so that the users can download the birthday wish

@gouravkhunger here is the pull request that fixes this issue - #31


Context menu shows sometimes partially out of the screen

When using a Qt or GTK program, if you open a contextual menu near the right edge of the screen it shows partially out of the screen.
Steps to reproduce:

Open at least two windows in the same screen, or just one in floating mode.
Place the Qt or GTK program at the right edge of the screen. (I have tried with Dolphin, Nautilus, PCManFM, and Ark).
Right click in it somewhere close to the right edge of the screen to show the contextual menu there.
The contextual menu shows partially out of the screen.

Thank you very much.

Qt and GTK bugs.

I see. Thank you so much for everything, Hyprland is wonderful.

You're welcome. If you want to verify popup constraining works as intended, you can try firefox or chromium with their right click menus. They work perfectly.

For anyone wondering, the only graphical file explorer that is putting the pop-ups in place is Nemo.


Decrement line ends if they end with a carriage return.

Attempting to enter a newline after the #name banner in the collapsed region depicted below causes a crash in Visual Studio.
//#region name

const a = 1;

//#endregion

//#name

Previously the carriage return character \r was being included in the outlining span, as line ends here are determined only by the presence of the new line character \n.
This change simply decrements the line end by one if the line ends with a carriage return \r.
Fixes JS region collapse area after carriage return.

We need test for this

I suppose I could write a test to make sure we don't consume the \r.

A few things were discussed offline:

We definitely want a Visual Studio test for this since it is crashing VS, not just the language service. A fourslash test would be nice, but

Fourslash tests don't use CRLF endings (this change is invisible to the existing region tests).

In general, TypeScript looks to split lines by new line characters, and deals with carriage returns later. Another example of this behavior here.

@sheetalkamat I added a couple of tests. Do we have any concerns about how this could affect VSCode?


modify mlm example to support all backends

With reference to the draft PR, here's an attempt to make to example truly backend-agnostic. In the process, I raised the following issues: https://github.com/keras-team/keras/issues/18410, and https://github.com/keras-team/keras/issues/19665. While the latter got resolved, the former persists still. Kindly review the changes, and let me know how shall we proceed with the issues mentioned.
cc: @fchollet

added subclassing implementation. Certain obstacles remain as mentioned:

In BertEncoderLayer class, as it is inherited from layers.Layer, is it possible to access to the sub-layers here? as:

mlm_model = models.load_model("bert_mlm.keras", custom_objects={"MaskedLanguageModel": MaskedLanguageModel})

#mlm_model.layers :
#[<Embedding name=word_embedding, built=True>,
#<PositionEmbedding name=position_embedding, built=True>,
#<BertEncoderLayer name=bert_encoder_layer, built=True>,
#<Dense name=mlm_cls, built=True>]

mlm_model.get_layer("bert_encoder_layer").get_layer("encoder_0_ffn_layernormalization")

This throws error saying
AttributeError: 'BertEncoderLayer' object has no attribute 'get_layer'

The reason I want to do the above is to reproduce the following:

# Load pretrained bert model
mlm_model = models.load_model(
    "bert_mlm_imdb.keras", custom_objects={"MaskedLanguageBertModel": MaskedLanguageBertModel}
)
pretrained_bert_model = Model(
    mlm_model.input, mlm_model.get_layer("encoder_0_ffn_layernormalization").output
)

This was possible in functional declaration of the Model, but not in sub-classing (in last commit).
Kindly suggest w.r.t last commit
Thanks!


Fix wrong apiVersion for PodSecurityPolicy

To create a PodSecurityPolicy, the apiVersion policy/v1beta1 should be used. If I apply the current manifest, which use apiVersion: policy/v1beta1,  it throws out the error:
no matches for kind "PodSecurityPolicy" in version "extensions/v1beta1

This setting was deprecated since v1.10 of kubernetes and apiVersion: policy/v1beta1 is the version that should be used on k8s 1.16 and greater.
https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/


Can't access labs

Hello, I'm experiencing technical difficulties, application throw the following error :-
">

Hi @ken8185 - I cannot view this image. Are you able to provide additional information on the issue you are facing? Thanks!


Fix link speeds enum

It appears the documentation is in error when it says that link speed 4 is 10 Gbps. I have a TL-SG3210XHP-M2 with 8 2.5 Gbps ports and 2 10 Gbps SFP+ ports. The switch_ports CLI command reports the max speed of the 2.5 Gbps ports as 'SPEED_10_GBPS' and errors on the SFP+ ports saying that '5' is not a valid value for LinkSpeed.
I also have a TL-SX3016F switch with 16 SFP+ 10 Gbps ports which fails.
This commit fixes the issues with both switches.

Thanks. I have a feeling some of the link speed enum values aren't compatible between different endpoints. I'll have to keep an eye out for that. If there is a mismatch, we can probably straighten it out in the API interface.


[BUG maybe?]can't edit pals that are working in the base

i can only edit pals in my pack or in the palbox

Ditto, came here from Nexus to report this issue showed up in v0.7, aside from that love the new version.

This is deliberate. It's because with the new PalWorld version they changed the save file structure


request: support render footnote

Hi, the footnote in the code block isn't rendered, can this plugin support it? Thank you!

I think this is the same problem as #18 and this forum post. If Obsidian's devs formalize a way to allow this, I will add it, but until then I cannot do anything.


Cloud logging on GCP - ingested GB of logs an indication of an issue

I saw a user pod that spammed error messages (2i2c cluster), and that made me think that it should probably incurr significant logging costs. Looking at all GCP clusters for a 2i2c billing account, only the 2i2c cluster had incurred costs. The first 50GB of ingested logs are free per month, so, only the 2i2c cluster had ingested more than 50GB logs in a month.

In practice, I think the 2i2c cluster have ingested around ~600GB of logs the last month. I think this amount of log ingestion is possibly related to a network speed slowdown as well as discussed in #2947.

Example of a repeating error from a user pod that had been running for more than a month
[E 2023-08-23 06:40:10.328 YDocExtension] Error watching file: course-content/book/tutorials/W1D1_ClimateSystemOverview/student/W1D1_Tutorial1.ipynb
    TypeError("'<' not supported between instances of 'NoneType' and 'datetime.datetime'")
    Traceback (most recent call last):
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_collaboration/loaders.py", line 170, in _watch_file
        await self.notify()
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_collaboration/loaders.py", line 187, in notify
        await callback("metadata", model)
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_collaboration/rooms.py", line 190, in _on_content_change
        if event == "metadata" and self._last_modified < args["last_modified"]:
    TypeError: '<' not supported between instances of 'NoneType' and 'datetime.datetime'
[E 2023-08-23 06:40:11.329 YDocExtension] Error watching file: course-content/book/tutorials/W1D1_ClimateSystemOverview/student/W1D1_Tutorial1.ipynb
    TypeError("'<' not supported between instances of 'NoneType' and 'datetime.datetime'")
    Traceback (most recent call last):
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_collaboration/loaders.py", line 170, in _watch_file
        await self.notify()
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_collaboration/loaders.py", line 187, in notify
        await callback("metadata", model)
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_collaboration/rooms.py", line 190, in _on_content_change
        if event == "metadata" and self._last_modified < args["last_modified"]:
    TypeError: '<' not supported between instances of 'NoneType' and 'datetime.datetime'
[E 2023-08-23 06:40:12.330 YDocExtension] Error watching file: course-content/book/tutorials/W1D1_ClimateSystemOverview/student/W1D1_Tutorial1.ipynb
    TypeError("'<' not supported between instances of 'NoneType' and 'datetime.datetime'")
    Traceback (most recent call last):
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_collaboration/loaders.py", line 170, in _watch_file
        await self.notify()
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_collaboration/loaders.py", line 187, in notify
        await callback("metadata", model)
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_collaboration/rooms.py", line 190, in _on_content_change
        if event == "metadata" and self._last_modified < args["last_modified"]:
    TypeError: '<' not supported between instances of 'NoneType' and 'datetime.datetime'

Thanks @consideRatio for noticing the log explosion and culling the abandoned processes. Is there a diagnosis or hypothesis for why this occurred?

I found metrics in GCP about the log ingestion rate, and it has been at a few MiB/s. For example between 17 july and 20 july, the ingestion rate was ~2-3 MiB/s on average based on this dashboard on GCP.

There have been ingestion rates of tens of MiB/s during individual minutes, for example august 15th between 6-7 PM UTC time when we had this massive spike, as seen when zooming in:

Thanks for digging into this, @consideRatio!
Can we write a rule that abandones user pod logs after about a day, or perhaps just not ingest them at all to deal with this for now?

Can we write a rule that abandones user pod logs after about a day

I think this would be to create a user defined log retention rule: https://cloud.google.com/logging/quotas#logs_retention_periods

or perhaps just not ingest them at all to deal with this for now?

Based on the comment below, it seems that there is a difference between not reading them at all, and storing them.

Log entries are excluded after they are received by the Logging API and therefore these log entries consume entries.write API quota. You can't reduce the number of entries.write API calls by excluding log entries.

Its possible to create an exclusion rule for storing them via an "exclusion filter" for the "_Default" logging sink. Here is a GCP Console link to trial doing that.
If user logs are excluded from the _Default logging sink, then I guess they can be included in a custom logging sink if we set that up, to have shorter retention than 30 days for example.

I'm unassigning myself to indicate I'm not actively working to resolve this.


suggestion doesn't import path

VSCode Version: Version 1.35.0-insider (1.35.0-insider)
OS Version: macos 10.14.5

Steps to Reproduce:

I'm working on a react project. I have a file that does export const Buttons
2.In another file I do import { Button... and I expect auto-complete to display Buttons and hitting enter to complete the path.

But intelliSense just shows the text Buttons (with abc in front of it) and hitting enter doesn't add the path to the import.
If I try to directly import the component from a function - then auto-import correctly adds the Component to the top of the file with an import {Button} from 'correct_path'

Does this issue occur when all extensions are disabled?: Yes

Can you please share some example code or a small example project
Also, when you are typing out the import, is the entire line just import {  without any import path yet?

here I made a gif for you:

I have a something.js - in that file I export the const something
in index.js I try to import { some -> and I was hoping that autocomplete will kick in and complete the line. That doesn't happen.
If I go down and type something -> intellisense suggest something -> I hit it and the import on the top of the file is inserted...
And another funny thing is that - if I use flowjs whenever I define a type and intelliSense suggest it -> instead of importing on the top, the import happens inline? I guess this is another issue, but just wanted to mention it in case it is related.


Remove PartialAppAnalyzer

@Smaug123 Would you be okay with us removing the PartialAppAnalyzer?
It's pretty much disabled everywhere and given recent events, the need to have it seems to be gone.

Yep, I'm in favour of that.


Adding plotting script for ArborX query order

Co-authored-by: Damien L-G<EMAIL_ADDRESS>Not sure where to put it, so it's in scripts for now. I would like to carry it with the repo so it could be used anytime without access to Jupyter.
There are some quality of life improvements compared to original @dalg24's version:

Command line arguments support
Automatic calculation of the number of files to parse
The ability to either display or save to a file

Right now, there is no test for it, but I could add it if considered useful. For example, I could add a test for visualization driver to dump data, and run the script just to make sure it runs.

Codecov Report

Merging #538 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #538      +/-   ##
==========================================
+ Coverage   96.11%   96.11%   +<.01%
==========================================
  Files         130      130
  Lines        9516     9517       +1
==========================================
+ Hits         9146     9147       +1
  Misses        370      370

Impacted Files
Coverage Δ

...es/Search/src/details/DTK_DetailsTreeTraversal.hpp
97.22% <0%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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

For the record, in the dev/ci container I had to do apt install python3-pip and pip3 install -r requirements.txt

@dalg24 I assume that in the container one is able to run only saving to file, and not in display mode, correct?

@dalg24 I assume that in the container one is able to run only saving to file, and not in display mode, correct?

I only saved a the plot.  In principle I think it is possible if you run your container with -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix or similar but I didn't try cause I connected remotely and do not really want to bother with X forwarding.


workload report “execute run failed, err execute query q22 failed Error 1105: other error for mpp stream: Poco::Exception. Code: 1000, e.code() = 2, e.displayText() = Exception: EstablishDisaggTask Failed4: Deadline Exceeded, e.what() = Exception”  run go-tpc ch

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
1、br restore data
2、run ch
"go-tpc ch run -D tpcc --host tc-tidb.endless-ha-test-tps-1815226-1-478 -P4000 --warehouses 2000 -T 32 --acThreads 1 --queries q22 --ignore-error '2013,1213,1105,1205,8022,8028,9004,9007,1062' --time 36000m --user root --password '' --interval '10s'
2. What did you expect to see? (Required)
no error
3. What did you see instead (Required)
workload always report “execute run failed, err execute query q22 failed Error 1105: other error for mpp stream: Poco::Exception. Code: 1000, e.code() = 2, e.displayText() = Exception: EstablishDisaggTask Failed4: Deadline Exceeded, e.what() = Exception”
4. What is your TiFlash version? (Required)
git hash：f08e4d66ec09b2fb6ea727a23bc7956c15caae40

/severity major

/assign JinheLin

We have added more detail logging and some timeout about this problem. Will dive deep into it if a similar issue happens again.

https://github.com/pingcap/tiflash/pull/8795
https://github.com/pingcap/tiflash/pull/8807


test: xfail Driver/sanitize_recover.swift

We've seen this test failed in multiple CI jobs. Xfail it while investigating.
rdar://72434165

@shahmishal could you force merge this to unblock CI?


Added methods for few more requests

get Total keys
get key metadata
list key versions

I think this is outdated... so closing...