[IMPROVEMENT] Dashboard category: allocated/commitments

Is your feature request related to a problem? Please describe.
There's currently no way to know how much of your storage has been pre-allocated to existing volumes.  The dashboard shows reserved, used, and schedulable, but not the amount that has already been assigned to existing volumes.
Describe the solution you'd like
I think there should be a category for allocated or committed, so that I can tell when I'm overcomitted.
Describe alternatives you've considered
I manually added up the volumes

I've added a worked up screenshot to show what I mean.  Disabled and reserved would be to the far right (since they're both unusable space).  Then would come used because it's filled up, allocated in yellow because that's what's been promised to the existing volumes, and green would be completely uncommitted space

If the total allocated was greater than the total available space, the text would go yellow, and instead of showing "315 Gi / Storage Schedulable", it would show the overage, and say something like "10 Gi / Overcommited By)

Thanks @dmayle , this sounds like a good idea. It's more than a UI change though. Currently, the actual volume size is only tracked when the volume is attached. We need to figure something out in the backend part to get this working.

@c3y1huang Please work on this with @smallteeths . Thanks.

I agree that without seeing the actuall allocated space the summary view is not very helpful. The allocated space information is available, since you see it if you check the node information.


modifications(UI): couple of reverts

removed/comment showing licence in the recent uploads
removed/comment search override
removed/comment records landingpage

reason: overriding invenio-app-rdm need to be installed. and the tests are failing. also these changes are not valid anymore since we have new release from app-rdm
Other changes

setup.py update on dependencies
migrate tests.yml added ES and DB services.
global: format check - black command uses black .

Commit 2

setup.py update on dependencies
migrate tests.yml added ES and DB services.
global: format check - black command uses black .

Commit 2

setup.py update on dependencies
migrate tests.yml added ES and DB services.
global: format check - black command uses black .


sbclPackages.cl-autowrap: compile cl-autowrap/libffi

Description of changes
To do so, the system is added and libffi native dep is included.
Things done

Built on platform(s)

[x] 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

[x] 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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build sbcl.pkgs.cl-autowrap

Oh, those two native-library-adding PRs are in conflict…
Anyway, should we restrict platforms here?

Ah, we've found a circular dependency! cl-plus-c.asd <-> cl-autowrap.asd. I wonder how will sdl2 behave - it depends on both!  There could be exciting behavior when someone overrides one but not the other. On the other hand, merging them into a single "jumbo" package is not ideal, because some packages depend on just one. At the same time, the jumbo variant would conflict with the base variants in the source registry. I wonder how does Guix do it?

I remember that most of the time such dependency are just for tests (in one of the directions), maybe here we could also cut the tests and pretend things are good?

Rebased to latest.
I'd argue that merging the packages makes sense, as cl-plus-c is a) in the same repo, and b) doesn't include any additional dependencies over cl-autowrap. The more questionable inclusion is wrapping cl-autowrap and cl-autowrap/libffi together, as this means that systems that don't actually use libffi still pull in the dependency. That said, I'd like to leave it as-is since no other lisp package here exposes a slashed system separately afaict. Guix, fwiw, bundles cl-autowrap and cl-plus-c and doesn't include /libffi.
sdl2 is tested working with the change.
As far as overriding the package but not the alias goes, you're right that it's not ideal but also no worse than the status quo - cl-plus-c is currently a separately-specified build of the same repo in imported.nix.
@7c6f434c so in this case cl-plus-c isn't just tests, but it is a closely-related library to cl-autowrap so I think it does make sense to bundle their builds together.

Same repo sounds like a good argument for merging to me

@ofborg build sbcl.pkgs.cl-autowrap

Does it also want c2ffi (for aarch64-linux)?

Sure does! Declaring a propagatedBuildInput works, better would be substituting the default autowrap:*c2ffi-program* with a static path, but nix's asdf build process makes that weirdly tricky. Substituting in postConfigurePhase does not have the desired effect since the build ends up referring to an external source derivation instead. I'll poke at it more later.

hmm yes, it's compiling from src instead of from pwd so that "go-to-definition" works. I didn't know how to do that differently. I saw that SBCL does have the required parameter to with-compilation-unit, but didn't dig into others. Maybe we can fix it.
For now you could use patches, postPatch to alter sources

Added fixing the c2ffi path.

@ofborg build sbcl.pkgs.cl-autowrap

Hm OK, now this thing on aarch64-linux sounds like something without a completely straightforward fix… Should I merge the current state as an improvement at least on x86-84?

Let's not, cl-autowrap does currently build on aarch64 so this'll break anyone that uses it there. I'll take a look at the failure.


New App: PixelGreet

Description
Hello everyone 👋,
I have created a Tydbit application specifically designed for Airbnb hosts. This application enables hosts to send customized welcome messages and images to their guests upon arrival. The application retrieves a message and a base64-encoded image from the PixelGreet API and displays it on the Tydbit. Additionally, the application uses caching to enhance performance.
As a reviewer, I understand that creating an account on PixelGreet.com might be inconvenient. To bypass this step, I'm providing you with an API Key to use:
dapper-adroit-ecstasy

If everything works as expected, you should see the message "Hello Tydbit Reviewers!" along with an accompanying emoji.
To obtain an API Key, users must first create an account on PixelGreet.com. After creating an account, they can generate a device that will produce an API Key. This API Key should be entered in this Tydbit application. I've added schema in this application for an API Key.
PixelGreet users can schedule multiple bookings in advance on the Calendar section of PixelGreet.com and provide personalized messages and images for each booking. When guests arrive, they'll be greeted with a warm welcome message displayed on the Tydbit.
I am excited to share that this is my first project using the Starlark programming language, and I welcome any feedback you may have.
Copilot

🤖 Generated by Copilot at a6c76f9
Summary
📄🌟📝

This pull request adds a new app called PixelGreet, which displays a personalized image and message for guests based on their API key. It includes a manifest.yaml file to register the app, a pixelgreet.star file to implement the app logic and UI, and a README.md file to document the app and its features.

PixelGreet app
Metadata, script, and docs
A gift for winter

Walkthrough

Add a new app called PixelGreet that displays a personalized image and message for guests based on an API key (link, link, link)
Implement the app's logic and rendering in pixelgreet.star using various modules and functions (link)
Register the app's metadata in manifest.yaml with the app's id, name, summary, description, author, file name, and package name (link)
Document the app's functionality, prerequisites, features, and a GIF of the app in action in README.md (link)

I have read the CLA Document and I hereby sign the CLA

@matslina, I believe that I am ready for another review. Please let me know if you have any questions.


Allow a null param

bitmap parameter can be null, as per public final void snapshot(GoogleMap.SnapshotReadyCallback var1, Bitmap var2) in /play-services-15.0.1/play-services-maps-15.0.1/com/google/android/gms/maps/GoogleMap.java

Steps to reproduce
Install and Open Health Mate
On the dashboard, click the plus button and start a new outdoor activity (walking, running, hiking, etc)
Move around outside to have some waypoints tracked.
Stop the activity, close and reopen the app
What is the current behavior?
When opening the app the next time, it crashes immediately while rendering the dashboard with the map on it.
After one or two days, there is enough other stuff on the dashboard, so that the map is not within the visible screen area. The app does not crash immediately while rendering the dashboard, but still crashes as soon as one scrolls the map into view.


Adding cWebAdministration to the Powershell Gallery

Hi There just wondering if there are any plans to add this to the PowerShell Gallery?
https://www.powershellgallery.com/
Cheers

Probably not. Better would be to just make sure everything gets merged into xWebAdministration, if it hasn't already.
On Jun 5, 2016, at 12:14 PM, Iain Partington <notifications<EMAIL_ADDRESS>wrote:
Hi There just wondering if there are any plans to add this to the PowerShell Gallery?
https://www.powershellgallery.com/
Cheers

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/PowerShellOrg/cWebAdministration/issues/27, or mute the threadhttps://github.com/notifications/unsubscribe/AE3vlCPKY6xQ_v8m15o2vTWYqVy_t_iuks5qIvXtgaJpZM4IuYzs.

Thanks


Remove Old Devices

Hi there! I recently removed my Nuki Smart Lock in favor of testing Aqara‘s U200. I wanted to remove the lock while keeping the Nuki Opener being exposed to the plugin.
I saw issue #110 with this issue and the removeStaleAccessories feature, but unfortunately deleting the lock as a cached accessory did nothing aside from merge the latch and lock as one accessory like they were when I initially included the lock.
Will I have to reinstall the plugin? I’d like to avoid this if possible since I just recently reconfigured all my automations recently 🥲

Did you try setting removeStaleAccessories and restarting Homebridge?  Did you double-check that the Nuki bridge no longer reports the removed lock?
Re-installing the plugin won’t affect cached accessories.

Thanks per usual for the support! removeStaleAccessories and a restart didn’t do anything. How can I check if the bridge is still reporting it & what’s the recommendation if it does or doesn’t report it?

How can I check if the bridge is still reporting

See https://github.com/ebaauw/homebridge-nb/issues/110#issuecomment-1577129855
If it’s still there, remove it from the Nuki app.  If not set Log Level on the Nuki bridge accessory to 2, run Homebridge in DEBUG mode, and capture and attach the log file.

I don't really have the knowledge to figure out how to see if the bridge is still reporting it or not. I removed it from the Nuki app and thought that would be enough, but I guess not.
I'll just set up the plugin from scratch again. Thanks anyways!


Cannot load module

I have declared the following configuration:
{
module: 'MMM-CalendarExt',
header: 'Calendar',
position: "top_left", //anywhere. It is not related to real position of view
config: { // Read below
defaultView: {
position: 'bottom_bar',
positionOrder: -1,
overflowRolling: 0,
overflowHeight: 0,
overflowDuration: 2,
timeFormat: 'HH:mm',
dateFormat: "MMM Do",
fullDayEventDateFormat: "MMM Do",
ellipsis: 0,
limit:0,
oneLineEvent:0,
replaceTitle:[],
classPattern:[],
classPatternWhere:["title"]
},
calendars: [
{
url: "mycalendar.ics",
view: ['month', 'upcoming'],
styleName: "style1",
symbol: 'us@fi',
maxEntries: 50,
maxDays:365,
interval: 246060*1000,
name: 'My calendar'
}
]
}
}
But when I try to start the magic mirror , it throws config error and when I change the name of the module from MMM-CalendarExt to CalendarExt or anything else , it starts, but even after starting it shows blank screen ,the error seen in the Chrome developer tools is :
loader.js:190 Error on loading script: modules/CalendarExt//CalendarExt.js
Not sure why its not loading with name MMM-CalendarExt , the error while starting is :
WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
Loading module helpers ...
Whoops! There was an uncaught exception...
[SyntaxError: Unexpected token =]

Hi, @rohitsoni77
I tried your config, but the error is not found.
		{
module: 'MMM-CalendarExt',
header: 'Calendar',
position: "top_left", //anywhere. It is not related to real position of view
config: { // Read below
defaultView: {
position: 'bottom_bar',
positionOrder: -1,
overflowRolling: 0,
overflowHeight: 0,
overflowDuration: 2,
timeFormat: 'HH:mm',
dateFormat: "MMM Do",
fullDayEventDateFormat: "MMM Do",
ellipsis: 0,
limit:0,
oneLineEvent:0,
replaceTitle:[],
classPattern:[],
classPatternWhere:["title"]
},
calendars: [
{
url: "http://mlb.am/tix/mariners_schedule_full",
view: ['month', 'upcoming'],
styleName: "style1",
symbol: 'us@fi',
maxEntries: 50,
maxDays:365,
interval: 246060*1000,
name: 'My calendar'
}
]
}

}

I copied and pasted all your config code to my test machine, just filled url for sample(MLB Seattle Mariners)
You had some mistakes in config, but it is not related to your problem. Anyway, I cannot find any other suspicious about your issue. And the error message which you got means you have some misspelling in your config(I don't know where it might be, but only about your config for my module, it looks fine.)
Not related to your current issue, you need to fix some mistakes;

this module is not shown where you declare in config like other modules. so, position on 3 lines is useless. The title will be shown in 'top_left' but, your real views are not there.
on each calendar, views are right, not view

calendars: [
  {
    url: "http://mlb.am/tix/mariners_schedule_full",
    views: ['month', 'upcoming'],
    styleName: "style1",

If you define views for a calendar, you should declare which 'view' will be shown in system section. like this;

config: {
  system: {
    show: ["month", "upcoming", "daily"] // default is 'daily'.
  },

Here is a simple sample config. you can start here.
{
	module: 'MMM-CalendarExt',
	position: "top_left", //anywhere. It is not related to real position of view
	config: { // Read below
  	    system: {
	  	show: ["month", "upcoming"],
	    },
	    calendars: [
		{
			url: "http://mlb.am/tix/mariners_schedule_full",
			views: ['month', 'upcoming'],
			styleName: "style1",
			symbol: 'us@fi',
			maxEntries: 50,
			maxDays:365,
			interval: 246060*1000,
			name: 'My calendar'
		}
	  ]
    }
}

I tried as you suggested , but still the same issue , pasting the full config.js content :
/* Magic Mirror Config Sample
*

By Michael Teeuw http://michaelteeuw.nl
MIT Licensed.

For more information how you can configurate this file
See https://github.com/MichMich/MagicMirror#configuration

*/
var config = {
port: 8080,
ipWhitelist: ["<IP_ADDRESS>", "<IP_ADDRESS>","::ffff:<IP_ADDRESS>", "::1"], // Set [] to allow all IP addresses
// or add a specific IPv4 of <IP_ADDRESS> :
// ["<IP_ADDRESS>", "::ffff:<IP_ADDRESS>", "::1", "::ffff:<IP_ADDRESS>"],
// or IPv4 range of <IP_ADDRESS> --> <IP_ADDRESS> use CIDR format :
// ["<IP_ADDRESS>", "::ffff:<IP_ADDRESS>", "::1", "::ffff:<IP_ADDRESS>/28"],
language: "en",
timeFormat: 24,
units: "metric",

modules: [
{
    module: 'MMM-CalendarExt',
        position: "top_left", //anywhere. It is not related to real position of view
            config: { // Read below
                    system: {
                            show: ["month", "upcoming"],
                                    },
                                            calendars: [
                                                    {
                                                                url: "http://mlb.am/tix/mariners_schedule_full",
                                                                            views: ['month', 'upcoming'],
                                                                                styleName: "style1",
                                                                                symbol: 'us@fi',
                                                                                maxEntries: 50,
                                                                                maxDays:365,
                                                                                interval: 246060*1000,
                                                                                name: 'My calendar'
                                                                                }
                                                                                ]
                                                                                }
                                                                                }
]

};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
Renaming module name from MMM-CalendarExt to CalendarExt , I am able to start , but then the js is not loaded because of wrong name

Ok. I'll try. And give me more information.

device: which device do you use? Raspberry pi model.
os : which os? Raspbian jessie?
magic mirror version : 2.1.0? 2.1.2?
It will help for my guess.

I've tested your config. I didn't get any error. (on MacOSX, Raspberry Pi 3 model B, Asus Tinker Board tested. all with MagicMirror version 2.1.2)
I think your error is not related to module itself, just configuration problem.
But I cannot figure out what problem it is. MagicMirror configuration is so notorious.
The last thing I can suggest is, re-install your magic mirror and my module. I hope you get a good luck.

Have you still problem? I will close this issue.


[FEATURE] Added MIT License

Is this a unique feature?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.
It protect the project  from causing any damage
Please assign me the issue
Proposed Solution
Add License
Screenshots
No response
Do you want to work on this issue?
Yes
If "yes" to above, please explain how you would technically implement this (issue will not be assigned if this is skipped)
Add License file

@Dipanita45 all the best, please ensure to star the repo


Removed extraneous null terminator that caused Address Sanitizer to c…

The assignment statement that I have removed wrote past the end of the array, causing Address Sanitizer to complain about a stack buffer overflow. In the previous while loop, we already copy the null terminator but p is incremented beyond that, which was causing the buffer overflow.

Coverage increased (+0.003%) to 67.924% when pulling c846076c53535253576c5831cfc23e8ae285b28d on david-puglielli:mplat_strcat_s_Fix into 9b0ea7b831d2881b75b43b9835b87ce1d784278b on Microsoft:dev.


DESENG-437: Resolved a timezone discrepancy while publishing

Issue #: https://apps.itsm.gov.bc.ca/jira/browse/DESENG-437
Description of changes:

Implemented a user-friendly message for scenarios where no engagements are scheduled for publication.

Resolved a timezone discrepancy in the engagement publication process.

Previously, the system compared the UTC-formatted scheduled dates in the database against the local timezone of the machine running the cron job. This discrepancy led to failures in identifying engagements scheduled for or before the current time. The comparison logic has now been modified to use the current time in UTC, ensuring accurate retrieval of scheduled engagements.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

@Baelx Updated the changelog as suggested. Please review

Fixing a runtime SQLALCHEMY_DATABASE_URI missing error.


Other OpenSearch APIs?

Sentinelsat can access other APIs of similar nature. Should CDSETools also?

Could you provide an example?

https://github.com/kr-stn/awesome-sentinel#data-hubs-and-national-mirrors

Ah i see, so you're not thinking of adding other OpenSearch API's but allowing the script to use mirrors of the official CDSE API?


feat(ui): save/restore selected webcam (if available)

@Lucaszw please add a reference to the commit where this was implemented.

84d6e9d92043ef0448174ae726369da5cc368b5b


Add spring-integration-file dependency

Fixes https://github.com/spring-guides/gs-integration/issues/14
According to the spring-projects/spring-boot@c068285 there is no spring-integration-file jar in the classpath since Spring Boot 1.4.
To make application working explicitly add spring-integration-file dependency

Thanks!


Add logic for adding the images in the uploads folder.

To not store the images directly into the database we will use this folder.

Adding to the folder done.

Done!

Done!


Use pickup date when the move is an hhg move

Description
Previously, HHG moves would have a blank move date because it was not using the pickup date. It now uses the pickup date
Setup
make db_populate_e2e
make server_run
make tsp_client_run
Code Review Verification Steps

[ ] Request review from a member of a different team.
[ ] Have the Pivotal acceptance criteria been met for this change?

References

Pivotal story for this change

Screenshots

@Ronolibert - is this ready to go in? Or did you want to add more e2e tests?


Resize SharePoint Online image by using the Microsoft Graph APIs not working properly

Category

[x] Bug

Describe the bug
I am using the sharepoint graph API to resize the image but is not coming correctly.
Original Image

After using the below URL to resize it, shows like below
https://xxx.sharepoint.com/_api/v2.0/sharePoint:${file.FileRef}:/driveItem/thumbnails/0/large/content

Steps to reproduce
I am using the below url- Velin Georgiev for the reference
https://blog.velingeorgiev.com/resize-sharepoint-image-by-using-microsoft-graph-api
Expected behavior
Need to show the image properly
Developer environment

OS: [e.g. Windows 10, MacOS 10.15.x]
Framework: Node.js 10
Browser(s): Chrome
Tooling: VS Code

Additional context
I am using this for my image gallery developed in SharePoint Framework.

My Height is 426 and width is 372.
For specific height and width also not working.
https://xxx.sharepoint.com/_api/v2.0/sharePoint:${file.FileRef}:/driveItem/thumbnails/0/c246x372/content

This repo is for SharePoint development issues... this question is specifically related to Microsoft Graph. Can you please post this to the MS Graph support forums? Thanks: https://developer.microsoft.com/en-us/graph/support


Advice on exposing host daemon

TLDR;
Is there a substitute for mounting /var/run/docker.sock:/var/run/docker.sock in docker-compose file?

Long Version
I'm fully aware that Linux container is not supported. Hence, for my use case I'm relying on v0.9.0 and managed to get what is needed to work, except communicating to host docker daemon. This is merely an advice seeking/hoping someone who got it working can share what they did.
The great thing about stevedore that is not highlighted in the README, is that it supports WSL version 1, which none of the alternatives are: (Rancher Desktop, containerd, Podman). This is a great feature for those who are working with Windows Server 2019 that doesn't support WSL2.
What I've known/tried:

Stevedore did not expose TCP
There is a way, by using wsl-proxy

TIA 🙏🏻

Stevedore doesn't support Linux containers anymore. There are plenty of other FOSS projectd that do, use any of them.


Update servers article to rc1

@Tratcher @Erikre Please review

@shirhatti  very close. A couple minor changes and I'll leave the tree rat.
:watch:

@Rick-Anderson @Tratcher Does it look good to go?

:shipit:

@Tratcher Can I merge this?

:shipit:

Merged in d1af91392434232cf8e7a4fafceec3895898220d


Facebook embed code dosen't work on jsbin

Hy!
I would like to try out facebook embed, but unfortunetly dosen't work.
Can you help me out?
The code was:
http://jsbin.com/tulikukani/edit?html,output

Facebook is blocking jsbin. There's nothing I can do about it.

The whole site?
Wow!
I mean, I know i can't share esaly jsbin links, but I also can't run facebook scipts?
That's crazy

Sorry, I misunderstood. I thought you wanted to embed in fb.
Regarding your source code - it looks like there's errors embedding whilst inside an iframe:

If you view the full output (without jsbin's iframes) then the embed renders (I just cloned it and saw the embed).

Okey, but what can I do?
Is that possible run facebook scripts in jsbin somehow?

Yes, but just use the live reload in a new window (click the pop out icon).
On Sun, 2 Aug 2015 14:17 NeoCsatornaja<EMAIL_ADDRESS>wrote:

Okey, but what can I do?
Is that possible run facebook scripts in jsbin somehow?
—
Reply to this email directly or view it on GitHub
https://github.com/jsbin/jsbin/issues/2508#issuecomment-127023761.

Not working, this just open a new window with code but I doesn't  see the final output.


imagemagick: unable to access configure file `configure.xml'

Describe the bug
I would like to use a shell script which would use the output convert -list configure, however on my nixos, along with some useful text, it prints the error:
convert: unable to access configure file 'configure.xml' @ warning/configure.c/GetConfigureOptions/677.
To Reproduce
Steps to reproduce the behavior:

Run convert -list configure
Look at the output

Expected behavior
No error, and some additional values are printed from the xml (as I cannot produce the correct output, I have no idea how it would look like).
Additional context
I'm trying to run one of the Fred's ImageMagick scripts which can be located at http://www.fmwconcepts.com/imagemagick/textcleaner/index.php.
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
these paths will be fetched (0.05 MiB download, 0.28 MiB unpacked):
/nix/store/5h35s50503spks8gkxdv3kk4szz8vx9g-bash-interactive-4.4-p23-dev
copying path '/nix/store/5h35s50503spks8gkxdv3kk4szz8vx9g-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...

system: "x86_64-linux"
host os: Linux 4.19.109, NixOS, 19.09.2260.3b9b10e49be (Loris)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.3
channels(root): "nixos-19.09.2260.3b9b10e49be, nixos-unstable-20.09pre216896.0729b8c55e0"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: imagemagick
# a list of nixos modules affected by the problem
module:

the problem persists in windows 10, I would be very grateful if anyone shares any solution

Rather late to the party, but this seems to be due to the half-executed dev output split done in https://github.com/NixOS/nixpkgs/commit/73f1f5eb3969743fe459e7cc36cfb766c7f5318a. Setting the correct path in the ImageMagick binaries would create a circular dependency between dev and out.
A workaround for end users would be:
export MAGICK_CONFIGURE_PATH=$(echo $(nix-build '<nixpkgs>' -A imagemagick.dev --no-out-link)/lib/ImageMagick-*/config-*)
convert -list configure


Add types to modal_version and most of modal_utils

Describe your changes
This PR adds mypy types to modal_version and modal_utils, as per https://github.com/modal-labs/modal-client/issues/1372.
modal_utils/__init__.py
modal_utils/app_utils.py
modal_utils/async_utils.py
modal_utils/grpc_testing.py
modal_utils/http_utils.py
modal_utils/logger.py
modal_utils/package_utils.py
modal_version/__init__.py
modal_version/_version_generated.py

I'm not seeing all of the files mentioned in the PR description changed in the diff.
We should be careful about touching modal_version by the way as some of those files are auto-generated. It's also pretty simple metadata so I'm not sure it needs explicit annotations.

I'm not seeing all of the files mentioned in the PR description changed in the diff.
We should be careful about touching modal_version by the way as some of those files are auto-generated. It's also pretty simple metadata so I'm not sure it needs explicit annotations.

@mwaskom Not all the files need changing. Running inv protoc, inv type-stubs and inv type-check on the following files:
    pyright_allowlist = [
        "modal/functions.py",
        "modal_utils/__init__.py",
        "modal_utils/app_utils.py",
        "modal_utils/async_utils.py",
        "modal_utils/grpc_testing.py",
        "modal_utils/http_utils.py",
        "modal_utils/logger.py",
        "modal_utils/package_utils.py",
    ]

I only see the following type errors (which changes in the PR now fix).
/Users/savarin/Development/python/modal-client/modal_utils/async_utils.py
  /Users/savarin/Development/python/modal-client/modal_utils/async_utils.py:339:15 - error: Return type of async generator function must be compatible with "AsyncGenerator[T@iterate_blocking | object, Any]"
    "AsyncGenerator[T@iterate_blocking | object, Unknown, Unknown]" is incompatible with "AsyncIterator[T@iterate_blocking]"
      Type parameter "_T_co@AsyncIterator" is covariant, but "T@iterate_blocking | object" is not a subtype of "T@iterate_blocking"
        Type "T@iterate_blocking | object" cannot be assigned to type "T@iterate_blocking" (reportReturnType)
/Users/savarin/Development/python/modal-client/modal_utils/package_utils.py
  /Users/savarin/Development/python/modal-client/modal_utils/package_utils.py:13:51 - error: Object of type "None" cannot be used as iterable value (reportOptionalIterable)
  /Users/savarin/Development/python/modal-client/modal_utils/package_utils.py:44:12 - error: Expression of type "list[tuple[Literal[True], Path]] | list[tuple[Literal[False], Path]]" cannot be assigned to return type "List[Tuple[bool, Path]]"
    Type "list[tuple[Literal[True], Path]] | list[tuple[Literal[False], Path]]" cannot be assigned to type "List[Tuple[bool, Path]]"
      "list[tuple[Literal[True], Path]]" is incompatible with "List[Tuple[bool, Path]]"
        Type parameter "_T@list" is invariant, but "tuple[Literal[True], Path]" is not the same as "Tuple[bool, Path]"
        Consider switching from "list" to "Sequence" which is covariant (reportReturnType)
3 errors, 0 warnings, 0 informations

Re: modal_version, no changes needed but I removed from the list out of abundance of caution.

@freider Let me know what's the best way to ping on these PRs - happy to tag in a comment like this one, annoyingly I can't add reviewers


[ffmpeg] Enable openmpt and update feature platforms.

[ffmpeg] Add openmpt to the 'all' feature so that it is actually tested by CI
[ffmpeg] Update dav1d feature to support additional systems #28737
[ffmpeg] Update aom feature to support additional systems #28739
[ffmpeg] Enable amf on more systems.

@Sibras Thanks for the fixes!
@Adela0814 Thanks for the feature testing!


[Suggestion] Use a link to the doc rather than the project for the badge

The Markdown snippet provided for the badge currently uses a link to the project page on ReadTheDocs. I think it might be more useful for people seeing the badge on the package if the link was actually pointing to the rendered doc. They are more likely to be interested in the documentation of the package rather than the config used to build it.
What do you think about this ?

The badge alternative text says Documentation Status so this was meant to display the status I guess.
But for documentation status doesn't really mean much because it's unlikely somebody will break the documentation :)

:+1:
I would like, given that the badge says docs: latest, that clicking on the badge would take me to the build artifacts associated with the latest label in ReadTheDocs.
The same would go for docs: stable, which would point to documentation associated with the latest tagged version.

I agree: the badge should link to the docs themselves.  No one but me is going to want to see the project page.

I'm a :+1: as well. However we need a decision by @ericholscher or @agjohnson here.

I think this makes sense, it is in line with our thoughts on redesigning what "failing" builds mean in the context of authorship and in consuming documentation. This was implemented as an author feature, but really should be a reader feature.

This is fixed now, we link now from the badge to the docs instead of the project page. However existing badges in REAMDE files etc need to be updated by hand ofcourse.


add mac specify commit

on mac, using say command not using say.js is better.

Thanks for your help :)


Update to some actions, adding eco mode and power boost control

Was doing a bit of probing on the Wallbox app ... it has evolved a lot. There is also a API for schedules now (haven't added it yet)

Thanks, merged!


Hot reloading of mappings

Wiremock itself doesn't contain functionality to automatically reload mappings if they change on the file system.
However, there is an endpoint POST __admin/mappings/reset to reload mappings on demand.
This could be used in two ways to trigger reloading:

Run a shell script with a configurable refresh interval that POSTs to that endpoint
Run an inotify-check shell script that fires a POST to that endpoint whenever the mappings folder changes.

Our use case for this is that we are using the container in a local dev environment, and the mappings folder is a bind mount into the container. Would you be interested in either of those possibilities being included in the docker images (would require to install inotify-tools and curl, or just curl if the interval method is used).
Currently, we just launch an additional container in our compose file that hits the endpoint every few seconds:
FROM alpine:3.12.0
RUN apk add --no-cache curl
CMD while true; do sleep 5; curl -XPOST http://wiremock:8080/__admin/mappings/reset; done

This repository only handles the Wiremock Docker image build and deployment based on the official Wiremock product.
If you want to suggest a new feature on it, you may do it on the official repository.
Although, an issue has already been opened : https://github.com/tomakehurst/wiremock/issues/1243

Yeah, I'm aware this is "only" the docker image. I opened the issue here because I figured it would be useful in the context of the docker image, even if upstream does not have a hot reloading feature.

I understand your need but I want to stay coherent with the official repository


Change to address CVE-2016-7207

Fix incorrect identification of non-local-references when parsing arrow function parameter lists. Since we can't identify such syntax on the initial scan and have to backtrack and re-parse, our stacks of identifier references enter an inconsistent state that causes us to bind non-existent references and treat them as closure-captured. This in turn leads to bad byte code generation. The problem is easy to solve in the case of a single arrow function parameter not enclosed in parentheses. To handle the harder case of a list enclosed in parens, advance the current block ID when we begin parsing a parenthetical expression. Identifier references will be created that are amenable to the arrow function case, and if we do wind up with an arrow function, we only need to correct the function ID's on the references we've already made.

@aneeshdk This is related to the arrow function parameter fix you reviewed previously.

:shipit:

LGTM


Update all.json

Site
urlscan
screenshot

topcash.me
https://urlscan.io/result/9d625ca8-cd65-4d69-8a5b-fe95befd6ac5/

Pretends to execute automatic exchange within 50 network confirmations after transferring DOTs to this address: 13drd2MBwMZoBUxjhVN8ZjMj2Wc89XctvaJybWf7w8U7q1vG


Support for SX1509

From https://forum.iobroker.net/topic/35141/npm-raspi-i2c-modul-ladefehler/16:

ich benutze einen SX1509

Waiting for hardware:
one SX1509 ordered at AliExpress, expected delivery in 30-50 days,

Received on SX1509 from grooovie at ioBroker Forum, thanks a lot!
Will start implementation soon.

Will be implemented in version 1.1.


Updated OPtANNe PR

@harsha-simhadri This PR should help us merge the OptANNe into main.  I've captured the essence of PRs 63 and 64 (originating from forked repos) here and if you accept/merge we can close 63 and 64.

@harsha-simhadri I see you asked @sdongaonkar about PR63.  I think it would be best to wait for his response on that PR before merging this one, since he may be in a position to test on the hardware.


Removing graph from small sized widgets and other tweaks

Summary of the pull request
When in small size, the widgets have very limited space to show meaningful information. The graph ends up occupying most of the space and make it impossible to see the actual data without scrolling. This change disables the graph from when the widgets are in small size and also adds some small changes to better use the space available.
References and relevant issues
https://microsoft.visualstudio.com/OS/_workitems/edit/49359135/
Detailed description of the pull request / Additional comments
On every core widget, the small size now does not show the generated graph.
For the CPU widget, the small size also does not show the list of most expensive proccess.

For the Memory widget, the paged memory will only be shown on the large size and the percentage of memory used only on medium and large size. Also, it uses an smaller font size when the widget size is small to avoid scrolling.

The GPU and Network widgets are still the same on all sizes, with further design changes needed as it still have the scroll enabled.
Validation steps performed
PR checklist

[x] Closes #909
[ ] Tests added/passed
[ ] Documentation updated

These look great! Nice job.


Panilla issues with Paper build #174 (Chunksystem Rewrite)

With Paper 1.19.2 Build #174 installed the plugin is throwing an exception. URL to ChunkSystem commit with the changes is attached at the end. At the moment I haven't access to the logs, but I taught I still need to report it today instead of tomorrow, because I saw a Github user reporting it at paper (and a PaperMC member wrote following into the issue: "Well it’s their responsibility to update. This is because they are using unsupported parts of the server."). URL is attached at the end, too. I hope I can help with opening this issue. 😄
Commit: https://github.com/PaperMC/Paper/commit/01a13871deefa50e186a10b63f71c5e0459e7d30
Report to Paper: https://github.com/PaperMC/Paper/issues/8395

This has been fixed. Sorry for not updating this issue.


Add TIMESTAMP and LONG type support to FilterOp and AggregateOp

This PR is following up the changes made in #973 , where it added TIMESTAMP and LONG types into Texera. This PR adds those new types support to FilterOp and AggregateOp.

TIMESTAMP is converted into java.lang.Long type while comparing in operators.
LONG is treated as java.lang.Long type while comparing in operators.
All values are currently transformed into java.lang.Double type when doing MIN,MAX, SUM, AVG, etc.

This will cause a problem that Long types downcast into Double would lose information in extreme cases. The solution is to use java.math.BigDecimal instead of java.lang.Double since the BigDecimal can support arbitrary bits of data.
This is not changed in this PR since we need to discuss the performance trade off here.
Another alternative is to convert internal Texera.Tuple to use scala types, where scala.BigInt and scala.BigDecimal can be utilized.

The null values are now handled properly in aggregates: null values will simply be ignored.

looks good.

Looks good. There one more place that needs to be changed:
inside new-gui\src\app\workspace\service\dynamic-schema\schema-propagation\schema-propagation.service.ts, there's a SchemaAttribute interface. Can you also please change that, maybe in a new PR?
Also please add a comment to the attribute type code that explains what needs to be changed if more attribute types are added.

Both are added in this PR.


Settings: Markdown allowed tags

Should only allow for <ul>and <a> tags.

 As a dev, I want to support multiple values for email/mobile field per user so that if a user has more than one active email, they are all associated with their northstar id.


Incorrect downstream dependency name leads to build errors

Hello!
We're running into the following issue when importing this package while submitting a Spark job:
Exception in thread "main" java.io.FileNotFoundException: File file:/home/hadoop/.ivy2/jars/io.netty_netty-transport-native-epoll-4.1.63.Final.jar does not exist

This seems to be due to the fact that the actual downloaded jar is io.netty_netty-transport-native-epoll-4.1.63.Final-linux-x86_64.jar rather than io.netty_netty-transport-native-epoll-4.1.63.Final.jar (note that the expected jar has no OS architecture in its name). We verified this by manually renaming the jar in our build cache, and the build succeeded on a subsequent run.
This is the command we're using (redacted):
spark-submit -v --master yarn --deploy-mode cluster ... --packages '...software.amazon.msk:aws-msk-iam-auth:1.1.0'

This is the machine I'm running on:
Distributor ID:	Amazon
Description:	Amazon Linux release 2 (Karoo)
Release:	2
Codename:	Karoo

We're using 1.1.0 of aws-msk-iam-auth, and since it doesn't seem like there's any mention of this issue I haven't tried it with the newer versions.
I'm not completely familiar with Java, but from some digging it seems like the issue might be because the OS arch is included with the jar name: https://github.com/netty/netty/blob/4.1/transport-native-epoll/pom.xml#L151. Is this something you can fix on your end, or is this something that should be brought up with the dependency? Also let me know if you need more info.
Thank you in advance :)

@Anthuang Were you using aws-msk-iam-auth with  the uber jar  (built with the shadowJar target) that includes all the packaged dependencies or were you including aws-msk-iam-auth as a dependency of the project?
I am sorry I could not tell exactly.
There have been some changes in how the uber jar is generated but it will only affect if you are using that.

I used the generated jar from running gradle clean build. Would using the uber jar solve the issue for us? Sounds like it might

I would suggest trying out using the uber jar. The section on Building from Source in the README outlines how the uber jar can be built and used.
Please let me know if that helps.

Thank you for the suggestion! It builds successfully now, but I'm seeing errors (see below) from the Spark application itself. This might be a long shot, but have you seen this error before? I made sure the Kafka client and the slf4-api jars are included in the classpath.
[2022-02-03 17:38:40.688]Container exited with a non-zero exit code 50. Error file: prelaunch.err.
Last 4096 bytes of prelaunch.err :
Error files: stderr, stderr.txt.
Last 4096 bytes of stderr :
eam.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)

Sorry turns out that was a red herring. The uber jar works well! I also found an issue that referenced a very similar issue (on another version): https://github.com/netty/netty/issues/10887.

Closing the issue.
Will update troubleshooting section to include guidance on using uber jar in such situations.


updating properties on v1 organizational branding Update page

@quievey , this repo is for public contributions, not for internal resources to submit new API docs. Please submit a new PR in our internal repo for docs contributors: https://github.com/microsoftgraph/microsoft-graph-docs so that we can follow our regular workflow. In the meantime, I'll close this PR. Thanks.


Forecast doesn't get updated

Hi, I'm pretty new with HA. Your swiss weather is very nice. Thanks a lot for implementing it.
I run currently HA on a raspberry PI (fullpageos version). The current weather in the "weather forecast card" gets updated from time to time but not the forecast on hourly basis. Is that a problem of your code or a problem of the "weather forecast card"? Thanks for your support.
Update: it seems that I need support by you: https://community.home-assistant.io/t/daily-or-hourly-weather-forecast-doesnt-get-updated/718132

I'm afraid I can't help you without any logs - can you please enable debug logging for the integration and paste full logs showing the forecast updates?

Log sent by email.

I'm afraid I can't help here, this seems to be a UI issue.


Add kabyle support

Add support for kabyle language

thanks! will release the new version soon

kabyle lang is available in 0.5.2 :tada:

Thank you! 👍


Detect Valid Styles Props

If a non valid style prop is given we should throw an error this would also allow for autocomplete with the style props.

This may be hard in the general case as we'd need a list of all valid css props (some of which are browser dependent). Closing this issue for now.


Datagrid columns are not resizable

Describe the bug
Columns are not user resizable, which is standard in a datagrid component.
Desktop (please complete the following information):

OS: Windows 19041+
Version: .NET MAUI 8 Preview 5

The columns can be resized if you bind to the Columns property and resize them via code, or set something like a slider control to be bound to the size of the Columns collection.
But I definitely think we should allow resizing with the mouse in the way that other data grids do.
But MAUI being cross-platform is more limited than some frameworks, and the particular design decisions of this project also limit us.
At present, I don't know of a way to implement this that would allow the user to just drag the header borders.
But I'm very interested if anyone has any ideas.

Hey, look-y here. Seems promising.
https://github.com/dotnet/maui/issues/13346


[FEATURE] Add support for more instance types

Is your feature request related to a problem?
Selection of instance types is limited by the cpuArch context to a specific size of Compute-Optimized instance.
https://github.com/opensearch-project/opensearch-cluster-cdk/blob/d3b12a8774835f1a6fdf41d2ea00b8e9fb7f8b8e/lib/infra/infra-stack.ts#L86-L87
Some plugins or extensions require other instance types, such as memory optimized for Anomaly Detection HCAD (See https://github.com/opensearch-project/opensearch-sdk-java/issues/652 and https://aws.amazon.com/blogs/big-data/detect-anomalies-on-one-million-unique-entities-with-amazon-opensearch-service/)
What solution would you like?
Allow a user to specify the instance type for each node type.
What alternatives have you considered?
Manually changing the instance types in the infra-stack.ts code.
Do you have any additional context?
Using T instance for development work costs less money while figuring things out!
See also #6

Thank you, @dbwiddis ..
@rishabh6788 will comment , and in the mean time, it will be great if you can also contribue on the changes in PR ..

#30 PR to add more choices for data and ml nodes. @dbwiddis


Restore BC Online/BACPAC to BC On-Prem/SQL Server

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
I am trying to restore BACPAC file from BC Online to a BC On-Premise and local SQL Server. I've used Freddy's script as a starting point for my script:
https://freddysblog.com/2021/03/02/restoring-your-online-business-central-database-locally/
When my script runs and hits the ImportBacpac() function, I get the blue screen of death.
Any idea what this is and how to get around it?
Scripts used to create container and cause the issue
# Simplified script with resources available locally

#-[ VARIABLES ]-----------------------
$environmentName = "Academy"
$bcVersion = '22.5.59966.60134'
$BcMajorVersion ='22'

$userName = 'floyd'
$userPassword = ConvertTo-SecureString 'floyd' -AsPlainText -Force

$dbServer = '<IP_ADDRESS>'
$dbInstance = ''
$dbSaName = 'sa'
$dbSaPassword = ConvertTo-SecureString 'XXXX' -AsPlainText -Force

$installApps = @(
    "https://businesscentralapps.blob.core.windows.net/bingmaps-appsource/latest/apps.zip"
    "https://businesscentralapps.blob.core.windows.net/helloworld-preview/latest/apps.zip"
)

#-[ PREREQUISITES ]-----------------------
# DAC Framework
$dacdll = Get-Item "C:\Program Files\Microsoft SQL Server\*\DAC\bin\Microsoft.SqlServer.Dac.dll"
if (-not($dacdll)) {
    throw "DAC Framework is not installed"
}
Add-Type -path $dacdll.FullName

# Azure Powershell Module
Import-Module Az

# NAV Admin Tool
$navAdminToolPath = "C:\Program Files\Microsoft Dynamics 365 Business Central\" + $BcMajorVersion + "0\Service\NavAdminTool.ps1"
Import-Module $navAdminToolPath

#-[ AUTHENTICATE ]-----------------------
# online access not required

#-[ BC Online ]-----------------------
$artifactUrl = Get-BCArtifactUrl `
    -country 'US' `
    -version $bcVersion `
    -select Closest

$artifactUrl

#-[ Backup and Download BACPAC ]-----------------------
# BACPAC already downloaded...
$backupFile = '20231025-1040_v_22-5-59966-60134.bacpac'

#-[ Create multi-tenant BC container ]-----------------------
$licenseFile = 'T:\!_BACPAC\D365BC_V22_5356620.bclicense'

$containerName = "BC" + $BcMajorVersion + '-' + $environmentName.ToUpper()

$userCredential = New-Object pscredential `
    -ArgumentList $userName, $userPassword
$dbCredential = New-Object pscredential `
    -ArgumentList $dbSaName, $dbSaPassword

$auth = "UserPassword"
$databaseParams = @{
    "databaseServer" = $dbServer
    "databaseInstance" = $dbInstance
    "databasePrefix" = "$($containerName)-"
    "databaseName" = $environmentName
    "databaseCredential" = $dbCredential
    "multitenant" = $true
}

Write-Host ('')
Write-Host ("Creating new container " + $containerName + "...") -ForegroundColor Yellow
$artifactUrl

New-BcContainer @databaseParams -replaceExternalDatabases `
    -accept_eula `
    -containerName $containerName `
    -credential $userCredential `
    -auth $auth `
    -artifactUrl $artifactUrl `
    -enableTaskScheduler `
    -licenseFile $licenseFile `
    -useSSL $false `
    -updateHosts

#-[ Restore BACPAC file ]-----------------------
$backupFilePath = 'T:\!_BACPAC\20231025-1040_v_22-5-59966-60134.bacpac'

$tenantId = $environmentName
$dbName = "$($databaseParams.databasePrefix)$tenantId"
$conn = @(
    "Data Source=localhost"
    "Initial Catalog=master"
    "Connection Timeout=0"
    "User Id=$($dbCredential.UserName)"
    "Password=$($dbCredential.Password|Get-PlainText)"
) -join ";"

Write-Host ('')
Write-Host "Restoring BACPAC from $backupFile as $dbName" -ForegroundColor Yellow

$AppimportBac = New-Object Microsoft.SqlServer.Dac.DacServices $conn
$ApploadBac = [Microsoft.SqlServer.Dac.BacPackage]::Load($backupFilePath)
$AppimportBac.ImportBacpac($ApploadBac, $dbName)

#-[ Clean Up Apps ]-----------------------
Publish-BCContainerApp -containerName $containerName -appFile $installApps -skipVerification -sync -install

$dockerApps = Get-BcContainerAppInfo `
    -containerName $containerName
$tenantApps = Get-BcInstalledExtensions `
    -bcAuthContext $authContext `
    -environment $environmentName
$allApps = $true
$removeApps = $tenantApps | ForEach-Object {
    $appId = $_.id
    $appName = $_.DisplayName
    $appPub = $_.Publisher
    $appVer = [Version]::new(
        $_.versionMajor,
        $_.versionMinor,
        $_.versionBuild,
        $_.versionRevision)
    $app = $dockerApps | Where-Object { $_.appid -eq $appid }
    if (-not($app)) {
        Write-Host "- $appName from $appPub version $appVer is missing"
        $appName
        $allApps = $false
    }
    elseif ($app.Version -lt $appVer) {
        Write-Host "- $appName from $appPub is version $($app.Version)."
        Write-Host "  Version expected was $appVersion"
        $appName
        $allApps = $false
    }
}

if ($allApps) {
    Write-Host -ForegroundColor Yellow "All apps are present in container"
}
else {
    Invoke-ScriptInBcContainer `
        -containerName $containerName `
        -scriptBlock { Param($dbServer,$dbInstance,$dbCredential,$dbName,$removeApps)
            $removeApps | ForEach-Object {
                Write-Host "Remove $_"
                Invoke-SqlCmdWithRetry `
                    -DatabaseServer $dbServer `
                    -DatabaseInstance $dbInstance `
                    -DatabaseName $dbName `
                    -databaseCredentials $dbCredential `
                    -maxattempts 1 -Query "
                DELETE FROM [dbo].[NAV App Published App]
                WHERE Name = '$_'
                DELETE FROM [dbo].[NAV App Installed App]
                WHERE Name = '$_'
                GO"
        }
    } -argumentList `
        $databaseParams.databaseServer,
        $databaseParams.databaseInstance,
        $databaseParams.databaseCredential,
        $dbName,
        $removeApps
}

#-[ Mount Tenant ]-----------------------
Write-Host ('')
Write-Host "Mounting tenant $tenantId..." -ForegroundColor Yellow
Invoke-ScriptInBcContainer `
    -containerName $containerName `
    -scriptBlock {
    Param(
        $databaseServer,
        $databaseInstance,
        $databaseCredential,
        $tenantId,
        $dbName)
    Mount-NavTenant `
        -ServerInstance $ServerInstance `
        -id $tenantId `nava
        -databaseserver $databaseServer `
        -databaseinstance $databaseInstance `
        -databasename $dbName `
        -databaseCredentials $databaseCredential `
        -EnvironmentType Sandbox `
        -OverwriteTenantIdInDatabase `
        -Force
    Sync-NavTenant `
        -ServerInstance $ServerInstance `
        -Tenant $tenantId `
        -Mode ForceSync `
        -Force
} -argumentList `
    $databaseParams.databaseServer,
    $databaseParams.databaseInstance,
    $databaseParams.databaseCredential,
    $tenantId,
    $dbName

Get-NavContainerAppInfo `
    -containername $containerName `
    -tenant $tenantId `
    -tenantSpecificProperties `
    -sort DependenciesFirst | ForEach-Object {
        $syncState = $_.SyncState.ToString()
        $appName = $_.Name
        if ($SyncState -eq "NotSynced") {
            Sync-NavContainerApp `
                -containerName $containerName `
                -tenant $tenantId `
                -appName $appName `
                -Force
        }
}

Get-NavContainerAppInfo `
    -containername $containerName `
    -tenant $tenantId `
    -tenantSpecificProperties `
    -sort DependenciesFirst | ForEach-Object {
        if ($_.NeedsUpgrade) {
            Start-BcContainerAppDataUpgrade `
                -containerName $containerName `
                -tenant $tenantId `
                -appName $_.Name
        }
}

Invoke-ScriptInBcContainer `
    -containerName $containerName `
    -scriptblock { Param( $tenantId )
        Start-NAVDataUpgrade `
            -ServerInstance $serverInstance `
            -Tenant $tenantId `
            -Force `
            -FunctionExecutionMode Serial `
            -SkipIfAlreadyUpgraded
        Get-NAVDataUpgrade `
            -ServerInstance $serverInstance `
            -Tenant $tenantId `
            -Progress
} -argumentList $tenantId

#-[ Insert SUPER ]-----------------------
$tenantId = 'default'
New-BcContainerBcUser `
    -containerName $containerName `
    -tenant $tenantId `
    -Credential $userCredential `
    -PermissionSetId 'SUPER' `
    -ChangePasswordAtNextLogOn:$false

Start-Process "http://$containerName/BC?tenant=$tenantId"

Full output of scripts'
I've managed to capture the output just before the ImportBacpac is invoked:
PS C:\WINDOWS\system32> T:\Restore-Bacpac-Simplified.ps1
https://bcartifacts.azureedge.net/sandbox/22.5.59966.60187/us

Creating new container BC22-ACADEMY...
https://bcartifacts.azureedge.net/sandbox/22.5.59966.60187/us
BcContainerHelper is version 3.0.12
BcContainerHelper is running as administrator
Hyper-V is Enabled
UsePsSession is True
Host is Microsoft Windows 11 Enterprise - Unknown/Insider build
Docker Client Version is 18.09.8
Docker Server Version is 18.09.8
Removing entries from hosts
Removing BC22-ACADEMY from container hosts file
Removing BC22-ACADEMY-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\BC22-ACADEMY
Starting Database Restore job from https://bcartifacts.azureedge.net/sandbox/22.5.59966.60187/us
C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.12\BcContainerHelper.ps1
Fetching all docker images
Fetching all docker volumes
ArtifactUrl and ImageName specified
WARNING: Unable to find matching generic image for your host OS. Using mcr.microsoft.com/businesscentral:10.0.20348.2031
Image false:sandbox-22.5.59966.60187-us-nodb-mt already exists
Using image false:sandbox-22.5.59966.60187-us-nodb-mt
Creating Container BC22-ACADEMY
Style: sandbox
Multitenant: Yes
Version: 22.5.59966.60187
Platform: 22.0.60139.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.20348.2031 (ltsc2022)
Host OS Version: 10.0.22621.2506 (Unknown/Insider build)
Using process isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file T:\!_BACPAC\D365BC_V22_5356620.bclicense
Additional Parameters:
--env customNavSettings=EnableTaskScheduler=True
Files in C:\ProgramData\BcContainerHelper\Extensions\BC22-ACADEMY\my:
- AdditionalOutput.ps1
- license.bclicense
- MainLoop.ps1
- SetupDatabase.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container BC22-ACADEMY from image false:sandbox-22.5.59966.60187-us-nodb-mt
Using Shared Encryption Key file
f7a983ee399ec05053082ea4174c34072b3a8abbd8a6d288c7cc53a56dca84af
Waiting for container BC22-ACADEMY to be ready
Initializing...
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is BC22-ACADEMY
PublicDnsName is BC22-ACADEMY
Using NavUserPassword Authentication
Starting Internet Information Server
Waiting for database creation to finish
Success
Import Encryption Key
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 6FAB67ECC8C2DCA90F58140D03A9F286A92A7C19
DNS identity BC22-ACADEMY
Modifying Service Tier Config File with Instance Specific Settings
Modifying Service Tier Config File with settings from environment variable
Setting EnableTaskScheduler to True
Starting Service Tier
CertificateThumprint 6FAB67ECC8C2DCA90F58140D03A9F286A92A7C19
Registering event sources
Creating DotNetCore Web Server Instance
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Create the application pool BC
Create website: NavWebApplicationContainer with SSL
Update configuration: navsettings.json
Done Configuring Web Client
Enabling Financials User Experience
Using license file 'c:\run\my\license.bclicense'
Import License
Creating http download site
Container IP Address: <IP_ADDRESS>
Container Hostname  : BC22-ACADEMY
Container Dns Name  : BC22-ACADEMY
Web Client          : https://BC22-ACADEMY/BC/?tenant=default
Dev. Server         : https://BC22-ACADEMY
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting BC22-ACADEMY to <IP_ADDRESS> in host hosts file

Files:
http://BC22-ACADEMY:8080/ALLanguage.vsix
http://BC22-ACADEMY:8080/certificate.cer

Container Total Physical Memory is 63.9Gb
Container Free Physical Memory is 35.8Gb

Initialization took 62 seconds
Ready for connections!
Reading CustomSettings.config from BC22-ACADEMY
Creating Desktop Shortcuts for BC22-ACADEMY
Creating Tenant default on BC22-ACADEMY
Copying Database on <IP_ADDRESS> from BC22-ACADEMY-tenant to BC22-ACADEMY-default
EngineEdition 3
backup database [BC22-ACADEMY-tenant] to disk = 'T:\_MSSQL\BC22ACADEMY\BC22-ACADEMY-tenant.bak' with init, stats=10;
restore database [BC22-ACADEMY-default] from disk = 'T:\_MSSQL\BC22ACADEMY\BC22-ACADEMY-tenant.bak' with stats=10, recovery, move 'Navision_NAV_US_Data' to 'T
:\_MSSQL\BC22ACADEMY\BC22-ACADEMY-default.mdf', move 'Navision_NAV_US_Log' to 'T:\_MSSQL\BC22ACADEMY\BC22-ACADEMY-default.ldf'
Mounting Database for default on server <IP_ADDRESS> with AllowAppDatabaseWrite = False

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context

does it happen all the time?
did it use to work?

Two things you could try:

Update BcContainerHelper to latest (version 3 is very old)
Try to use hyperv isolation (BSOD can come from versioning differences between containers and host OS's when using process isolation - although I haven't seen it in this situation before)

Thanks Freddy.
Updating the BcContainerHelper version and adding the -isolation hyperv option got me past the blue screen problem.


Make Changes column key tab

Good morning from Colombia,
I sent you a link of the demo, so you can help me: columns 3 to 7 in each row are added in column 8, but it is not possible to perform when changing columns with the tab key is only possible by changing row or pressing Enter
http://<IP_ADDRESS>:8080/GridFastNavigation-demo-0.2.1/
I need your help. Thank you.

Ah, it took me a while to understand what you meant, but yes: it appears that value change events aren't being properly sent when navigating using tab/shift+tab, only when changing rows using enter/shift+enter. As such, column 8 isn't being updated when using tab navigation.
I'll see what I can do.

The value change events were implemented in version 0.3.0. The enter key behavior configuration option was added to version 0.5.2.


MN-652: calculate available amount for additional deposit

- What I did
Added calculation of linear vesting amount
- How I did it
Added switch case to choose calculation algorithm by type of deposit
- How to verify it
Run tests
- Description for the changelog

Codecov Report

:exclamation: No coverage uploaded for pull request base (MN-574-2@07cbd2c). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             MN-574-2      #70   +/-   ##
===========================================
  Coverage            ?   14.70%
===========================================
  Files               ?        8
  Lines               ?     1136
  Branches            ?        0
===========================================
  Hits                ?      167
  Misses              ?      956
  Partials            ?       13

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 07cbd2c...260d3f4. Read the comment docs.


java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.pusher.client.channel.impl.message.AuthResponse.getChannelData()' on a null object reference

I think the issue comes from pusher_beams_android package but I found similar issues in this repo. Therefore, I am posting my issue here.
The issues is when I debug my flutter app in Android emulator, it shows the splash screen and the app exited just after it. It only happening on Android and working fine on iOS simulator.
I have checked other issues and tried https://github.com/pusher/pusher-channels-flutter/issues/53#issuecomment-1237245577 and https://github.com/pusher/pusher-channels-flutter/issues/53#issuecomment-1237552296 but these answers didn't work for me. Thanks in advance for your kind help.
Here is the full stack
E/AndroidRuntime( 8901): FATAL EXCEPTION: pusher-java-client eventQueue
E/AndroidRuntime( 8901): Process: com.yuzanarland.app, PID: 8901
E/AndroidRuntime( 8901): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String
com.pusher.client.channel.impl.message.AuthResponse.getChannelData()' on a null object reference
E/AndroidRuntime( 8901): at com.pusher.client.channel.impl.PrivateChannelImpl.authorize(PrivateChannelImpl.java:84)
E/AndroidRuntime( 8901): at com.pusher.client.channel.impl.PrivateChannelImpl.toSubscribeMessage(PrivateChannelImpl.java:101)
E/AndroidRuntime( 8901): at com.pusher.client.channel.impl.ChannelManager.lambda$sendOrQueueSubscribeMessage$0$ChannelManager(ChannelManager.java:134)
E/AndroidRuntime( 8901): at com.pusher.client.channel.impl.-$$Lambda$ChannelManager$FgB2VuYy-N6QNBtpJxvJKKYHNmY.run(Unknown Source:4)
E/AndroidRuntime( 8901): at com.pusher.client.util.Factory.lambda$queueOnEventThread$0(Factory.java:140)
E/AndroidRuntime( 8901): at com.pusher.client.util.-$$Lambda$Factory$ipCpPRVuOGWb3qUOJ3_oRjSkk_Q.run(Unknown Source:2)
E/AndroidRuntime( 8901): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
E/AndroidRuntime( 8901): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
E/AndroidRuntime( 8901): at java.lang.Thread.run(Thread.java:1012)
I/Process ( 8901): Sending signal. PID: 8901 SIG: 9
Lost connection to device.
Exited

and here is my flutter doctor -v log
❯ flutter doctor -v
[✓] Flutter (Channel stable, 3.3.8, on macOS 13.0.1 22A400 darwin-x64, locale en-US)
    • Flutter version 3.3.8 on channel stable at /Users/myowin/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (2 days ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/myowin/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/myowin/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/myowin/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

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

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

[✓] VS Code (version 1.74.0-insider)
    • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
    • Flutter extension version 3.52.0

[✓] Connected device (2 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 13 (API 33) (emulator)
    • macOS (desktop)              • macos         • darwin-x64  • macOS 13.0.1 22A400 darwin-x64

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

• No issues found!

Please let me know if you need further information.

I am sorry this doesn't related to pusher at all. There was something wrong with onAuthorizer and turns out it was it backend which is returning a HTML document when authorizing fail. Closing the issue now.


Issues deploying package to PyPI channel

Procedures with packaging: https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#packaging-your-project
Using conda on mac to compile wheel would have this issue:
ld: unsupported tapi file type '!tapi-tbd' in YAML file

which is related to the fact that the conda python path is placed before the native path. I have not figured a way to get around it yet.

Given MDTF is using conda channel (not PyPI) and #77 is solved, I will only deploy source distribution (instead of builds) to PyPI for now.


Fix link to Gitcoin

Fix the image and link that point to the gitcoin bounties for Project Wyvern, though, given that all the bounties have expired a long ago, it may better to simply remove that part from the readme.

Coverage remained the same at 94.833% when pulling c76db87937baf08b36fbc780884897018af4a4f4 on corollari:patch-1 into bfca101b2407e4938398fccd8d1c485394db7e01 on ProjectWyvern:master.


Is Brent's method for minimizing the value of a function implemented twice in SciPy?

Copied from the mailing list question http://mail.scipy.org/pipermail/scipy-dev/2014-July/019959.html.
Hello,

while studying the SciPy documentation, I noticed that the 'brent' and
the 'fminbound' function in the 'scipy.optimize' package both seem to
implement Brent's method for function minimization.

Both functions have been implemented by Travis Oliphant (see commit
infos below).

One minor difference is, that the 'brent' function _optionally_ allows
for auto bracketing via the help of the 'bracket' function, when
supplied only with two bounds via the 'brack' parameter instead of a
triplet as required by Brent's algorithm.

So is it possible, that Brent's method has been implemented twice?

'fminbound' was added in 2001:

https://github.com/scipy/scipy/commit/3f44f63b481abf676a0b344fc836acf76bc86b35

'brent' was added approximately three-quarters of a year later in 2002:

https://github.com/scipy/scipy/commit/b94c30dcb1ba9ad0b4c3e2090f5e99a8a21275ab

The 'brent' code has later been moved into a separate internal class:

https://github.com/scipy/scipy/commit/675ad592465be178cde88a89e9e362fdd5237004

Sincerely,
Alexander Behringer

okay, labeling this issue as a doc improvement task


Qhub local deployment failed [bug]

I've created a clean clone of qhub-cloud to test the subdir issue fix. Before I changed anything within the Qhub code, I tried to deploy it as usual (following the docs ) but when executing the last step
python -m qhub deploy --config qhub-config.yaml --disable-prompt
I received the following error:
INFO:qhub.deploy:All qhub endpoints will be under https://github-actions.qhub.dev
INFO:qhub.provider.terraform:terraform=/tmp/terraform/0.13.5/terraform init directory=infrastructure
INFO:qhub.provider.terraform:terraform init took 0.612 [s]
INFO:qhub.provider.terraform:terraform=/tmp/terraform/0.13.5/terraform apply directory=infrastructure targets=['module.kubernetes', 'module.kubernetes-initialization', 'module.kubernetes-ingress']

Error: namespaces "dev" already exists

ERROR:qhub.deploy:b'\x1b[0m\x1b[1mmodule.kubernetes-initialization.kubernetes_namespace.main: Creating...\x1b[0m\x1b[0m\n\x1b[33m\n\x1b[1m\x1b[33mWarning: \x1b[0m\x1b[0m\x1b[1mResource targeting is in effect\x1b[0m\n\n\x1b[0mYou are creating a plan with the -target option, which means that the result\nof this plan may not represent all of the changes requested by the current\nconfiguration.\n\t\t\nThe -target option is not for routine use, and is provided only for\nexceptional situations such as recovering from errors or mistakes, or when\nTerraform specifically suggests to use it as part of an error message.\n\x1b[0m\x1b[0m\n\x1b[33m\n\x1b[1m\x1b[33mWarning: \x1b[0m\x1b[0m\x1b[1mApplied changes may be incomplete\x1b[0m\n\n\x1b[0mThe plan was created with the -target option in effect, so some changes\nrequested in the configuration may have been ignored and the output values may\nnot be fully updated. Run the following command to verify that no other\nchanges are pending:\n    terraform plan\n\t\nNote that the -target option is not suitable for routine use, and is provided\nonly for exceptional situations such as recovering from errors or mistakes, or\nwhen Terraform specifically suggests to use it as part of an error message.\n\x1b[0m\x1b[0m\n\x1b[33m\n\x1b[1m\x1b[33mWarning: \x1b[0m\x1b[0m\x1b[1mInterpolation-only expressions are deprecated\x1b[0m\n\n\x1b[0m  on .terraform/modules/qhub/modules/kubernetes/services/meta/qhub/main.tf line 10, in module "kubernetes-jupyterhub":\n  10:           \x1b[4m"${var.general-node-group.key}"\x1b[0m = var.general-node-group.value\n\x1b[0m\nTerraform 0.11 and earlier required all non-constant expressions to be\nprovided via interpolation syntax, but this pattern is now deprecated. To\nsilence this warning, remove the "${ sequence from the start and the }"\nsequence from the end of this expression, leaving just the inner expression.\n\nTemplate interpolation syntax is still used to construct strings from\nexpressions when the template includes multiple interpolation sequences or a\nmixture of literal strings and interpolations. This deprecation applies only\nto templates that consist entirely of a single interpolation sequence.\n\n(and 3 more similar warnings elsewhere)\n\x1b[0m\x1b[0m\n'
Traceback (most recent call last):
  File "/home/vinicius/miniconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/vinicius/miniconda3/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/vinicius/Quansight/local/qhub-cloud/qhub/__main__.py", line 11, in <module>
    main()
  File "/home/vinicius/Quansight/local/qhub-cloud/qhub/__main__.py", line 7, in main
    cli(sys.argv[1:])
  File "/home/vinicius/Quansight/local/qhub-cloud/qhub/cli/__init__.py", line 40, in cli
    args.func(args)
  File "/home/vinicius/Quansight/local/qhub-cloud/qhub/cli/deploy.py", line 59, in handle_deploy
    config, args.dns_provider, args.dns_auto_provision, args.disable_prompt
  File "/home/vinicius/Quansight/local/qhub-cloud/qhub/deploy.py", line 24, in deploy_configuration
    raise e
  File "/home/vinicius/Quansight/local/qhub-cloud/qhub/deploy.py", line 21, in deploy_configuration
    guided_install(config, dns_provider, dns_auto_provision, disable_prompt)
  File "/home/vinicius/Quansight/local/qhub-cloud/qhub/deploy.py", line 54, in guided_install
    "module.kubernetes-ingress",
  File "/home/vinicius/Quansight/local/qhub-cloud/qhub/provider/terraform.py", line 82, in apply
    cwd=directory,
  File "/home/vinicius/miniconda3/lib/python3.7/subprocess.py", line 411, in check_output
    **kwargs).stdout
  File "/home/vinicius/miniconda3/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/tmp/terraform/0.13.5/terraform', 'apply', '-auto-approve', '-target=module.kubernetes', '-target=module.kubernetes-initialization', '-target=module.kubernetes-ingress']' returned non-zero exit status 1.

Terraform v0.13.5
minikube version: v1.17.1

I didn't use the render code (as it's merged with deploy for standard test). I also tested with the same minikube server with an outdated version of Qhub (another repo with updates from one week ago) and it worked...

I also encountered this error. It can be side-stepped by adding --namespace to the qhub init command
minikube version: v1.18.1
Terraform (downloaded during deployment is also 0.13.5)
Qhub: a4a479abf7e099c202c0c9a426197b7d66c76f9c on dev branch

I also encountered this error. It can be side-stepped by adding --namespace to the qhub init command
minikube version: v1.18.1
Terraform (downloaded during deployment is also 0.13.5)
Qhub: a4a479a on dev branch

But then you found the error  terraform-traefik-traefik" already exists right?

@costrouc

you found the error terraform-traefik-traefik" already exists right

Indeed. I don't have enough knowledge of the system to commit to that though :)
This is was occurring along with an issue where the downloaded terraform binary was not used. This was  resolved by @costrouc's fix in 1d804b762fa69f18f4528f225ba104a1a78226cd
The issue occued because of a pre-existing cluster. It could be resolved by using qhub destroy with the appropriate config file.

solved


Unexpected Token at 'WARNING: MSG:UnableToDownload...'

The following error is encountered when using this module on a system that is isolated from the internet.
Debug: Prefetching windowspowershell resources for psrepository
Debug: Executing: 'C:/WINDOWS/System32/WindowsPowerShell/v1.0/powershell.EXE -noprofile -executionpolicy bypass -command
     @(Get-PSRepository).foreach({
      [ordered]@{
        'name' = $_.Name
        'source_location' = $_.SourceLocation
        'installation_policy' = $_.InstallationPolicy.ToLower()
      } | ConvertTo-Json -Depth 99 -Compress
    })
'
Debug: Storing state
Debug: Pruned old state cache entries in 0.00 seconds
Debug: Stored state in 0.06 seconds
Error: Failed to apply catalog: 751: unexpected token at 'WARNING: MSG:UnableToDownload https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409'

OS: Windows Server 2019
PSVersion: 5.1.17763.1
Get-PackageProvider -Name NuGet returns NuGet <IP_ADDRESS>

Hi @cgrycki - please could you post the puppet manifest you are using along with the version of PowerShellGet?
Import-Module PowerShellGet, PackageManagement
Get-Module PowerShellGet, PackageManagement

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     1.2.2      PackageManagement                   {Find-Package, Find-PackageProvider, Get-Package, Get-Pack...
Script     2.0.1      PowerShellGet                       {Find-Command, Find-DscResource, Find-Module, Find-RoleCap...

Thanks

Hi @hbuckle, @cgrycki,
I was seeing a similar issue on a system isolated from the internet. I was importing Microsoft.PackageManagement.NuGetProvider.dll from an internal web server so the packageprovider worked, but got the same error as above. Once I added a checksum to the download and restarted the command prompt i was running in, I no longer got the error above.
Now I have the below error:
Debug: Executing: 'C:/Windows/System32/WindowsPowerShell/v1.0/powershell.EXE -noprofile -executionpolicy bypass -command     @(Get-PSRepository).foreach({
      [ordered]@{
        'name' = $_.Name
        'source_location' = $_.SourceLocation
        'installation_policy' = $_.InstallationPolicy.ToLower()
      } | ConvertTo-Json -Depth 99 -Compress
    })
'
Debug: Storing state
Debug: Pruned old state cache entries in 0.00 seconds
Debug: Stored state in 0.03 seconds
Error: Failed to apply catalog: 751: unexpected token at 'WARNING: Unable to find module repositories.'

Which I think is because the code doesn't expect no repositories at all and errors?
Versions:
PS C:\Windows\system32> Get-Module PowerShellGet, PackageManagement
ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Binary     <IP_ADDRESS>    PackageManagement                   {Find-Package, Find-PackageProvider, Get-Package, Get-Pack...
Script     <IP_ADDRESS>    PowerShellGet                       {Find-Command, Find-DscResource, Find-Module, Find-RoleCap...

PS C:\Windows\system32> Get-PackageProvider -Name NuGet
Name                     Version          DynamicOptions
----                     -------          --------------
NuGet                    <IP_ADDRESS>        Destination, ExcludeVersion, Scope, SkipDependencies, Headers, FilterOnTag...

OS:Server 2019
PSVersion: 5.1.14393.2828
Manifest:
class profile::powershellbase {

  file{'C:/Program Files/PackageManagement/ProviderAssemblies/nuget/':
    ensure => 'directory',
  } ->
  file{'C:/Program Files/PackageManagement/ProviderAssemblies/nuget/<IP_ADDRESS>/':
    ensure => 'directory',
  } ->
  file{'C:/Program Files/PackageManagement/ProviderAssemblies/nuget/<IP_ADDRESS>/Microsoft.PackageManagement.NuGetProvider.dll':
    ensure         => 'file',
    source         => 'https://proget.internal.fqdn/endpoints/Binaries/content/nuget/<IP_ADDRESS>/Microsoft.PackageManagement.NuGetProvider.dll',
    checksum       => 'md5',
    checksum_value => '628da2d060916bba4e8623eb3e53cdc8',
  } ->
  psrepository { 'ps-repo':
    ensure              => present,
    source_location     => 'https://proget.internal.fqdn/nuget/PowershellGallery/',
    installation_policy => 'trusted',
    provider            => 'windowspowershell',
  }
}

Hi,
Recently Microsoft changed their CDN that serves the nuget package provider dll, they disabled security protocols under TLS 1.2 (aka TLS 1.1 and TLS 1.0 no longer work).
And since PowerShell 5.1 doesn't support by default TLS 1.2, pspackageprovider resource fails with the same warning.
I changed my configuration to serve this dll from an internal source instead but the psrepository resource fails with the same warning (this issue). Fixing it and publishing new version would help a lot thanks :)
Details:
PowerShell version 5.1 that comes preinstalled with Windows (2016, 2019) needs to be bootstrapped with PackageManagement Nuget Provider dll file that is downloaded from Microsoft CDN page:
(https://onegetcdn.azureedge.net/providers/providers.masterList.feed.swidtag).
This CDN page ^ redirects to this CDN page:
(https://onegetcdn.azureedge.net/providers/nuget-<IP_ADDRESS>.package.swidtag)
which no longer support tls 1.0 and tls 1.1 (only 1.2 and above).
As you can see by testing the URLs here: (https://www.cdn77.com/tls-test).

Hi.
Regarding previous reply.
Yes this requires to switch the registry for powershell to allow tls tls 1.1 1.2:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework\v4.0.30319.
As well this is required for the nodes without internet access to use package resource for offline installations. Without fixing it I would need to drop of using that module in our implementations.

@wmaniek123 you are correct regarding the registry.
But since this change affects the entire system and not only PowerShell, I don't want to perform it.
I also don't think this module should make the registry change, instead it could just run this to affect the current session:
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
before running the Get-PackageProvider Nuget -Bootstrap


feat(kafka): autoconfiguration with security and authentication

Depends on https://github.com/RedHatInsights/clowder-quarkus-config-source/pull/96
Updates clowder-quarkus-config-source dependency to leverage autoconfiguration of Kafka component.
The autoconfiguation is enabled by setting props to application.properties. Camel Kafka default values are set. Official values are populated by the library from Clowder config in the initialization.
This autoconfigures:

brokers
security protocol
SASL authentication
certificates

EVNT-557

To test it before an official release one can add a staging repository to ~/.m2/settings.xml:
<repository>
    <id>rhstaging</id>
    <name>RH Staging</name>
    <url>https://repository.jboss.org/nexus/content/repositories/jboss_releases_staging_profile-19439</url>
</repository>

(to settings.profiles[].profile.repositories[]).

/retest


[web] Add goldens for strut style fixes

Made for PR: https://github.com/flutter/engine/pull/13802

@yjbanov thanks for the suggestion. I changed the screenshot size to 100x100.


[release/3.1] Use one stage per job in CI

Use one stage per job. This is a workaround that allows us to retry a job at any time, even if other jobs are still running. This means that if a particular job fails early (e.g. macOS due to a temporary homebrew dependency install failure), we can restart it immediately, rather than having to wait until the entire build completes then queueing a fresh macOS build to also wait on for a while longer.
This means no more built-in matrix job strategy. That was only able to split a job into several jobs within a single stage. Instead, use a template with ${{ each ... }} to create multiple stages.
This also makes the dependencies between builds visualized now. It's odd--job dependencies don't show up anywhere in the AzDO UI at all, but stage dependencies get an attempt at a dependency graph. (Our stage graph works out cleanly here, but when you get intersecting edges, the UI makes them ambiguous.)
Split into two commits to make prepare-artifacts.yml more reviewable--there are only slight changes to that template. (Also enable "no whitespace" mode.)

I appreciate AzDO keeping my life interesting by giving me puzzles to solve every day, like "Why is my build still running after leaving it overnight--oh, it's a second attempt? Why is that running?" (More seriously, thanks to someone for presumably hitting retry.)

Noticed this potential flakiness in the first attempt of centos71_Offline_Portable:
LOCAL RESTORE SOURCE - ALL TESTS PASSED!
curl: (60) Peer's Certificate has expired.
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

##[debug]Exit code 60 received from tool '/bin/bash'
##[debug]STDIO streams have closed for tool '/bin/bash'
##[error]Bash exited with code '60'.

https://dev.azure.com/dnceng/public/_build/results?buildId=839463&view=logs&j=8c35c666-1cc6-56eb-620e-0f6e7d3caf0a&s=149ab9f9-2746-51c3-9bed-64d13cb4f094&t=b30ab823-f7fe-562e-90b7-7ff3e51be1be&l=1420
Filed https://github.com/dotnet/source-build/issues/1788 for that, assuming it's flakiness.

Sorry, yup, that was me, it looked like flakiness this morning so I kicked it.


can i auto get this code?

[Node.CreateNodeMenuAttribute("PlaniloSamples/Gatherer/FindResource")]
    public class FindResourceGraphNode : LeafGraphNode
    {
        #region Protected
        protected override Type AllowedType => typeof(Gatherer);

        protected override BehaviourTreeNode<T> ProtectedBuild<T>(ref int index)
        {
            return new FindResourceNode(index) as BehaviourTreeNode<T>;
        }
        #endregion
    }

every node must write the same code.
thx.

I won't write a tool for that. However if you want to do it and create a PR I can certainly consider merging it.

I won't write a tool for that. However if you want to do it and create a PR I can certainly consider merging it.


Pass geometry and material as props label:question

Hallo!
I want to generate multiple meshes via map or something similar.
But the structure seem a but chunky -
    <mesh position={0,0,0} >         <boxGeometry           width={2}           height={0.02}           depth={0.001}         />         <meshBasicMaterial           color={0xffffff}         />       </mesh>
Could it be done using props, to pass common geometry/material like this - <mesh position={0,0,0}  meshBasicMaterial={"some material"}></mesh>?


Speed up matching

Precomputing the matching function improves processing speed when running on a large set of files.
Anecdotally reduced official-storybook preview build time from 26s to 24s

Thanks for the contributions!

You're changes have been released with v0.6.2


Series plugin blog post

Also but that's an other point, I think we should enable futur for pr builds.

Yes! go for it!!!

Done.

Thanks @jtama !!


How to new Continuation in java file

My probject is java file, how to make a Continuation in java
 room.connect(BuildConfig.LIVEKIT_URI, response.data, new ConnectOptions(), new RoomOptions(), new Continuation<Unit>() {
                            @NonNull
                            @Override
                            public CoroutineContext getContext() {
                                return null;
                            }

                            @Override
                            public void resumeWith(@NonNull Object o) {

                            }
                        });

this is not a livekit issue


It would be nice to see the remote.copypercentage of achievement

For heavy repository, would be cool to know the progress of the transfer, like
[46%] 92Mo / 200Mo
Live updated ;)

Once https://github.com/shipitjs/shipit/pull/28 is merged, you can pass --info=progress2 to remote.copy.
Up to @neoziro if he wants that to be a default or not.
I made PR for it to be the default for Shipit's use of remote.copy: https://github.com/shipitjs/shipit/pull/28


Partially revert #1958 for world limit fix

@ImMorpheus - I'm PRing this because I want to check that I've got this right before it lands on stable - I suspect (as others stated in #2120) that there was some confusion between block position and decimal position. Can you confirm whether this was an error, or if there is a reason for the changes that this reverts? Thanks!

Commit message:
A common source of confusion is the decimal co-ordinates vs block co-ordinates. It is stated that the minecraft X/Z co-ordinates have a range of +/-30,000,000, which is true, however, the block coordinates range from -30,000,000 to +29,999,999.
This is because the edges of blocks line up with the unit co-ordinates, such that a block spans from n to n+1 (where n is an integer). Thus, a block that we class as being at (29,999,999, 0, 29,999,999) actually spans to (30,000,000, 0, 30,000,000).
The block limit should be within the 30M radius around 0, meaning that the last possible block that can be interacted with is at 30M-1, as the block with block co-ordinate  X=30M actually strays past the Minecraft border to decimal co-ordinate 30M+1 - which is out of bounds.
This commit reverts the max block limit change.
Fixes https://github.com/SpongePowered/SpongeCommon/issues/2120

This is breaking vanilla behaviour. See https://github.com/SpongePowered/SpongeCommon/pull/1958#issuecomment-401635540

Sure, I can see that, but also considering that you can only place blocks one block outside the "invisible wall" on the positive edges, but not the negative edges makes me wonder what the real intention is. Regardless, that's a moot point.
Are we restricting block placements to within the "invisible wall" or do we strictly follow the vanilla behaviour, though it may be incorrect? I am happy either way - but are there any other consequences of having the max block one outside the invisible edge? I know I use it for some teleportation limits, and other plugin developers might use it for the edge of the playable world. If so, I would rather see this reversion happen, possible with a way to support the erroneous behaviour of this command in some other way.

Are we restricting block placements to within the "invisible wall" or do we strictly follow the vanilla behaviour, though it may be incorrect?

IMO this is a bug with vanilla minecraft (CommandBase#parseCoordinate passing 30000000, Y, 30000000 as a valid maxima for blockpos).
World#getBlockMax() should be changed back to 29,999,999 or you need to modify the API as well
https://github.com/SpongePowered/SpongeAPI/blob/4b0b4024bc569ab0daacbea18d618baae23d7d19/src/main/java/org/spongepowered/api/world/extent/BlockVolume.java#L55-L61


[Enhancement] Add 'Go to Current Song' option in the 3-dot menu to re-direct you back to the playlist the song was originally playing from.

Is your feature request related to a problem? Please describe.
When playing a song from a playlist (generally an Apple Music curated one), there is an option on the MacOS version of Apple Music (not Electron) to click on the 3-dots next to the song on the middle-top of the screen to 'Go to current song', which re-directs you back to the playlist the music it was playing from.
Describe the solution you'd like
Add an option in the 3-dot menu on the middle-top to re-direct you back to the playlist the song was originally playing from.
Describe alternatives you've considered
The only alternative is to not leave the screen of the playlist I was playing from, or just find it again manually.
Additional context
Add any other context or screenshots about the feature request here.

This app will be sunseted very soon and we are NOT maintaining this app
unless of a security issue. We encourage you to try Cider, our new music app built from scratch. Issues filled on that repository will be seen and will be acted upon. Please join our discord and see the #nightly-builds channel for a current build.
Cider can be found here


The same ValidationErrors wants to prompt different information, based on the value entered

Chinese ID card 15 and 18 valid check
export function  cardValidator(control: FormControl): ValidationErrors {
let message ="";
if(card === '')
{
message = 'card can't is not null';
return false;
}
if(isCardNo(card) === false)
{
message='card can't correct';
return false;
}
if(checkProvince(card) === false)
{
message='card can't correct';
return false;
}
if(checkBirthday(card) === false)
{
message='card can't correct';
return false;
}
}

@aitboudad  Can write multiple valid, but that's too much trouble
Can you give me some advice, thank you?

sorry, but your question is not clear to me!

the message can be passed as a function see https://formly-js.github.io/ngx-formly/examples/validation/validation-message

I know, but the same processor can't prompt different messages.
For example
https://github.com/ScottMGerstl/ng2-validate/blob/master/demo/email.validator.ts

@aitboudad
This configuration allows erros to read this message and find that ngx-formly does not support this.
export function IpValidator(control: FormControl): ValidationErrors {
return !control.value || /(\d{1,3}.){3}\d{1,3}/.test(control.value) ? null : { 'ip': true,message:'testerro' };
}

we don't support that case yet, just opened an issue for that #1303

@aitboudad  thank you ，the problem has been solved
export function IpValidator(control: FormControl): ValidationErrors {
return !control.value || /(\d{1,3}.){3}\d{1,3}/.test(control.value) ? null : { 'ip': {message:'customMessage'} };
}

seems already supported FormlyValidationMessage:L27 :), I'll try to add it in the demo example.

@aitboudad thank you


Binding Classes With Leading Slashes

Binding classes into the container with leading slashes is no longer supported. This feature required a significant amount of string formatting calls to the be made within the container. Instead, simply register our bindings without a leading slash:
$container->bind('Class\Name', function () {
    //
});

$container->bind(ClassName::class, function () {
    //
});

Unused


(Fix) Prevent accessing contentWindow if iframe is null

This PR solves the issue in development that prevents the app from starting up

Travis automatic deployment:
https://pr1161--safereact.review.gnosisdev.com/app