Allow to use zerolog-sentry with a pre-initialized sentry Hub

It would be great to allow to initialize zerolog-sentry with a self-initialized sentry.Hub .

Sth like this would do:
// NewWithCurrentSentryHub creates writer with using the existing sentry Hub
func NewWithCurrentSentryHub(opts ...WriterOption) (*Writer, error) {
	cfg := newDefaultConfig()
	for _, opt := range opts {
		opt.apply(&cfg)
	}

	levels := make(map[zerolog.Level]struct{}, len(cfg.levels))
	for _, lvl := range cfg.levels {
		levels[lvl] = struct{}{}
	}

	return &Writer{
		hub:          sentry.CurrentHub(),
		levels:       levels,
		flushTimeout: cfg.flushTimeout,
	}, nil
}

An alternative would be to make the fields of the Write public so that everybody can initialize it.

Added in v1.7.0


[docs] Convert weights

From internal Slack thread, this PR adds a short guide for converting weights to .safetensors.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


REST API - Missing CORS-headers for some DELETE and PUT endpoints

Configuration information

EHRbase version: 0.18.3
openEHR_SDK version: 1.6.0
Archie version: 1.0.4
PostgreSQL version: 11.5
Java Runtime version: Oracle Corporation 11.0.13+8
Operating System version: Linux amd64 <IP_ADDRESS>-microsoft-standard-WSL2

Steps to reproduce
Sending composition DELETE request or ehr PUT request (create with id) from page in browser.
Example to reproduce (save as html and open locally if you have an ehrbase docker running on your machine.):
<!DOCTYPE html>

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width">

    <button onclick="put_example()">Put example</button> (does not work)

    <button onclick="delete_example()">Delete example</button> (does not work)

    <button onclick="post_example()">Post example</button> (works)

Actual result

POST works, i.e. creating EHR without specified ehr-id works from browser.
PUT doesn't work, i.e. creating EHR with given eher-id doesn't work from browser. Browser shows CORS Missing Allow Origin error (tested on current Firefox and Chrome). Postman works with same request, so CORS issues seems plausible.
DELETE doesn't work, i.e. deleting composition doesn't work from browser. Browser shows CORS Missing Allow Origin error (tested on current Firefox and Chrome). Postman works with same request, so CORS issues seems plausible.

Expected result (Acceptance Criteria)
All three requests should work from a webapp not hosted on same server as ehrbase.
Definition of Done

[ ] The defect is checked by an unit or an integration test (Robot)
[ ] Merge Request approved
[ ] Unit tests passed
[ ] Build without errors
[ ] Release notes prepared
[ ] No additional runtime warnings

Can confirm that this bug exists on ehrbase:next. Tested it today and had some errors showing up in some apps when creating EHRs.
Also, this bug wasn’t present on previous versions. But I’ve had CORS trouble with other endpoints like composition on some of the older releases.
I’m up for contributing to this if I get the time.
We'll need to add tests for all endpoints and methods along with the tests for the template endpoint here to prevent these bugs in future releases:
ehrbase/ehrbase/application/src/test/java/org/ehrbase/application/cors/CorsNoAuthIT.java
Regarding the source of the bug, I've been looking at
https://github.com/ehrbase/ehrbase/blob/5ceb8e4843912f847f6ac3b542545bae9d0af898/application/src/main/java/org/ehrbase/application/config/web/WebConfiguration.java#L64-L68
and
https://github.com/ehrbase/ehrbase/blob/5ceb8e4843912f847f6ac3b542545bae9d0af898/application/src/main/java/org/ehrbase/application/config/web/CorsProperties.java#L109-L123
But can't really understand how the CORS configuration is not reflecting on just some particular endpoints since this seems to be a global configuration.

I am absolutely not an expert on this and don't want to mislead anybody who may be capable of solving this, but I suspected that the request methode, i.e. GET, POST, PUT, DELETE, ... is the relevant difference. The GET and POST endpoints I tried responded as I expected it. PUT and DELETE did not work. It seems like this could for example happen if some default values are used (cf. applyPermitDefaultValues at https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/cors/CorsConfiguration.html) But I have to admit I don't even know where the actual values which are mapped here come from.

Okay so, it's supposed to come from the application.yaml file. And I've tested that by adding the following to it:
web:
  cors:
    allowedOriginPatterns:
      - https://*.test-cors.org
    allowedMethods:
      - GET
      - PUT
      - DELETE
      - POST
      - OPTIONS
    allowCredentials: "true"

CORS works on the EHR endpoint without issue. Tested using CORS Tester.

Works as environment variables in a docker-compose yaml too:
ehrbase:
    restart: on-failure
    image: ehrbase/ehrbase:next
    environment:
      SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/ehrbase
      SPRING_DATASOURCE_USERNAME: ehrbase
      SPRING_DATASOURCE_PASSWORD: ehrbase
      SERVER_AQLCONFIG_USEJSQUERY: 'false'
      SERVER_NODENAME: localhost
      SECURITY_AUTHTYPE: NONE
      WEB_CORS_ALLOWEDORIGINS: https://www.test-cors.org/
      WEB_CORS_ALLOWEDORIGINPATTERNS: https://*.test-cors.org
      WEB_CORS_ALLOWEDMETHODS: GET,PUT,DELETE,POST,OPTIONS
      WEB_CORS_ALLOWCREDENTIALS: 'true'
    ports:
      - 8080:8080

Nice, thank you very much for these infos! I'm currently stuck in meetings, but can't wait to try this out tomorrow ;-)

Ok, I guess this is solved now on the ehrbase part.
@sidharthramesh Thank you for showing me how to do this configuration.
I still have some CORS issues left, but as far as I understand it, these are due to opening a local file instead of hosting my webapp on a webserver, which leads to problems with the origin.


[DXVK 2.5] AF must be forced in dxvk.conf

It can't work just using the game setting (in every D3D9 game), why?
Is this expected? (I don't think so)
Example:
AF 16x in-game -> No AF
https://postimg.cc/ykrv5Tdn
AF forced in dxvk.conf -> OK
https://postimg.cc/qNPQBM23
(Of course I'm using your DXVK mod+SpecialK to get HDR output and it's working fine about that aspect, the only problem is the missing anisotropic filtering and SpecialK doesn't have yet the AF forcing support in Vulkan, so I must add d3d9.samplerAnisotropy = 8 )

That's an issue with dxvk v2.5 it was fixed upstream with this commit:
https://github.com/doitsujin/dxvk/commit/4c09b006a5ce84b4707a0b175a800c56a28643f0
I will make a pre release version with that commit tomorrow

Thanks!

https://github.com/EndlesslyFlowering/dxvk/releases/tag/v2.5.1-HDR-mod-v0.3.0


--build=release is broken

Any (my) application what uses this package isn't compiles with --build=release option:
$ dub build --build=release :example
Building package dlangui_bearlibterminal:example in /home/denizzz/Dev/dlangui_bearlibterminal/
Performing "release" build using dmd for x86_64.
dlangui 0.9.82: building configuration "external"...
/usr/include/dmd/phobos/std/uri.d(323,19): Deprecation: function std.utf.toUTF8 is deprecated - To be removed November 2017. Please use std.utf.encode instead.
dlangui_bearlibterminal ~master: building configuration "library"...
../../.dub/packages/bearlibterminal-1.5.2/bearlibterminal/source/terminal.d(254,15): Error: function BearLibTerminal.terminal.print cannot inline function
../../.dub/packages/bearlibterminal-1.5.2/bearlibterminal/source/terminal.d(216,6): Error: function BearLibTerminal.terminal.open cannot inline function
../../.dub/packages/bearlibterminal-1.5.2/bearlibterminal/source/terminal.d(218,6): Error: function BearLibTerminal.terminal.set cannot inline function
../../.dub/packages/bearlibterminal-1.5.2/bearlibterminal/source/terminal.d(220,6): Error: function BearLibTerminal.terminal.setf!dstring.setf cannot inline function
../../.dub/packages/bearlibterminal-1.5.2/bearlibterminal/source/terminal.d(220,6): Error: function BearLibTerminal.terminal.setf!string.setf cannot inline function

Fixed in 21286f94f9c7ae2968d029e84a1115829b148cc3.

Still persists:
../../.dub/packages/bearlibterminal-1.5.2/bearlibterminal/source/terminal.d(254,15): Error: function BearLibTerminal.terminal.print cannot inline function

../../.dub/packages/bearlibterminal-1.5.2/bearlibterminal/source/terminal.d(254,15): Error: function BearLibTerminal.terminal.print cannot inline function

You're still on version 1.5.2.  Try updating to 1.5.3.

I am installed it locally:
../bearlibterminal-dlang/source/terminal.d(304,3): Error: unrecognized declaration

(Can not reopen this issue)

Oops!  It should be fixed now.

Great, works! Thanks!


Feature request: add on-click for sway/language

then we could set it to swaymsg input type:keyboard xkb_switch_layout next to switch to the next layout

It should already be possible

i didn't see it in the manpage or the wiki so i didn't know
i now added it to the wiki page https://github.com/Alexays/Waybar/wiki/Module:-Language
still needs to be added to the manpage


python312Packages.boto3-stubs: 1.34.140 -> 1.34.144, python312Packages.botocore-stubs: 1.34.140 -> 1.34.144

Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

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

14 packages built:

aws-sam-cli
aws-sam-cli.dist
python311Packages.boto3-stubs
python311Packages.boto3-stubs.dist
python311Packages.botocore-stubs
python311Packages.botocore-stubs.dist
python311Packages.types-aiobotocore
python311Packages.types-aiobotocore.dist
python312Packages.boto3-stubs
python312Packages.boto3-stubs.dist
python312Packages.botocore-stubs
python312Packages.botocore-stubs.dist
python312Packages.types-aiobotocore
python312Packages.types-aiobotocore.dist


Invalid path alias: @dektrium/user/views when testing

Hello,
I'm trying to use codeception for functional testing, in my yii2-advanced-app (like described here https://github.com/yiisoft/yii2-app-advanced/blob/master/docs/guide/start-testing.md)
The testing works fine with no dependencies, but when I add yii2-user, it doesn't seems to load the module bootstrap settings
yii\base\InvalidParamException: Invalid path alias: @dektrium/user/views in /app/vendor/yiisoft/yii2/BaseYii.php:152

The module is declared in config/main.php
<?php
$params = array_merge(
require(__DIR__ . '/../../common/config/params.php'),
require(__DIR__ . '/../../common/config/params-local.php'),
require(__DIR__ . '/params.php'),
require(__DIR__ . '/params-local.php')
);

return [
  'modules' => [
    'user' => [
        'class' => 'dektrium\user\Module',
...

And loaded from config/test.php:
<?php
return yii\helpers\ArrayHelper::merge(
  require(__DIR__ . '/main.php'),
...

Any idea?

I fixed it, with updating the various config file

@ferllings Could you tell me what do you actually changed in your config file to get it working?

@mateuszmalek I'm not exactly sure what fixed it: I generated a new yii advanced app, and I did a diff on all the config files


Hl 1024 ahjo

Description :sparkles:
Remove the unnecessary diary number received ahjo status.
Prepare the Application model to  eventually receive a case id and a case guid from Ahjo.
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

API branch is deployed to platta: https://helsinkilisa-pr2408.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr2408.dev.hel.ninja :rocket::rocket::rocket:

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr2408.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-handler-pr2408.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://helsinkilisa-ui-pr2408.dev.hel.ninja :laughing::tada::tada::tada:


support rpc timout can be customized

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
When you need to fail quickly or the business itself takes longer, the default 30-second configuration cannot provide flexible control
当业务需要更长的二阶段处理时，过短的30stimeout配置可能无法满足需求，反之需要快速的失败时，也无法得到处理，反而阻塞线程更长时间，需要进行优化
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Just paste your stack trace here!

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

xxx
xxx
xxx

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version :
Seata version:
OS :
Others:

Please assign it to me.

Why is the issue not closed automatically?


Add how-to for using upgrade assistant

It is not clear how to use the upgrade assistant to convert Xamarin to Maui.
Should users run the upgrade assistant on the Android and iOS projects or just on the shared project.
I've tried it both ways and run into issues either way.

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

ID: 3275e223-a9cc-1efb-07ec-01c8501d7a46
Version Independent ID: 538673ca-22c5-2a5c-97c0-1552ae9f7b79
Content: Migrate your app from Xamarin.Forms to .NET MAUI - .NET MAUI
Content Source: docs/get-started/migrate.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @MisinformedDNA
AFAIK, there isn't a public build of the .NET upgrade assistant that includes support for converting a Xamarin project to .NET MAUI. Are you building it yourself from the GitHub repo?
Regardless, it's not ready for use yet. When it is, the docs will be updated and people directed to give it a go.

@davidbritch That's fine. Then this documentation should be updated to not recommend upgrade assistant:

Use the .NET upgrade assistant for .NET MAUI to migrate your Xamarin.Forms projects to .NET MAUI single project

I think the upgrade assistant will be of great value. And it should be the recommended way of updating your Xamarin.Forms project to .NET MAUI.
The problem is that it's not ready yet

@MisinformedDNA I thought the preceding sentence took care of it:

The process for migrating a Xamarin.Forms app to .NET MAUI is expected to be:

@davidbritch Yeah, I didn't see that right away. But why have step by step instructions that don't work?
I think it should either be removed or called out more clearly like
Roadmap
or
(In development) The process for migrating a Xamarin.Forms app to .NET MAUI is expected to be:

@MisinformedDNA The PMs wanted it the way it is, to illustrate how Xamarin.Forms apps will be migrated to MAUI once MAUI moves out of preview status.

That's fine. It just needs to be more clearly marked as such. Adding (In development) is a pretty small ask and is far less than what most MS Docs do.

I got the help I needed in https://github.com/dotnet/upgrade-assistant/issues/841. The migration worked for me with upgrade-assistant v0.3.242703.

Closing as a dupe of #11


OPRUN-3588: Add OperatorLifecycleManagerV1 cluster version capability

Preconditions:

[x] #2061 merged

Changes:

Adds the 'OperatorLifecycleManagerV1' cluster capability

Next PR: openshift/cluster-olm-operator#74

/jira refresh

/lgtm

/approve


Cannot send emails with Mailgun (Incorrectly named .env parameter?)

Panel or Daemon: Panel
Version of Panel/Daemon: 0.6.4
Server's OS: Ubuntu 16.04 (64-bit)
Your Computer's OS & Browser: Ubuntu 16.04 (64-bit), Mozilla Firefox 58.01 (64-bit)

Add Details Below:
I used the php artisan pterodactyl:mail command in order to set up Mailgun for sending out my Panel emails, but I failed to get the Panel to send the emails properly. I was using password reset emails as a test to see if emails were working. Upon checking the logs, I noted that the Pterodactyl\Notifications\SendPasswordReset job was failing. Upon further inspection of the logs, I noticed that GuzzleHttp (which I assume Laravel's Mailgun API uses internally for sending emails) was returning a 401: Unauthorized error.
At first, I couldn't figure out why the Panel would possibly return a 401: Unauthorized error for the Mailgun requests. I checked the .env file, recached the configuration with php artisan config:cache, and ran a request to the Mailgun servers using cURL, and nothing seemed to suggest that anything was wrong. The cURL request ran fine and the credentials were fine: it was just Guzzle returning an error.
After reading through various articles and questions regarding Laravel's implementation of Mailgun online, I noticed that all of the configurations online noted that the config/services.php file had a block of code that looked similar to this:
'mailgun' => [
'domain' => env('MAILGUN_DOMAIN'),
'secret' => env('MAILGUN_SECRET'),
],

I checked this repository's services.php file and noticed it had the same thing. Then it dawned on me that the Mailgun Private API Key is stored as MAILGUN_KEY rather than MAILGUN_SECRET inside of the .env file. When I added the MAILGUN_SECRET line myself and recached the configuration, my Panel was able to send out emails properly.
I'm not sure if this is an actual issue for anyone else, because to me it seems like a ridiculous idea that the Panel would have an issue with Mailgun not working that would go unnoticed for God knows how long. It's probably more likely that this bug report is the result of me not doing something properly when setting up the Panel. The code does seem to suggest that it's an issue though, and it seems intuitive enough to change the variable to either MAILGUN_SECRET or MAILGUN_KEY throughout the code to fix this issue.

Thats a bug in both versions, you're correct it is looking for MAILGUN_SECRET but I am passing in MAILGUN_KEY.
Thanks for finding that. 👍


[Bug][Numpy] Wrong gradient of np.where

Description
Example 1: Using np.where(array, array, scalar)
import mxnet as mx
mx.npx.set_np()

a = mx.np.array([1, 0, 1])
b = mx.np.array([2, 3, 4])

b.attach_grad()

with mx.autograd.record():
    c = mx.np.where(a, b, -1)
    c.backward()
print(b.grad)

Output: [0. 1. 0.]
Example 2: Using np.where(array, array, array)

import mxnet as mx
mx.npx.set_np()

a = mx.np.array([1, 0, 1])
b = mx.np.array([2, 3, 4])

b.attach_grad()

with mx.autograd.record():
    c = mx.np.where(a, b, mx.np.array([-1, -1, -1]))
    c.backward()
print(b.grad)

Output: [1. 0. 1.]
The second one is correct.

@hgt312 I think that there might be some issue in the backward + scalar case of where: https://github.com/apache/incubator-mxnet/blob/9a355ebc1dfc5c087d41bb24c946e7f773e01af9/src/operator/numpy/np_where_op.cc#L236-L254

Fixed in https://github.com/apache/incubator-mxnet/pull/17899


Is there a decoder like LengthFieldBasedFrameDecoder here, but LengthField is a String type?

Expected behavior
Actual behavior
Steps to reproduce
Minimal yet complete reproducer code (or URL to code)
Netty version
4.1.9
JVM version (e.g. java -version)
OS version (e.g. uname -a)

No there is not.. You can hand-roll one if you need it tho


Fix/persistence deployment

Some minor changes I found useful for deploying argo connected to a database for persistence:

Allow argo-cluster-role to get secrets (need for DB credentials)
Add configmap example for persistence setup (nice to have)

Makes sense. I put them in a separate files. And also fixed the namespace-install.


unifi_ssl_import.sh: "==yes" loop on script execution

I am using this script to import a Let's Encrypt signed ssl cert into the Ubiquiti Unifi Controller I have hosted on a server running Ubuntu 16.04.5 LTS. When I execute the script I get an infinite loop of "==yes" printed in my terminal. Any leads on the issue? Have you seen this behavior before?
I have made only these changes to the script:
hostname changed from default to FDQN matching the Let's Encrypt Cert
UNIFI_HOSTNAME=wifi.herebedragons.com
I commented following three lines for Fedora/RedHat/CentOS
UNIFI_DIR=/opt/UniFi
JAVA_DIR=${UNIFI_DIR}
KEYSTORE=${UNIFI_DIR}/data/keystore
I uncomment following three lines for Debian/Ubuntu
UNIFI_DIR=/var/lib/unifi
JAVA_DIR=/usr/lib/unifi
KEYSTORE=${UNIFI_DIR}/keystore
changed LE_MODE= from "no" to "yes"
LE_MODE=yes
LE_LIVE_DIR=/etc/letsencrypt/live
Here is my kernel version:
uname -a
Linux 4.4.0-141-generic #167-Ubuntu SMP Wed Dec 5 10:40:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Any support the community can provide would be appreciated!
Best,
Ben

Might try dos2unix
On Wed, Feb 6, 2019 at 7:16 AM Ben Shapiro<EMAIL_ADDRESS>wrote:

I am using this script to import a Let's Encrypt signed ssl cert into the
Ubiquiti Unifi Controller I have hosted on a server running Ubuntu 16.04.5
LTS. When I execute the script I get an infinite loop of "==yes" printed in
my terminal. Any leads on the issue? Have you seen this behavior before?
I have made only these changes to the script:
hostname changed from default to FDQN matching the Let's Encrypt Cert
UNIFI_HOSTNAME=wifi.herebedragons.com
I commented following three lines for Fedora/RedHat/CentOS
#UNIFI_DIR=/opt/UniFi
#JAVA_DIR=${UNIFI_DIR}
#KEYSTORE=${UNIFI_DIR}/data/keystore
I uncomment following three lines for Debian/Ubuntu
UNIFI_DIR=/var/lib/unifi
JAVA_DIR=/usr/lib/unifi
KEYSTORE=${UNIFI_DIR}/keystore
changed LE_MODE= from "no" to "yes"
LE_MODE=yes
LE_LIVE_DIR=/etc/letsencrypt/live
Here is my kernel version:
uname -a Linux 4.4.0-141-generic #167-Ubuntu SMP Wed Dec 5 10:40:15 UTC
2018 x86_64 x86_64 x86_64 GNU/Linux
Any support the community can provide would be appreciated!
Best,
Ben
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stevejenkins/unifi-linux-utils/issues/38, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAV_lyiuC3vXHvYcSU2WDZTKxmIi6zOrks5vKtWogaJpZM4alNsd
.

i too have the same problem. is this normal?

I had to change some lines in the script. Think it's easier if you change line 45 to this:
LE_MODE=true
You will see a lot of errors about missing ]], ignore them, works fine.

Also getting a lot of errors regarding missing ]].. tried to fix the if statements without success :/
Anyway, it works and that is the most important part.

Just for you all and information because I also struggled with the [[ not found error: If you call the script with bash .... then the errors are gone.


Update Academy Documentation link

Currently, the repo points to a broken link: https://developer.microsoft.com/en-us/windows/holographic/academy.
It should point to: https://developer.microsoft.com/en-us/windows/mixed-reality/academy.
Given the name change, maybe this repo should move as well? Obviously, that's up to you all though.

Looks like the change has been made. Works for me now (on mobile).


Graphs were correctly visualized when ran the script again.

graph of categorical features and the combination of categorical features i.e.('userId', 'movieId') and numerical feature i.e. (rating) were visualized and the difference can be seen in the uploaded script.

@benfred can you review this pull request ?

Closing since this notebook has moved to another repo since the PR was opened


NODE_ENV is set to production

When I open cmd using this tool, the NODE_ENV environment variable is automatically set to production, which is not what I want.
The terminal currently inherits all the environment vars set by Atom. This makes the it less usable for node development.

This is the same issue as karan/atom-terminal#74

Thanks for the report @jscissr.
I've included your fix suggested in the atom-terminal issue as part of the default command on Windows.
Unfortunately this is a general issue with environment variables leaking from the parent process on the Windows platform, as explained in this Stack Overflow post.


Icons on transgender not showing properly

After merging, the icons and organs and body pictures must be verifed and corrected.

the clickable part for aorta part  is overlapping with other organs ...check for other parts also

by default the organs are poped up

@nrosh052 : We can close this issue, as this issue does not exist anymore


Wrong assert for region 2 of IF97

Reported by hubertus on 17 Aug 2012 14:21 UTC
The region 2 has an assert for the triple pressure, but is valid down to p=0. Change the assert to reflect that.

Migrated-From: https://trac.modelica.org/Modelica/ticket/792

Comment by hubertus on 9 Dec 2012 22:29 UTC
Fixed in e465dff50723bd6fc04342c73f10d884458bb6eb


Gridmask bugfix

Codecov Report

Merging #64 into master will not change coverage by %.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #64   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            8         8
  Lines         1381      1380    -1
=========================================
- Hits          1381      1380    -1

Impacted Files
Coverage Δ

solt/transforms/_transforms.py
100.00% <100.00%> (ø)

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 2a45f6d...04e9db6. Read the comment docs.


decomp: mood-tables

Unlike level-info this doesn't contain the weird quote'ing behaviour, hopefully this passes CI successfully.

Pull Request Test Coverage Report for Build 833778684

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 69.223%

Totals

Change from base Build 833686994:
0.0%

Covered Lines:
34266

Relevant Lines:
49501

💛  - Coveralls


Fix rlx restart behavior if to_rerun is False

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ba21d38) 90.21% compared to head (9cf5a20) 90.22%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #34   +/-   ##
=======================================
  Coverage   90.21%   90.22%
=======================================
  Files          19       19
  Lines        2167     2168    +1
=======================================
+ Hits         1955     1956    +1
  Misses        212      212

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


SCD pretrained weights

Hi, I am very interested in this awesome job. I've been doing some work related to semantic change detection recently and I'd like to use your pretrained weights to train on my dataset. Can you please provide me the weights for the semantic change detection model?

Hi,
Thank you so much for your interest to our work! The weights of MambaSCD and MambaBDA will be released after the manuscript is accepted.
Besides, if you want to train MambaSCD model on your own dataset, I assume our weights are unnecessary. You can directly perform our code.
Best,

Thank you very much for your reply, I will try to use your SCD model for training on my dataset!

Thank you very much for your reply, I will try to use your SCD model for training on my dataset!

你好！你在SECOND上复现的Mamba-SCD精度如何呢？在自己的数据集上的精度又能达到多少呢？

Thank you very much for your reply, I will try to use your SCD model for training on my dataset!

你好！你在SECOND上复现的Mamba-SCD精度如何呢？在自己的数据集上的精度又能达到多少呢？


Work in progress integration of WDL into Toil (resolves #602)

Can one of the admins verify this patch?

Can I get an 'in progress' label on this PR (assuming "in progress" means what I think it means)

Jenkins, skip this please.

I'm closing this, now that we have #1823 coming along nicely.


Crash on UWP from OnShareTargetActivated

Description
If a UWP app is started by share activation, and any of the displayed views contains a CachedImage, the app crashes.
Steps to Reproduce

Make a UWP project using Xamarin.Forms.
Override the OnShareTargetActivated method in the App.xaml.cs, to load the app as it was loaded from the OnLaunched method.
Add the Share Target declaration in the Package.appxmanifest file's Declarations section, with "Supports any file type" option.
Make the initial page to contain a CachedImage at least.
Select any file from the File Explorer, and Share with the app.

Expected Behavior
The app starts, and displays the page.
Actual Behavior
The app crashes.
Basic Information

Version with issue: <IP_ADDRESS>9
Last known good version: -
Platform: Xamarin.Forms, UWP

StackTrace
System.NullReferenceException: Object reference not set to an instance of an object.
at FFImageLoading.Helpers.MainThreadDispatcher.d__1.MoveNext()
at Windows.ApplicationModel.Core.UnhandledError.Propagate()
at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object sender, UnhandledErrorDetectedEventArgs eventArgs)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object sender, UnhandledErrorDetectedEventArgs eventArgs)

It seems like that the error is originated from the "CoreApplication.MainView.CoreWindow.Dispatcher" call in the FFImageLoading.Windows project's MainThreadDispatcher class.
Getting the CoreApplication.MainView always throws a COMException for me, if I try to obtain it anywhere (either in a background thread, or on the UI thread, using the Device.BeginInvokeOnMainThread method).
But, the CoreApplication.GetCurrentView() method returns a not-null value, and by that I could get the Dispatcher.
Can you try it out, or send me a built package using that code?


Bug: Include not followed by empty new line throws error

While tidying up my configuration, I just noticed that a “failed to resolve include path” error is thrown if

there is no empty line after an include statement (if the next statement is a binding, it is ignored in addition),
there is more than one space between the include keyword and the filename,
the name of the included file contains a dot.

The first should be a bug and it would be appreciated if keyd became more forgiving on the second and third.

I can't reproduce this. Can you provide a sample config?
has been fixed.
is by design (to prevent people from accidentally including '.conf' files and since fragments should generally not have a file extension)

Can you try the latest commit?


classretry now retries auth failure

Introduced in #155, By moving from sys.exit(...) to raise(...) I now see that auth failures are now retried by the classretry decorator
I'm partial to implementing a custom Exception and using that to short circuit the retry decorators  thoughts?
Currently:
[2024-09-15T11:42:55.778-0700] {logger.py:246} INFO - Retrying in 3 seconds - error: Cannot respond to request for authentication.
[2024-09-15T11:42:59.083-0700] {logger.py:246} INFO - Retrying in 5 seconds - error: Cannot respond to request for authentication.
[2024-09-15T11:43:04.566-0700] {logger.py:246} INFO - Retrying in 11 seconds - error: Cannot respond to request for authentication.
[2024-09-15T11:43:16.477-0700] {logger.py:246} INFO - Retrying in 29 seconds - error: Cannot respond to request for authentication.
[2024-09-15T11:43:46.062-0700] {logger.py:246} INFO - Retrying in 83 seconds - error: Cannot respond to request for authentication.
ERR: Failure fetching config: docker.io/ymuski/curl-http3:latest

After adding an explicit raise to the retry decorator
Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
  File "/Users/andrew.woodward/git/system/container.py", line 80, in update_images
    item.get_config()
  File "/Users/andrew.woodward/git/system/models/container.py", line 61, in get_config
    i for i in get_container_details(self.key) if i.get("architecture")
  File "/Users/andrew.woodward/git/system/libs/container/registry.py", line 132, in get_container_details
    data = client.get_manifest(container)
  File "/Users/andrew.woodward/git-untrused/oras-py/oras/decorator.py", line 36, in __call__
    return self.func(cls, *args, **kwargs)
  File "/Users/andrew.woodward/git/system/libs/container/registry.py", line 48, in get_manifest
    response = self.do_request(uri, "GET")
  File "/Users/andrew.woodward/git-untrused/oras-py/oras/decorator.py", line 57, in __call__
    raise e
  File "/Users/andrew.woodward/git-untrused/oras-py/oras/decorator.py", line 55, in __call__
    return self.func(cls, *args, **kwargs)
  File "/Users/andrew.woodward/git-untrused/oras-py/oras/provider.py", line 985, in do_request
    raise oras.auth.AuthenticationException(
oras.auth.AuthenticationException: Cannot respond to request for authentication.

That would work - could you please open a PR? I didn't do a release for that change so we should be able to still tweak and not be worried it went into a release.

closed in #158


fix(devtools-extension): Fix Devtools extension after App reafactor

Current dependencies on/for this PR:

main

PR #2330

PR #2337   👈

This comment was auto-generated by Graphite.

why did you remove the public folder? I think img should still be in there and maybe manifest unless that plugin outputs a manifest file as well

@wittjosiah plugin outputs everything including manifest and images

why did you remove the public folder? I think img should still be in there and maybe manifest unless that plugin outputs a manifest file as well

@wittjosiah plugin outputs everything including manifest and images

how does is know about the images? is assets a special path?


added tower block game

Tower block game
fixes #629

Start the game either by pressing the Spacebar or by a mouse click.
Now either by using Spacebar or mouse or even your finger try to stack the blocks as high as possible with utmost precision.
Each time you perform step 2 you get a point. If you fail to do so, no problem! use any three navigating methods to restart the game.

Deploy Preview for harmonious-stardust-e06cab ready!
Name	Link
Latest commit	458dcaf
Latest deploy log	https://app.netlify.com/sites/harmonious-stardust-e06cab/deploys/649fc3d51a6d0c0008c70b93
Deploy Preview	https://deploy-preview-665--harmonious-stardust-e06cab.netlify.app
Preview on mobile
Toggle QR Code...
To edit notification comments on pull requests, go to your Netlify site configuration.

Please merge @panwar8279


Tipe of extensions

What kind of extensions are supported by source attribute? And can I put a playlist file assuming that the video player will automatically select from that playlist using the Adaptive Bitrate Streaming. If no where can I specify the uri options for the ABS. Thank you.

Please see the documentation for AVPlayer and ExoPlayer. But if you use a HLS (.m3u8) playlist then ABS will be used.


docker-compose.yml provided in Readme doesn't work

Upon using the docker compose given in readme, the following error is emitted and it exits.
validating /home/lain/hd1/weaviate/docker-compose.yml: (root) Additional property t2v-transformers-obsidian is not allowed

Can you use it from here,
https://github.com/echo-saurav/obsidian-ai-note-suggestion/blob/main/docker/compose.yml

Hi, that worked. Thanks!


Review: Minor fixes while looking through git repo

Found some minor typos while looking through this git repo

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

Thank you!


Oresteia: Add and associate other personae and locations mentioned in investigation descriptions

When CI has passed, this PR is ready for review and merge.
If the changes toOresteia.json are too confusing because of sort effects, please let me know and I'll break up the PR a bit to distill those out.


Document limitations on startup.

Fixes #217.

I guess this doesn't really fix #217, just documents it.


Benford class tests as dict items AND @properties callable

[x] Tests as dict items (remove Boolean flags like has_summation etc)

Kept tests as attributes and left tests as a list containing strings corresponding to the tests

Kept tests as attributes and left tests as a list containing strings corresponding to the tests


Breaking change from v3 to v4

Running StardewValley as a headless server. I have everything working fine using jlesage/baseimage-gui:debian-11-v3.5. When I updated to jlesage/baseimage-gui:debian-11-v4 the app won't launch and gets the following error:
stardew  | [app         ] ./StardewValley: line 7: sw_vers: command not found
stardew  | [supervisor  ] all services started.
stardew  | [supervisor  ] service 'utils' exited (with status 126).
stardew  | [app         ] Unhandled exception. Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException: Failed to create graphics device!
stardew  | [app         ]  ---> System.NullReferenceException: Object reference not set to an instance of an object.
stardew  | [app         ]    at MonoGame.OpenGL.GL.LoadExtensions() in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\OpenGL.cs:line 1443
stardew  | [app         ]    at MonoGame.OpenGL.GraphicsContext..ctor(IWindowInfo info) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\GraphicsContext.SDL.cs:line 49
stardew  | [app         ]    at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformSetup() in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\GraphicsDevice.OpenGL.cs:line 249
stardew  | [app         ]    at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Setup() in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Graphics\GraphicsDevice.cs:line 297
stardew  | [app         ]    at Microsoft.Xna.Framework.Graphics.GraphicsDevice..ctor(GraphicsAdapter adapter, GraphicsProfile graphicsProfile, Boolean preferHalfPixelOffset, PresentationParameters presentationParameters) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Graphics\GraphicsDevice.cs:line 273
stardew  | [app         ]    at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation gdi) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 144
stardew  | [app         ]    at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice() in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 115
stardew  | [app         ]    --- End of inner exception stack trace ---
stardew  | [app         ]    at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice() in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 123
stardew  | [app         ]    at Microsoft.Xna.Framework.Game.DoInitialize() in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 941
stardew  | [app         ]    at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 465
stardew  | [app         ]    at StardewValley.Program.Main(String[] args) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\Program.cs:line 200

I'm suspecting some issue with xterm. I reviewed the adaptations from 3.x section of the docs but didn't find anything promising.
Any pointers would be appreciated.

After further troubleshooting, I think it broke when TigerVNC replaced x11vnc in V4.

I've tried taking the v4 image and removing TigerVNC and re-installing x11vnc and xvfb. I used the config files from commit 28f8215 as inspiration.
I still get the error Unhandled exception. Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException: Failed to create graphics device! when trying to launch the game.
Maybe it's something that changed with openbox between v3 and v4, but I have not idea what logs would help or what configs to check.

This might be caused by support for GTK4. Could you try with version 4.5.3 to see if you have the same issue ?

This might be caused by support for GTK4. Could you try with version 4.5.3 to see if you have the same issue ?

@jlesage thanks for chiming in. I was able to test using jlesage/baseimage-gui:debian-11-v4.5.3. I still get game crash with the following error.

The game failed to launch: Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException: Failed to create graphics device!
---> NullReferenceException: Object reference not set to an instance of an object.
at MonoGame.OpenGL.GL.LoadExtensions() in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\OpenGL.cs:line 1444
at MonoGame.OpenGL.GraphicsContext..ctor(IWindowInfo info) in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\GraphicsContext.SDL.cs:line 49
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformSetup() in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\GraphicsDevice.OpenGL.cs:line 252
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Setup() in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Graphics\GraphicsDevice.cs:line 297
at Microsoft.Xna.Framework.Graphics.GraphicsDevice..ctor(GraphicsAdapter adapter, GraphicsProfile graphicsProfile, Boolean preferHalfPixelOffset, PresentationParameters presentationParameters) in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Graphics\GraphicsDevice.cs:line 273
at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation gdi) in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 144
at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice() in D:\GitlabRunner\builds\Gq5qA5P4\2\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 115


Flow: OrderedMap is typed as a regular Map

What happened
I'd like to ensure that an parameter passed to a function is of type OrderedMap and not just an ordinary Map. However, OrderedMap simply extends Map, and all of its member functions return type Map.
How to reproduce
function mergeOrderedMaps<T, S>(
  map1: OrderedMap<T, S>,
  map2: OrderedMap<T, S>,
): OrderedMap<T, S> {
  return map1.merge(map2);

Result:
Map
This type is incompatible with
OrderedMap

I've ran into this one as well. The type in question seems to be:
https://github.com/facebook/immutable-js/blob/master/type-definitions/immutable.js.flow#L538
As @rsolomon stated OrderedMap extends Map. I'm not sure if there is an elegant way to extend Map in such a way that all its methods return an instance of this as opposed to Map. Otherwise maybe a duplication of the Map type is necessary with every occurance of Map replaced with OrderedMap.
I would be happy to PR this with a bit of guidance on how to best implement the types.
P.S. It should also be noted that toOrderedMap currently returns Map (source).

@iansinnott I'm not sure how well it would work in Flow, but the typical solution to this kind of problem in Java is to use a recursive generic. For example, Enum is defined as:
public abstract class Enum<E extends Enum<E>>
    implements Comparable<E>, Serializable

Then Enum can treat type E as the type of this. Subclasses of Enum can then pass themselves as a type parameter.

My suspicion is this line here:
https://github.com/facebook/immutable-js/blob/master/type-definitions/immutable.js.flow#L473
myOrderedMap.set() returns a Map instead of an OrderedMap

Fixed in master will release soon

Is it possible to see in which release this is fixed? Thanks!


Manny: redesign landing page

made the home into a hero section

mannyHero.png: https://patina-dev.nyc3.digitaloceanspaces.com/screenshot/Screenshot-2024-08-25T04:38:20-MReyes1241-mannyHero.png
Change-Id: If9a0f33173db3ef3daeb0bb9811ef89aca43369f

Code Review comments can be found at https://gerrithub.io/q/If9a0f33173db3ef3daeb0bb9811ef89aca43369f


[auto-merge] branch-21.10 to branch-21.12 [skip ci] [bot]

auto-merge triggered by github actions on branch-21.10 to create a PR keeping branch-21.12 up-to-date. If this PR is unable to be merged due to conflicts, it will remain open until manually fix.

FAILURE - Unable to auto-merge. Manual operation is required.
{'message': 'Pull Request is not mergeable', 'documentation_url': 'https://docs.github.com/rest/reference/pulls#merge-a-pull-request'}

Working on this.

Should be resolved with #3725

Codecov Report

:exclamation: No coverage uploaded for pull request base (branch-21.12@ec1f525). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff               @@
##             branch-21.12    #3721   +/-   ##
===============================================
  Coverage                ?   48.02%
  Complexity              ?     1772
===============================================
  Files                   ?      232
  Lines                   ?    29774
  Branches                ?     4964
===============================================
  Hits                    ?    14299
  Misses                  ?    13305
  Partials                ?     2170

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 ec1f525...1340c61. Read the comment docs.


Integrated proxy handling with AHProxySettings

defaults to reading system configuration settings

What's up? :)

Added the submodule so that your plugins can access the internet if you are behind a proxy server. Defaults to reading the system proxy server(s) and authentication information from the keychain.


Chore/ci playground DO NOT MERGE

research reviewdog a bit more... it's clearly missing invalid parts, and seems to be limited to 1 error per file when it works at all (and only worked with shellcheck in these runs :/).


404 Page not found

Hi,
Thanks for the plugin, similar I gave it a go after watching your YouTube video and  installed it through PyPi. (NetBox version v2.10.3) However getting a "Page not found error" when running the "collect_device_data".
Not sure where I can look to troubleshoot what might be going wrong.
cheers
Alexander

@alexanderdeca , I'd start with looking at those custom links you have created.
They should be pointing to https://yournetbox.com/plugins/config_officer/collect_device_config/{{ obj }}

@alexanderdeca , I'd start with looking at those custom links you have created.
They should be pointing to https://yournetbox.com/plugins/config_officer/collect_device_config/{{ obj }}

Yeah that is what I am using : 'https://<IP_ADDRESS>/plugins/config_officer/collect_device_config/{{ obj }}' and the same goes for the running-config: 'https://<IP_ADDRESS>/plugins/config_officer/running_config/{{ obj.name }}'

Hi @alexanderdeca and @jpobeda . Thank you guys.
@alexanderdeca could you check whether the plugin is installed. (go to Admin -> Admin -> Installed plugins).
I am creating the manual how to install plugin from pip. Will update readme file soon.

Hi,
The plugin is enabled, from a logging perspective i can see under nginx the
correct request with the correct path.
Thanks
On Wed, Mar 10, 2021, 20:59 artyomovs @.***> wrote:

Hi @alexanderdeca https://github.com/alexanderdeca and @jpobeda
https://github.com/jpobeda . Thank you guys.
@alexanderdeca https://github.com/alexanderdeca could you check whether
the plugin is installed. (go to Admin -> Admin -> Installed plugins).
I am creating the manual how to install plugin from pip. Will update
readme file soon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/artyomovs/netbox-plugin-config-officer/issues/3#issuecomment-796001679,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEAJEUMCHRAGTCPEG5W47KLTC7FQVANCNFSM4YYFWSDQ
.

Hi @alexanderdeca and @jpobeda . Thank you guys.
@alexanderdeca could you check whether the plugin is installed. (go to Admin -> Admin -> Installed plugins).
I am creating the manual how to install plugin from pip. Will update readme file soon.

Hi


double-nested aggregate attribute not working

The following example works with Boost.Spirit but not with Boost.Parser.
#include <vector>

#ifdef WITH_BOOST_SPIRIT
#include <boost/fusion/adapted/struct/adapt_struct.hpp>
#include <boost/spirit/include/qi.hpp>
namespace bp = boost::spirit::qi;
#else
#include <boost/parser/parser.hpp>
namespace bp = boost::parser;
#endif

struct X {
  char a;
  int b;
};

struct Y {
  std::vector<X> x;
  int c;
};

struct Z {
  std::vector<Y> y;
  int d;
};

#ifdef WITH_BOOST_SPIRIT
BOOST_FUSION_ADAPT_STRUCT(X, a, b);
BOOST_FUSION_ADAPT_STRUCT(Y, x, c);
BOOST_FUSION_ADAPT_STRUCT(Z, y, d);
#endif

int main()
{
  auto parse_x = bp::char_ >> bp::int_;
  auto parse_y = +parse_x >> bp::int_;
  auto parse_z = +parse_y >> bp::char_;

  Z z;
  std::string input = "d 2 3 c";

#ifdef WITH_BOOST_SPIRIT
  auto begin = input.begin();
  bool b = bp::phrase_parse(begin, input.end(), parse_z, bp::ascii::space, z);
#else
  auto b = bp::parse(input, parse_z, bp::ws, z);
#endif

  if (b)
    std::cout << ":-)" << std::endl;
  else
    std::cout << ":-(" << std::endl;
}

My next PR will be triple-nested attribute. I am not sure how costly (in terms of runtime performance) this is, but this is based on my real parser, and it used to work in Boost.Spirit.

Thanks again for all the great reports, including the reduced code.
I just pushed a fix.  It also tests the triple-nested case.  I don't expect this to have any runtime cost at all.


How can I use my own proxies?

There is an issue that in the course of time the script is not able to find any available proxies

I agree with you, but I tried to find the best possible solution and used the free API of the website proxyscrape to receive proxies.
If you want, you can change the API in line 87 of the code and customize the code as needed.


How to generate new image?

Hi teacher Lu.  I am new to pytorch.  I would like  to know how to use dpm-solver in a pre-trained model(DDPM)  to generate new images . Can you show me an example?

Hi @Echo-jyt , sorry for the late. I've updated the example code for DDPM checkpoint: https://github.com/LuChengTHU/dpm-solver/tree/main/examples/ddpm_and_guided-diffusion

Hi @Echo-jyt , sorry for the late. I've updated the example code for DDPM checkpoint: https://github.com/LuChengTHU/dpm-solver/tree/main/examples/ddpm_and_guided-diffusion

Thank you very much Mr. Lu


Move modal methods out of overlays library.

Followup on https://github.com/zulip/zulip/pull/27005#discussion_r1348890304

@amanagr can you explain the last commit? It seems like it has a bunch of changes that belong in the previous few commits.

@amanagr can you explain the last commit? It seems like it has a bunch of changes that belong in the previous few commits.

I just got the commit message wrong. (close_modal -> open_modal)

OK. Should I wait to merge this until you've done changes related to https://chat.zulip.org/#narrow/stream/6-frontend/topic/overlays_modals.20.2327140, or do you want to do those as a follow-up?

I would prefer to do them as follow up. Thanks!

Merged, thanks @amanagr!


Connection is kept alive when "Connection: close" is set in response headers

As stated in the official Microsoft documentation, the HttpSendHttpResponse function produces undefined results when combining the flags HTTP_SEND_RESPONSE_FLAG_DISCONNECT and HTTP_SEND_RESPONSE_FLAG_MORE_DATA in a single call (see https://msdn.microsoft.com/en-us/library/windows/desktop/aa364499(v=vs.85).aspx). This makes absolutely sense. However, in HttpSysServer (2.0.0 and earlier) when you set "Connection: close" in the response headers, the HttpSendHttpResponse function gets called (within Response.SendHeaders) with both of these flags set and afterwards when the body is going to be sent, there are no flags set. Instead the HTTP_SEND_RESPONSE_FLAG_DISCONNECT flag should have been set, so HTTP.SYS closes the connection. To reproduce the behavior mentioned, you can debug the test Microsoft.AspNetCore.Server.HttpSys.ResponseHeaderTests.ResponseHeaders_ServerSendsConnectionClose_Closed.

Sorry, wrong project, moved to https://github.com/aspnet/HttpSysServer/issues/415


Item count increases randomly

Hey there,
first off, I really like this library! 🙏
However, while experimenting with it, I noticed that my tree adds multiple clones (see video):
https://github.com/brimdata/react-arborist/assets/122524301/48502fd3-0315-47a0-bc49-fb771b195f4f
The passed data array only contains three nodes, but as you can see, they are duplicated 😕
I'm loading data using react-query (which calls an endpoint via axios), feeding it to the data prop of Tree:
export const TreeView = () => {
  // ...

  // Fetch data
  const { data } = useSuspenseQuery(getNodesQuery(id));

  // Define handlers
  const createFolder = useCreateFolder(id);

  return (
    <Suspense fallback={'Loading ..'}>
      <Button
        label="Create folder"
        onClick={() => {
          // TODO: Replace with modal/input, etc ..
          const name = folderName();
          void createFolder.mutateAsync(name);
        }}
      />
      <FillFlexParent>
        {({ width, height }) => (
          <ArboristTree
            data={data}
            height={height}
            idAccessor="someId"
            indent={16}
            width={width}
            ref={treeRef}
          >
            {NodeRenderer}
          </ArboristTree>
        )}
      </FillFlexParent>
    </Suspense>
  )
}

Any pointer in the right direction is much appreciated! 👍
Cheers,
CHE1RON

Looks like you found the issue!


Look if it is possible to setup github action

Look if it is possible to setup github action
Use it to build releases and run tests.

Setup, running tests when there is a push


How to rename a field on a async_graphql::Object?

I have a situation as shown below:
pub struct MyStruct;

#[async_graphql::Object]
impl MyStruct {
    // I want to rename this field to 'type' because the crate changes it into 'rType'
    pub async fn r#type(&self) -> i32 { 1337 }
}

I have tried applying [arg(name="type")] but that didn't work.

p
pub struct MyStruct;

#[async_graphql::Object]
impl MyStruct {
   #[field(name="type")]
    pub async fn r#type(&self) -> i32 { 1337 }
}

#[arg(name="..")] is use for fields argument.

I want to rename this field to 'type' because the crate changes it into 'rType'

If so, it's a bug and I'll see how it works.

This is a bug and you don't need to manually change the field name.

syn gives me rType and doesn't tell me it's actually an r#type, you have to rename the field manually.

That's a bummer, that's lost information. But renaming it isn't too much of a hassle either. Thanks for taking a look 👍


ft/master/mtls: Add SPIRE SDK

This vendors in the SPIRE SDK to use in the mTLS codebase.
Adds the SPIRE SDK as dependency

This will fail on CI as there is no code depending on it. Closing this as it was not a good idea yet


[1.13.1] make daemon repo rprivate

@rhatdan @mrunalp @rhvgoyal PTAL
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

LGTM


fix displayHtml

Extract only necessary changes from Sandoche's work in https://github.com/blockchain-certificates/cert-tools/pull/27

thank you @guix77!

Thank YOU @kimdhamilton :)

Hey buddies, this fix was amazing... but how will you take it to the additional_per_recipient_fields considering there's an additional "csv_column" element per recipient ??
See... you fixed it for additional_global_fields
additional_global_fields = {"fields": [{"path": "$.displayHtml","value": "Some html code"}, {"path": "$.@context","value": ["https://w3id.org/openbadges/v2", "https://w3id.org/blockcerts/v2", {"displayHtml": { "@id": "schema:description" }}]}]}
But... in the case of additional_per_recipient_fields
additional_per_recipient_fields = {"fields":[{"path": "$.nombalu","value": "|NOMBALU|","csv_column": "nombalu"}, {"path": "$.@context","value": [{"nombalu": { "@id": "schema:nombalu" }}]}]}
This throws a ....
File "/usr/local/lib/python2.7/dist-packages/cert_tools/instantiate_v2_certificate_batch.py", line 68, in instantiate_recipient cert = jsonpath_helpers.set_field(cert, field['path'], recipient.additional_fields[field['csv_column']]) KeyError: 'csv_column'
I guess I need to add something on the context as well for csv_column but so far no success...


Set last_refresh_success_date

When a refresh is successful set the :last_refresh_success_date column
Depends on:

[x] https://github.com/ManageIQ/manageiq-schema/pull/649

Oh here's the core method - very strange how vmware is different.


[FLINK-13376][datastream] ContinuousFileReaderOperator should respect…

… semantics of BoundedOneInput
What is the purpose of the change

Currently ContinuousFileReaderOperator does not respect the semantics of BoundedOneInput
If there are some operators chained with ContinuousFileReaderOperator, the endInput of these operators might be triggered before all datum finishing

Brief change log

Make ContinuousFileReaderOperator implementing BoundedOneInput
Make ContinuousFileReaderOperator blocking in endInput instead of close
Leave the blocking logic in close due to compatibility (I think the BoundedOneInput.endInput might be unstable)

Verifying this change

This change added an integration test

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Hi @pnowojski , thanks for reviewing. I have addressed the comments and updated the PR.

Hey @ifndef-SleePy, did you change anything in the code in the last two recent force pushing? Or was it just rebasing?

Hi @pnowojski ,

I fixed a code style error which caused the Travis building failure. I squashed this fixing. So I forcedly update it.
However in the first force-updating, I got some unexpected testing codes involved in. And there is a python issue which caused the Travis building failure, https://issues.apache.org/jira/browse/FLINK-13488. So I revert these testing codes and did a rebasing. This is the second force-updating.
So in a nutshell, I fixed a code style error and rebased the master branch. But unfortunately, it seems that there is some wrong with the master branch.

One more question, what's your opinion of the way of addressing review comments since the new code style guide? Shall I do the squashing myself or just append some hotfix commits? Appending comments could keep the review history but leaves the squashing step to reviewer.

Rebase master again to solve the python Travis building failure issue

Thanks for the explanation @ifndef-SleePy. I was asking because I noticed the build failures and I was wandering whether I've missed something during the reviews.

One more question, what's your opinion of the way of addressing review comments since the new code style guide? Shall I do the squashing myself or just append some hotfix commits? Appending comments could keep the review history but leaves the squashing step to reviewer.

There is no clear policy in this regard. I personally, as a contributor when I submit my PRs, I usually squash the fixup commits immediately, so usually I do not publish fixup commits in the PR. Where usually means if the fixup is trivial, didn't touch new code, etc.
Sometimes I publish fixup commit (that should be squashed before merging) if it contained something not trivial. I know that others contributors/committers have different practises in this regard (some of them are always publishing fixup commits and squash them only at the end).
As a reviewer I very rarely manually checkout the PR, so I usually ask the contributor to squash the appropriate commits together before I merge something (again, exception to this rule if the end state of the PR should be just a single commit, in that case I can squash them from the github ui with a click of one button, so I do not have to ask contributor to that ;) ).
Can you let me know once the travis is green?

Hi @pnowojski , thank you very much for feedback. Got your point. I was afraid my force-updating might mislead you.
WRT travis building, I don't know why it's so unlucky. It failed again due to unstable KafkaITCase. I have left messages under relevant jira tickets. I wish it could pass this time.

@ifndef-SleePy can you link the jira tickets for the last two failures?

@pnowojski , of course.

https://issues.apache.org/jira/browse/FLINK-12033
https://issues.apache.org/jira/browse/FLINK-12396

The python relevant error should caused by these issues below, however it's a bit messy.

https://issues.apache.org/jira/browse/FLINK-13488
https://github.com/apache/flink/commit/6dac7a7f7fd72aba903ac339f9f6bfcd44897d39, I believe

Hi @pnowojski , it failed again...
This time, the cause is https://issues.apache.org/jira/browse/FLINK-9900 which is also followed by me. I will talk to Till to merge that PR. It happens too frequently.

@ifndef-SleePy ok, I will merge this PR as those failures are almost definitely unrelated and across couple of those builds all tests had a chance to pass at least once.
Could you remove the two empty commits from the branch?

@pnowojski , done

Thanks! merging.
Indeed those test failures are problematic :/

Haha, it bothers me a lot. I think these cases would be resolved soon.
Thanks for reviewing!


Invariants docs

Does this make sense?

a token's FullText length is equivalent to Length
a token's FullText length is equivalent to Length - (Start - FullStart)

from here: https://github.com/Microsoft/tolerant-php-parser/blob/master/docs/Invariants.md

I assume the first line was a mistake, thanks.


chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml

Description

The github.com/ghodss/yaml package is no longer actively maintained. sigs.k8s.io/yaml is a permanent fork of github.com/ghodss/yaml. It is actively maintained by Kubernetes SIG, and also widely used in K8s projects.
The notable change is that github.com/ghodss/yaml uses gopkg.in/yaml.v2 v2.2.2, but sigs.k8s.io/yaml uses gopkg.in/yaml.v2 v2.4.0. Changes can be seen here v2.2.2...v2.4.0, mostly bug fixes.
Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

TBD

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

/sem-approve

/sem-approve

The failing libcalico-go seems to be related to https://github.com/projectcalico/calico/pull/7682

Removing "merge-when-ready" label due to new commits

/sem-approve


Fix completion when user already typed part of suggestion

strpart function takes "length" as a third parameter. Previous implmentation was using index.

@klew do you happen to have an example completion where this was being buggy for me to test?

@pqn I had some troubles in understandnig when this part of code should execute. For sure current code is not correct, because this method expects length as third parameter and, based on context, you wanted to get part of string between two indexes (between two columns).
One simple example where current code (with "cursor_col - 1") gives wrong behavior (set ft=cpp) :

int main(#)

"#" is a cursor. It is important to provide empty line above, because otherwise there are no suggestions.
With "cursor_col - 1" it gets ~10 suggestions, but it failes to compare str part and ClearCompletion is called, so nothing is displayed (for majority of suggestions). After change to "cursor_col - col" it works better and display all suggestions with following closing bracket included.

Ah I see the problem. I'll try to push a fix for this soon.

I think #44 has likely resolved your issues, feel free to check.

It fixed that problem I shown in previous comment, however now it seems to interfere too much when I type or use backspace.
During typing, it enters chars at the end of line, then redraw it correctly.
During using backspace, it puts remaining part of suggestion to the next line and everything below just "jumps".
Here is short video showing this behavior:
https://user-images.githubusercontent.com/205610/215292979-58f7f4f3-d4ab-4fcf-a919-d2bd1a039533.mp4


TypeError: Cannot read properties of undefined (reading '_config')

Describe the bug
What we are trying to achieve
I work for a company and we have multiple Next apps that will be consuming shared components from one Next application using Module Federation plugin. We also have multiple deployment environments so we need to make use of dynamic remote URLs.
The issue
The issue we're seeing is that we keep seeing:
⨯<EMAIL_ADDRESS>(100:0) @ loadScript
⨯ TypeError: Cannot read properties of undefined (reading '_config')
   at loadScript (webpack-internal:///./node_modules/@module-federation/utilities/dist/index.cjs.js:100:24)
   at eval (webpack-internal:///./node_modules/@module-federation/utilities/dist/index.cjs.js:413:30)
   at step (webpack-internal:///./node_modules/@module-federation/utilities/dist/index.cjs.js:358:23)
   at Object.eval [as next] (webpack-internal:///./node_modules/@module-federation/utilities/dist/index.cjs.js:299:20)
   at asyncGeneratorStep$2 (webpack-internal:///./node_modules/@module-federation/utilities/dist/index.cjs.js:215:28)
   at _next (webpack-internal:///./node_modules/@module-federation/utilities/dist/index.cjs.js:233:17)
   at eval (webpack-internal:///./node_modules/@module-federation/utilities/dist/index.cjs.js:238:13)
   at new Promise (<anonymous>)
   at eval (webpack-internal:///./node_modules/@module-federation/utilities/dist/index.cjs.js:230:16)
   at injectScript (webpack-internal:///./node_modules/@module-federation/utilities/dist/index.cjs.js:421:21)
   at eval (webpack-internal:///./src/pages/index.js:21:100)
   at ./src/pages/index.js (/Users/user-name/work/nextmf-styled-issue/host/.next/server/pages/index.js:325:1)
   at __webpack_require__ (/Users/user-name/work/nextmf-styled-issue/host/.next/server/webpack-runtime.js:278:33)
   at eval (webpack-internal:///./node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F&preferredRegion=&absolutePagePath=.%2Fsrc%2Fpages%2Findex.js&absoluteAppPath=private-next-pages%2F_app&absoluteDocumentPath=private-next-pages%2F_document&middlewareConfigBase64=e30%3D!:22:77)
   at ./node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F&preferredRegion=&absolutePagePath=.%2Fsrc%2Fpages%2Findex.js&absoluteAppPath=private-next-pages%2F_app&absoluteDocumentPath=private-next-pages%2F_document&middlewareConfigBase64=e30%3D! (/Users/user-name/work/nextmf-styled-issue/host/.next/server/pages/index.js:138:1) {
 page: '/'

We're using injectScript to load the remote container at runtime. I've created a very simple repo that shows the issue we're seeing.
Reproduction
https://github.com/muhanad40/mf-issue
Used Package Manager
npm
System Info
System:
    OS: macOS 14.4
    CPU: (12) arm64 Apple M2 Pro
    Memory: 763.23 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
    npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm
  Browsers:
    Chrome: 122.0.6261.112
    Edge: 122.0.2365.80
    Safari: 17.4

Validations

[X] Read the docs.
[X] Read the common issues list.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Module federation issue and not a framework-specific issue.
[X] The provided reproduction is a minimal reproducible example of the bug.

Don't use utilities. Use module-federation/runtime which has all and more

@ScriptedAlchemy thank you for your reply. I've tried your suggestion and now I'm seeing the component is rendering, but getting the following behaviour:

Initially, I get hydration issue:

Then after a while, the SSR stops working and it switches to client-side rendering. When that happens, the terminal shows this error:
componentsremote/MyComponent offline Error: [ Federation Runtime ]:
    Unable to locate componentsremote/MyComponent in hostapp. Potential reasons for failure include:

    1. componentsremote/MyComponent was not included in the 'remotes' parameter of hostapp.

    2. componentsremote/MyComponent could not be found in the 'remotes' of hostapp with either 'name' or 'alias' attributes.
    3. componentsremote/MyComponent is not online, injected, or loaded.
    4. componentsremote/MyComponent  cannot be accessed on the expected.
    5. The 'beforeRequest' hook was provided but did not return the correct 'remoteInfo' when attempting to load componentsremote/MyComponent.

at error (webpack-internal:///./node_modules/@module-federation/runtime/dist/share.esm.js:63:11)
at assert (webpack-internal:///./node_modules/@module-federation/runtime/dist/share.esm.js:55:9)
at FederationHost._getRemoteModuleAndOptions (webpack-internal:///./node_modules/@module-federation/runtime/dist/index.esm.js:1319:57)
at async FederationHost.loadRemote (webpack-internal:///./node_modules/@module-federation/runtime/dist/index.esm.js:1367:64)

I've pushed a commit to the reproduction repository so you can see what I tried
What am I missing?

@ScriptedAlchemy But the runtime does not have an injectScript counterpart or I could not find. I am also using remotes on nextjs and had the same issue.

@muhanad40 it seems your repo is private and I cannot access to see your latest commit.

@rahimimo Sorry about that, thanks for letting me know. I've just updated the settings.

https://github.com/module-federation/universe/blob/main/packages/nextjs-mf/README.md?plain=1#L136
Here it says you should use lazy instead, have you tired?
I also had some similar case and fixed it by adding a state and set it to true on useEffect with an empty dependecny array to maake sure I am not rendering anything on server and conditionally on client.

@rahimimo I'm actually trying to have it render on the server which is why it's causing an issue.
@ScriptedAlchemy I appreciate you're a busy guy, but I would appreciate it if you take a look again and let me know what I'm missing here. Thanks

dont use next/dynamic, use react.lazy

@ScriptedAlchemy thanks, I have and it sort of worked, but as I mentioned above, I'm getting hydration issue when hot reloading is kicking in. Whenever I save a file while in dev mode, the hydration error pops up. I've put the revalidate logic in place too. What am I missing here?

  static async getInitialProps(ctx) {
    if (ctx.pathname) {
      if (!ctx.pathname.endsWith('_error')) {
        await revalidate().then((shouldUpdate) => {
          if (shouldUpdate) {
            console.log('should HMR', shouldUpdate);
          }
        });
      }
    }

    const initialProps = await Document.getInitialProps(ctx);

    const chunks = await flushChunks();

    return {
      ...initialProps,
      chunks,
    };

Revalidate upfront not after the fact. otherwise you will get stale response on first reload

@ScriptedAlchemy Still getting the hydration issue. Here's what I have:
_app.js (I'm running another nextjs app in parallel that exposes a component)
init({
  name: "hostapp/hostapp",
  remotes: [
    {
      name: "componentsremote",
      entry: `http://localhost:3003/_next/static/chunks/remoteEntry.js`,
      alias: "componentsremote",
    },
  ],
  force: true,
});

_document.js
static async getInitialProps(ctx) {
  if (
    process.env.NODE_ENV === "development" &&
    ctx.req && // <-- Had to add this because I was getting "Cannot read properties of undefined (reading 'url')"
    !ctx.req.url.includes("_error")
  ) {
    await revalidate().then((shouldReload) => {
      if (shouldReload) {
        ctx.res.writeHead(302, { Location: ctx.req.url });
        ctx.res.end();
      }
    });
  } else {
    ctx?.res?.on("finish", () => {
      revalidate();
    });
  }
  const initialProps = await Document.getInitialProps(ctx);
  const chunks = await flushChunks();

  return {
    ...initialProps,
    chunks,
  };
}

index.js (Where I'm trying to load my remote component)
import { Suspense, lazy } from "react";

const MyComponent = lazy(() => loadRemote("componentsremote/MyComponent"));

export default function Home() {
  return (
    <div>
      <Suspense fallback={"loading"}>
        <MyComponent />
      </Suspense>
    </div>
  );
}

@ScriptedAlchemy I've also cloned the nextjs-ssr example and used init and loadRemote and still got the same hydration error. Is this a bug?

Static chunks path is the browser remote. Are you registering both browser and server remotes depending on env?

Server remote is static/ssr. You need to conditionally register per env.

I initially tried using init with a conditional like this (below), but for some reason it wasn't working. It was always using the chunks URL so I added a runtime plugin which does a string replacement (which I forgot to add in my sample code above):
const isServer = typeof window !== undefined;
init({
  name: "hostapp/hostapp",
  remotes: [
    {
      name: "componentsremote",
      entry: `http://localhost:3003/_next/static/${isServer ? 'ssr' : 'chunks'}/remoteEntry.js`,
      alias: "componentsremote",
    },
  ],
  force: true,
  plugins: [runtimePlugin()],
});

This is the plugin:
const runtimePlugin = function () {
  return {
    name: "my-runtime-plugin",
    beforeRequest(args) {
      let isServer = !globalThis["document"];

      if (isServer) {
        // Need to replace 'chunks' with 'ssr' in the entry URL for SSR
        args.options.remotes[0].entry = args.options.remotes[0].entry.replace(
          "chunks",
          "ssr"
        );
      }
      return args;
    },
  };
};

I added https://github.com/module-federation/module-federation-examples/tree/master/nextjs-dynamic-ssr dynamic example. I also found bug in the internal nextjs runtime plugin which may have messed with it.

One thing i noticed here though, if you have nested remotes, you will want to ensure those also have init or registerRemote within them as well.
since _app only applies to the app level, if you have a page that uses a remote from app, and another host uses that page, it wont have the remotes registered in _app to work with.

Thank you for uploading an example, it worked! You must be a busy guy and the fact that this is open source, I really appreciate you taking the time to look into this issue and responding quickly. All the best :)

Luckily Federation gets subsidized/sponsored by ByteDance Infra team these days, so we have more resourced on federation :)
Happy to help!


[2.0]Render method creating element svg in IE/MS Edge not working correctly

Vue.js version
2.0.0-rc.6
Reproduction Link
https://jsfiddle.net/uriziel01/s9nr8znh/
Steps to reproduce
Watch the fiddle result ;)
What is Expected?
Yellow circle should appear.
What is actually happening?
Nothing appears. If You inspect DOM the element is there, just not visible at all.
Everything works fine in Chrome/Firefox/Opera. It just fails in IE/Edge.
EDIT:
And a small coment from last moment, I've just checked that fiddle on 14931 insider build of Windows 10 (public beta version) and it seems that Edge is fixed there, but IE still failing. And and of course in regular Windows 10 build both of them are still failing.

This is not related to Vue - setting innerHTML of SVG elements simply doesn't work in IE: https://jsfiddle.net/yyx990803/zsg36wjq/

IE doesn't currently support the innerHTML method on SVG Elements. The alternative solutions is the InnerSVG polyfill which allegedly works in Internet Explorer 9 and newer.
https://jsfiddle.net/zsg36wjq/3/


spark, dep upgrades

Coverage decreased (-0.5%) to 85.067% when pulling b18a9c189af8c9b76ad3e76cfce38506576b07df on ryan-williams:h into 3dfc80f2153f2f74430098cd779a69e28463128f on hammerlab:sbt.

Coverage decreased (-0.5%) to 85.067% when pulling ac125ddb1af5ff3336447da985b3c19d75a65be4 on ryan-williams:h into 3dfc80f2153f2f74430098cd779a69e28463128f on hammerlab:sbt.


Add ARM64 repo url for Ubuntu in verify_repository_installed case

In ARM64 Ubuntu, the repo url is http://ports.ubuntu.com/ubuntu-ports.

What's the reason to close it?


Plex Space-grey stopped working (other than the accent color) today

example:
https://i.imgur.com/dIhrYNs.jpg
log:
2021-03-24T11:09:17.809780024Z [mod-init] Attempting to run Docker Modification Logic
2021-03-24T11:09:18.253503890Z [mod-init] Applying gilbn/theme.park:plex files to container
2021-03-24T11:09:19.308246310Z [mod-init] gilbn/theme.park:plex at sha256:13c8710254ffbe4b464cd658c3d8691292e747b771f1ee4df77519c266c00e0c has been previously applied skipping
2021-03-24T11:09:19.332827829Z [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
2021-03-24T11:09:19.419641273Z [s6-init] ensuring user provided files have correct perms...exited 0.
2021-03-24T11:09:19.421174830Z [fix-attrs.d] applying ownership & permissions fixes...
2021-03-24T11:09:19.422113155Z [fix-attrs.d] done.
2021-03-24T11:09:19.423328542Z [cont-init.d] executing container initialization scripts...
2021-03-24T11:09:19.427012236Z [cont-init.d] 01-envfile: executing...
2021-03-24T11:09:19.461716832Z [cont-init.d] 01-envfile: exited 0.
2021-03-24T11:09:19.463771264Z [cont-init.d] 10-adduser: executing...
2021-03-24T11:09:19.522830106Z usermod: no changes
2021-03-24T11:09:19.523219419Z
2021-03-24T11:09:19.523246383Z -------------------------------------
2021-03-24T11:09:19.523256056Z           _         ()
2021-03-24T11:09:19.523264066Z          | |  ___   _    __
2021-03-24T11:09:19.523271922Z          | | / __| | |  /  \
2021-03-24T11:09:19.523280038Z          | | \__ \ | | | () |
2021-03-24T11:09:19.523288294Z          |_| |___/ |_|  \__/
2021-03-24T11:09:19.523296443Z
2021-03-24T11:09:19.523304066Z
2021-03-24T11:09:19.523311660Z Brought to you by linuxserver.io
2021-03-24T11:09:19.523319689Z -------------------------------------
2021-03-24T11:09:19.523327527Z
2021-03-24T11:09:19.523335127Z To support LSIO projects visit:
2021-03-24T11:09:19.523342937Z https://www.linuxserver.io/donate/
2021-03-24T11:09:19.523350775Z -------------------------------------
2021-03-24T11:09:19.523358670Z GID/UID
2021-03-24T11:09:19.523366411Z -------------------------------------
2021-03-24T11:09:19.530986260Z
2021-03-24T11:09:19.531015329Z User uid:    1000
2021-03-24T11:09:19.531024838Z User gid:    100
2021-03-24T11:09:19.531033047Z -------------------------------------
2021-03-24T11:09:19.531041787Z
2021-03-24T11:09:19.559514525Z [cont-init.d] 10-adduser: exited 0.
2021-03-24T11:09:19.561630160Z [cont-init.d] 40-chown-files: executing...
2021-03-24T11:09:19.579670497Z [cont-init.d] 40-chown-files: exited 0.
2021-03-24T11:09:19.581782879Z [cont-init.d] 45-plex-claim: executing...
2021-03-24T11:09:19.590382060Z [cont-init.d] 45-plex-claim: exited 0.
2021-03-24T11:09:19.592445904Z [cont-init.d] 50-gid-video: executing...
2021-03-24T11:09:19.620292354Z [cont-init.d] 50-gid-video: exited 0.
2021-03-24T11:09:19.622261584Z [cont-init.d] 60-plex-update: executing...
2021-03-24T11:09:19.931304965Z No update required
2021-03-24T11:09:19.932109324Z [cont-init.d] 60-plex-update: exited 0.
2021-03-24T11:09:19.934290258Z [cont-init.d] 98-themepark: executing...
2021-03-24T11:09:19.940622858Z -------------------------
2021-03-24T11:09:19.940655360Z |  Plex theme.park Mod  |
2021-03-24T11:09:19.940685218Z -------------------------
2021-03-24T11:09:19.940694447Z Variables set:
2021-03-24T11:09:19.940702596Z 'TP_DOMAIN'=
2021-03-24T11:09:19.940710734Z 'TP_THEME'=space-gray
2021-03-24T11:09:19.940718662Z
2021-03-24T11:09:19.940731321Z No domain set, defaulting to gilbn.github.io
2021-03-24T11:09:19.948995709Z [cont-init.d] 98-themepark: exited 0.
2021-03-24T11:09:19.951038672Z [cont-init.d] 99-custom-scripts: executing...
2021-03-24T11:09:19.963201387Z [custom-init] no custom files found exiting...
2021-03-24T11:09:19.964054718Z [cont-init.d] 99-custom-scripts: exited 0.
2021-03-24T11:09:19.965302893Z [cont-init.d] done.
2021-03-24T11:09:19.966408671Z [services.d] starting services
2021-03-24T11:09:19.982085721Z [services.d] done.
2021-03-24T11:09:19.982301161Z Starting Plex Media Server.

other themes seem not to be working either..

Plex have updated all the class names.

Yep, just wanted to chime in that aquamarine is also broken. Very helpful of them!

https://github.com/gilbN/theme.park/pull/166 should fix it, try and clear cache

No, doesn't seem to work. I've redeployed my Plex stack and tried two different browsers. Looks like plain old Plex now.

Try and clear cache

Yes, works now :)

Great work thank you!


Example scripts get stuck in a loop

The following script (run from the top level of the repo) fails badly on my machine (gets stuck in a loop spawning RuntimeErrors)
cd doc
python example_NIRISS.py
python example_analysis.py

Interestingly, @vandalt reports that the same script works on his install ! so let's see if we can figure out what's the important difference here:
OS : OSX 11.4
Python version: 3.9.4
matplotlib version : 3.4.2
Astropy version : 4.2.1
amical version : current master (19e522ea8d97504d540c7f556e4fdfb264c78c93)
I installed Python with pyenv + virtualenv, then AMICAL and its deps with python -m pip install -e .

I just tested with the same configuration (appart from the OS) and it worked. I also installed Python with pyenv and created an environemnt with pyenv-virtualenv, then installed with python -m pip install -e ..
Here's my summary:
Linux-5.12.12-300.fc34.x86_64-x86_64-with-glibc2.33 (Fedora)
Python 3.9.4 (default, Jun 30 2021, 15:04:22)
[GCC 11.1.1 20210531 (Red Hat 11.1.1-3)]
numpy 1.21.0
astropy 4.2.1
matplotlib 3.4.2
amical version: current master (19e522e)

ok, let's play a game. If the OS is the only problem, which actually seems likely because @DrSoulain is also running OsX and reported having the same problem offline, we should be able to see it in CI. I'll open a dummy PR to try to expose this

Fixed with #72


Fixes issue building any app that consumes this package via SPM

There was a recent change that added support for .tvOS(.v9) .watchOS(.v10) without updating the swift tools version to match

See: https://github.com/newrelic/newrelic-ios-agent/pull/291
This causes an error building any app that consumes this package via SPM

PackageDescription.SupportedPlatform:99:27: note: 'v10' was introduced in PackageDescription 5.9
        public static let v10: PackageDescription.SupportedPlatform.WatchOSVersion
                          ^ in https://github.com/newrelic/newrelic-ios-agent-spm

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

Hi @ ranunez, Thank you for reporting this and propsoing the fix. We are integrating the fix you provided into the fixed 7.5.1 release that is available with this url. https://github.com/newrelic/newrelic-ios-agent-spm . We are fixing this for this repository asap. I would merge your PR but you must accept the CLIAssistant above.

Hi @ ranunez, Thank you for reporting this and propsoing the fix. We are integrating the fix you provided into the fixed 7.5.1 release that is available with this url. https://github.com/newrelic/newrelic-ios-agent-spm . We are fixing this for this repository asap. I would merge your PR but you must accept the CLIAssistant above.

Done, thank you!


Cannot cast number of type numeric into byte

CrateDB version
5.5.2, 5.6.2
CrateDB setup information
I think it's not relevant.
Steps to Reproduce
SELECT
  ABS(CAST((1) AS NUMERIC) * SQRT(3))

Actual Result
SQLParseException[Cannot cast 1.7320508075688772 of type numeric to type byte
Expected Result
1.7320508075688772 (This query runs fine in Postgres)

Interesting .... I think most of the mathematical scalar functions are only implemented for primitive numerics:

DOUBLE
FLOAT
BYTE
SHORT
INTEGER
LONG

cr> SELECT abs(power(2,7)::NUMERIC);
SQLParseException[Cannot cast `128.0` of type `numeric` to type `byte`]

cr> SELECT abs(power(2,6)::NUMERIC);
+----+
| 64 |
+----+
| 64 |
+----+
SELECT 1 row in set (0.008 sec)

SELECT abs(127::NUMERIC);
> 127
SELECT abs(128::NUMERIC);
> SQLParseException[Cannot cast `128` of type `numeric` to type `byte`]
SELECT ceil(128::NUMERIC);
> SQLParseException[Cannot cast `128` of type `numeric` to type `byte`]

Thanks for reporting and further investigating @surister @proddata . I also think that we need to add abs(numeric) -> numeric variant which is required to prevent any loss of precision. We could reference https://www.postgresql.org/docs/current/functions-math.html to see what other scalars require f(numeric) -> numeric variant.

Confirmed:
abs
ceil
ceiling
exp
floor
round
sqrt

This leads to breaking changes, for example round, CrateDB documents that it Returns: bigint or integer, however in order to be Postgres compatible, we need round(numeric) -> numeric overload. I think this could also be postponed to 5.7.

Thank you @surister for reporting this enhancement for NUMERIC support.
There are 2 more PRs in the queue, which add support to more math functions:
https://github.com/crate/crate/pull/16824
https://github.com/crate/crate/pull/16825


Review Annotations

I'm half-way done with the annotations but before proceeding further I thought I'd share all the assumptions I've made and resolve any conflicting decisions before moving forward.
Marked

peanut used as a metaphor [04]
’s version of poutine [09]
Generic Terms

seafood [22]
curry [31]
sauce [20]
fruit used by itself [22]
veggie used as vegetable [22] 1

Typos

“choy suey” instead of chop-suey [25]
“dan fan noodle” instead of dan-dan-noodle [42]

Skipped

vegetarian used by itself [07] 3
vanilla used by itself [23]
veggie used as vegetable [19] 1
gluten-free and vegan used by themselves [09, 14]
Adjectives like

place-name in PLACE_NAME + FOOD_ITEM formats (eg. Montreal sandwich)
smoked in “smoked meat” [03, 16]
instant in “instant noodles” [20]
tower in “onion ring tower” [23]
organic in “organic cream cheese” [28]
grilled in “grilled pork banh mi” [29]
fried

in “fried rice” [31] 2
in “fried __ fish” [31]

homemade

in “homemade ice cream” [37]
in “homemade chilly oil” [42]

sweet in “sweet potato wedges” [38]
pink in “pink dragon roll” [39]
fresh in “fresh juices” [40]
spicy

in “spicy peanut sauce” [42]
in “Spicy Horse Tartare” [46]

chilly in “chilly oil” [42]
bubble in “bubble tea” [44]
ice in “ice tea” [44] 4
milk in “milk tea” [44] 5
roasted

in “roasted oolong milk tea” [44]
in “roasted bone marrow” [46]

supernova in “supernova kumquat lemonade” [44]
cured in “cured bacon” [47]
house cured

in “house cured bacon” [47]
in “house cured peameal bacon” [47]
in “House Cured Meat” [46]

griddled in “griddled __ potatoes” [47]
crispy in “crispy ___ potatoes” [47]
poached in “poached eggs” [

Classification terms like [“brunch”, “breakfast”, “lunch”, “salty”, “X-food”6, “treats”, “vegan”, “gluten”, “dessert”]

1 veggie can mean both vegetable (valid-case) and vegetarian (invalid-case)
2 in 31.txt I’ve annotated “basil fried rice” but not it’s subset “fried rice”
3 but included when used like [“vegetarian platter”]
4 but I’ve included “peach ice tea” because the otherwise in-valid term ice (as in iced) is trapped between peach and tea which are both valid terms, both individually and together.
5 but I’ve annotated milk separately and “oolong milk tea” is also tagged because oolong is a specific enough descriptor.
6 for example "chinese food", "vietnamese food", etc.

BTW this is the list of text files without any mentions of a food item
0-list [6, 10, 13, 17, 24, 26, 30, 36, 45, 48]

I've been marking sauce as well. The heuristic I used was - If I see this
ngram separately, as the only ngram to classify, would I label it as food
or not. So like Yogesh had mentioned, you can keep the organic in "organic
cream cheese". Also, I kept the place name in most places because if we see
"New York Cheesecake", we will think that it's a food item.
On Mon, Feb 19, 2018 at 11:23 AM, Yogesh Chellappa Chockalingam <
<EMAIL_ADDRESS>wrote:

Merged #1 https://github.com/yogeshchellappa/cs839DataScience/pull/1.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/yogeshchellappa/cs839DataScience/pull/1#event-1481003293,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ3ghKff9t3cgQhUfyP61QN9XgCrJZBgks5tWa4SgaJpZM4SKMJ9
.

Thanks for that feedback guys. I will fix the annotated reviews to include words like “vanilla” and “sauce”.
I like your heuristic Sukanyna and, its similar to what I’ve been using myself but, while judging the 1-grams like spicy, grilled, cured, iced, organic... in isolation I didn’t find them to satisfy our definition of a food item. And, as far as complete dish names like new york cheesecake and philly cheese steak go, I was trying to follow the professor’s advice about not including adjectives and I coudln't justify it to myself why they should be treated differently from say "fresh whipped creme" which I would have annotated as fresh whipped <creme/>


Required DNS resolution for owned DNS (option 3) and Azure DNS resolution : clarification neeeded !

Hello,
In the documentation, with DNS internally managed (option 3), the requirement for Purview is 21 DNS names to be resolved to the different Private Endpoints (12 for the "portal" private endpoint, 6 for "account PE, 3 for managed ressources).
I have compared with a Full Azure implementation, so a VM in Azure + a purview account called "prvw" with no public access + the 5 purview Private Endpoints in the same VNet that the VM and private DNS zones automatically created during setup.
I ran a powershell script to resolve the 21 names, results are in the attached file.
PurviewDNSnamesResolvedIPOnly.csv
2 records are surprising :

'gateway.purview.azure.com' that is still resolved externally to purview-gateway-prod.northeurope.cloudapp.azure.com <IP_ADDRESS>
'prvw.web.purview.azure.com' : Not resolved ! (and even for public purview, these kind of record it is never resolved)

Others records are resolved like it is recommended in the documentation at the option 3 paragraph.
What is the status of these records ? Are they still accurate ?
Also, as 'prvw.web.purview.azure.com' is not resolved, and all others DNS records that refer to portal account have generic public names, is the purpose of the portal private endpoint only for 'public' flows ?
I tried to access the portal website with the purview account, without the portal private endpoint (only PE account and PE managed resources), it works fine.
Thanks for your clarification if you have one !

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

ID: c3e508b9-b337-b889-3bf2-dc9b7170c3a7
Version Independent ID: 98fdbfa4-b1b8-60a5-fc1d-0ae5533d01a6
Content: Configure DNS Name Resolution for private endpoints - Azure Purview
Content Source: articles/purview/catalog-private-link-name-resolution.md
Service: purview
Sub-service: purview-data-catalog
GitHub Login: @viseshag
Microsoft Alias: viseshag

@jephlu Thanks for the feedback! We are currently investigating and will update you shortly.

@jephlu - Thank you for reaching out!
Firstly, the portal private endpoint is only for securing traffic that renders UI assets which are static (and not specific to an Azure Purview account). Thus, accessing Azure Purview studio without portal private endpoint will work fine.
Some customers want to block outbound traffic from their VNET completely and/or secure entire outbound traffic with PEs. So portal PE is also supported.
As to the other endpoints you asked about: we are confirming those endpoints presently and will update the documentation accordingly.

@jephlu thank you for the feedback. I would like to provide an update on your request:
'gateway.purview.azure.com'  (required)
‘.web.purview.azure.com'  (Not needed and removed from docs)

#please-close

@jephlu - Thank you for reaching out!
Firstly, the portal private endpoint is only for securing traffic that renders UI assets which are static (and not specific to an Azure Purview account). Thus, accessing Azure Purview studio without portal private endpoint will work fine. Some customers want to block outbound traffic from their VNET completely and/or secure entire outbound traffic with PEs. So portal PE is also supported.
As to the other endpoints you asked about: we are confirming those endpoints presently and will update the documentation accordingly.

Hello @whhender
Thanks for the information shared.
It confirms that the portal PE is only for public resources, great!
It is better whan having multiple purviews in one network :)

@jephlu thank you for the feedback. I would like to provide an update on your request:
'gateway.purview.azure.com' (required) ‘.web.purview.azure.com' (Not needed and removed from docs)

Hello @zeinab-mk,
Thanks for the update!
To be sure, as 'gateway.purview.azure.com' is routed to internet when used with private DNS zone and the PE account, the requirement is to route it to internet or the private endpoint ? :)


make cache size limit configurable

Is your feature request related to a problem? Please describe.
Currently an in-memory cache with LRU eviction policy is used with a hardcoded max_entries limit.
Describe the solution you'd like
It should be possible to configure the cache with a size limit, i.e. the maximum amount of memory used by the cached entries. While it won't be possible to calculate an exact heap memory footprint an approximation should be fine.

fixed via #18


Regression: Server responded with 0:

The following snippet is created some days ago, and it compiled at that time.
https://scalafiddle.io/sf/jTAPDnW/0
Unfortunately, it does not compile now. Instead, the error message Server responded with 0: is shown.

Works for me just fine. Did you try making some whitespace-only change to force a recompile, in case there is some caching issue?

It seems the server was down when I report this issue, other snippets did not compile at that time.
Fortunately it is good for now.