[Bug] Incompatible with outlines>=0.1.0

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.
[X] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
[X] 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[X] 5. Please use English, otherwise it will be closed.

Describe the bug
When launching a server, I get a no module found error for outlines.fsm.regex. After checking the releases of the outlines library, I found that this module was removed in the 0.1.0 release.
Reproduction
python -m sglang.launch_server --model-path Meta-Llama-3-8B-Instruct
--port 30000 --host <IP_ADDRESS>
Error: No module named 'outlines.fsm.regex'. Please install a new version of outlines by pip install "outlines>=0.0.44"
Environment
Python: 3.11.2 (main, Mar 16 2023, 23:15:26) [GCC 11.3.0]
CUDA available: True
GPU 0: NVIDIA A100 80GB PCIe
GPU 0 Compute Capability: 8.0
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 11.8, V11.8.89
CUDA Driver Version: 525.105.17
PyTorch: 2.1.2+cu118
sglang: 0.3.5
flashinfer: 0.1.1+cu118torch2.1
triton: 2.1.0
transformers: 4.38.2
requests: 2.31.0
tqdm: 4.66.2
numpy: 1.26.4
aiohttp: 3.10.2
fastapi: 0.110.0
hf_transfer: Module Not Found
huggingface_hub: 0.20.3
interegular: 0.3.3
packaging: 23.2
PIL: 10.2.0
psutil: 5.9.8
pydantic: 2.6.3
uvicorn: 0.28.0
uvloop: 0.19.0
zmq: 24.0.1
vllm: Module Not Found
multipart: Module Not Found
openai: 1.52.1
tiktoken: 0.8.0
anthropic: Module Not Found
NVIDIA Topology:
GPU0    CPU Affinity    NUMA Affinity
GPU0     X      0-63            N/A
Legend:
X    = Self
SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
PIX  = Connection traversing at most a single PCIe bridge
NV#  = Connection traversing a bonded set of # NVLinks
Hypervisor vendor: VMware
ulimit soft: 1048576

Please install a new version of outlines by pip install "outlines>=0.0.44"

outline outlines=0.1.0 is included in the requirement "outlines>=0.0.44" and it does not work...

Sorry that I misread the version number. Can you use the old version for now and fix the version specification in https://github.com/sgl-project/sglang/blob/main/python/pyproject.toml?

thanks @merrymercy!

move to https://github.com/sgl-project/sglang/issues/2276


crash in Firefox when sync == true

when sync == true xhr will crash with the following error:
InvalidAccessError: A parameter or an operation is not supported by the underlying object

On the line
xhr.withCredentials = !!options.withCredentials

On the related MDN page it is said that
Note: Starting with Gecko 11.0 (Firefox 11.0 / Thunderbird 11.0 / SeaMonkey 2.8), Gecko no
longer lets you use the withCredentials attribute when performing synchronous requests.
Attempting to do so throws an NS_ERROR_DOM_INVALID_ACCESS_ERR exception.

I fixed code style and added a testcase.
@Raynos I didn't tag&publish it yet, so that you can still Veto.


checkbox display is bad when empty line

on the image above, three and four are not well displayed:

fixed in 2.2.0


Sizes in sidebar

I think the sidebar could give more information about the chunks itself
Like showing sizes for each chunk displayed in the list and show the total bundle size.
It would give you a good overview of the sizes, either in each chunk and the total app

Implemented in v2.9.0


Examine distribution of max HMM cost per sample in MatchDB

This should help us to figure out the precision values to use during adaptive HMM matching.

As predicted, the number of samples with a given hmm cost approximately halves up to hmm_cost = 5
jk@holly$ python3 -m sc2ts info-matches results/viridian-extra-site-exclude-adaptive_precision
_6-mm_3-mhc_5-mgs_20/viridian-extra-site-exclude-adaptive_precision_6-mm_3-mhc_5-mgs_20-match.
db
MatchDb at file:results/viridian-extra-site-exclude-adaptive_precision_6-mm_3-mhc_5-mgs_20/viridian-extra-site-exclude-adaptive_precision_6-mm_3-mhc_5-mgs_20-match.db has 797764 samples
last date =  2021-06-30
cost    percent count
0       53.9    430151
1       23.9    190909
2       10.1    80849
3       4.4     35386
4       2.2     17502
5       1.3     10126
6       0.9     7539
7       0.8     6142
8       0.6     4613
9       0.4     3561
10      0.3     2664
11      0.2     1865
12      0.2     1501
13      0.1     1125
14      0.1     852
15      0.1     597
16      0.1     449
17      0.0     358
18      0.0     298
19      0.0     242
20      0.0     174
21      0.0     153
22      0.0     125
23      0.0     100
24      0.0     100
25      0.0     53
26      0.0     69
27      0.0     49
28      0.0     36
29      0.0     30
30      0.0     34
31      0.0     18
32      0.0     23
33      0.0     8
34      0.0     3
35      0.0     8
36      0.0     4
37      0.0     1
38      0.0     4
39      0.0     5
40      0.0     2
41      0.0     2
42      0.0     4
43      0.0     2
44      0.0     1
45      0.0     3
46      0.0     2
51      0.0     2
52      0.0     3
53      0.0     4
53      0.0     4
54      0.0     3
55      0.0     3
56      0.0     2
58      0.0     2
59      0.0     3

Code in #243


[ALBERT] Pretraining

Hi,
thanks for releasing implementation and pre-trained models for ALBERT :heart:
I would really like to train a model from scratch - would this be possible with one v3-8 TPU 🤔. If that's possible could you also give a detailed overview of the parameters you used for training base or larger models?
I think the "training for x steps for sequence length 128 and then fine-tuning the model for a sequence length of 512" approach is not used in the paper, so could you specify the parameters for the create_pretraining_data.py script (because it is using a seq. length of 128 by default).
Thanks many in advance!

Hi Hi,
Sorry for the delay, we didn't get notification about these issues. We are moving our code to a separate repo so we can handle your questions in a more timely way.
I did update the setting to be our default setting about 3 days ago. I am not sure what v3-8 is, but you can try it on the albert-base. Please do turn off the dropout, which could save you a significant portion of memory.  You can also try to lower your batch size. For example, using the 512 setting here (https://arxiv.org/abs/1904.00962).


URL Parameters / Path Params not parsing correctly

I'm unable to list URL parameters with Swirl.
@swirl.restapi('/api/v1/basic')
class BasicHandler(BaseHandler):
    async def get(self):
        """foo bar

        URL Parameters:
            foo (string) -- bar
        """
        print("bar")

When I run this code, I get the following error
ERROR:tornado.application:Uncaught exception GET /swagger/spec (<IP_ADDRESS>)
HTTPServerRequest(protocol='http', host='<IP_ADDRESS>:3000', method='GET', uri='/swagger/spec', version='HTTP/1.1', remote_ip='<IP_ADDRESS>')
Traceback (most recent call last):
  File "tornado/web.py", line 1697, in _execute
    result = method(*self.path_args, **self.path_kwargs)
  File "tornado_swirl/views.py", line 101, in get
    for path, spec, operations in apis},
  File "tornado_swirl/views.py", line 100, in <dictcomp>
    'paths': {path: self.__get_api_spec(spec, operations)
  File "tornado_swirl/views.py", line 368, in find_api
    ['{%s}' % arg for arg in [param.name for param in vals]]
TypeError: not all arguments converted during string formatting

Descriptions, long descriptions, 200 Response, and Error Responses parse correctly and can be seen in Swagger. I've tried all combinations of URL Parameters / Path Params and it seems to be causing the error to occur.

After looking through the examples, I realize now that I was using it incorrectly, in that I should have been using "Query Parameters" instead.


Move this repo to dcos org

Would make sense to move this repo to dcos org and name it terraform_dcos_core :)

Agreed! I will move this over. We might need to keep the name of the project as tf_dcos_core or at a minimum keep tf to follow the naming connection of the community modules here: https://github.com/terraform-community-modules

Cannot find this under the dcos org, has it been moved? If i want to commit support for 1.11.0, do i have to do it here?

@rimusz @a-nldisr
moved just now.
https://github.com/dcos/tf_dcos_core


go.mod file indicates go 1.17, but maximum supported version is 1.15

Hello, I'm getting an error
go mod tidy: go.mod file indicates go 1.17, but maximum supported version is 1.15
make: *** [Makefile:24: bin/dss] Error 1

My golang version is: go1.15.15 linux/amd64
Do i need to update my golang to 1.17?

Yes, per the go.mod file, you must have Go 1.17 installed to use build the project. Alternatively, you can find prebuilt releases here.


Neato botvac integration to HASS

Trying to find way to integrate neato botvac cleaning in to Home Assistant and also don't want to use neato cloud system at all.  anyone have any guide or its even possible?
thanks in advance.

There is now integration in HASS if you have not set it up yet :)
https://www.home-assistant.io/components/neato/
In regards to bypassing the cloud not sure if its possible but according to the API we can connect to the robot locally for manual control so it might be possible?
https://developers.neatorobotics.com/api/robot-remote-protocol/manualcleaning


Dotnet core template for F# adapted

See https://github.com/fsharp-editing/Forge/issues/82

https://github.com/fsharp-editing/Forge/pull/81#issuecomment-327029916


Add Windows Services support

Add Windows Services support.
Users can use sc create "Microsoft Garnet Server" binPath=path/to/GarnetServer to create a Windows Services so that it can be run in the background.
Guarded under OperatingSystem.IsWindows() so it won't introduce any overhead for other OS.

👍 for adding generic host! It'll make a lot of future stuff such as configuration binding pretty neat.

Thank you for adding hosting capability for Garnet. To keep architecture clean and Garnet reusable by all parties, engine process and hosting solution should ideally be separated (hosting should be a dedicated library in its own folder). This ensures the purity in terms of functionality of Garnet.Server, and do not unncessarily include redundant code in case other people have a different hosting strategy.
Let me know what you think - I am happy to have a discussion, or provide a starting place where you can make contributions!

AddWindowsServices uses OperatingSystem.IsWindows() under the hood to guard the OS so that other systems won't be affected by it.
Also, OperatingSystem.IsWindows is a compiler intrinsic in .NET and the branch can be removed completely after trimming if the target OS is not Windows, which makes sure no redundant code will be introduced on OS other than Windows.

Ah right, if that's a concern for consumers of the server through NuGet then the guard has use 👍
The main server executable will be expected to get almost all of the dependencies in the screenshot above, given generic host & observability improvements to better align the Garnet with existing server application .NET practices (See ASP.NET, Orleans..)

We use OperatingSystem.IsWindows() guard the OS so that other systems won't be affected by it. Also, OperatingSystem.IsWindows is a compiler intrinsic in .NET and the branch (including all codepath called in that branch) will be removed completely after trimming if the target OS is not Windows, which makes sure no redundant code will be introduced on OS other than Windows.
As you can see when I publish the GarnetServer for Linux with /p:PublishTrimmed=true, the produced artifacts doesn't contain Microsoft.Extensions.Hosting.WindowsServices.dll at all.

@yangmsft does it resolve your concerns? @PaulusParssinen we still need to use OperatingSystem.IsWindows otherwise the code won't be trimmed on other OS.

My concern is on library/architectural design - GarnetServer as a project should be kept as strictly a library that produces standalone executable, for demo/exploration/proof-of-concept/other purposes.
Hosting solutions should be placed in a dedicated folder (/hosting, for example), with a dedicated csproj for each hosting model. Even in the same operating system there can be multiple ways of hosting Garnet, and windows service is just one way of hosting and thus should be modeled as a standalone library. Otherwise we will eventually end up with a significant number of if statements in main() for each OS/hosting solution etc. that will be hard to maintain and introduce a lot of noise for anyone trying to use it.

Otherwise we will eventually end up with a significant number of if statements in main() for each OS/hosting solution etc. that will be hard to maintain and introduce a lot of noise for anyone trying to use it.

This is not true. We are using the extensible generic host provided by Microsoft.Extensions.Hosting. It was invented for any form of "hosting application" which doesn't require the developer to maintain the platform-specific code.
For example, the Windows Services integration is just an extension of the generic host and is a no-op on other platforms by default.

Otherwise we will eventually end up with a significant number of if statements in main() for each OS/hosting solution etc. that will be hard to maintain and introduce a lot of noise for anyone trying to use it.

This is not true. We are using the extensible generic host provided by Microsoft.Extensions.Hosting. It was invented for any form of "hosting application" which doesn't require the developer to maintain the platform-specific code. For example, the Windows Services integration is just an extension of the generic host and is a no-op on other platforms by default.

While Microsoft.Extensions.Hosting sets up a good generic model for hosting applications, BackgroundService nonetheless introduces assumptions on hosting model and OS. I understand that redundant/unused dependencies will be excluded at compile time, but this does not avoid all the if statements if different hosting strategies are introduced even if they all come from Microsoft.Extensions.Hosting. As an example, Service Fabric, k8s and other containerized solutions all require different implementations and it is not economic to keep adding them to the same project - not to mention that Microsoft.Extensions.Hosting might not be the only hosting strategy.
In a sense GarnetServer project on its own is already a hosting solution - hosting Garnet as a standalone executable without any hosting infra. Other hosting solutions should live in their own dedicated projects.

However I would like to hear more on this.. What in containerized solutions is not handled by generic host? How is this not problem for the ASP.NET/Orleans etc.? Why do they "require different implementation"?
Doesn't the M.E.Hosting provide flexibility and configuration to allow customized implementations?

I might have misspoken and I apologize if I caused confusion; to my limited knowledge, I am not aware of containerized solution that actively deviates from Microsoft.Extensions.Hosting - the main point is to not make assumptions. Flexibility of Microsoft.Extensions.Hosting does allow diverse implementations but that is kind of the point of not putting every custom implementation into the same project - if there is a complete hosting solution targeting some hosting infrastructure, it belongs to its own project. Choosing a hosting solution should be choosing the right csproj to build, rather than select the correct if-else (or switch case) branch among many implementations in the same project.

I might have misspoken and I apologize if I caused confusion; to my limited knowledge, I am not aware of containerized solution that actively deviates from Microsoft.Extensions.Hosting - the main point is to not make assumptions.

I agree wholeheartedly.

Flexibility of Microsoft.Extensions.Hosting does allow diverse implementations but that is kind of the point of not putting every custom implementation into the same project - if there is a complete hosting solution targeting some hosting infrastructure, it belongs to its own project. Choosing a hosting solution should be choosing the right csproj to build, rather than select the correct if-else (or switch case) branch among many implementations in the same project.

I think the generic hosting model avoids the branching quite well but that's not the point here, the if statement in this case is just the most straightforward response at the moment to address your concerns about the redundant code (which is generic host & trimming concern).
In my opinion, fully embracing generic host would get the best of both worlds. You could even hide that if statement behind the very flexible configuration abstraction which the generic host brings. The generic host would allow the in-process consumers of the Garnet to configure the server to their liking using this model too, however they ever choose. Of course not everyone want's to learn the generic host model and we can also provide those consumers straightforward way to continue just new GarnetServer away and register their custom commands and what not manually.

Instead of modifying main/GarnetServer, can we perhaps add a new main/GarnetHost (open to other namings) so that the existing straightforward server is not affected or have to carry additional library burdens?

Instead of modifying main/GarnetServer, can we perhaps add a new main/GarnetHost (open to other namings) so that the existing straightforward server is not affected or have to carry additional library burdens?

@hez2010 - what do you think of this? thanks!

Instead of modifying main/GarnetServer, can we perhaps add a new main/GarnetHost (open to other namings) so that the existing straightforward server is not affected or have to carry additional library burdens?

@hez2010 - what do you think of this? thanks!

Just wanted to ping on this, thanks.

Thanks for pinging.
I'm not a fan of it but definitely doable.
IMO the standalone server is already a host so we really don't need yet another host to do this.

Closing as https://github.com/microsoft/garnet/pull/614 incorporates this concept.


This is really a good project！！！come on !!!

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hey，thanks for your encourage！ 💪
If you have no other issues，i'll close it


Cannot display "application/vnd.dataresource+json"

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
Minimal Reproduction

install deno
enable deno's jupyter kernel
write following .ipynb file and open in vscode.

import pl from "npm:nodejs-polars"
import { display } from<EMAIL_ADDRESS>
const df = pl.DataFrame({
	fruit: ["Apples", "Oranges"],
	comparability: [0, 1],
})
await display(df)
df

Expected behavior (Jupyter Lab)

Actual behaivor (VSCode)

The workaround
Preprocessing
With help of https://github.com/denoland/vscode_deno/issues/1014, found out that the display function sent data to jupyter in following format:
message_type: "display_data",
data: {
    "application/vnd.dataresource+json": { data: [ [Object], [Object] ], schema: { fields: [Array] } },
    "text/html": "

fruit	comparability

Apples	0</"... 59 more characters
  },
  metadata: {},
  transient: {}
}

Removing "application/vnd.dataresource+json" field fixes it.
Changing presentation

Changing presentation from  application/vnd.dataresource+json to text/html fixes it.
However this issue is still problematic because:

mimetype application/vnd.dataresource+json is not recognized as JSON
data in unrecognized mimetype renders as empty, which is confusing to encounter and hard to figure out the cause
most of the time users would probably want HTML output to have the highest priority
the behaviour of VSCode extension differs from jupyter lab

VS Code Version
1.85.1 (Universal)
Jupyter Extension Version
v2024.1.2024010901
Jupyter logs
18:56:13.795 [info] Restart requested ~/repo/polars/main.ipynb
18:56:13.796 [info] Dispose Kernel process 24186.
18:56:13.801 [warn] StdErr from Kernel Process Client disconnected PeerIdentity(b"XXXXXX")
18:56:13.807 [info] Launching Raw Kernel Deno # ~/.local/share/deno/bin/deno
18:56:13.808 [info] Process Execution: ~/.local/share/deno/bin/deno --unstable jupyter --kernel --conn ~/Library/Jupyter/runtime/kernel-v2-XXXXXX.json
    > cwd: ~/repo/polars
18:56:14.018 [info] Restarted XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX
18:56:16.874 [info] Handle Execution of Cells 0 for ~/repo/polars/main.ipynb
18:56:16.875 [info] Kernel acknowledged execution of cell 0 @<PHONE_NUMBER>875
18:56:16.922 [info] End cell 0 execution after 0.047s, completed @<PHONE_NUMBER>922, started @<PHONE_NUMBER>875

Coding Language and Runtime Version
deno 1.39.2 (release, aarch64-apple-darwin), typescript 5.3.3
Language Extension Version (if applicable)
Deno, v3.31.0
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local

Duplicate of https://github.com/microsoft/vscode-notebook-renderers/issues/189


Please help

Hello,
I am applying YASA to the sleep-edf data/sleep-edf-database-expanded-1.0.0 specifically this file, SC4001E0-PSG.edf. I am following along with notebook 14 just to understand how it produces the hypnogram file. The duration of the file states 22:04:60 (HH:MM:SS) however the hypnogram generated using this block of code below
"# Let's first create a dataframe with the predicted stages and confidence
df_pred = pd.DataFrame({'Stage': y_pred, 'Confidence': confidence})
df_pred.head(6)
Now export to a CSV file
df_pred.to_csv("my_hypno.csv")"

it generates roughly the right amount of epochs however when I go to input the annotations along with the edf file in edfbrowser it leaves off a big portion without annotations. I have a feeling this could be a user error in terms of edfbrowser usage but I followed instructions at this link: https://raphaelvallat.com/yasa/build/html/faq.html. I am using this for a senior project and will be applying it to real world data we will generate from our device. I am also a little confused in how I would go about generating a confusion matrix, I'm used to generating one for simpler data but am confused on how I should go about doing it for this situation. Any help would greatly be appreciated.
Thank you for your help,
Brandon

Hi,
Have you solved the problem? There's clearly something off with the way that the annotations are parsed into EDFBrowser, because each discrete epoch should be 30-seconds. Based on your screenshot, it seems that the epochs are interpreted by EDFBrowser to have roughly ~1-sec duration, which is clearly wrong.
To generate a confusion matrix you need to:

Get the YASA predicted sleep stages
Load the reference sleep stages into a numpy array or a pandas series, with the same label mapping as YASA (e.g. 0 = Wake, 1 = N1, etc)
Use scikit-learn to calculate and/or plot the confusion matrix.

Thanks
Raphael


Freeze on start (nloop)

Describe the bug
OrbStack is no longer able to start and is stuck on "Starting"
What I did try :

orb reset
orb delete docker -> failure

orb delete docker                                                                                 ✔  3.0.0   17:01:56 
WARNING: This will PERMANENTLY DELETE ALL DATA in the following machines:
  docker
You cannot undo this action.

Continue [y/N]? y
panic: start VM: timed out waiting for VM to start [recovered]
	panic: start VM: timed out waiting for VM to start [recovered]
	panic: start VM: timed out waiting for VM to start

goroutine 1 [running]:
github.com/orbstack/macvirt/scon/cmd/scli/cmd.RecoverCLI()
	github.com/orbstack/macvirt/scon/cmd/scli/cmd/utils.go:43 +0x78
panic({0x102c745e0?, 0x1400019a2e0?})
	runtime/panic.go:914 +0x218
github.com/orbstack/macvirt/scon/cmd/scli/scli.init.OnceValue[...].func3.1()
	sync/oncefunc.go:53 +0x7c
panic({0x102c745e0?, 0x1400019a2e0?})
	runtime/panic.go:914 +0x218
github.com/orbstack/macvirt/scon/cmd/scli/scli.check(...)
	github.com/orbstack/macvirt/scon/cmd/scli/scli/scli.go:12
github.com/orbstack/macvirt/scon/cmd/scli/scli.glob..func2()
	github.com/orbstack/macvirt/scon/cmd/scli/scli/scli.go:19 +0x88
github.com/orbstack/macvirt/scon/cmd/scli/scli.init.OnceValue[...].func3()
	sync/oncefunc.go:56 +0x78
sync.(*Once).doSlow(0x0?, 0x0?)
	sync/once.go:74 +0x100
sync.(*Once).Do(0x0?, 0x0?)
	sync/once.go:65 +0x24
github.com/orbstack/macvirt/scon/cmd/scli/scli.init.OnceValue[...].func4()
	sync/oncefunc.go:60 +0x3c
github.com/orbstack/macvirt/scon/cmd/scli/cmd.glob..func8(0x1400014a600?, {0x14000036600, 0x1, 0x102b597e3?})
	github.com/orbstack/macvirt/scon/cmd/scli/cmd/delete.go:121 +0x750
github.com/spf13/cobra.(*Command).execute(0x102f4d620, {0x140000365d0, 0x1, 0x1})
	github.com/spf13/cobra@v1.6.1/command.go:916 +0x66c
github.com/spf13/cobra.(*Command).ExecuteC(0x102f4bf20)
	github.com/spf13/cobra@v1.6.1/command.go:1044 +0x320
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/cobra@v1.6.1/command.go:968
github.com/orbstack/macvirt/scon/cmd/scli/cmd.Execute(...)
	github.com/orbstack/macvirt/scon/cmd/scli/cmd/root.go:25
main.runCtl(0x28?)
	github.com/orbstack/macvirt/scon/cmd/scli/main.go:140 +0x1dc
main.main()
	github.com/orbstack/macvirt/scon/cmd/scli/main.go:41 +0x94

A restart of computer solves the issue but "Starting" infinite loading is disturbing
To Reproduce
I don't know how to reproduce the issue
Expected behavior
OrbStack is able to start
Diagnostic report (REQUIRED)
OrbStack info:
Version: 1.3.0
Commit: c7cc1bd78adc76441a91befa2a50c0119c9d4703 (v1.3.0)
System info:
macOS: 14.2.1 (23C71)
CPU: arm64, 10 cores
CPU model: Apple M1 Pro
Model: MacBookPro18,3
Memory: 32 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-01-17T16-07-02.434407Z.zip

Screenshots and additional context (optional)
No response

Does it help if you:

Change the data location in Settings > Storage (create a new folder — anything other than default)
Toggle "Network Volumes" here (turn off it was on, and vice versa)

Want to bring attention to this issue. As @guyguy333 said, a restart will temporary fix this problem but I think that's - especially on mac - not the best workaround for this issue.
I first encountered this issue about 1 week ago, restarted my mac and continued until today. Then I got the same error again. I am working with Docker on a M2 with version 1.3.0. Docker command was not responding. After that I've restarted Orbstack and was stuck in the "Container Starting" process. Commands orb reset and orb delete docker resulted in the same failure.
I also tried starting Orbstack via Commandline instead of the GUI. The command orb gave me the following log: start VM: timed out waiting for VM to start.
orb reset will finish without any notice and orb delete dockerwill result in the following output:
WARNING: This will PERMANENTLY DELETE ALL DATA in the following machines:
  docker
You cannot undo this action.

Continue [y/N]? y
panic: start VM: timed out waiting for VM to start [recovered]
	panic: start VM: timed out waiting for VM to start [recovered]
	panic: start VM: timed out waiting for VM to start

goroutine 1 [running]:
github.com/orbstack/macvirt/scon/cmd/scli/cmd.RecoverCLI()
	github.com/orbstack/macvirt/scon/cmd/scli/cmd/utils.go:43 +0x78
panic({0x100da85e0?, 0x14000113160?})
	runtime/panic.go:914 +0x218
github.com/orbstack/macvirt/scon/cmd/scli/scli.init.OnceValue[...].func3.1()
	sync/oncefunc.go:53 +0x7c
panic({0x100da85e0?, 0x14000113160?})
	runtime/panic.go:914 +0x218
github.com/orbstack/macvirt/scon/cmd/scli/scli.check(...)
	github.com/orbstack/macvirt/scon/cmd/scli/scli/scli.go:12
github.com/orbstack/macvirt/scon/cmd/scli/scli.glob..func2()
	github.com/orbstack/macvirt/scon/cmd/scli/scli/scli.go:19 +0x88
github.com/orbstack/macvirt/scon/cmd/scli/scli.init.OnceValue[...].func3()
	sync/oncefunc.go:56 +0x78
sync.(*Once).doSlow(0x0?, 0x0?)
	sync/once.go:74 +0x100
sync.(*Once).Do(0x0?, 0x0?)
	sync/once.go:65 +0x24
github.com/orbstack/macvirt/scon/cmd/scli/scli.init.OnceValue[...].func4()
	sync/oncefunc.go:60 +0x3c
github.com/orbstack/macvirt/scon/cmd/scli/cmd.glob..func8(0x140000d2600?, {0x14000032600, 0x1, 0x100c8d7e3?})
	github.com/orbstack/macvirt/scon/cmd/scli/cmd/delete.go:121 +0x750
github.com/spf13/cobra.(*Command).execute(0x101081620, {0x140000325d0, 0x1, 0x1})
	github.com/spf13/cobra@v1.6.1/command.go:916 +0x66c
github.com/spf13/cobra.(*Command).ExecuteC(0x10107ff20)
	github.com/spf13/cobra@v1.6.1/command.go:1044 +0x320
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/cobra@v1.6.1/command.go:968
github.com/orbstack/macvirt/scon/cmd/scli/cmd.Execute(...)
	github.com/orbstack/macvirt/scon/cmd/scli/cmd/root.go:25
main.runCtl(0x28?)
	github.com/orbstack/macvirt/scon/cmd/scli/main.go:140 +0x1dc
main.main()
	github.com/orbstack/macvirt/scon/cmd/scli/main.go:41 +0x94

@JonnyBDev Please share a report from Help > Upload Diagnostics, and after that, try the debugging steps mentioned above.

@kdrag0n Report is appended.  Did not change the Data location, because this setting was not available while I was stuck in the restart loop. Restarted my mac a few min ago and will change the location now from default.
OrbStack info:
  Version: 1.3.0
  Commit: c7cc1bd78adc76441a91befa2a50c0119c9d4703 (v1.3.0)

System info:
  macOS: 14.1.1 (23B81)
  CPU: arm64, 10 cores
  CPU model: Apple M2 Pro
  Model: Mac14,9
  Memory: 16 GiB

Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-02-01T09-49-24.951893Z.zip
<!-- (To review the report, check ~/.orbstack/diag) -->

Unfortunately there's no info left from the crash because you've restarted it too many times since then. A new report would be helpful next time this happens.

Alright. Will create a dump the next time this happens. Thanks for your input.

Fixed for the next version.

Released in v1.6.0 Canary 1.
To update to Canary: Settings > Update channel

Released in v1.6.0.
New: Truly fast container filesystems on macOS: 2–10x faster, within 75-95% of native


Add reboot button to web configurator

This adds a handy Reboot button on the navigation bar in the web-config.

Also comes with a prompt.

Yes, just the submodule. #73 did all the stuff on the backend.


Call add() and start() methods of BaseStrategy with flumine as an argument

Proposal
The proposal is to change the call signature of BaseStrategy.add and BaseStrategy.start methods from (self) to (self, flumine). I am aware this would be a breaking change.
Rationale for making the change

It makes the call consistent with finish(self, flumine).
It raises add and start methods the same level of utiliy as finish method by giving them access to the whole framework.

Practical use case
I have a strategy which I want to test against historical data, then deploy on live markets. These environments are very different as live starategy runs indefinitely on a single core while simulated strategy runs in a subprocess, not to mention that framework types are different.
Currently there is no elegant way to have simulation-only initialisation in add and start methods because they are not aware of the framework in which they are executed. There is an option to call self.clients.simulated from the strategy, but this is not the same as testing flumine.SIMULATED attribute because the former also returns True if paper trading on a live market.
Of course, this is a simple example that merely scratches the surface. There may be numerous desirable interactions with the framework to be performed in the add and start steps of each strategy, which are currently not feasible because the strategy lacks a reference to the framework in those methods.
Notes
The lack of framework reference is not a limitation for other methods (except process_raw_data) since a reference is obtainable through the Market object.

Happy for you to come up with a PR on this, I agree there is sometimes the need to access the framework from various methods and it's not always clear how to do it / you end up obtaining through another class which seems hacky.

PR opened: #685 . I've included deprecation warning and support for old call signatures so it does not break people's scripts all of a sudden.


Fix issue causing our spec suite to run much slower.

Before this change:
$ bin/rspec | egrep 'Finished|(examples.*failure)'
Finished in 45.99 seconds (files took 0.89765 seconds to load)
2014 examples, 4 failures, 1 pending

After this change:
$ bin/rspec | egrep 'Finished|(examples.*failure)'
Finished in 11.16 seconds (files took 1.16 seconds to load)
2014 examples, 4 failures, 1 pending

I believe the issue was requiring 'rspec/rails/version'. Since
rspec-rails is not available, rubygems would exhaustively search
all my installed gems before raising LoadError. I have ~300 gems
installed and this was quite slow.
It's better to just force it to raise LoadError and not wait on
RubyGems to do the same thing.

LGTM


Voice processor does not seem to fully clean up after calling stop() for iOS

I am using a flutter video player plugin and the video player will not play if I try to start recording from voice processor and then stop it. In other words, here are my steps:

Start any type of media.
Media plays.
Call voice processor start();
Call voice processor stop();
Try to start the same media again
Media will not start because voice processor doesn't seem to completely disconnect resources.

The idea that it is not completely cleaning up the resources is just an assumption for now though. I have yet to debug to iOS code itself to see what's really going on internally. From my isolated tests though, it seems to be that the root cause stems from the stop() method.

Your guess is a good one, however, the resources are indeed cleaned up on a call to stop(). I actually think this is behavior is related to the AVAudioSession not being shared appropriately between the two plugins asking for it within the same app. Currently, we just let the system deactivate AVAudioSession, which works across apps, but this must not work internally. I think we may have to explicitly deactivate it on call to stop(). That's my guess anyway.
Which video plugin are you using? And can you provide me a code snippet to demonstrate how you're making these calls? I can look into this on Monday.

Your guess is a good one, however, the resources are indeed cleaned up on a call to stop(). I actually think this is behavior is related to the AVAudioSession not being shared appropriately between the two plugins asking for it within the same app. Currently, we just let the system deactivate AVAudioSession, which works across apps, but this must not work internally. I think we may have to explicitly deactivate it on call to stop(). That's my guess anyway.
Which video plugin are you using? And can you provide me a code snippet to demonstrate how you're making these calls? I can look into this on Monday.

I just created a new repository to isolate the issue:
https://github.com/muhatashim/flutter-voice-processor-video-player-demo

Your guess is a good one, however, the resources are indeed cleaned up on a call to stop(). I actually think this is behavior is related to the AVAudioSession not being shared appropriately between the two plugins asking for it within the same app. Currently, we just let the system deactivate AVAudioSession, which works across apps, but this must not work internally. I think we may have to explicitly deactivate it on call to stop(). That's my guess anyway.
Which video plugin are you using? And can you provide me a code snippet to demonstrate how you're making these calls? I can look into this on Monday.

I just created a new repository to isolate the issue:
https://github.com/muhatashim/flutter-voice-processor-video-player-demo

Thanks, I look into this!

Thanks, I look into this!

@muhatashim, I've fixed the issue in the latest commit (it's up on pub.dev too). Sure enough, it was due to the shared AVAudioSession being defined and held by the flutter_voice_processor and then the AVPlayer used by the video_player plugin couldn't get playback rights. Once you've tested the fix, please close the issue. Thanks for reporting this!

This issue is resolved as far as we can tell. Reopen if needed.

This issue is resolved as far as we can tell. Reopen if needed.


Amend the executable file path in the example script.

Now the README doc is inline with the example script

Thanks for catching that! Because it's in the bin directory, really all we need to say is
XcodeIssueGenerator -b RELEASE -w "WARNING, SERIOUS" -e TODO -x "Vendor/, Third Party/"
Want to update it to that?

Right! Done.


Add quotes for nuget package name argument.

Fixes #2721.

 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.:x: bernarden sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@bernarden your changes have been merged, thanks for your contribution 👍


Add support for arbitrary selection method

The selectionMethod field of GAContext is never used. Currently, the selection method is choosing the top (100 - crossover rate)% of a population for creating the next generation.

resolved with 69e41e9755ca4be0e88b6a030a9b9e93776bdc02


Set sourceRoot to destination in local dev mode

Passing sourceRoot as entryDirectory allows us to reference the original directory when outputting errors in remote dev mode, but unfortunately it breaks source resolution when using a debugger in local mode, since the source paths are resolved relative to sourceRoot—but source paths are set relative to the temporary directory we build in, not the original source root.
We can fix the latter without breaking the former by setting sourceRoot to destination (the temporary build directory). When logging errors, we rely on source-map to properly resolve the source file’s absolute path, rather than trying to rebuild the pathname ourselves by removing sourceRoot from source, which maintains the original desired behaviour.
I tested this locally with the following file:
addEventListener('fetch', event => {
  throw new Error("Error");
})

In remote dev, visiting localhost produces:
✘ [ERROR] Uncaught Error: Error

  throw new Error("Error");
        ^
      at  (/<path-to-src>/index.js:2:8)

✘ [ERROR] Uncaught (in response) Error: fucked it

In local dev, adding a breakpoint in VS Code on line 2 correctly resolves & stops (previously, it did not).
Fixes #1614

Hi - thanks for this. This is something that we definitely need to look into and this is a great start.
Your solution does slightly modify the behaviour of the remote dev logging:
Before:
at subModuleFn (sub/index.js:7:14)

After:
at subModuleFn (/Users/crobey/code/testing/src/sub/index.js:7:14)

Which is still arguably better than what we see if we don't pass anything into sourceRoot (taking relative path from the tmpDir - for me on MacOS stored in /var/...
at subModuleFn (../../../../../../Users/crobey/code/testing/src/sub/index.js:7:14)

I'll dig into this a little more today and try to get a fix out for the local mode behaviour

Ah! My bad. Is this arguably better though, because it will allow for command-click on supported terminals?

Am coming around to this (checked some other libraries which also seem to just print out the full absolute path) - any thoughts before I merge @JacobMGEvans ?

Am coming around to this (checked some other libraries which also seem to just print out the full absolute path) - any thoughts before I merge @JacobMGEvans ?

Nope. Looks like it a good solution, we have issues with the absolute path output we can figure it out then.

Will keep monitoring this over the next few weeks


Support more precise source filtering

What feature is it?
For arweave source, it should be decided whether to further query bundlr transactions based on the worker
What problem does this feature solve?
Arweave workers require too much memory than they actually need
Additional description
No response
This is not a duplicated feature request or new worker proposal

[X] I have searched existing issues to ensure this feature has not already been requested and this is not a New Worker.


Add SNSMessageAttribute type

Implements SNSMessageAttribute which was inspired by the SQSMessageAttribute.
Since this is a breaking change I'm not expecting it to get merged but I figured I'd submit it anyhow.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I like the change, but you're right, I don't believe it can be merged without doing a V2 release


Stop trying to detect touch and mobile devices

There's absolutely no point in trying to pigeonhole devices as "touch", "touch only", etc. Not only impossible, but pointless (no puns intended). Proper pointer event handling makes no such assumptions and browser scripts should never reference the UA string.
const MOBILE_REGEX = /mobile|tablet|ip(ad|hone|od)|android/i;

const SUPPORT_TOUCH = ('ontouchstart' in window);
const SUPPORT_POINTER_EVENTS = prefixed(window, 'PointerEvent') !== undefined;
const SUPPORT_ONLY_TOUCH = SUPPORT_TOUCH && MOBILE_REGEX.test(navigator.userAgent);

Attach both touch and pointer listeners and deal with them in turn. No need to try to predict which will fire.

add:
delete window.PointerEvent;
in your index.html PRIOR to loading hammer.js, and it will ignore those events.
You can also set SUPPORT_POINTER_EVENTS = false; (line 384 of v2.0.8) to do the same thing.
Ideally the devs would add the ability to turn this off, but so goes the open source dilemma...

Or, you could fix the described issue with the code. 🙂
Trying to delete a host object is silly (and might just throw an
exception), so libraries can't rely on users doing that.
On Wed, Nov 29, 2017, 3:14 PM Gary Skiba<EMAIL_ADDRESS>wrote:

add:
delete window.PointerEvent;
in your index.html PRIOR to loading hammer.js, and it will ignore those
events.
You can also set SUPPORT_POINTER_EVENTS = false; (line 384 of v2.0.8) to
do the same thing.
Ideally the devs would add the ability to turn this off, but so goes the
open source dilemma...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hammerjs/hammer.js/issues/1067#issuecomment-347982470,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AArScbNmJQG3laXWrwj5XeOhXJy1CMowks5s7bshgaJpZM4Lr3XW
.


Help moving scripts.js in head.

Hi,
How can I move the scripts.js in head instead of body and use defer instead when compiling?
<head>
  <script type="text/javascript" src="https://localhost:8080/scripts.js" defer></script>
</head>

Thank you!

@darkrubyist thanks for reminding me of this! Was in the back of my head by forgot to write it down. The Shopify Themes Team is also a fan of that approach. Will create an issue and get this implemented ASAP.


addon to idle notifyer

Is your feature request related to a problem? Please describe.
It's not a problem, no
Describe the solution you'd like
Add an option to get notification based on remaining inventory space, so that if say im fishing, and i want to be notified before it stops fishing, having an option to set that you get a notification when you have 2 inventory spaces left i'd be able to upkeep the efficiency a little bit better.
Describe alternatives you've considered
idk
Additional context
nop

Duplicate of #3969

Duplicate of #3969


GeometryCollection not allowed according to Item schema

The section for the geometry field in item-spec.md refers to RFC 7946, section 3.1, which includes all seven geometry types, so I assume that the intent is that items can have a GeometryCollection.
In the JSON schema, the geometry field must be null or conform to https://geojson.org/schema/Geometry.json. However, this file only defines the six base geometry types and does not allow for the object to be a GeometryCollection.
Not sure if this is actually an issue with the GeoJSON schema but as things stand, items with a GeometryCollection as its geometry will not validate against the schema.

We don't allow GeometryCollection and remove it from the Item Spec Markdown.

Just needs a PR and then can close @matthewhanson


AMBARI-24612 Host Level Maintenance mode is not working through Ambari UI

How was this patch tested?
21728 passing (29s)
48 pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3898/
Test PASSed.


misc(revert): Backout Add toString() to OutputBuffer stats (#11562)

Summary: Backing out D67304118: Add toString() to OutputBuffer stats since it breaks certain tests : https://github.com/facebookincubator/velox/actions/runs/12305614280/job/34345592257 .
Differential Revision: D67403265

@kgpai The test added needs to be removed
https://github.com/facebookincubator/velox/pull/11906/files#diff-2a362b31211790680e826c34fe2efae467c5e51e427d56713ee021e4c7e09994R1362


Java 21

Resolves #557
Looks to work ok. I'll do a code cleanup in another branch/PR to not mess this one. Code cleanup to remove some deprecated stuff and why not some simple stuff from basic code analysis.

Future dudes, this was missed https://github.com/jMonkeyEngine/sdk/pull/617.


Mini Roadmap | A list of issues that would require fixing

Need to fix the following

[x] several un-needed dependencies (hyper, serde, serde_json, async-trait, log, async-channel)

[x] The use of both async-std and tokio doesn't really make sense, combined with another thread pool the setup seems in-efficient.

[x] Remove the use of blocking sockets

[x] The server only accepts another connection after the previously accepted connection has been read from, this will cause SIGNIFICANT performance issues especially if a client is slow at sending data.

[x] Server doesn't actually support multiple requests on the same connection, which breaks any use in the real world because 1 connection can send many requests.

[x] Server assumes that all content returned from the framework will be a string, which in reality should be Bytes because there is no guarantee in the HTTP world that the response must be UTF-8. || Add support for JSON and other types

[x] Server only reads 1024 bytes of data from the socket when you first accept it, at least from what I can see. This means that if the request size is greater than 1024 the next request to go through that connection will be invalid in all likely hood.

[x] The server doesn't check if the actual HTTP request itself is valid, it just assumes that if it contains GET, POST, etc... That it's valid meaning you could have a POST request contain GET in the body and the server would treat it like a GET.

[x] No HTTP header handling, you simply assume the response from python will only be the body, which creates issues if you want to set any kind of headers or some other status code.

[x] If the client disconnects from the connection early, Python call fails, or and conversion fails the server will panic, and depending on where that happens it can cause the entire server to just shut down.

Implemented!


AnalyzerName is ignored when set on simple fields under complex fields

Package Name: @azure/search-documents
Package Version: 11.2.0
Operating system: Windows 10
[x] nodejs

version: 16.5.0

[ ] browser

name/version:

[x] typescript

version: 4.3.2

Describe the bug
The analyzerName property on child fields under complex fields is ignored (not set) when the index is created.
To Reproduce
import { AzureKeyCredential, SearchIndexClient } from "@azure/search-documents";

const endpoint = 'https://<service-name>.search.windows.net';
const credential =  new AzureKeyCredential('admin-api-key');
const client = new SearchIndexClient(endpoint, credential);

client.createOrUpdateIndex({
  "name": "foobar",
  "fields": [
    {
      "name": "id",
      "key": true,
      "type": "Edm.String"
    },
    {
      "type": "Edm.ComplexType",
      "name": "foo",
      "fields": [
        {
          "name": "bar",
          "type": "Edm.String",
          "searchable": true,
          "analyzerName": "fr.lucene"
        }
      ]
    }
  ]
})

In the Azure portal, the "Analyzer" is not set for the foo.bar field.
Expected behavior
It should support analyzerName for simple fields under complex fields.
Additional context
convertFieldsToGenerated() is not recursive, thus analyzerName is not converted to analyzer. As a workaround, we can pass analyzer and, when using TypeScript, we also need to explicitly cast to SearchField:
{
  "type": "Edm.ComplexType",
  "name": "foo",
  "fields": [
    {
      "name": "bar",
      "type": "Edm.String",
      "searchable": true,
      "analyzer": "fr.lucene"
    } as SearchField
  ]
}

Note that's the same issue for some other field options:
hidden -> retrievable
searchAnalyzerName -> searchAnalyzer
indexAnalyzerName -> indexAnalyzer
synonymMapNames -> synonymMaps
normalizerName -> normalizer

These don't map correctly when nested under a complex field.

@simonbrunel Thanks for reporting this issue. I will look into this issue and fix it soon and update this issue

Issue fixed


Deflaked lb_policies_test

Ugh, the shame... Seeing all capitals tripped my brain :/ thanks!
On Dec 1, 2016 12:32, "Mark D. Roth"<EMAIL_ADDRESS>wrote:

@markdroth commented on this pull request.
In test/core/client_channel/lb_policies_test.c
https://github.com/grpc/grpc/pull/8915#pullrequestreview-11050781:

for (size_t i = 0; i < sequences->n; i++) {
const grpc_connectivity_state actual = sequences->connectivity_states[i];

const grpc_connectivity_state expected = GRPC_CHANNEL_TRANSIENT_FAILURE;
if (actual != expected) {

const uint32_t expected_bitset =

   GRPC_CHANNEL_TRANSIENT_FAILURE | GRPC_CHANNEL_CONNECTING;

The enum values are not bits, they're sequential values (i.e., the values
are not 1, 2, 4, 8, etc; they are 0, 1, 2, 3, etc). I don't think you can
actually 'or' them together this way. I think you actually need to check
whether actual is equal to one or the other.
In test/core/client_channel/lb_policies_test.c
https://github.com/grpc/grpc/pull/8915#pullrequestreview-11050781:

actual = sequences->connectivity_states[num_iters - 1];

expected = GRPC_CHANNEL_TRANSIENT_FAILURE;
if (actual != expected) {
gpr_log(GPR_ERROR,

       "CONNECTIVITY STATUS SEQUENCE FAILURE: expected '%s', got '%s' "

       "at iteration #%d",

       grpc_connectivity_state_name(expected),

       grpc_connectivity_state_name(actual), (int)num_iters - 1);

abort();

const uint32_t expected_bitset =

 GRPC_CHANNEL_TRANSIENT_FAILURE | GRPC_CHANNEL_CONNECTING;

Same here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/pull/8915#pullrequestreview-11050781, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAHVmaz8Se2yZ1QhjZiPlsfCledrdP6nks5rDy7ogaJpZM4LAyWj
.

Fixed. PTAL.


feat: implement docsite for contrib packages

To enhance the visibility of contrib packages, we've decided to create a documentation site that aggregates documentation for all packages in this repository, similar to what we do for the Fluent UI core repository. This will be integrated into public-docsite-v9 using the Storybook composition feature.
What's New:

Added a new docsite application powered by storybook.
Selectively adopted Storybook styling and DocsPage components from the core to ensure a consistent user experience with public-docsite-v9, will be replaced with imports from a new  package once it's available (planned for Q3, cc @Hotell).
Implemented a shared Storybook configuration in /.storybook.
This shared configuration is now used across both apps and packages.
Updated the titles and added basic descriptions to existing package stories, drawing from the package's README.md.

Demo:
https://github.com/user-attachments/assets/c915d299-14f4-4caa-a771-9a6adb694822
Related Issues:
Partially addresses issue #175.

admin merging

pipeline passes
got majority of approvals from owners


Training with Label maps of different size and resolution

Hello Dr. Billot,
how is it possible to train SynthSeg with Feature Label Maps of different spatial resolutions? E.g. some of my Training data is 256x256x256, while others are 160x256x256. I understand that probably there needs to be some padding or cropping involved, but I do not have the understanding of the file formats to do so. Is there maybe some easy fix and if so, hox exactly could it be implemented?
Also: is there any way to resample Feature Label maps? E.g. take Synthsegs output at 1mm^3 and convert it into a segmentation of 0.1mm1^3 that "looks" the same and can then further be used for more detailed manual segmentation?
Thank you very much!

You can have a look at the following functions:
https://github.com/BBillot/SynthSeg/blob/0369118b9a0dbd410b35d1abde2529f0f46f9341/ext/lab2im/edit_volumes.py#L424
https://github.com/BBillot/SynthSeg/blob/0369118b9a0dbd410b35d1abde2529f0f46f9341/ext/lab2im/edit_volumes.py#L1208


Miner lost sync

Not the first time, after restart miner - 'sleep mining for a while to get sync...'

i got the same problem, runs well for awhile and all dialpeerworker failed


Docs: add global setup, custom render docs

🎉

:tada: This PR is included in version 5.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[AVM Module Issue]: data-factory can´t be restored

Check for previous/existing GitHub issues

[x] I have checked for previous/existing GitHub issues

Issue Type?
Bug
Module Name
avm/res/data-factory/factory
(Optional) Module Version
No response
Description
When trying to use the data-factory module bicep returns the following error: The artifact with reference "br:mcr.microsoft.com/bicep/avm/res/data-factory/factory:0.7.0" has not been restored.bicepBCP190
When I tried to lookup the documentation it wanted to travel to the following page https://github.com/Azure/bicep-registry-modules/tree/avm/res/data-factory/factory/0.7.0/modules/avm/res/data-factory/factory/README.md
Which doesn´t exists since in the path I can see /0.7.0/modules/avm/ which I think should be /0.7.0/avm/.
(Optional) Correlation Id
No response

Hi @NickVanRaaijT  any response for Alexander yet? see above. If not can we close this issue?


az webapp up: When deploying Python apps avoid deploying .env folder even if the .env folder is not in the root level

Repro:
Create a new webapp following the flask quickstart, but create a .env file before deploying.
After deploying, browse to the app (e.g. using VS Code), see .env file exists:

Expected behavior: .env file is not deployed as it is common for this file to contain secrets, and this is consistent with the VS Code behavior.
Other important considerations:
The behavior should be consistent with VS Code -- which excludes the .env file
The user should have choice over this, but I don't know if VS Code allows you to opt-out of this
Customizing include/exclude paths and aligning with VS Code might be another discussion
The output should indicate which files/folders are being skipped

@calvinsID lets talk about this in our next sync - so we can get this fixed for S173


Example of not acknowledging a message?

There appears to be an Acknowledge() function on the Fetcher and some acknowledgement options on middleware, but not on "myJob".
If my job can't be processed yet and I would like to leave it on the inProgressQueue, how do I do that?
It's also not clear to me when those inProgress jobs are retried? Is that dependent on retry options sent from the (Ruby client)? Does it use the same backoff algorithm as the Sidekiq server?

Hey @nathany,
If the job panics, the default retry middleware (https://github.com/jrallison/go-workers/blob/master/middleware_retry.go) will pick it up and place it the retry queue which behaves just like Sidekiq's does (places it in a redis sorted set, and exponentially backs off if it continues to fail).
Hope that helps!
Cheers,
John

Oh, so I should force a panic in the job if it's not ready to acknowledge it?
Doesn't seem the most Go-like, not a truly exceptional condition.

I'm glad to have found this thread. I was looking all over for a way to avoid calling panic(). Exceptions as flow control are not idiomatic Go, so I was sure I must be mistaken.


Fingerprint values sometimes aren't set due to negative result from bitwise xor

Due to the way JavaScript handles bitwise operands, I think the result of xor can be "negative".
This is causing the addFingerprint method to fail intermittently since the value is expected to be a positive integer. Here's the problematic line: https://github.com/reklatsmasters/stun/blob/cb84b7361d651742041f72f1ea247eb808c499e7/lib/message.js#L159

@andrewmbenton Thanks!


Fixes #1200 - Spelling and Grammatical Errors

Hi! Just wanted to start off by saying I think this an awesome project! I was looking to get involved and I as I familiarize myself with the codebase I thought I could lend a hand by making the few small spelling and grammatical fixes requested by issue #1200. Thanks!
Think I need this for the legal obligations:
Signed-off-by: Jerome Froelich<EMAIL_ADDRESS>

My apologies, I just noticed after I pushed my changes that goimports had mistakenly removed the "go-logging" package (I think because the package name "go-logging" is different from the name used in the code "logging"). So the second commit adds the package back to asset_management.go and asset_management_with_roles.go. Sorry for the mixup. Thanks again!

@ghaskins I just pushed a new commit trying to fix the whitespace discrepancy, please let me know if that is what you meant. In all honesty, I was a little uncertain how to fix it.

@jeromefroe it looks "worse" but its a nitpick anyway.  Don't worry about it.  Thank you for the corrections!
LGTM
Reviewed-by: Greg Haskins<EMAIL_ADDRESS>


[New game]: Add a Checkers game

🎮 Game Request
I want to develop a Checkers game using HTML, CSS, and JavaScript to provide an interactive and engaging gaming experience.
Point down the features
Game Board: Design and implement a visually appealing game board using HTML and CSS, representing the checkered grid with alternating colors. The board should be responsive and adjust well to different screen sizes.
Piece Movement: Enable players to move their game pieces by selecting a valid piece and then selecting a valid destination on the game board. Implement logic to enforce the rules of Checkers, including capturing opponent's pieces and promoting pieces to kings upon reaching the opposite end of the board.
Game Logic: Implement the necessary game logic in JavaScript to handle turn-based gameplay, enforcing the rules of Checkers, determining valid moves and capturing opponent's pieces. Additionally, implement logic to detect game over conditions, such as when one player wins or a draw occurs.
Player Interaction: Provide a user-friendly interface that allows players to interact with the game using mouse or touch inputs. Highlight valid moves and provide visual feedback when pieces are captured or kings are promoted.
Select program in which you are contributing
GSSoC23, Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @abhinav-m22 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @abhinav-m22 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


[bug] in-place edit: The new item form cannot be cancelled

This bug is present in the showcase as well

Go to http://showcase.sology.eu/smart_listing
In the in-place editing section, click new item
Click cancel

Nothing happens, while I expect the form to be hidden and the .new-item-action to be shown

Yes, there was a bug and it is fixed already in v1.1.1.
Just deployed the showcase.

Confirned fixed


Scene breaks when cast-shadow enabled and navigating back to a previously initialized scene

Describe the bug
I have a Nuxt 3 app and in it a page with a Tres.js scene. The scene contains <TresDirectionalLight cast-shadow /> which casts a shadow. When navigating away from the page with the scene and navigating back to the scene (using NuxtLink), I get the error below.

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

Moved the issue to the core: https://github.com/Tresjs/tres/issues/851


Questions about the query templates

@karthikncode
In the paper it was mentioned: The queries are based on automatically generated templates, created using the title of an article along with words most likely to co-occur with each entity type in the training data.  I have a couple of questions regarding these templates:

Where in the code or data files that such templates are generated or located? I have scanned through the files and was unable to find them.
Wonder what's your opinion about using Word2Vec to help with creating such templates? My thinking here is that since Word2Vec has the ability to discover structured relationship in the training text corpus, so perhaps the query templates created with it might be more relevant and effective for querying.

Thanks!

Take a look at ngrams.py.
That's an interesting thought. I guess you could use the learnt representations to find similar words and expand the query by adding in more/different context words? However, the vectors for the named entities are likely to be very noisy, so not sure if one could use this to get good context words directly from the tagged words.

Hope that helps!


bug: "The default author is missing from the docs store, to recover delete the file [...]"

Here's a report from @azzamsa in discord:

Hi, 👋🏻
If I run this code over and over, I don't get any errors.
    let storage_path = Path::new(env!("HOME"))
        .join(".local")
        .join("share")
        .join("todos-iroh");
    let config_path = storage_path.join("todos.cfg");

    // Initialize node
    let node = Node::persistent(&storage_path).await?.spawn().await?;
    let author = node.authors().default().await?;
    dbg!(&author);

but the time I add a logic to load previously created document, I always get Error: The default author is missing from the docs store. To recover, delete the file /home/user/.local/share/todos-iroh/default-author. Then iroh will create a new default author.
async fn init_repo() -> Result<(), crate::Error> {
    let storage_path = Path::new(env!("HOME"))
        .join(".local")
        .join("share")
        .join("todos-iroh");
    let config_path = storage_path.join("todos.cfg");

    // Initialize node
    let node = Node::persistent(&storage_path).await?.spawn().await?;
    let author = node.authors().default().await?;
    dbg!(&author);

    // Get previous document id
    let document = match config_path.exists() {
        true => {
            println!("Using previous config.");
            let document_id = fs::read_to_string(config_path)?;
            let document = node
                .client()
                .docs()
                .open(NamespaceId::from_str(&document_id)?)
                .await?;
            document.expect("can't find document")
        }
        false => {
            println!("Creating new config.");
            let document = node.client().docs().create().await?;
            let document_id = document.id().to_string();
            fs::write(config_path, document_id)?;
            document
        }
    };

    Ok(())
}

There are a bunch of failures in our Flaky CI tests that reproduce this:

--- STDOUT:              iroh-cli::cli cli_rpc_lock_restart ---

running 1 test
start
|Iroh is running
|Node ID: soubiinn7jdejlljcmled4i3s4n7znm4krpgoztjzo3hy4l7jb5q
killing process
restart
|Error: The default author is missing from the docs store. To recover, delete the file `/root/actions-runner/_work/iroh/iroh/target/testdir-0/cli/cli_rpc_lock_restart/data-dir/default-author`. Then iroh will create a new default author.
Expected 1 matches for regex: Iroh is running
test cli_rpc_lock_restart ... FAILED

failures:

failures:
    cli_rpc_lock_restart

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 10 filtered out; finished in 4.67s

Thank you for this 🍰

@azzamsa let me know how it goes :)

@azzamsa let me know how it goes :)

So far, I haven't encountered the error message: Error: The default author is missing from the docs store. To recover, delete the file .../default-author. Then iroh will create a new default author. I'll report here if it happens again.
Thank you so much for the fix 🍰


Fix a compile error in file_block_cache_test.cc

tensorflow/core/platform/cloud/file_block_cache_test.cc(461): error C3493: 'block_size' cannot be implicitly captured because no default capture mode has been specified
Compiler: Visual Studio 2017 v15.4.4

Can one of the admins verify this patch?

@tensorflow-jenkins test this please


MC position controller not engaging cleanly

https://logs.px4.io/plot_app?log=677d9349-3e6e-4242-b253-44d1ef488568

Looking a bit closer, the velocity setpoint change is still within the horizontal acceleration settings.


Use server side limits when querying

It doesn't matter too much either way but it never hurts to have useful defaults. I would remove the limits from here in that case.


Not able to list Encryption config secrets

On master-head - commit id: ec04f7878c

Create an encryption config secret in cattle-resources-system
Deploy Rancher backup app on local cluster
Create a backup CR
Not able to list the created Encryption config secret

On master-head - commit id: 2ae933e08

Create an encryption config secret in cattle-resources-system
Deploy Rancher backup app on local cluster
Create a backup CR
Enable Encryption. Select the encryption secret listed in the dropdown.
Deploy the backup CR
The backup is seen encrypted.


check current branch

If it's not master then add it to the url
Based on https://github.com/paulirish/git-open behaviour

I am not sure, when I open a file on GitHub, I want exactly the commit/lines, so I can copy the link share to other people, paste into a PR log.
But if it's a branch, the link could easily be broken.
Maybe we can use a config variable in .vimrc and default to commit link? What do you think?

Hey @gko , thanks for the PR, LGTM. But it seems the URL works for Github and Gitlab but not for Bitbucket. I haven't tried Cgit yet.

Hi @ruanyl, thanks for the remark.
I rewrote the whole thing. Only cgit left.
I also noticed that bitbucket actually asks a revision besides ref_name which makes no sense.
Example:
https://bitbucket.org/gorodinskiy/test/src/?at=test%23123
this doesn't work
however this does:
https://bitbucket.org/gorodinskiy/test/src/720e03259f40022ee3db10a5ab0314eae220f86b/?at=test%23123

all done.
I added a FIXME (vim doesn't recognize macOS)
https://github.com/gko/vim-gh-line/blob/fcc6927a50ddd3bccb15d20cd475c3efc7cc11bc/plugin/vim-gh-line.vim#L30
but it's an issue a part

@gko the bitbucket URL seems just like this https://bitbucket.org/yulongruan/test/src/test-branch/, like .../src/<branch_name>.

fixed

@gko Cool! thanks for the PR.


NumberInput & Decimal Input Enhacements

[ ] add a new property to number input which allows to emit javascript number instead of string.

[ ] add a new property to decimal input which hides the separators.

After version 1.0.9 you can use DecimalInput as follow to remove thousand separator:
<DecimalInput  thousandSeparator=''/>

For NumberInput to return javascript number, just use DecimalInput with no thousand separator.


Polina Chernyshova, added folders with homeworks(1, 2)

I added homework 1, 2 and created folder for task 3

I added homework 1, 2 and created folder for task 3 (8 homework)


Update streaming-api-storage.md

Updated the navigation to copy the resource ID

issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/10024

Learn Build status updates of commit ce2d918:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender/streaming-api-storage.md
:white_check_mark:Succeeded

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

Learn Build status updates of commit 71c016c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender/streaming-api-storage.md
:white_check_mark:Succeeded

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

Learn Build status updates of commit e7cf845:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender/streaming-api-storage.md
:white_check_mark:Succeeded

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

Learn Build status updates of commit 43de864:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender/streaming-api-storage.md
:white_check_mark:Succeeded

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


TEDU-54 Reorganized Campaigns: Fixed broken table and changed title

Sure, for info you can preview the file in its changed state using this menu item:

It looks OK now, hopefully it will work OK on Grav too!


Distorted datamatrix codes fail to decode

@bommo1 came across a set of datamatrix samples that fail to decode because they are distorted. The larger the codes, the more likely will happen. Think: lens distortion, or not completely flat paper.
This issue is supposed to collect information about possible improvements.
One way to potentially solve the problem is by parsing the alignment patterns inside large codes (that is what they are there for anyway) and then sample each sub code with a regular grid. If the distortion relative to the module size is too big, that will also fail, though. For the provided samples below, this might have a chance.
Here are the samples:

We may also deskew the image beforehand. It can easily be done with the help of library such as OpenCV. What do you think?

@huycn it's easy once you know where the distorted grid or at least its intersection points are. Hough transformation and the Line segment detector do not find noisy lines. Is there a simpler way that I'm missing? Using only the contour might not be enough.

You are right, I overlooked. Here what we got is curves not lines, thus it's not that easy. But when you tried Hough transformation, why did it fail? Will it help if divide the picture into smaller areas and do Hough transforms on each of them?

In my opinion, re-sampling the source image to fix a distortion makes sense if the distortion is a lens artifact. Calibrating lens distortion is pretty much off-the-shelf stuff (e.g. in OpenCV). If the distortions come from a bent/wavy peace of paper the easiest solution would be to flatten it, by e.g. pressing it on a peace of glass. If that is not an option, then first analyzing the code to come up with some kind of control point set for some inverse distortion function from OpenCV to then binarize/scan it a second time seems overly complicated plus a performance pessimization compared to what I outlined above.

I agree with you on performance impact. It seems to be more a domain issue and must be treated as such. If the library is used in un-interactive process, the pictures can be processed according to domain's specifics. If it is used in an interactive mobile app like ours, it's not an issue in the first place.

Problematic are, especially in the interactive process, big data matrix codes like the 3rd example from above that are printed on a small area. When the camera is far then there's no noticeable distortion but because the camera is in video mode the resolution is too small to be able to read the code. When you get closer lens distortion kicks in.
I'll try to un-distort using only the contour. It should help in some cases.

I had some mild success with the reshaping. It would be nice though if the detector would work with minor distortions.

The problem with the big DM Code (3rd example) is not only the distortion. Error check/correction (RS) fails. If I comment these 2 lines in the DMDecoder I seem to get the right value back.
if (!CorrectErrors(codewordBytes, numDataCodewords))
return DecodeStatus::ChecksumError;
I can't tell if the DM-code is wrong or if the decoder is. From 6 software/libs I've tried 3 can read it and 3 can not.

I had some time to come back to the problematic DM-code from above.
It turns out that issue was caused not by the ReedSolomonDecoder but by the way the error code-words get de-interleaved.
If you change this line https://github.com/nu-book/zxing-cpp/blob/master/core/src/datamatrix/DMDataBlock.cpp#L68 to int jOffset = j; the RSDecoder is happy for this particular code but not for other 144x144 codes found on the internet.
I've found two software that can read both types of codes:
https://online-barcode-reader.inliteresearch.com
https://bytescout.com/products/enduser/misc/barcodereader.html
As I don't have access to the data matrix specification (ISO 16022) I see two possible situations:

the DM specification allows two types of interleaving but zxing supports only one. Not very probable.
there are DM generators in the wild that do not implement the specification correctly and use interleaving without offset. Some libraries handle this bug and are able to read invalid codes.

Either way this change might make sense for others too:
DMDataBlock.GetDataBlocks() - support both de-interleaving methods
DMDecoder.Decode() - fallback to the second method when the RS-Decoder is unhappy

Looking at the table below it looks more like zxing is doing it wrong.

The behavior was changed here:
https://github.com/zxing/zxing/issues/262
https://github.com/zxing/zxing/commit/344d55e6889875ab23d201fb16b5ef5993912f55

Thanks for digging into this. I tried to follow your investigation but I'm not sure I got the full picture. Does this align with your understanding:

zxing used to do the 'right' thing but someone found it fails to decode a bunch of 'real world' codes (issue 262).
zxing was changed, so it decoded those samples, thereby breaking 'correct' codes (like the one you have now).
the two different versions of ECC interlacing can not be distinguished.
the postscript barcode guy found presumably the 'same' bug and it fixed it? for both types? how?

 Do you have a suggestion for how to fix this?

There's the "correct way" according to the specification and then there is the "convention in the industry". These do not match and there's no way to distinguish between them by looking at the DM code.
zxing currently implements the "convention in the industry". It used to implement the "correct way" (before this commit zxing/zxing@344d55e).
Some other barcode scanning software take the safe path and support both (as fallback). This is reasonable thing to do.
The problem is what to do with the generator. The "convention in the industry"-way seems to be supported by most scanners out there whereas the "correct way" is not.

https://github.com/bwipp/postscriptbarcode/blob/master/src/datamatrix.ps#L773
Hard to tell but It looks like "convention in the industry"-only.


[FEAT] Add support function for reading request body and improve header validator

So this is basically a mix of 2 PRs.
I added the support function for reading chunked and normal request body from the read buffer (this is needed for post request). For content length it reads a predefined size and for chunked it always retrieves one chunk at a time.

Also counts the chunked body size and throws a exception if payload is too large (here its limited to 9 characters for testing purposes).

I also check Expect header field which is supposed to always have "100-continue" as field value.

I forgot i had to change the Codec, because it expects to always read the whole chunked body into a str until chunk 0, before returning. This would mean storing it all in memory. Now i only read one chunk at a time, but I created a new function for this, so old version is still there, I'm just not sure we need it.


Minecraft server

Adds Minecraft Server under gaming
This image provides an easy to use minecraft server.

Could you please resolve the merge conflict, and I'll get this merged?
Cheers


Write a Swift program to find area of a square

Description
Write a Swift program to find area of a square
Area of square = Side^2
Side : 2

Area : 4

How to contribute

Save the solution in FindAreaOfASquare.swift file
Add FindAreaOfASquare.swift file in find-area-of-a-square folder

!assign


Python example code to execute trigger is incorrect

Hi,
The following line of python code as shown in the example did not work for me:
container.create_item(item, {'pre_trigger_include': 'trgPreValidateToDoItemTimestamp'})
Instead I had to use:
result = container.create_item(new_item, pre_trigger_include='trgPreValidateToDoItemTimestamp')
Thanks,
Simon

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

ID: 239e3b2d-4a09-c6a1-ab36-70b60a18f8b5
Version Independent ID: 10a323f6-5a10-8b38-6339-48ee7a4c54b3
Content: Use stored procedures, triggers, and UDFs in SDKs - Azure Cosmos DB
Content Source: articles/cosmos-db/nosql/how-to-use-stored-procedures-triggers-udfs.md
Service: cosmos-db
Sub-service: nosql
GitHub Login: @seesharprun
Microsoft Alias: sidandrews

@simonstanford Thanks for your finding, we will look into it and update as appropriate.

You are right and a fix has been issued for this code sample too!


[rmodels] GetModelBoundingBox() not updating after changing Model transform

Issue description
Calling GetModelBoundingBox() after applying a transform to a model doesn't update the model bounding box in any way.

Monkey head respects model translation, and is drawn where it should be.
Bounding box (in red) is drawn as if the model would be at the world origin at 0-rotation.
Code Example
Model mdl = LoadModel("examplePath/model.glb");

while(true)
{
	mdl.transform = _translatedTransformMatrix;
	BeginDrawing();

		ClearBackground(BLUE);

		BeginMode3D(camera);

			DrawModel(mdl, VEctor3Zero(), 1.0f, WHITE);
			DrawBoundingBox(GetModelBoundingBox(mdl), RED);

		EndMode3D();
	EndDrawing();
}

The translation gets applied to the Model, but the Model BoundingBox  doesn't update even when calling GetModelBoundingBox() every frame. I haven't yet tried if this applies to GetMeshBoundingBox() too.

@Boyfinn Good catch, indeed this is not implemented and it should be reviewed.

To update GetModelBoundingBox() to translate / scale the min and max of the bounds is trivial, I had it working on my end in 5 minutes. For the rotation transform however, It's clearly a different story. It's not the case that applying the same transform to the bounds will have the intended effect, and indeed if the model has any rotation transform on it my code cripples the bounding box. Interested to see how it gets implemented.

@AndrewHamel111 Oh, yeah, now I remember why it was not implemented, because rotation...
I'm afraid with current BoundingBox structure is not possible to get the proper transformed bounds.
In any case, pushed a review to apply provided transform to Vector3 min, max with Vector3Transform() for a basic transformation (translate, scale).


changes required in footer

footer is not attractive; change the alignment and add the logos of the links like github, twitter, discord, etc.
Also, please add the label GSSOC and the level that you find appropriate for this issue. thank you!
please assign this issue to me, I want to solve

Hi if this issue is still not resolved I would like to work on it
@subhadipbhowmik


add license tests to structure tests

License tests are automated tests to check that all packages installed in the image conform to Google's open source licensing stardards. Check out https://github.com/GoogleCloudPlatform/runtimes-common/blob/master/structure_tests/licenses_test.go (and the corresponding README) for more details.

Are these tests run when we update the image, or when a new flex instance is deployed?

Structure tests get run anytime the image is built and will halt the build if it fails.

OK, sounds good!


Invoice templating and localization tutorial

Invoice template example with logo, company details and custom wiring instructions footnote
Invoice localization example where the previous invoice is sent to a French account:

Invoice translated to French
Line items in French (catalog translation)
Numbers formatting ($1,499.95 becomes 1 499,95 €)

See http://docs.killbill.io/0.20/internationalization.html.


Improve DS Support Process

In collaboration with CDS Platform Support team, define a support model for GCDS.
This should consider the users needs of:

Getting Help with system features and tools of GCDS.
Submitting a Defect when features behave unexpectedly or lack quality.
Requesting a (Compliance?) Review emerging work to discern if a solution aligns or complies with standards. (even if our team doesn't do that)

This work should also produce:

Messaging and training for Platform Support staff
Service Level Agreement
Definition of Support Channels (website, email, github, slack, etc.)


Change Log without timeline ?

Hi it would be great to have the time lime for the API changes as well, currently I have no idea when which version of the API became productive.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 91bb7ef2-b412-1d90-f0c5-b6231b3467e4
Version Independent ID: d7ee6797-0554-ef39-64af-a9201333a95e
Content: Power BI visuals API changelog - Power BI
Content Source: powerbi-docs/developer/visuals/changelog.md
Service: powerbi
Sub-service: powerbi-custom-visuals
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

Hi @uve,
Can we add this to the article?
Thanks,
Kesem

thanks, @nojetlag for your suggestion. We'll add it to changelog soon. Please use the latest available API version for your visual.


"Bad masonry element"

Hi, I'm instantiating Masonry pretty similarly to how you have it in the example, except each child element is a React component.  For some reason, the dependent library outlayer throws an error "Bad masonry element".  After that, it repeatedly has a "Can't read property children of undefined" error.  Not sure what's going wrong here.
For some more context, I'm using React as the front-end with Meteor as the back-end.  Thoughts about where this could be coming from?

@john-osullivan Are you using the Meteor React package? What version of React is that? :-) Unfortunately I haven't played around much with Meteor and don't have any obvious clues to of what to look for.

Yup, I'm using the Meteor React package. I believe it was recently upgraded to 0.14.1, specifically not to 0.14.2. That's what the devs said in an issue, I'll link out when I'm at my computer.
If it'd any additional trouble shooting help, it's a component I've defined myself using ES6 classes.-------- Original message --------From: "Eirik L. Vullum"<EMAIL_ADDRESS>Date: 12/5/2015  07:30  (GMT-05:00) To: eiriklv/react-masonry-component<EMAIL_ADDRESS>Cc: john-osullivan<EMAIL_ADDRESS>Subject: Re: [react-masonry-component] "Bad masonry element" (#9)
@john-osullivan Are you using the Meteor React package? What version of React is that? :-) Unfortunately I haven't played around much with Meteor and don't have any obvious clues to of what to look for.
—
Reply to this email directly or view it on GitHub.

I was typing a response to this question just as 3.0.0 was published!
I think 3.0.0 fixes the issue, I think the problem might have been the ES6 import syntax I was using (which I assume @john-osullivan is using because he's using ES6 classes).
The following way I was importing was throwing an error when using 2.0.0:
import React from 'react';
import Masonry 'react-masonry-component';

2.0.0 was the published npm module, and using that I needed to use the 2.0.0 syntax of importing:
import React from 'react';
var Masonry = require('react-masonry-component')(React);

With 3.0.0,  I was able to use the following
import React from 'react';
import Masonry form 'react-masonry-component'

@john-osullivan I would like to close this issue as it has been inactive for a while. Please reopen if you are still having issues :-)


Mantle doesnt work properly

Steps to reproduce the issue

Place a large cube diagonally (45 degree z rotation)
Try to mantle the corners.

Expected result
The character should mantle the edge of the Cube
Actual Results:
The character mantles  outside of the box  and drops down  or mantles through the box further in.

Thank you for reporting it.
I did try to replicate that issue but with no luck.
Is that problem comes only sometimes or always?
Is that a clean ALS_Component_v0.75 project?
https://user-images.githubusercontent.com/38628851/132955354-429f9566-70b8-49ea-a905-493347423df8.mp4

Hmm, Interesting. It's a clean project. I am going to re-download and see if the issue persists.
Thanks for making this happen. I did plan to do this myself but didn't have time and now I can abandon my old ALS V3 repo.
https://github.com/MaximasPrime/ALS-Component

I confirm this still exists. I just downloaded and started testing. Didnt even move a piece on the default map
https://user-images.githubusercontent.com/3921465/132989776-7173429d-3f90-4efc-a648-b52aff1f81e9.mp4

This is strange. Small request. Can you download this version and test it?
Maybe not all files have been uploaded or are rewritten.
https://drive.google.com/file/d/16fKctQcAUPzdjYteJMt5X9K1H6Wq8wTq/view?usp=sharing
Thank you, also Iv seen also your great work with ALSv3.
I have the same issue atm, hard to find the time.

Hi oivio,
I just tested the google drive version. Have the same issue.  But seriously, thanks for your effort. Lots of people will appriciate this if they knew. I shall give this to my students for quick prototyping.
Max

I really appreciate any feedback so I am grateful for that.
Iv manage to replicate that issue and I did found two bugs in the mantle system inside the "Mantle Check" function:

When I did work on auto fall mantle grabbing I did create extra actions inside "Get Player Movement Input" function. But after debugging. I did notice sphere trace locations are not in the right positions.

Sadly above fixes did not solve the angle mantling problem. I will still have to work on it.
At this moment I'm busy with looking for a job and also my little game project:
https://twitter.com/chibigooo/status/1437060864574730240
So I will try to bring a new update with fixes.

I found what was causing that issue. It only happens if the object that we want to climb on, has a scale XY not equal for example X=4, Y=2, Z=2. I did also test that bug on vanilla ALSv4 same issue. I think it is a kind of UE4 bug. It has something to do with collision scaling.

https://www.youtube.com/watch?v=TOKoMCu_XYo&ab_channel=Doğa this is the fix in case it wasnt fixed .


initialViewState vs viewState on <DeckGL />

Description
Our <DeckGL /> component looks like:
<DeckGL
     layers={layers}
     controller={true}
     initialViewState={mapStore.viewport}
     viewState={mapStore.viewport}
     onViewStateChange={handleViewStateChange}
     >...</DeckGL>

We have some pin dragging functionality on that previously worked on DeckGL v6.4.0, which essentially locks onViewStateChange when you've clicked a pin but, after upgrading to v7.2.6, it seems that when dragging pins across the map would not lock the viewport anymore and the dragging functionality was broken.
We realized that perhaps having both initialViewState and viewState props on the component were causing the bug, and scrapped the initialViewState prop which succeeded in fixing the dragging capability.  Wanted to understand this, however, as initialViewState seems that if viewState is provided, then it should shadow the viewState, rather than conflict with it.
I've looked through and linked documentation for both props above without mention of potential clashing between these props and would be appreciative of clarification of this.  Thanks!
Environment

Framework Version: deck.gl 7.2.6
Browser Version: Chrome Version 78.0.3904.87 (Official Build) (64-bit)
OS: Mac OS X Mojave 10.14.6

Thanks for reporting. If I recall correctly, in 6.x we used to call setState when the internal view state changes (turned on by supplying initialViewState). In 7.0, we made a performance update that skips the React component update. Since your viewState prop does not change during dragging, the internal state change would indeed override the external viewState.
I'm glad you are able to work around this issue. I think we should

Avoid mutating internal view state without checking props.viewState
Issue a warning if both initialViewState and viewState are specified.

Thank you for the clarification!


WFLY-14295 ProtoStream marshallers for java.util.* classes should not use packed encoding

https://issues.redhat.com/browse/WFLY-14295

@rhusar Please review.

@rhusar Please review.

Closing to rebase on WFLY-14359.

Closing to rebase on WFLY-14359.


Retrieving things from registry using subclass

Is this proper behavior?  I can get this TimeSeriesSource only as a Source.
In [95]: sncosmo.registry.retrieve(sncosmo.Source,"nugent-sn1a", version='1.2')
Out[95]: <TimeSeriesSource 'nugent-sn1a' version='1.2' at 0x1059fcf90>
In [97]: sncosmo.registry.retrieve(sncosmo.TimeSeriesSource,"nugent-sn1a", version='1.2')
Exception                                 Traceback (most recent call last)
 in ()
----> 1 sncosmo.registry.retrieve(sncosmo.TimeSeriesSource,"nugent-sn1a", version='1.2')
/Users/akim/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/sncosmo-1.1.dev516-py2.7-macosx-10.6-x86_64.egg/sncosmo/registry.pyc in retrieve(data_class, name, version)
208         raise Exception(
209             "No {0} named {1!r} in registry. Registered names: '{2}'"
--> 210             .format(data_class.name, name, "', '".join(registered_names)))
211
212     registered_versions = [regkey[2] for regkey in _loaders.keys()
Exception: No TimeSeriesSource named 'nugent-sn1a' in registry. Registered names: ''

In [98]: sncosmo.registry.retrieve(sncosmo.Source,"nugent-sn1a", version='1.2')
Out[98]: <TimeSeriesSource 'nugent-sn1a' version='1.2' at 0x1059fcf90>
In [99]: sncosmo.registry.retrieve(sncosmo.TimeSeriesSource,"nugent-sn1a", version='1.2')
Exception                                 Traceback (most recent call last)
 in ()
----> 1 sncosmo.registry.retrieve(sncosmo.TimeSeriesSource,"nugent-sn1a", version='1.2')
/Users/akim/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/sncosmo-1.1.dev516-py2.7-macosx-10.6-x86_64.egg/sncosmo/registry.pyc in retrieve(data_class, name, version)
208         raise Exception(
209             "No {0} named {1!r} in registry. Registered names: '{2}'"
--> 210             .format(data_class.name, name, "', '".join(registered_names)))
211
212     registered_versions = [regkey[2] for regkey in _loaders.keys()
Exception: No TimeSeriesSource named 'nugent-sn1a' in registry. Registered names: ''

This is intentional. All the instances that are subclasses of Source are registered as Source. This is sort of an implementation detail; it just makes it easier to get a source by name.
Users are not really intended to use this function. Rather, get_source() and get_bandpass() should be used. As such, we might just want to consider removing registry.retrieve from the public documented API.


[Doc] Fixed the syntax of a table in messages.rst

Q
A

Bug fix?
no

New feature?
no

Doc update?
yes

BC breaks?
no

Deprecations?
no

Fixed tickets
-

License
MIT

It's hard to see it in this PR, but there's a white space issue that makes this table row to miss the last column:

Thank you @javiereguiluz.


Game logic looks flawed in heads-up case

Hi there,
I did a small test of this library in the heads-up case and was very surprised by
the output. Sorry in advance if I somehow misunderstood it.
This is the small test I tried (with v0.9):
import texasholdem
game = texasholdem.TexasHoldEm(buyin=10000, big_blind=100, small_blind=50, max_players=2)
game.start_hand()
actions = [('b', 200), ('b', 600), ('c', None), ('k', None),\
           ('k', None),('b', 600), ('c', None), ('b', 2400), ('f', None)]
for idx, (action, bet) in enumerate(actions):
    if action == "k":
        game.take_action(texasholdem.ActionType.CHECK)
        print(f"Player {game.current_player}: checks")
    elif action == "c":
        game.take_action(texasholdem.ActionType.CALL)
        print(f"Player {game.current_player}: calls")
    elif action == "f":
        game.take_action(texasholdem.ActionType.FOLD)
        print(f"Player {game.current_player}: folds")
    elif action == "b":
        game.take_action(texasholdem.ActionType.RAISE, total=bet)
        print(f"Player {game.current_player}: bets {bet}")

print(f"Players left in pot {list(game.pots[0].players_in_pot())}")
print(f"Available moves: {game.get_available_moves()}")
print(f"Game state: {game.game_state}")
print(f"Player chips: {game.players[0].chips} {game.players[1].chips}")
print(f"Total chips: {game.players[0].chips+game.players[1].chips+game.pots[0].get_total_amount()}")

I got this output:
Player 1: bets 200
Player 0: bets 600
Player 1: calls
Player 0: checks
Player 1: checks
Player 0: bets 600
Player 1: calls
Player 0: bets 2400
Player 1: folds
Players left in pot [1]
Available moves: MoveIterator({<ActionType.RAISE: 1>: range(2400, 11201), <ActionType.CHECK: 4>: None, <ActionType.FOLD: 5>: None})
Game state: GameState.RUNNING
Player chips: 8800 11200
Total chips: 24800

I have several questions about this.

Why is the game still running when player 1 folded? In my opinion the game should end
when the last player folds, at least it makes no sense that player 0 can still raise or check.
Why is player 1 left in pot? He just folded, to my understanding just player 0 should be left in the pot.
Why is the pot + player 0 chips + player 1 chips larger than the total chips (20000)?

Ok sorry again have to reopen. While it is not the issue that the game is still running (the hand actually is not still running)
the result still does not correct. Why does player 1 who folded end up with 11200 chips?
Also the player amounts of the pot would be helpful, is it possible? When accessing the pot after the game ended:
game.pots[0].player_amounts == {0: 0}


Azure Pipelines Terraform Tasks - Charles Zipp

Can you please confirm if you have deleted the Azure Pipelines Terraform Tasks - Charles Zipp extension from the marketplace and when this was completed?
As I was using this for my current environment, pipelines have now broken and now require to install a new extension.

I did not delete it, I disabled it.  If you are currently using the old one it should still run, it just won't get any new updates.

Thank you, can you confirm when it was disabled?


[Question] Why use this instead of react-community/react-navigation?

I am curious why anyone is switching from this package to https://github.com/react-community/react-navigation/? I have read that people are abandoning this in favor of react-navigation, but it has so many bugs.

I like RNRF, both in Android & iOS, it bring consistent user experience in the app, which I have already used in a production app, but I am also trying react-navigation on a simple app, for now, feel like react-navigation wasn't my favorite yet, but it do provide more clean and simple API.
Also in RNRF, unmount a scene is also something I concerned about, usually it will not unmount a scene in navigation stack, it will bring extra memory use when memory is a critical point for the app.

I think one of the reasons is that the docs of this package is far from completed, in fact it is rather awful and outdated, but no one seems to complete that docs. And it causes lots of confusion, which leads to tons of unresolved issues.

@haipengz Do you think there more contributors needed or is this project just too personally locked in by repo owner?