terminal.integrated.shellIntegration.suggestEnabled causes terminal to hang

Type: Bug
With a default install of insiders terminal.integrated.shellIntegration.suggestEnabled causes the terminal to hang indefinitely when typing a hyphen. I've confirmed this occurs with no user settings, keybindings, extensions, and no pwsh profile.
Steps to repro:

Enable terminal.integrated.shellIntegration.suggestEnabled
Use a Windows machine where pwsh is the default shell
Open a terminal in the editor area
Attempt to type "New-Item"
Notice the terminal hangs after typing the hyphen

pwsh version: 7.4.1
VS Code version: Code - Insiders 1.87.0-insider (c11a2dd4d52e38cb92b8c464f47a7b02bb7c8762, 2024-02-24T01:20:40.384Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.90GB (6.69GB free)

Process Argv
--crash-reporter-id 54db9670-eaa5-47d8-bf72-67f5b08588ec

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
vsaa593cf:30376535
py29gd2263:30784851
c4g48928:30535728
2i9eh265:30646982
962ge761:30841072
pythongtdpath:30726887
welcomedialog:30812478
pythonidxpt:30768918
pythonnoceb:30776497
asynctok:30898717
dsvsc013:30777762
dsvsc014:30777825
dsvsc015:30821418
pythontestfixt:30866404
pythonregdiag2:30926734
pyreplss1:30879911
pythonmypyd1:30859725
pythoncet0:30859736
2e7ec940:30968132
pythontbext0:30879054
accentitlementst:30870582
dsvsc016:30879898
dsvsc017:30880771
dsvsc018:30880772
bf62j303:30968145
pydisww1:30959800
cppperfcontrol:30963551
8082a590:30961435
edj9j583:30969294
fegfb526:30952798
7j2b6412:30951517
bg6jg535:30946824
ccp2r3:30958153
pythonait:30968500

Yep, don't use this setting.
I think I'll change the setting to include "experimental" so it's more obvious that it might not work (just in the description currently).

Issue marked as unreleased but unable to locate closing commit in repo history. If this was closed in a separate repo you can add the insiders-released label directly, or comment \closedWith someShaThatWillbeReleasedWhenThisIsRelesed.


The 'startup' page using the OpenWRT Luci theme, results in "XHR request timed out"

I could not find a report of a similar problem as the subject.
Basically what is the System -> Startup page supposed to do, and what would contribute to the indicated error, "XHR request timed out", and a continual 'loading...' message.
Thanks
John Clark.

Here's something like this is when you manually stop loading the page
https://user-images.githubusercontent.com/47670442/76365543-46fa8c00-6306-11ea-8719-3503d2a95603.png

A broken init script could cause it. Please provide the current output of ls -lh /etc/init.d/

What is meant by 'a broken init script'?
Here's the output of the listing on /etc/init.d
root@RaptorXR-10:/www#  ls -lh /etc/init.d/
-rwxr-xr-x    1 root     root          64 Nov 22 17:53 WSRadioDown
-rwxr-xr-x    1 root     root         692 Nov 22 17:53 atd
-rwxr-xr-x    1 root     root        1.4K Nov 22 17:53 boot
-rwxr-xr-x    1 root     root        7.9K Nov 22 17:53 collectd
-rwxr-xr-x    1 root     root         324 Nov 22 17:53 conntrackd
-rwxr-xr-x    1 root     root         821 Nov 22 17:53 cron
-rwxr-xr-x    1 root     root         367 Nov 22 17:53 ddns
-rwxr-xr-x    1 root     root         340 Nov 22 17:53 diagBoot
-rwxr-xr-x    1 root     root       29.4K Nov 22 17:53 dnsmasq
-rwxr-xr-x    1 root     root         255 Nov 22 17:53 done
-rwxr-xr-x    1 root     root        5.8K Nov 22 17:53 dropbear
-rwxr-xr-x    1 root     root         997 Nov 22 17:53 firewall
-rwxr-xr-x    1 root     root        5.6K Nov 22 17:53 fwknopd
-rwxr-xr-x    1 root     root        1013 Nov 22 17:53 gpio_switch
-rwxr-xr-x    1 root     root         841 Nov 22 17:53 gpsd
-rwxr-xr-x    1 root     root        3.4K Nov 22 17:53 led
-rwxr-xr-x    1 root     root         685 Nov 22 17:53 lighttpd
-rwxr-xr-x    1 root     root         214 Nov 22 17:53 lm-sensors
-rwxr-xr-x    1 root     root        2.3K Nov 22 17:53 log
-rwxr-xr-x    1 root     root         652 Nov 22 17:53 luci_statistics
-rwxr-xr-x    1 root     root         323 Nov 22 17:53 lvm2
-rwxr-xr-x    1 root     root        2.6K Nov 22 17:53 network
-rwxr-xr-x    1 root     root         292 Nov 22 17:53 odhcpd
-rwxr-xr-x    1 root     root         391 Nov 22 17:53 qos
-rwxr-xr-x    1 root     root        2.3K Nov 22 17:53 relayd
-rwxr-xr-x    1 root     root         368 Nov 22 17:53 rpcd
-rwxr-xr-x    1 root     root         232 Nov 22 17:53 rsyncd
-rwxr-xr-x    1 root     root        9.5K Nov 22 17:53 snmpd
-rwxr-xr-x    1 root     root         749 Nov 22 17:53 snort
-rwxr-xr-x    1 root     root        8.2K Nov 22 17:53 stunnel
-rwxr-xr-x    1 root     root        1.2K Nov 22 17:53 sysctl
-rwxr-xr-x    1 root     root         662 Nov 22 17:53 sysfixtime
-rwxr-xr-x    1 root     root        1.2K Nov 22 17:53 sysfsutils
-rwxr-xr-x    1 root     root         248 Nov 22 17:53 syslog-ng
-rwxr-xr-x    1 root     root        2.1K Nov 22 17:53 sysntpd
-rwxr-xr-x    1 root     root         986 Nov 22 17:53 system
-rwxr-xr-x    1 root     root        1.3K Nov 22 17:53 ucitrack
-rwxr-xr-x    1 root     root        5.3K Nov 22 17:53 uhttpd
-rwxr-xr-x    1 root     root         125 Nov 22 17:53 umount
-rwxr-xr-x    1 root     root         239 Nov 22 17:53 urandom_seed
-rwxr-xr-x    1 root     root         220 Nov 22 17:53 urngd
-rwxr-xr-x    1 root     root         195 Nov 22 17:53 vsftpd

Whats happens if you invoke ubus call luci getInitList via SSH?

While it does take a little time to return with a list, it does return a list. The web page, just hangs.
John
---- output of root@RaptorXR-10:/www#  ubus call luci getInitList
root@RaptorXR-10:/www#  ubus call luci getInitList
{
"stunnel": {
"index": 90,
"enabled": true
},
"gpio_switch": {
"index": 94,
"enabled": true
},
"odhcpd": {
"index": 35,
"enabled": true
},
"rpcd": {
"index": 12,
"enabled": true
},
"dropbear": {
"index": 19,
"enabled": true
},
"rsyncd": {
"index": 90,
"enabled": true
},
"led": {
"index": 96,
"enabled": true
},
"ucitrack": {
"index": 80,
"enabled": true
},
"cron": {
"index": 50,
"enabled": true
},
"fwknopd": {
"index": 95,
"enabled": true
},
"collectd": {
"index": 80,
"enabled": true
},
"snmpd": {
"index": 50,
"enabled": true
},
"uhttpd": {
"index": 50,
"enabled": true
},
"done": {
"index": 95,
"enabled": true
},
"system": {
"index": 10,
"enabled": true
},
"lm-sensors": {
"index": 28,
"enabled": true
},
"gpsd": {
"index": 50,
"enabled": true
},
"ddns": {
"index": 95,
"enabled": true
},
"luci_statistics": {
"index": 79,
"enabled": true
},
"qos": {
"index": 50,
"enabled": true
},
"WSRadioDown": {
"index": 255,
"enabled": false
},
"vsftpd": {
"index": 50,
"enabled": true
},
"lighttpd": {
"index": 50,
"enabled": true
},
"umount": {
"index": 255,
"enabled": false
},
"urngd": {
"index": 0,
"enabled": true
},
"sysfsutils": {
"index": 11,
"enabled": true
},
"sysntpd": {
"index": 98,
"enabled": true
},
"urandom_seed": {
"index": 99,
"enabled": true
},
"network": {
"index": 20,
"enabled": true
},
"atd": {
"index": 50,
"enabled": true
},
"conntrackd": {
"index": 21,
"enabled": true
},
"syslog-ng": {
"index": 50,
"enabled": true
},
"diagBoot": {
"index": 255,
"enabled": true
},
"log": {
"index": 12,
"enabled": true
},
"snort": {
"index": 90,
"enabled": true
},
"sysfixtime": {
"index": 0,
"enabled": true
},
"firewall": {
"index": 19,
"enabled": true
},
"sysctl": {
"index": 11,
"enabled": true
},
"boot": {
"index": 10,
"enabled": true
},
"dnsmasq": {
"index": 19,
"enabled": true
},
"relayd": {
"index": 80,
"enabled": true
},
"lvm2": {
"index": 15,
"enabled": true
}
}

try
chmod +x /usr/libexec/rpcd/luci.ddns
/etc/init.d/rpcd restart

Can you check how long it takes to return that list? Retry with time ubus call luci getInitList

I'll not post the resulting JSON list... but here's the time results:
real	0m 22.89s
user	0m 0.00s
sys	0m 0.00s
So, about 23 seconds to return a response. Is there some timeout value that is set to low? And if so, how to change that?

I didn't notice this before. But it seems like the command
ubus call luci getInitList
Actually causes the init scripts to run. In particular in my rc.local I have commands to 'mount' a USB memory device as a file system structured device.
Hence the first few lines of the following output are from that process.
The question I have is, is it true that when the browser access the  the System -> startup page, it invokes the scripts associated with the init.d and rc.local?
---- output ----
root@RaptorXR:/# ubus call luci getInitList
Mounting /dev/sda1 /video/lib
[ 5444.427158] [EXFAT] trying to mount...
[ 5444.431930] [EXFAT] mounted successfully
Mounting /dev/sda1 /video/lib
mount: mounting /dev/sda1 on /video/lib failed: Resource busy
{
"stunnel": {
"index": 90,
"enabled": true
},
"gpio_switch": {
"index": 94,
"enabled": true
},
"odhcpd": {
"index": 35,
"enabled": true
},
"rpcd": {
"index": 12,
"enabled": true
},
"dropbear": {
"index": 19,
"enabled": true
},
"rsyncd": {
"index": 90,
"enabled": true
},
"led": {
"index": 96,
"enabled": true
},
"ucitrack": {
"index": 80,
"enabled": true
},
"cron": {
"index": 50,
"enabled": true
},
"fwknopd": {
"index": 95,
"enabled": true
},
"collectd": {
"index": 80,
"enabled": true
},
"snmpd": {
"index": 50,
"enabled": true
},
"uhttpd": {
"index": 50,
"enabled": true
},
"done": {
"index": 95,
"enabled": true
},
"system": {
"index": 10,
"enabled": true
},
"lm-sensors": {
"index": 28,
"enabled": true
},
"gpsd": {
"index": 50,
"enabled": true
},
"ddns": {
"index": 95,
"enabled": true
},
"luci_statistics": {
"index": 79,
"enabled": true
},
"qos": {
"index": 50,
"enabled": true
},
"WSRadioDown": {
"index": 255,
"enabled": false
},
"vsftpd": {
"index": 50,
"enabled": true
},
"lighttpd": {
"index": 50,
"enabled": true
},
"umount": {
"index": 255,
"enabled": false
},
"urngd": {
"index": 0,
"enabled": true
},
"sysfsutils": {
"index": 11,
"enabled": true
},
"sysntpd": {
"index": 98,
"enabled": true
},
"urandom_seed": {
"index": 99,
"enabled": true
},
"network": {
"index": 20,
"enabled": true
},
"atd": {
"index": 50,
"enabled": true
},
"conntrackd": {
"index": 21,
"enabled": true
},
"syslog-ng": {
"index": 50,
"enabled": true
},
"diagBoot": {
"index": 255,
"enabled": true
},
"log": {
"index": 12,
"enabled": true
},
"snort": {
"index": 90,
"enabled": true
},
"sysfixtime": {
"index": 0,
"enabled": true
},
"firewall": {
"index": 19,
"enabled": true
},
"sysctl": {
"index": 11,
"enabled": true
},
"boot": {
"index": 10,
"enabled": true
},
"dnsmasq": {
"index": 19,
"enabled": true
},
"relayd": {
"index": 80,
"enabled": true
},
"lvm2": {
"index": 15,
"enabled": true
}
}
root@RaptorXR:/#

It sources each script in /etc/init.d/ to extract START and STOP variables. Furthermore it invokes /etc/init.d/xxx enabled for each script to determine whether it is enabled.
Properly written init scripts should do nothing when sourced or called with enabled as argument. I suspect there's one or more custom init scripts (or maybe init scripts by packages) which behave differently, causing the long delay.

That seems to be it. I guess I had thought that the entries in the webpage would not have invoked the scripts in init.d/* themselves, but matched up the existence of an entry in rc.d/* with what was found in init.d/*.
So my custom scripts which have to be run before rc.local is, were just the shell commands required, and not put into such things as 'boot {}' etc...

Closing this as it was caused by changes unrelated to LuCI.

Same issue here, but when running "ubus call luci getInitList" I get "Command failed: Request timed out". What can I check?

Same issue here, but when running "ubus call luci getInitList" I get "Command failed: Request timed out". What can I check?

solved resetting to factory settings and then restoring a backup

Same issue here, but when running "ubus call luci getInitList" I get "Command failed: Request timed out". What can I check?

solved resetting to factory settings and then restoring a backup

It appears to me from time to time.

Hi boys... i have the same similar issue whit my router whit openwrt.
When try to access to GUI immediatelly after the credential i see this errors.... but the GUI it's be loaded normally after that errors it's appears on my screen of pc.
It's normal ?

TIP: if you get the timeout on the  "ubus call luci getInitList"
The problem is the presence of /etc/init.d/dsl_control  just nuke that and the list returns in a second or so.


Fix styled components esm cjs interior issue

Hi @felixtrz
We run into the following issue when @iwer/devui is used as a dependency of @pmndrs/xr .

Other people suggested we apply the fix mentioned https://github.com/styled-components/styled-components/issues/3862#issuecomment-1660468262
For now I have to manually pin the version for @pmndrs/xr but I hope we can quickly resolve the styled-components issue.

CLA Signed

Thanks for merging. Hope we can have a new version released soon.


When destroying and recreating SDL renderer, screen background map gets corrupted

When destroying and recreating SDL renderer, screen background map (file 0, graph 0) gets corrupted.

Game error, not engine error :)


Typed array support

To support the following types in Web IDL definition
Int8Array
Uint8Array
Uint8ClampedArray

Int16Array
Uint16Array

Int32Array
Uint32Array

Float32Array

Float64Array

Closed by #91, forgot to add Closes line in commit message...


feat: Create FirebaseOptions Sample in Kotlin

Add Kotlin Support

Create Kotlin Activity

Add Kotlin Activity to AndroidManifest

Third PR for #24

:+1:


Packaging for Delivery

The table extraction project needs to be "compiled" into a stand alone executable which can be run without needing to have a development environment.

I suspect that this is the solution: https://stackoverflow.com/questions/5458048/how-can-i-make-a-python-script-standalone-executable-to-run-without-any-dependen

Currently troubleshooting pyinstaller in the to_exe branch. Current error is the package timm is not found - which appears after the user enters a PDF file path as input to the exe

Looks like you are farther along that I am. I just tried it on my own branch and am having trouble getting pyinstaller to be found in the environment.
When this gets figured I think it will be a necessary to add documentation to he readme to explain how to build the exe.

Resolved by #69. Will open a new issue for teh GUI exe.


Serial console terminal: fix for kubevirt >= 0.7

Serial console is accesed via API websocket endpoint.
Tested against: v0.8.0-alpha.2

Kubevirt recently supports "plain" protocol only, means it just forwards unix socket for serial console.
There's recently no support for i.e. resize implemented.


tsconfig.tests.json is missing

The config file 'tsconfig.tests.json' is referenced in the 'Project Structure' section of the README but the actual file is not in the repo.

@GitTom
Thanks for pointing this out! This configuraiton is now done by Jest config file (Jest natively supports TypeScript, see details in jest.conf.js. The docs will be changed shortly!


Where can I see created outbound rule in Azure Portal?

I can create an outbound rule using az network lb outbound-rule create, and I can see the created rule using az network lb outbound-rule list. However, I cannot find the created rule in Azure Portal. It is missing in load balancer's Load balancing rules setting.
I can see IP configuration, backend pool, and health probe in the Azure Portal, which also created through Azure CLI, but not for outbound rules. Just curios whether this by design, or to be added to portal UI?

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

ID: d3944193-f5f9-e636-e419-0f52ff714f2b
Version Independent ID: 3ace8120-9f5b-94be-d8f5-b3927c098c78
Content: Configure load balancing and outbound rules using Azure CLI
Content Source: articles/load-balancer/configure-load-balancer-outbound-cli.md
Service: load-balancer
GitHub Login: @asudbring
Microsoft Alias: allensu

@superyyrrzz , Outbound rules are only view-able via Azure CLI as of today.
You will not be able to see the rules in the Portal. It is by design for now but it will be fixed later.

@msrini-MSFT Thank you for the quick response! Glad to know this is by design instead of my misconfiguration. Will you update this issue when it is fixed in portal later?

@superyyrrzz , This will be fixed in the portal. But there are no ETA that I can provide at this moment.

That's fine. Thank you!


docs/translating: Clarify Handlebars discussion

I found the new paragraph from 74d83cc47 somewhat hard to follow,
so here's another version.  Also try to make the structure of
the rest of the section around it somewhat more clear.

/cc @umairwaheed @showell

Automated message from Dropbox CLA bot
@gnprice, it looks like you've already signed the Dropbox CLA. Thanks!

LGTM, merged.  A few sidenote thoughts:

It appears we need to figure out how to reconfigure codecov to not error on branches like this that don't impact coverage at all.  For coveralls, we had to set some sort of minimum coverage decrease threshhold to make things work well.  @umairwaheed can you investigate how to make codecov handle that properly?
One thing we've been meaning to do with docs/translating.md is split it into two files, one docs/templates.md.  There's an old open issue for this, but while we're thinking about structure for this file, that could be a good project to invest a bit of time in :)


As a user, I can search between saved contacts

On the contact page overview, a search field should be implemented so that I can search in my contacts for names or unique codes

Contains functionalities for #28 , #33 , #39


Difficulty getting it to run

I had to change the web.config before this one would run for me.  I'm running VS2013 Ultimate.  It didn't like the mssqllocaldb parameter.  I had to change it to v11.0, like below.
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  <parameters>
    <parameter value="v11.0" />
  </parameters>
</defaultConnectionFactory>

Sorry for the trouble Frank.  I'll look into making this fix.

I had the same issue


Master

:white_check_mark: Build TimeHACK AppVeyor-138 completed (commit https://github.com/TimeHACKDevs/TimeHACK/commit/6044379a26 by @lempamo)


chore: Adding issueManagement section in pom.xml

#35  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tazarov and the rest of your teammates on  Graphite


api: remove custom allocator creation

Below is the current way of using zBench with a custom allocator:
const std = @import("std");
const zbench = @import("zbench");

pub const CustomAllocator = struct {
    allocator: std.mem.Allocator,

    pub fn create() CustomAllocator {
        return CustomAllocator{ .allocator = std.heap.page_allocator };
    }

    pub fn as_mut(self: *CustomAllocator) *std.mem.Allocator {
        return &self.allocator;
    }
};

...

test "bench test bubbleSort" {
    var customAllocator = CustomAllocator.create();
    var resultsAlloc = std.ArrayList(zbench.BenchmarkResult).init(customAllocator.allocator);
    var bench = try zbench.Benchmark.init("Bubble Sort Benchmark", customAllocator.as_mut());
    // ...
}

A more streamlined approach could be having zBench automatically adjust the custom allocator, reducing the manual setup needed by the user. This could potentially be implemented by having a default allocator within zBench, with an option for users to override it if necessary.
Proposed Improved Example:
const std = @import("std");
const zbench = @import("zbench");

...

test "bench test bubbleSort" {
    var bench = try zbench.Benchmark.init("Bubble Sort Benchmark");
    var resultsAlloc = std.ArrayList(zbench.BenchmarkResult).init(bench.allocator());
    var benchmarkResults = zbench.BenchmarkResults{
        .results = resultsAlloc,
    };
    try zbench.run(myBenchmark, &bench, &benchmarkResults);
}

In this revised example, zbench.Benchmark.init would handle the allocator adjustment internally, removing the need for users to define and manage a custom allocator explicitly. This simplifies the API and makes zBench more accessible while retaining the flexibility for users who wish to use a custom allocator.
Context:
Automating the allocator adjustment could potentially lower the barrier of entry for new users and simplify the API, making it easier to use and understand. This enhancement could contribute to a more user-friendly and efficient benchmarking experience with zBench.

Hey, I've noticed that there is a memory leak if I swap out the CustomAllocator for the generally recommended std.testing.allocator for use in tests. Is there a way zbench could support the testing allocator?

@jasperdunn @hendriknielaender I think we're not far off from making that work. IIUC there are two deinit steps required;

durations array in the benchmark structure
results array in the test

Whilst we're at it, we should think about passing the allocator directly as argument, instead of by reference.

Hey @jasperdunn,
Thank you for bringing this up. The usage of std.testing.allocator in the context of zbench tests should now be more straightforward, and users have clear control over the allocation process as intended, with the recent merge of the PR.

Fantastic!

https://github.com/hendriknielaender/zBench/pull/16


Is the file appveyor.yml compatible with SQL Server 2016 Enterprise 64bit?

Hi,
I just discover that you used SQLServer2017 in the appveyor.yml.
But I installed SQL Server2016 Enterprise 64bit, so I don't know if the appveyor.yml is compatible with SQL Server2016. If yes, please tell me how I should do.
Best regards.
Wei

We keep the integration tests with the latest version, you could use any version you need when using the functions


[Prefactoring] Rename reconciler.SystemNamespace to reconciler.DataPlaneNamespace

Fixes #

Proposed Changes

Better semantics, as we're not going to talk about system namespace anymore but talk about the namespace that the reconciler instance is going to take care of
Prefactoring for KafkaBroker with dataplane-per-namespace

Release Note

Docs

LGTM, there is a build error

/cherry-pick release-1.7


Vectors/Images/Video to Text Translation

I would like to have sockeye for X-to-text translation. (X ∈ {text, vectors, image, video...})
What would the steps to do that be?

I understand prepare_data must get the source, but in the case of not text, there's nothing to prepare.
Also, unlike text, storage might be an issue. It is probably not advised to store all the data again in the output directory, so I'm thinking it would be best that the source should be the file path img.png or video.mp4.
In that case, one would also have to supply a loading / augmentation function to the training / inference code. I think that there could be standard modules, with load and process functions:
def load(file_path: str):
  # Loads the file, returns whatever
  pass

def process(obj) -> List[Tuple[torch.Tensor, List[int]]:
  # Takes the output of `load`, returns a sequence of vectors and arbitrary number of positions
  pass

Then adding a training argument --source-processor my_module.py which can be imported using importlib.
The load function can be cached, or not, and the process function can be for data augmentation, or general processing.
Then in the model:
If the sequence is of shape [BATCH, LENGTH] and is of type torch.int it passes through an embedding layer.
Otherwise [BATCH, LENGTH, DIM] and torch.float is used as is for the encoder.

Or otherwise
Another option could be just supplying a torch DataLoader directly to training.
python train.py --data-loader my_loader.py --output OUTPUT

And the data loader would have two mandatory properties: SRC_VOCAB_SIZE and TGT_VOCAB_SIZE
Then in the training code, this data loader is used to sample training samples, and to perform augmentation.
In this case, sockeye is used only for the model and training loop, and not for its data loader

Hi @AmitMY thank you for your interest in extending Sockeye.
Extending Sockeye to support other modalities as input could be a major change. In fact, an earlier version of Sockeye supported image-to-text models (see https://arxiv.org/pdf/1810.04101.pdf and https://github.com/awslabs/sockeye/tree/sockeye_1/sockeye/image_captioning), but it was difficult to maintain this additional complexity in the long run.
In order to give some advice, it would be good to understand a bit better what the scope of this feature/modality support is. I think the idea of supporting custom Python modules that do not necessarily have to be part of the main Sockeye repository is a good one, but it is not yet clear to me what the requirements/impact would be on the main codebase.

For my use case, I would like to perform sign language translation using a sequence of pose vectors (sequence of vectors - to - text)

Closing for inactivity. Please feel free to reopen if there are any updates.

For others: https://github.com/bricksdont/sign-sockeye-baselines


Add params and return values to model docs

Types of changes

[ ] Enhancement (project structure, spelling, grammar, formatting)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

A description of the changes proposed in the Pull Request
Adds explicit definitions for parameters and return values for each model.

by the way let’s keep commit message guideline from contributing.md so the commit history will standardized


Fixed error 500 on requesting swagger.json

This fixes #310.
Error 500 was occurring on requesting swagger.json (http://localhost:5000/swagger/v1/swagger.json) under the following conditions:

Pulled the project "as is" from GitHub
The environment is set to Development (as per this post)
Launch the project (F5)
Swagger UI gets loaded (http://localhost:5000/swagger/)

See Swagger's requirements on method attributes in the comment here - https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/69#issuecomment-245347034

Nice! Sorry I've been slow to respond, thanks again!

I got a 404 error when trying to access http://localhost:5000/swagger/v1/swagger.json

Yeah I think this is because someone moved the changes I made to the
startup. I will take a look later
On 21 Jul 2017 10:59, "kurtiswen"<EMAIL_ADDRESS>wrote:

I got a 404 error when trying to access http://localhost:5000/swagger/
v1/swagger.json
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MarkPieszak/aspnetcore-angular2-universal/pull/312#issuecomment-316960430,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEFScMFk4CHGDpqJB3WmLQjMTG2ML0zrks5sQHZhgaJpZM4OBol2
.


Update C++ process caller side to show interop with Windows.Data.Json

In #3 it'd be super great if the sample converted the UTF8 response to JSON and showed programmatic access to it instead of "just printf."  Improve the sample so it's closer to something Real.

(Fixed in latest update)


Question - The “arbitrary combination of letters” option is not as a Gender/form option

@proceps Should it be?

Arbitrary combination of letters is always treated as a noun in apposition

Arbitrary combination will be an etymology

Thanks.  Can you please add this to the FAQ here:  https://github.com/SpeciesFileGroup/taxonworks_doc/blob/master/faq/nomenclature.md.
If you can, answer #14 from that issue tracker on that FAQ too please.


Create shadow ForeignKey properties based on NavigationToPrincipal Name

resolves #3503
Issue here was when we were creating the relationship we create the foreign key first and then add navigation. Therefore the NavigationToPrincipalName was always null while creating foreign key, hence navigation name was never used while creating shadow properties for FK.
Solution - Pass the Navigation to Principal Name as argument even when creating FK (even though navigation is not set) so that the shadow properties have appropriate names.
@AndriySvyryd - Is this correct way to fix this? Anymore tests needed?

@smitpatel This change makes the caller to supply the navigation name twice, this shouldn't be necessary. Fixing this bug shouldn't require changing the calling code.
Setting the navigation to principal on the relationship should result in a call to InternalRelationshipBuilder.Relationship which should recreate the foreign key with correct property names. The bug is somewhere in this chain.


Fix benchmark compilation script after TensorFlow de-integration

The Buildkite benchmark pipeline now fails compilation due to
that it cannot find the iree-import-tflite binary after
https://github.com/google/iree/pull/8078.

The test failures are unrelated to this change and they are happening at the top of the tree. I think it's tracked by https://github.com/google/iree/issues/8083. So I'm gonna land this to unblock benchmarking.


Feature request: shallow create

Hey,
we encountered following Problem:
given two entities "Article" and "Tag", with n-2-n Relationship, we would like to create one entity and attach a list of the other via a list of IDs.
query_Input would look something like this:
  "queryInput": {
    "url": "URL"
    "tags": [
      {
        "id": 1
      },
     ....
    ]
  }

Entities (simplified) look like this:
entity "Article"
  id - int
  url - str
  tags - [TagEntity]

entity "Tag"
  id - int
  value - str
  articles - [ArticleEntity]

Output of codegen is atm. like this:
class ArticleCreateInput(BaseModel):
  id: int
  url: str
  tags: List["TagCreateInput"] = Field(alias="Tags")

class TagCreateInput(BaseModel):
    value: str

Problem with the generated code is that we can only create both entities at once (and not just the "primary" entity and attach the other via id's), imho. in this case the ArticleCreateInput should something like this:
class ArticleCreateInput(BaseModel):
  id: int
  url: str
  tags: List["TagCreateInput"]  | List["TagInput"] = Field(alias="Tags")

TagInput would look like this:
class TagInput(BaseModel):
    id: int

Is this already achievable out-of-box or maybe a planned feature for next release?
Any help greatly appreciated  :)
Cheers

Hello, extra context why this was closed would be helpful, especially for people who will come to this issue from google searches.


Swiper's instace's isBegining and isEnd parameter provides invalid value when you only have one slide

Both values returns false when you have only one slide. I think both of them should return true in this case.

Will check it, thanks

Thank you very much!


Workflows that have an explicit name that differs from the trait name can't be called using a typed stub

When giving the workflow an explicit name (with workflowMethod annotation) that is different from the trait name, the workflow is not found when using a typed stub.
I assume this is due to the move to untyped stubs internally

@oridag should be fixed in 0.2.0-M6. Could you confirm it?

Yep, looks good 👍
I still have at leas one more issue, I'll report when I narrow it down


Missing Assigned Taxon IDs

I was reviewing the MaltExtract outputs and noticed that results for specific organisms (listed below) are missing:

Achromobacter denitrificans
Bacteroides vulgatus
Citrobacter koseri
Enterococcus hirae
Fusobacterium necrophorum
Haemophilus parainfluenzae
Leuconostoc mesenteroides
Providencia heimbachae
Rickettsia raoultii
Staphylococcus cohnii
Staphylococcus saprophyticus
Streptococcus intermedius
Streptococcus pyogenes

I've checked the log file of MaltExtract, and I found an error message stating:
<Species_name> has no assigned taxID and cannot be processed! Consider checking for a error in filepath if you provided a taxon file as input
I'm using the NCBI.tre files that come with HOPS, which are located under the Resources  folder. If you need it, you can find my code to run MaltExtract below:
java -Xmx500G -jar /usr/local/sw/anaconda3/envs/aMeta/share/hops-0.35-1/MaltExtract1.7.jar         -i results/MALT/${lib_id}.rma6         -f def_anc         -o results/MALT_EXTRACT         --reads         --destackingOff          --downSampOff          --dupRemOff          --threads 20          --resources ~/programs/HOPS/Resources         --matches         --minPI 85.0 --maxReadLength 0 --minComp 0.0         --meganSummary         -t results/MALT_EXTRACT/taxa

@ardasevkar are you suggesting that those microbes could have been found if we had used ncbi.tre from the HOPS Resources folder? Do you find them when you run plain HOPS with the native ncbi.tre from the HOPS Resources folder?
Right now the issue seems to be due to the discrepancy between the ncbi.tre from the HOPS Resources folder and MEGAN's ncbi.tre


Delete, edit or remove review comments from the Conversation tab

Gitea version (or commit ref): 1.6.0
Git version/Operating system/Database: Not relevant
Can you reproduce the bug at https://try.gitea.io:

[x] Yes (https://try.gitea.io/haloworld/haloworld/pulls/1)
[ ] No
[ ] Not relevant

Log gist: Not a crash.

Description
The Conversation tab does not have buttons to edit or remove review comments. One must select the files tab. The point of the issue is to implement such missing feature.
Screenshots
Conversation tab, no way to edit or remove the comment:

Files tab, can edit and remove the comment:

I checked for "delete comment" and "remove comment" before in both open and closed issues and couldn't find anything relevant, so I hope this isn't a duplicate.

test

Yes please, we need to edit the review action. Example If I have finished a review with Comment as a selection from radiogroup and later I want to change it to finish with "Request Changes".

It has been added


Crashes with 2024.4.0 after some time

Describe the problem
I just repulled the image on my docker (Portainer) and the server keeps crashing after some time. Even if no one is "on it".
I had 10+ crashes since the repull (5th april) and not a single one before the crash.
I didnt change anything about the config but added an icon to my server (but commented out it still crashes).
I added the last crash log. If you need a can add 6 more :)
EDIT: I thought it had to do with a virscan in Background, but when i use SSH and type "top" it shows, that my 2 minecraft server (without ppl logged in) use 35-45% of the CPU (so its 70-90% in total). That causes the crash.
I never had the problem with the version pre 2024.4.0.
Container definition
version: "3.8"

services:
  mc:
    image: itzg/minecraft-server
    stdin_open: true
    tty: true
    environment:
      EULA: "true"
      TZ: "Europe/Berlin"
      MOTD: "myMOTD"
      DIFFICULTY: "peaceful"
      WHITE-LIST: "true"
      OP-PERMISSION-LEVEL: "0"
      SERVER_NAME: "myname"
      ALLOW_CHEATS: "true"
      SEED: "-2882832953968269043"
      ICON: "/data/tnt.png"
      OPS: |
        myops
      WHITELIST: |
        mywhitelistnames
      LEVEL: "mylevel"
      DEFAULT-PLAYER-PERMISSION-LEVEL: "operator"
    ports:
      - "25565:25565"

    volumes:
      - /share/containerdata/config/minecraft-data:/data
    restart: always

Container logs
---- Minecraft Crash Report ----
// I just don't know what went wrong :(

Time: 2024-04-08 18:56:26
Description: Watching Server

java.lang.Error: Watchdog
	at anb.a(SourceFile:147)
	at ctp.a(SourceFile:207)
	at ctp.c(SourceFile:668)
	at cst.a(SourceFile:62)
	at cst.computeNext(SourceFile:81)
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:145)
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:140)
	at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:474)
	at com.google.common.collect.ImmutableList$Builder.addAll(ImmutableList.java:870)
	at blv.a(SourceFile:1064)
	at blv.a(SourceFile:1035)
	at blv.a(SourceFile:707)
	at bml.a(SourceFile:2339)
	at bml.a(SourceFile:2259)
	at bml.d_(SourceFile:2743)
	at bmn.d_(SourceFile:556)
	at blq.d_(SourceFile:128)
	at bxy.d_(SourceFile:58)
	at byu.d_(SourceFile:142)
	at bml.l(SourceFile:2446)
	at bmn.l(SourceFile:357)
	at and.a(SourceFile:761)
	at and$$Lambda/0x00007fcf00be3688.accept(Unknown Source)
	at ctp.a(SourceFile:492)
	at and.a(SourceFile:399)
	at and$$Lambda/0x00007fcf00be5560.accept(Unknown Source)
	at dne.a(SourceFile:54)
	at and.a(SourceFile:363)
	at net.minecraft.server.MinecraftServer.b(SourceFile:948)
	at ama.b(SourceFile:283)
	at net.minecraft.server.MinecraftServer.a(SourceFile:845)
	at net.minecraft.server.MinecraftServer.w(SourceFile:683)
	at net.minecraft.server.MinecraftServer.a(SourceFile:270)
	at net.minecraft.server.MinecraftServer$$Lambda/0x00007fcf00a0d560.run(Unknown Source)
	at java.base@21.0.2/java.lang.Thread.runWith(Unknown Source)
	at java.base@21.0.2/java.lang.Thread.run(Unknown Source)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server Watchdog
Stacktrace:
	at anb.a(SourceFile:147)
	at ctp.a(SourceFile:207)
	at ctp.c(SourceFile:668)
	at cst.a(SourceFile:62)
	at cst.computeNext(SourceFile:81)
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:145)
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:140)
	at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:474)
	at com.google.common.collect.ImmutableList$Builder.addAll(ImmutableList.java:870)
	at blv.a(SourceFile:1064)
	at blv.a(SourceFile:1035)
	at blv.a(SourceFile:707)
	at bml.a(SourceFile:2339)
	at bml.a(SourceFile:2259)
	at bml.d_(SourceFile:2743)
	at bmn.d_(SourceFile:556)
	at blq.d_(SourceFile:128)
	at bxy.d_(SourceFile:58)
	at byu.d_(SourceFile:142)
	at bml.l(SourceFile:2446)
	at bmn.l(SourceFile:357)
	at and.a(SourceFile:761)
	at and$$Lambda/0x00007fcf00be3688.accept(Unknown Source)
	at ctp.a(SourceFile:492)
	at and.a(SourceFile:399)
	at and$$Lambda/0x00007fcf00be5560.accept(Unknown Source)
	at dne.a(SourceFile:54)
	at and.a(SourceFile:363)
	at net.minecraft.server.MinecraftServer.b(SourceFile:948)
	at ama.b(SourceFile:283)
	at net.minecraft.server.MinecraftServer.a(SourceFile:845)
	at net.minecraft.server.MinecraftServer.w(SourceFile:683)
	at net.minecraft.server.MinecraftServer.a(SourceFile:270)
	at net.minecraft.server.MinecraftServer$$Lambda/0x00007fcf00a0d560.run(Unknown Source)

-- Thread Dump --
Details:
	Threads: "Reference Handler" daemon prio=10 Id=9 RUNNABLE
	at java.base@21.0.2/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
	at java.base@21.0.2/java.lang.ref.Reference.processPendingReferences(Unknown Source)
	at java.base@21.0.2/java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)

"Finalizer" daemon prio=8 Id=10 WAITING on java.lang.ref.NativeReferenceQueue$Lock@7108e812
	at java.base@21.0.2/java.lang.Object.wait0(Native Method)
	-  waiting on java.lang.ref.NativeReferenceQueue$Lock@7108e812
	at java.base@21.0.2/java.lang.Object.wait(Unknown Source)
	at java.base@21.0.2/java.lang.Object.wait(Unknown Source)
	at java.base@21.0.2/java.lang.ref.NativeReferenceQueue.await(Unknown Source)
	at java.base@21.0.2/java.lang.ref.ReferenceQueue.remove0(Unknown Source)
	at java.base@21.0.2/java.lang.ref.NativeReferenceQueue.remove(Unknown Source)
	at java.base@21.0.2/java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

"Signal Dispatcher" daemon prio=9 Id=11 RUNNABLE

"Notification Thread" daemon prio=9 Id=17 RUNNABLE

"Common-Cleaner" daemon prio=8 Id=18 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@37169175
	at java.base@21.0.2/jdk.internal.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@37169175
	at java.base@21.0.2/java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
	at java.base@21.0.2/java.lang.ref.ReferenceQueue.await(Unknown Source)
	at java.base@21.0.2/java.lang.ref.ReferenceQueue.remove0(Unknown Source)
	at java.base@21.0.2/java.lang.ref.ReferenceQueue.remove(Unknown Source)
	at java.base@21.0.2/jdk.internal.ref.CleanerImpl.run(Unknown Source)
	at java.base@21.0.2/java.lang.Thread.runWith(Unknown Source)
	...

"DestroyJavaVM" prio=5 Id=20 RUNNABLE

"JNA Cleaner" daemon prio=5 Id=28 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@96214d0
	at java.base@21.0.2/jdk.internal.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@96214d0
	at java.base@21.0.2/java.util.concurrent.locks.LockSupport.park(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ForkJoinPool.unmanagedBlock(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ForkJoinPool.managedBlock(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
	at java.base@21.0.2/java.lang.ref.ReferenceQueue.await(Unknown Source)
	at java.base@21.0.2/java.lang.ref.ReferenceQueue.remove0(Unknown Source)
	...

"Timer hack thread" daemon prio=5 Id=29 TIMED_WAITING
	at java.base@21.0.2/java.lang.Thread.sleep0(Native Method)
	at java.base@21.0.2/java.lang.Thread.sleep(Unknown Source)
	at ac$9.run(SourceFile:833)

"Yggdrasil Key Fetcher" daemon prio=5 Id=30 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@6b963b5b
	at java.base@21.0.2/jdk.internal.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@6b963b5b
	at java.base@21.0.2/java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	...

"Server thread" prio=5 Id=36 RUNNABLE
	at anb.a(SourceFile:147)
	at ctp.a(SourceFile:207)
	at ctp.c(SourceFile:668)
	at cst.a(SourceFile:62)
	at cst.computeNext(SourceFile:81)
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:145)
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:140)
	at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:474)
	...

"Server console handler" daemon prio=5 Id=38 RUNNABLE (in native)
	at java.base@21.0.2/java.io.FileInputStream.readBytes(Native Method)
	at java.base@21.0.2/java.io.FileInputStream.read(Unknown Source)
	at java.base@21.0.2/java.io.BufferedInputStream.read1(Unknown Source)
	at java.base@21.0.2/java.io.BufferedInputStream.implRead(Unknown Source)
	at java.base@21.0.2/java.io.BufferedInputStream.read(Unknown Source)
	at java.base@21.0.2/sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
	at java.base@21.0.2/sun.nio.cs.StreamDecoder.implRead(Unknown Source)
	at java.base@21.0.2/sun.nio.cs.StreamDecoder.lockedRead(Unknown Source)
	...

	Number of locked synchronizers = 3
	- java.util.concurrent.locks.ReentrantLock$NonfairSync@5a93d74b
	- java.util.concurrent.locks.ReentrantLock$NonfairSync@590d6855
	- java.util.concurrent.locks.ReentrantLock$NonfairSync@40502330

"Netty Epoll Server IO #0" daemon prio=5 Id=39 RUNNABLE (in native)
	at io.netty.channel.epoll.Native.epollWait(Native Method)
	at io.netty.channel.epoll.Native.epollWait(Native.java:209)
	at io.netty.channel.epoll.Native.epollWait(Native.java:202)
	at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base@21.0.2/java.lang.Thread.runWith(Unknown Source)
	...

"Netty Epoll Server IO #1" daemon prio=5 Id=40 RUNNABLE (in native)
	at io.netty.channel.epoll.Native.epollWait(Native Method)
	at io.netty.channel.epoll.Native.epollWait(Native.java:209)
	at io.netty.channel.epoll.Native.epollWait(Native.java:202)
	at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base@21.0.2/java.lang.Thread.runWith(Unknown Source)
	...

"Netty Epoll Server IO #2" daemon prio=5 Id=41 RUNNABLE (in native)
	at io.netty.channel.epoll.Native.epollWait(Native Method)
	at io.netty.channel.epoll.Native.epollWait(Native.java:209)
	at io.netty.channel.epoll.Native.epollWait(Native.java:202)
	at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base@21.0.2/java.lang.Thread.runWith(Unknown Source)
	...

"Netty Epoll Server IO #3" daemon prio=5 Id=42 RUNNABLE (in native)
	at io.netty.channel.epoll.Native.epollWait(Native Method)
	at io.netty.channel.epoll.Native.epollWait(Native.java:209)
	at io.netty.channel.epoll.Native.epollWait(Native.java:202)
	at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base@21.0.2/java.lang.Thread.runWith(Unknown Source)
	...

"Netty Epoll Server IO #4" daemon prio=5 Id=47 RUNNABLE (in native)
	at io.netty.channel.epoll.Native.epollWait(Native Method)
	at io.netty.channel.epoll.Native.epollWait(Native.java:209)
	at io.netty.channel.epoll.Native.epollWait(Native.java:202)
	at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base@21.0.2/java.lang.Thread.runWith(Unknown Source)
	...

"Netty Epoll Server IO #5" daemon prio=5 Id=48 RUNNABLE (in native)
	at io.netty.channel.epoll.Native.epollWait(Native Method)
	at io.netty.channel.epoll.Native.epollWait(Native.java:209)
	at io.netty.channel.epoll.Native.epollWait(Native.java:202)
	at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base@21.0.2/java.lang.Thread.runWith(Unknown Source)
	...

"Netty Epoll Server IO #6" daemon prio=5 Id=53 RUNNABLE (in native)
	at io.netty.channel.epoll.Native.epollWait(Native Method)
	at io.netty.channel.epoll.Native.epollWait(Native.java:209)
	at io.netty.channel.epoll.Native.epollWait(Native.java:202)
	at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base@21.0.2/java.lang.Thread.runWith(Unknown Source)
	...

"Netty Epoll Server IO #7" daemon prio=5 Id=54 RUNNABLE (in native)
	at io.netty.channel.epoll.Native.epollWait(Native Method)
	at io.netty.channel.epoll.Native.epollWait(Native.java:209)
	at io.netty.channel.epoll.Native.epollWait(Native.java:202)
	at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base@21.0.2/java.lang.Thread.runWith(Unknown Source)
	...

"RCON Listener #1" prio=5 Id=56 RUNNABLE
	at java.base@21.0.2/sun.nio.ch.Net.poll(Native Method)
	at java.base@21.0.2/sun.nio.ch.NioSocketImpl.park(Unknown Source)
	at java.base@21.0.2/sun.nio.ch.NioSocketImpl.timedAccept(Unknown Source)
	at java.base@21.0.2/sun.nio.ch.NioSocketImpl.accept(Unknown Source)
	at java.base@21.0.2/java.net.ServerSocket.implAccept(Unknown Source)
	at java.base@21.0.2/java.net.ServerSocket.platformImplAccept(Unknown Source)
	at java.base@21.0.2/java.net.ServerSocket.implAccept(Unknown Source)
	at java.base@21.0.2/java.net.ServerSocket.implAccept(Unknown Source)
	...

	Number of locked synchronizers = 1
	- java.util.concurrent.locks.ReentrantLock$NonfairSync@1ac68482

"Server Watchdog" daemon prio=5 Id=57 RUNNABLE
	at java.management@21.0.2/sun.management.ThreadImpl.dumpThreads0(Native Method)
	at java.management@21.0.2/sun.management.ThreadImpl.dumpAllThreads(Unknown Source)
	at java.management@21.0.2/sun.management.ThreadImpl.dumpAllThreads(Unknown Source)
	at amd.run(SourceFile:48)
	at java.base@21.0.2/java.lang.Thread.runWith(Unknown Source)
	at java.base@21.0.2/java.lang.Thread.run(Unknown Source)

"Java2D Disposer" daemon prio=10 Id=58 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@5eab311e
	at java.base@21.0.2/jdk.internal.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@5eab311e
	at java.base@21.0.2/java.util.concurrent.locks.LockSupport.park(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ForkJoinPool.unmanagedBlock(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ForkJoinPool.managedBlock(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
	at java.base@21.0.2/java.lang.ref.ReferenceQueue.await(Unknown Source)
	at java.base@21.0.2/java.lang.ref.ReferenceQueue.remove0(Unknown Source)
	...

"Worker-Main-20" daemon prio=5 Id=515 TIMED_WAITING on java.util.concurrent.ForkJoinPool@6c56a55e
	at java.base@21.0.2/jdk.internal.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.ForkJoinPool@6c56a55e
	at java.base@21.0.2/java.util.concurrent.locks.LockSupport.parkUntil(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)

"Worker-Main-21" daemon prio=5 Id=516 WAITING on java.util.concurrent.ForkJoinPool@6c56a55e
	at java.base@21.0.2/jdk.internal.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.ForkJoinPool@6c56a55e
	at java.base@21.0.2/java.util.concurrent.locks.LockSupport.park(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.base@21.0.2/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)

Stacktrace:
	at amd.run(SourceFile:64)
	at java.base/java.lang.Thread.run(Unknown Source)

-- Performance stats --
Details:
	Random tick rate: 1
	Level stats: ResourceKey[minecraft:dimension / minecraft:overworld]: players: 1, entities: 475,475,101,735,735,140,0 [minecraft:chicken:115,minecraft:cow:95,minecraft:sheep:71,minecraft:pig:60,minecraft:item:55], block_entities: 934 [minecraft:sculk_sensor:599,minecraft:sculk_catalyst:113,minecraft:mob_spawner:61,minecraft:sign:60,minecraft:sculk_shrieker:50], block_ticks: 16, fluid_ticks: 51, chunk_source: Chunks[S] W: 3734 E: 475,475,101,735,735,140,0,
ResourceKey[minecraft:dimension / minecraft:the_end]: players: 0, entities: 0,0,0,0,0,0,0 [], block_entities: 0 [], block_ticks: 0, fluid_ticks: 0, chunk_source: Chunks[S] W: 0 E: 0,0,0,0,0,0,0,
ResourceKey[minecraft:dimension / minecraft:the_nether]: players: 0, entities: 32,32,28,625,625,0,0 [minecraft:strider:28,minecraft:item:4], block_entities: 4 [minecraft:sign:3,minecraft:mob_spawner:1], block_ticks: 0, fluid_ticks: 329, chunk_source: Chunks[S] W: 2401 E: 32,32,28,625,625,0,0

-- System Details --
Details:
	Minecraft Version: 1.20.4
	Minecraft Version ID: 1.20.4
	Operating System: Linux (amd64) version 5.10.60-qnap
	Java Version: 21.0.2, Eclipse Adoptium
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
	Memory: 530333712 bytes (505 MiB) /<PHONE_NUMBER> bytes (1024 MiB) up to<PHONE_NUMBER> bytes (1024 MiB)
	CPUs: 4
	Processor Vendor: GenuineIntel
	Processor Name: Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
	Identifier: Intel64 Family 6 Model 92 Stepping 9
	Microarchitecture: Goldmont
	Frequency (GHz): 1.50
	Number of physical packages: 1
	Number of physical CPUs: 4
	Number of logical CPUs: 4
	Graphics card #0 name: unknown
	Graphics card #0 vendor: unknown
	Graphics card #0 VRAM (MB): 0.00
	Graphics card #0 deviceId: unknown
	Graphics card #0 versionInfo: unknown
	Virtual memory max (MB): 31375.64
	Virtual memory used (MB): 13274.52
	Swap memory total (MB): 23447.24
	Swap memory used (MB): 322.22
	JVM Flags: 2 total; -Xmx1G -Xms1G
	Server Running: true
	Player Count: 1 / 20; [ane['myname'/15058, l='ServerLevel[mylevel]', x=144.61, y=71.00, z=120.50]]
	Data Packs: vanilla
	Enabled Feature Flags: minecraft:vanilla
	World Generation: Stable
	Is Modded: Probably not. Server jar signature and brand is untouched
	Type: Dedicated Server (map_server.txt)

It seems it had to do with too much "work" on the NAS (Virscan / Backup in background). I played for 2 hours now without a crash.
Sorry to have bothered you all

I'm not able to provide support for crash logs. With that said, maybe it was due to bumping the default Java version
https://docker-minecraft-server.readthedocs.io/en/latest/versions/java/#java-21
So you may want to try the java17 image tag instead.

Correct. I hope that fixes it.

It seems it does.
"top" shows around 5-15% cpu usage now (from 35-45%).  Need to check if its stable like this.
Could you - or any other - explain why java17 is "better" than java 21?  I dont use any mods (as you see in the compose)

That's good but I agree that it is unexpected it actually helped for a vanilla server type. I had originally missed that aspect of your container setup.

BTW, the env vars with dashes actually need to be using underscores. For example instead of OP-PERMISSION-LEVEL it should be OP_PERMISSION_LEVEL. It's certainly confusing since the final property has dashes.

One day gone and no more crashes... It seems that (java17) has fixed it :) Thanks a lot


Fix for “More than one plugin attempted to publish the same registration name onError when using RN 0.39

Hi, first of all, awesome library, keep up the good work!
This pull request fixes the 'More than one plugin attempted to publish the same registration name onError when using react-native 0.39.

This also fixes the event handlers for Android. The handlers defined YouTube.android.js were never triggered because the event names in the .java file were different. By accident the handlers passed to the YouTube component were still called, but directly by the native-code. This caused the arguments to be wrong. This commit fixes that as well.

LGTM

@jujumoz can u get this in?


form data cleared when invalid selection made

would be better if some selection is invalid / missing a selection that the rest of the form data is kept and not cleared

might be complicated, i have a complicated form and i haven't found anything about saving submitted data using class based views.
Will not do for this version


0.35 features vs 0.45.1 featureless server -t flag

So server with the -t flag does absolutely nothing under
0.45.1 now.
because it depends on whether disableLiveReload is not
false by default.
That's so miserably great. Now I can't just serve unless the above
is set to true, or omit theme altogether.
Back in 0.35 I was able to just serve regardless of the
settings on the config file. Back and forth. Back and forth.
No problem. Now it is, And I have to have disableLiveReload.

thanks @bep https://github.com/gohugoio/hugo/issues/4851#issuecomment-397116693
But after reading what you said, I always thought that was a workaround and not a permanent fix

@bep
having themes = ["theme1","theme2","theme3"] on the config file, does what I want
Now I can invoke server -t "theme" without further modifying the config file
https://github.com/gohugoio/hugo/issues/4851#issuecomment-409101449


Always showing Update is Available

Microsoft PowerToys version
0.73.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Installer
Steps to reproduce
PowerToys Update
An update to PowerToys is available.
✔ Expected Behavior
This not to show up.
❌ Actual Behavior
It does show up and keeps coming back yet when I go to settings I am told: PowerToys is up to date.
Other Software
Also, when I click on the "update is available" notification it goes away but does not actually try and install any update whether one is available or not.

/reportbug

There is no zip file as there is no crash. PowerToys just constantly sends a notification that there is a new version and does not try to install anything. When I go to settings and check updates it says that I am on the latest version.
Sincerely,
Steven W. Stoner
PT Landline +351 236 922 135
PT Cellular. +351 924 69 24 20
UK Mobile.. +44 (0)742 18 18 118
From: microsoft-github-policy-service[bot] @.>
Sent: 04 September 2023 13:43
To: microsoft/PowerToys @.>
Cc: SWStoner @.>; Author @.>
Subject: Re: [microsoft/PowerToys] Always showing Update is Available (Issue #28338)
Hi there!
We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here?  Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
https://user-images.githubusercontent.com/11349917/133042052-4975be21-4699-4363-83c9-a8e1869d079d.png
—
Reply to this email directly,  https://github.com/microsoft/PowerToys/issues/28338#issuecomment-1705206480 view it on GitHub, or  https://github.com/notifications/unsubscribe-auth/AKOYEKUPDAKUI7YVEV4IGNDXYXED3ANCNFSM6AAAAAA4KBDPGA unsubscribe.
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AKOYEKXFJLBLJJOLIVHXUI3XYXED3A5CNFSM6AAAAAA4KBDPGCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTFUNRNA.gif Message ID: < @.> @.>

But the /bugreport functionality will send us the current settings files so we can try to reproduce the behavior locally. That's why I've requested it, if possible.


NamedModulesPlugin produces colliding module ids

Do you want to request a feature or report a bug?
Bug, probably the cause for https://github.com/boopathi/react-svg-loader/issues/197
What is the current behavior?
Webpack links modules differently in development mode then in production mode depending on the loader configuration.
If I have two importing modules:
// checkA.js
import A from "./other.js";

// checkB.js
import B from "./other.js";

and apply two different loader configurations on other.js like
    module: {
        rules: [
            {
                include: require.resolve("./src/other.js"),
                issuer: require.resolve("./src/checkA.js"),
                use: require.resolve("./loaders/a.js")
            },
            {
                include: require.resolve("./src/other.js"),
                issuer: require.resolve("./src/checkB.js"),
                use: require.resolve("./loaders/b.js")
            }
        ]
    },

checkB.js receives the loader result from loaders/a.js
If the current behavior is a bug, please provide the steps to reproduce.
https://github.com/jhnns/webpack-multi-loader-bug
What is the expected behavior?
checkA and checkB should receive different results depending on their loader configuration
Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.
The problem probably exists in older webpack versions. But with webpack 4, it has becoming more urgent since the NamedModulesPlugin is applied by default in development mode.

If I change the call in libIdent in NormalModule from:
libIdent(options) {
	return contextify(options.context, this.userRequest);
}

to
libIdent(options) {
	return contextify(options.context, this.request);
}

it works. But that has other consequences I guess... maybe you could clarify what libIdent is supposed to be? @sokra

Yep that's an issue. libIdent is correct. The plugin need to handle conflicts.

Looks like this was fixed in 4.7.0 by #7152. Do you still encounter the issue?


Build disk_format sample in a kuttl compatible way

The previous sample was based on the OpenStackControlPlane, but kuttl uses a single Glance CR. This patch aligns this sample and it can be now built and executed via kuttl.

/test glance-operator-build-deploy-kuttl


Interactive dialogs have stopped working on Android and iOS smartphones. Forms for entering data sent by the bot to users are not opening.

After updating the mobile version to 2.23, the form for sending replies to messages from mobile devices does not open. I will provide screenshots from a PC and a mobile.
message sent by bot
PC:
Button -
Form -

MOBILE
IOS
Button

Form

Summary
The problem occurred after the update. Version 2.22 works correctly. It does not work only on mobile applications
Environment Information

Device Name: Android and IOS
OS Version: Android 10 and above. IOS Last
Mattermost App Version: 2.23
Mattermost Server Version: 10.3.1

I think we've got similar issue that affecting bot message markdown or something
On two mobile devices with mobile client version 2.23.0 we now have broken messages from Alertmanager Bot:

However, on version 2.21.0 these messages shows fine as they should be:

Desktop client shows these messages also fine. Definetely, something wrong with new update
Environment Information

Devices: Android and IOS
Mattermost Mobile App Version: 2.23.0
Mattermost Server Version: 9.11.4

@larkox any ideas?

Opened https://mattermost.atlassian.net/browse/MM-62299.

@larkox the form of the message that the bot sends to the user
{
"trigger_id": "YWppeWNrc2J6aWI5YnI1Y2E2dWJmMWFtenc6aWE4Y2d1cHloYmJpZnE4NGR0emR4azQ5bWU6MTczNDUxNjE0MzQ5NTpNRVlDSVFDYWE2d08wWDNwTzlHUHNZR0NhS0ZNVFFuOEsvV0hLOHM3UzBEWXZGakNyUUloQU01dXZocWlOZlBXbE0zTEpwRkE3OG1sY0JqL3R0ZnNPc1dZWUtnNVpwSEk=",
"url": "here is my URL",
"dialog": {
"callback_id": "somecallback",
"title": "Testtitle",
"introduction_text": "Введіть ранковий показник одометра",
"elements": [
{
"display_name": "(км)",
"name": "odometr",
"type": "text",
"subtype": "number",
"placeholder": "0"
}
],
"submit_label": "Підтвердити",
"notify_on_cancel": false,
"state": "somestate"
}
}

@plbdnts The issue with the interactive dialogs is (almost sure) a problem in the code, indeed. As a workaround, can you add a default value to the element and verify if that solves the issue?

@larkox
{
"trigger_id": "czZmYXV4cGM5MzhtdHlyNWhlNGEzOWhtdXc6cTY1OXlicTU1cHlkemt4ZzZodWt4ZHM4N3I6MTczNDUxOTcxOTY4ODpNRVlDSVFDTWxLMFRvU2FhNHVNcXNQaWltTHlHN2p0dUtmUEFBMjBBVUtOL1JvNUxhQUloQVBCaFhrbTcwNGFOdFZra0wzK0R1a3ZnYzQyMFJKT28vUGxXUXFxZVV6eXI=",
"url": "here is my URL",
"dialog": {
"callback_id": "somecallback",
"title": "Testtitle",
"introduction_text": "Введіть ранковий показник одометра",
"elements": [
{
"display_name": "(км)",
"name": "odometr",
"type": "text",
"default": "",
"subtype": "number",
"placeholder": "0"
}
],
"submit_label": "Підтвердити",
"notify_on_cancel": false,
"state": "somestate"
}
}

@plbdnts That seems to be yet another slip in the code :sweat_smile: Can you add some value to the default instead of the empty string? For example, "0". Anything that JavaScript doesn't compute as false.

@larkox it works

@plbdnts Thank you for verifying. I will put the details in the Jira ticket, and will try to get to it soon.

@Kvark1205 The issue with the interactive posts might be different, so if you could share the definition of those I can take a look at what happens there.

@larkox Sorry, I don't now how to exactly hook output message that Alertmanager generate, but can provide AM configuration with message template that we used for Mattermost. If you could tell me how to grab output message, I can provide it too
From Alertmanager config:
- name: Mattermost
  slack_configs:
  - send_resolved: true
    http_config:
      follow_redirects: true
    api_url: <secret>
    channel: <my-channel-name>
    username: '{{ template "slack.default.username" . }}'
    color: |
      {{ if eq .Status "firing" -}}
        {{ if eq .CommonLabels.severity "warning" -}}
          warning
        {{- else if eq .CommonLabels.severity "critical" -}}
          danger
        {{- else -}}
          #439FE0
        {{- end -}}
      {{ else -}}
        good
      {{- end }}
    title:   [{{ .Status | toUpper -}} {{ if eq .Status "firing" }}:{{ .Alerts.Firing | len }} {{- end -}}] {{ .CommonLabels.alertname }}
    title_link: '{{ template "slack.default.titlelink" . }}'
    pretext: '{{ template "slack.default.pretext" . }}'
    text: |
      {{- if .CommonLabels.job -}}
        **Job:** `{{ .CommonLabels.job }}`
      {{- else -}}
        **Job:** `unknown`
      {{- end -}}{{- "\n" -}}

      {{- if .CommonLabels.severity -}}
        **Severity:** `{{ .CommonLabels.severity }}`
      {{- else -}}
        **Severity:** `unknown`
      {{- end -}}{{- "\n" -}}

      {{- if .CommonLabels.cluster -}}
        **Cluster:** `{{ .CommonLabels.cluster }}`
      {{- else -}}
        **Cluster:** `unknown`
      {{- end -}}{{- "\n" -}}

      {{- if (index .Alerts 0).Annotations.summary -}}
        **Summary:** {{ (index .Alerts 0).Annotations.summary }}{{- "\n" -}}
        {{- (index .Alerts 0).Annotations.description -}}{{- "\n" -}}
        {{- if gt (.Alerts | len) 1 -}}
          **Instance(s):** {{ range .Alerts -}}{{ .Labels.instance }} {{ end }}
        {{- end -}}
      {{- end }}

      [**> Silence this alert <**]({{ template "__alert_silence_link" . }}) -- [**> See in Alertmanager <**]({{ template "__alertmanagerURL" . }}){{- end }}
    short_fields: false
    footer: '{{ template "slack.default.footer" . }}'
    fallback: '{{ template "slack.default.fallback" . }}'
    callback_id: '{{ template "slack.default.callbackid" . }}'
    icon_emoji: '{{ template "slack.default.iconemoji" . }}'
    icon_url: '{{ template "slack.default.iconurl" . }}'
    link_names: false

Also, if it helps, this is an example of json-response from MM with bot message data
        "7kpk6nbrd7ygfnft1zt6qotzth": {
            "id": "7kpk6nbrd7ygfnft1zt6qotzth",
            "create_at":<PHONE_NUMBER>143,
            "update_at":<PHONE_NUMBER>143,
            "edit_at": 0,
            "delete_at": 0,
            "is_pinned": false,
            "user_id": "7mnzn4jz3tbe3prccecch4yxeh",
            "channel_id": "sgzs1isgfpbn9fexod6sgzsz8r",
            "root_id": "",
            "original_id": "",
            "message": "",
            "type": "slack_attachment",
            "props": {
                "attachments": [
                    {
                        "id": 0,
                        "fallback": "[RESOLVED] BlackboxProbeHttpFailure blackbox | <my-fallback-url-here>",
                        "color": "good",
                        "pretext": "",
                        "author_name": "",
                        "author_link": "",
                        "author_icon": "",
                        "title": "[RESOLVED] BlackboxProbeHttpFailure",
                        "title_link": "<my-fallback-url-here>",
                        "text": "**Job:** `blackbox`\n**Severity:** `warning`\n**Cluster:** `---`\n**Summary:** Blackbox probe HTTP failure (instance <URL>)\nHTTP status code is not 200-399\n  VALUE = 0\n**Instance(s):** <URLs> \n\n  [**\u003e Silence this alert \u003c**](<my-AM-URL>) -- [**\u003e See in Alertmanager \u003c**](<my-AM-URL>)",
                        "fields": null,
                        "image_url": "",
                        "thumb_url": "",
                        "footer": "",
                        "footer_icon": "",
                        "ts": null
                    }
                ],
                "from_webhook": "true",
                "override_icon_url": "https://cdn-icons-png.flaticon.com/512/4370/4370893.png",
                "override_username": "Alertmanager",
                "webhook_display_name": "<my-display-name>"
            },
            "hashtags": "",
            "pending_post_id": "",
            "reply_count": 0,
            "last_reply_at": 0,
            "participants": null,
            "metadata": {
                "embeds": [
                    {
                        "type": "message_attachment"
                    }
                ]
            }
        },

@Kvark1205 It is weird. I don't see anything wrong with the message, and I cannot reproduce passing the same set of props. For something like this to happen, the main culprit would be that we are not recognizing the attachment correctly, be it for a failure in the code or just it being malformed.
The only other reason for this to happen is that the metadata.embeds part is wrong, but that doesn't seem to be the issue neither.
Just as sanity check, can you verify you are in the latest version of the mobile app?

@larkox On 2.23.1 messages shows fine as it should


Does Private DNS zone works over Azure P2S VPN?

[Enter feedback here]

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

ID: 45e46665-a97e-8ea2-8180-47911bfa1b70
Version Independent ID: 959ba230-0023-70d0-4b91-c17c5dbedc16
Content: Scenarios for Private Zones - Azure DNS
Content Source: articles/dns/private-dns-scenarios.md
Service: dns
GitHub Login: @rohinkoul
Microsoft Alias: rohink

I have Private DNS Zone linked to a VNET and VPN configured in the same VNET. When trying to access the service from the VNET, it works but not over P2S VPN? If it is supported, then what is the workaround?

@vikaskumawat80 Private DNS Zones will NOT work over P2S VPNs. As a workaround, you will need to manually add the DNS entry to the P2S machines.
If you would like us to add this functionality in the future, please leave your feedback Here.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@vikaskumawat80 are you trying to allow P2S clients to resolve your private AKS cluster via DNS? If so, you will need to either use a custom DNS server, or manually add the DNS entry to the P2S VPN clients. For Example, in Windows, you add the entry in the hosts.txt file.

I tried that. Adding a host entry but didn't work. Then we tried OpenVPN Access Server which worked.


GraphPPL creates global random variable for temporary local random variables

The following code in the @model macro
for n in 1:N
      ...
      u[k] ~ MvNormal(mean = m_u[k], cov = V_u[k])
      x[k] ~ MvNormal(mean = m_x[k], cov = V_x[k])
      tmp ~ u[k] + x[k]
      ...
 end

Creates a single huge tmp variable with a huge equality nodes chain connecting all random variables in the model (and potentially creating many loops in the model). In fact, I simply want to create an intermediate variable and discard it immediately. This probably has been introduced in #12 .
Its interesting though, it might be considered as a bug and as a feature at the same time. Depends on how you interpret this expression. There is nothing wrong with creating one single huge global variable tmp for all nodes. I would, however, resort to the create+discard behaviour in this case as it seems more natural to me.

WDYT: @albertpod @bartvanerp @ismailsenoz @bertdv
P.S. The workaround is quite trivial:
tmp = randomvar(N)

for n in 1:N
      ...
      u[k] ~ MvNormal(mean = m_u[k], cov = V_u[k])
      x[k] ~ MvNormal(mean = m_x[k], cov = V_x[k])
      tmp[k] ~ u[k] + x[k]
      ...
 end

We could to smth like
for n in 1:N
      ...
      u[k] ~ MvNormal(mean = m_u[k], cov = V_u[k])
      x[k] ~ MvNormal(mean = m_x[k], cov = V_x[k])
      local tmp ~ u[k] + x[k]
      ...
 end

Interesting bug/feature. Never considered it this way and I am also not sure what the most desirable approach would be. I can imagine that we alternatively could throw a warning if a variable is assigned multiple times. This would generally only throw warnings when dealing with goal priors.

The current behavior is just plain wrong, because it forces $u[1] + x[1] = u[2] + x[2] = \ldots = u[k] + x[k]$, which is not what you want.
The problem is really that ~ is not well-defined. The problem is that ~ is sometimes interpreted as is distributed as, and sometimes as is assigned. You really want to write:
tmp = u[k] + x[k]

which should lead to (what you call) the desired behaviorm, namely assigning $u[k] + x[k]$ to tmp, no matter what the previous value of tmp is.
Unfortunately, as I understood (maybe I m wrong), you cannot do that because you cannot use the assignment operator = for a randomvar.
There are two solutions. You shouls re-evaluate the meaning of randomvar and ponder if you really need that concept. After all, tmp is likely just a float64, and the assignment = should work for a float64.  The concept of a random float64 is nonsense. It's a float64 or not.
Alternatively, you may consider := for assignment for a randomvar. then you get:
tmp := u[k] + x[k]

which is also uniquely interpretable.
Last option would be to require end users to write
tmp[k] ~ u[k] + x[k]

But I think it is far from desired as it will lead to many end users writing wrong code.
This is a big issue IMO.

@bertdv

First, the issue has nothing to do with +, so tmp = u[k] + x[k] or tmp := u[k] + x[k] is not really a solution. I used + as an example, but the following code also does not behave as you would expect (though I actually didn't check it, will check it later):

for k in 1:N
    tau[k] ~ Gamma(...)
    mean[k] ~ Normal(...)
    tmp ~ Normal(mean[k], tau[k])
end

This code would create a global tmp variable as well. I should have been more clear on that in my description.

Second, tmp is not Float64, tmp is a RandomVariable with unknown value/distribution at model parsing time. There is no way to determine the distribution or its value at parse time (during @model macro execution).

Third, this code is actually behaves exactly as it "should", it just counterintuitive. ~ has a pretty well defined behaviour in the GraphPPL.jl. Expression of the form r ~ p(x, y, z) simply adds p(r, x, y, z) factor to the model's p. So in a sense, the GraphPPL.jl creates the following model:

$$
p(\text{tmp}, \textbf{u}, \textbf{x}, \dots) = \prod_{k = 1}^{N} p_k(\text{tmp}, u_k, x_k) \times \cdots
$$
while, indeed, the following model would be more intuitive:
$$
p(\textbf{tmp}, \textbf{u}, \textbf{x}, \dots) = \prod_{k = 1}^{N} p_k(\text{tmp}_k, u_k, x_k) \times \cdots
$$
It is a problem both in case if p_k is a deterministic factor as + or stochastic as Normal. I would prefer the second case. The question is do we want the current behaviour to work as well?

As we discussed, it would be better to write
t := u[k] + x[k]

for assignments. And keep the ~ for when the RHS specifies explicitly a probability distribution.
There is another problem with the setup. If you would draw arrows in the graphs in the generative direction, then you find that the code does not correspond to a generative model. Proper code for the LHS generative model is (there are also other working variants):
tmp ~ MvNormal( ... )
for k in 1:N
      ...
      u[k] ~ MvNormal(mean = m_u[k], cov = V_u[k])
      x[k] := tmp - u_k
      x[k] ~ MvNormal(mean = m_x[k], cov = V_x[k])
      ...
 end

This code should build the LHS graph.
The RHS graph is simply
for k in 1:N
      ...
      u[k] ~ MvNormal(mean = m_u[k], cov = V_u[k])
      x[k] ~ MvNormal(mean = m_x[k], cov = V_x[k])
      tmp[k] := x[k] + u_k
      ...
 end

@wouterwln We discussed this issue with you. I suggested to use local identifier as a possible solution.