MongoDB container environment variables not applied for authentication

I'm running a MongoDB instance as a Windows container using Docker Compose, and I'm having trouble with MongoDB authentication. Although I’ve set the MONGO_INITDB_ROOT_USERNAME and MONGO_INITDB_ROOT_PASSWORD environment variables, MongoDB Compass fails authentication when I attempt to connect using these credentials. If I remove the username and password from the connection string in MongoDB Compass, I can connect without issues, which suggests the environment variables might not be applied correctly.
Docker Compose Configuration:
services:
  mongo:
    image: mongo
    restart: always
    ports:
      - 27017:27017
    environment:
      MONGO_INITDB_ROOT_USERNAME: root
      MONGO_INITDB_ROOT_PASSWORD: example

Steps to Reproduce:

Start the MongoDB container using the above Docker Compose configuration.
Try connecting with MongoDB Compass using the following credentials.

Username: root
Password: example

Expected Behavior:
The MongoDB container should start with the specified root username and password, allowing authentication via MongoDB Compass.
Actual Behavior:
MongoDB Compass fails to authenticate with the provided credentials. However, I can connect without authentication if I omit the username and password from the connection string.
Question:
Why are the environment variables not being applied to the MongoDB container for authentication?

See https://github.com/docker-library/mongo/issues/291#issuecomment-410813034 and https://github.com/docker-library/mongo/issues/708 (we can't really implement the entrypoint for Windows containers effectively/correctly).


panic: EOF

Get error panic: EOF from decode

Hello.
There is not much we can do from this bug report.
Could you please provide more information, such as:
-what method/function the caller was using
-what the input file was

I'm getting this too. Here is the exact photo that causes the error on Google Drive.
Here is my relevant code:
f, err := os.Open(path); if err != nil { panic(err) }
x, err := exif.Decode(f); if err != nil { panic(err) }

Here is the error:
panic: EOF

goroutine 1 [running]:
main.main.func1(0xc042054180, 0x5d, 0x5415c0, 0xc0420c4000, 0x0, 0x0, 0x0, 0x0)
	D:/dev/golang/2018-05/exifsort/exifsort.go:31 +0x300
path/filepath.walk(0xc042054180, 0x5d, 0x5415c0, 0xc0420c4000, 0x532128, 0x0, 0x0)
	D:/bin/goroot/src/path/filepath/path.go:357 +0x409
path/filepath.walk(0x52f342, 0x24, 0x5415c0, 0xc0420c4000, 0x532128, 0x0, 0xc042081f78)
	D:/bin/goroot/src/path/filepath/path.go:381 +0x2c9
path/filepath.Walk(0x52f342, 0x24, 0x532128, 0xc042081f78, 0xc042054058)
	D:/bin/goroot/src/path/filepath/path.go:403 +0x10d
main.main()
	D:/dev/golang/2018-05/exifsort/exifsort.go:16 +0x49

I am able to read the EXIF with the 'ExifRead' package on Python, and File Explorer on Windows shows EXIF info.

panic: EOF
goroutine 1 [running]:
main.main()
/home/harshit/Projects/twitter-golang/main.go:50 +0x810
exit status 2
Getting this error

I have the same issue - not sure if this is still being tracked here though ...

I have the same issue -  not sure if this is still being tracked here though ...

I have the same issue -  not sure if this is still being tracked here though ...

see #78  - this may be a common problem


Support dynamic props

There's no way to set other props on the datepicker input element - it's a black box.
So if I wanted to add props such as onBlur, aria-*, className or anything else that is not explicitly added, they are simply ignored.

Do you still want to introduce dynamic props? Any way we can help you?

@martijnrusschen, i want to prevent keypress typing, so i need a onKeyPress prop.

@mqklin does the readOnly prop work for your use case?

I don't really remember... I chose another calendar

Closing this for the sake of getting to #inboxzero, as it looks like the issues mentioned here are addressed

When using react-a11y, I get the following console log message:
DateInput You have an unlabeled element or control. Add `aria-label` or `aria-labelledby` attribute, or put some text in the element.

Please let me know if this is resolved anywhere.


Profit report is not showing during backtest

I'm submitting a ...
[x] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
I'm trying to use multiple indicators in my strategy. In this case CCI (native) and BBANDS (Talib).
I installed the Talib library successful with npm install talib --no-save.
Then I copied and renamed the strategies/CCI.js file and added this line to include the BBANDS indicator: this.addTalibIndicator('bbands','bbands',this.settings); and included the required parameters in the config. At this point I've only included the Talib indicator but I haven't changed anything of the original CCI strategy methods.
When I backtest the original CCI strategy on 3 months of local data, the strategy works fine, trades are made and the profit report is shown. But when I backtest the CCI strategy with the Talib indicator included the strategy runs, the same trades are made but at the end the backtest just finishes and does not show the profit report.
Expected result (what you hoped would happen)
I would expect that the profit report is shown just as it is shown when running strategies/CCI.js.
Actual result (unexpected outcome)
The strategy runs successful but just finishes without showing the profit report.

I'm not sure it is an issue for this thread.


Fixed complexity sphere decoder

I would like to know how we could limit the number of nodes visited (counting all nodes from all levels of the decoder tree). Could you please provide a suggestion on how we can keep track of the number of nodes visited? (This helps in fixing the complexity or number of computations)

By limiting the total number of layers that are visited, the bit error rate
is increased, as the algorithm is no longer optimal. You might as well
choose one of the approximate, but faster, alternative solutions.
On Tue, Apr 11, 2017 at 9:00 PM, annuay<EMAIL_ADDRESS>wrote:

I would like to know how we could limit the number of nodes visited
(counting all nodes from all levels of the decoder tree). Could you please
provide a suggestion on how we can keep track of the number of nodes
visited?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MarcoFalke/SphereDecoding/issues/2, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AGGmvyBydJzmy-BPpr_IyS-JYclL613zks5ru826gaJpZM4M6gwb
.

I am fine with the suboptimal case. My aim is to ensure that the number of computations in any case does not exceed a fixed number of flops (system requirement). As flops and number of nodes visited are proportional, I could limit the number of nodes visited. Could you please tell me where I should place counter variables in the while loops to count number of nodes visited?

Please let me know that while I have used in Matlab, they asked for input arguments. Could you please tell me about the main program that is used for calling all of these functions?


Atari Result Summary Figure

Hi,
First, thanks for sharing the results.tar.gz.
I am interested in the summary figure provided. However, I cannot exactly reproduce the curves with the given CSV files. My implementation is as follows: for each algorithm (e.g., DQN)，

Compute the mean of normalized return over 5 random seeds for each environment.
Plot the solid line with the median and the shaded region with maximal and minimal values over 57 environments using the results from Step 1.

I can basically reproduce the solid lines but the shaded region is not expected.
Your clarification would be very helpful!
Thanks
Ziniu

Thanks for your interest.
That is one way to generate a similar plot. The method used for the summary plot in the README.md was chosen so that it roughly follows the one in the Rainbow paper, but for multiple seeds.
To generate the summary plot, the data was first smoothed with a moving average with window of size 10 as mentioned in the README.md. Given an agent, frame and seed, the median normalized return over environment is calculated. Then the DataFrame was passed to seaborn.lineplot() with estimator=numpy.median and ci=100, so the shaded area captures the variation over seeds.
If that's not clear, a Colab notebook showing how the summary plot was generated will be uploaded soon.

Added Colab notebook for generating plots in 98bd61d0b27f57a4f9cacc87002285ecf5d4c09e.


feat: the extension of a homological complex by an embedding of complex shapes

Thanks!
maintainer merge

Thanks!
bors merge


fix: [IDP-2260]: Updated the links for pageduty plugin

Harness Developer Pull Request
Updated the links for pageduty plugin
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screenshot.

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

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65cdb26d1d0ba658f004c579--harness-developer.netlify.app


Added documentation on how to select a good cache key

Added .idea to the gitignore for those using IDEA based editors
Added some instructions on how to select a suitable cache key to avoid collisions.

Thank you for this PR, mate. It will be available in a while.


chore(vite): avoid redundant postcss plugins overwrite

🔗 Linked issue

📚 Description

Since the plugins array is initialized as empty, there is no need to make it empty again

Would you be able to fix the type issue? 🙏

Sure thing!


fix: 兼容参数过滤

这个 PR 实现什么功能/修复什么问题:
兼容参数过滤
是否需要 backport 到之前的 release 分支:

release/2.13

/area region
/cc @swordqiu

Codecov Report

Merging #4054 into master will increase coverage by 0.03%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #4054      +/-   ##
=========================================
+ Coverage    6.88%   6.91%   +0.03%
=========================================
  Files         508     506       -2
  Lines       85635   85451     -184
=========================================
+ Hits         5897    5911      +14
+ Misses      79237   79039     -198
  Partials      501     501

Flag
Coverage Δ

#aFlag
6.91% <0%> (+0.03%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/compute/models/networks.go
0.55% <0%> (-0.01%)
:arrow_down:

pkg/hostman/system_service/sysv.go
47.22% <0%> (-7.62%)
:arrow_down:

pkg/util/cgrouputils/cgrouputils.go
35.25% <0%> (-0.37%)
:arrow_down:

pkg/compute/models/guestdrivers.go
20% <0%> (ø)
:arrow_up:

pkg/compute/guestdrivers/virtualization.go
0% <0%> (ø)
:arrow_up:

pkg/compute/guestdrivers/base.go
0% <0%> (ø)
:arrow_up:

pkg/util/fileutils2/fileutils.go
0% <0%> (ø)
:arrow_up:

pkg/multicloud/esxi/virtualmachine.go
0% <0%> (ø)
:arrow_up:

pkg/mcclient/options/servers.go
0% <0%> (ø)
:arrow_up:

pkg/util/fileutils2/blkid.go
0% <0%> (ø)
:arrow_up:

... and 29 more

Continue to review full report at Codecov.

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


⚠ Bofrost.be has degraded performance

In ce2f130, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2096 ms

Resolved: Bofrost.be performance has improved in 0198253.


No Explanation as WHY we need a D3 service

Great work friend I admire your effort and demos on angular component breaking ground
I have been using D3 commercially as follows

install all usable packages in package.json D3 and its typedef packages @types/d3-***
dependencies

        "d3": "5.16.0",
        "d3-array": "^2.3.3",
        "d3-brush": "^1.1.3",
        "d3-color": "^1.4.0",
        "d3-force": "2.0.1",
        "d3-format": "1.4.4",
        "d3-hierarchy": "^1.1.9",
        "d3-interpolate": "^1.4.0",
        "d3-scale": "^3.2.0",
        "d3-selection": "^1.4.1",
        "d3-shape": "^1.3.7",
        "d3-time-format": "2.2.3",

dev dependencies
        "@types/d3-array": "2.0.0",
        "@types/d3-axis": "1.0.12",
        "@types/d3-brush": "1.1.0",
        "@types/d3-color": "1.2.2",
        "@types/d3-drag": "^1.2.3",
        "@types/d3-force": "1.2.1",
        "@types/d3-format": "1.3.1",
        "@types/d3-hierarchy": "1.1.6",
        "@types/d3-interpolate": "1.3.1",
        "@types/d3-scale": "2.2.0",
        "@types/d3-selection": "1.4.1",
        "@types/d3-shape": "^1.3.2",
        "@types/d3-time": "1.0.10",
        "@types/d3-time-format": "2.1.1",
        "@types/d3-transition": "1.1.6",

and after that in my typescript I just
import * as d3 from 'd3'
can you explain the overhead of not only a service (injectables are great no offense) but a new private variable per component?
I just think its extra overhead when we can just import d3 and run with it
and I declare any types along the way in my code as such
advise please
generally I will model a service to get the handle to a ionic plugin say SWIFT or SWERVE or ADOBE Analytics to secure appropriate wrapped context/handle
RxJS is identical in anatomy to D3 and we use RxJS as such without any need for a service
Angular alone is inadequate due to code bloat on the component. So given potentially hundreds of components your solution is an imposition to my clean code advocacy and if one really wants to reduce code bloat on components then jump to next level using NgRX which boiler plates ALL abstractions and leaves the angular component in bare naked form of PURE business logic.
great job though I appreciate your feedback on WHY you want to impose a D3 service or if there are global space issues we are unaware of or even type definition issues.
thanks friend

cheers

KEN

well after reviewing your code
i give it a thumbs up for consolidation
does it enforce auto import of d3-selection instead of lib.dom.d.ts Selection ?
I use the same strategy with material Design and all its components in a separate module for just bringing in everything in one module.
a 5 point bulleted WHY would help the readme is nto concise quick to the point which a fast develope rneeds.
thanks for all yoru hard work
any commegtary is appreciated


Update Header with new prop

Updated header component with updated prop, added  as custom component to the header

Your review app has been deployed and is available at 'http://<IP_ADDRESS>:80'.Learn More about how to test and provide feedback for the app.

Your review app has been deployed and is available at 'http://<IP_ADDRESS>:80'.Learn More about how to test and provide feedback for the app.


Socks remote dns support.

It is a nice to have feature especially when logging the info.
Currently, the info that we log out only contains the src/dest ip.
If we can have the remote dns support, it is possible to log the info with the host name, instead of ip address.

Currently we use read_bytes to get the socks request data; however, the remote dns will send the host name as the request data and the length of the host name is unknown.
The approach that I'm going to use maybe,

get socks request headers, read_bytes(4)
may be three different conditions

ipv4: read 6 more bytes  read_bytes(6)
ipv6: read 18 more bytes read_bytes(18)
host name: read 1 byte to determine host name size, and read n+2 bytes.

Just a reminder:
First, read_bytes(4) for the first 4 bytes.
And the 4th byte determine the address type

4 bytes for IPv4 address
1 byte of name length followed by the name for domain name
16 bytes for IPv6 address

And we will go next read_bytes depend on the 4th byte

Thanks for the reminder, I will try the new approach when I got some time.

Commit 960d79f fix this issue.


Welcome email

Simple grammar change.

Perfect, I always need a second pair of 👀 on spelling/grammar/punctuation 🍻


Can't host or join

Hello,
I am experiencing issues with the P2P mod version 0.0.14-1.21.1-alpha for Minecraft version 1.21.1.
Specifically, I can see the host option, but my friend is unable to connect to my game. Additionally, when I attempt to add two IP addresses, the game crashes.
Here are some details about my setup:
Minecraft Version: 1.21.1
Mod Version: P2P 0.0.14-1.21.1-alpha
Operating System: Win11
Steps Taken:
Installed the mod according to the instructions.
Attempted to host a game and provided my public IP to my friend.
My friend entered the IP and unique port as instructed, but he cannot connect.
When trying to add two IPs in the configuration, the game crashes.
I would appreciate any guidance on how to resolve these issues or if this is a known bug.

What ISP provides your internet access?


Deploy to W3 TR namespace

Deploy to TR using Echidna. https://github.com/w3c/respec-w3c-auto-publish will be useful.

Added in https://github.com/sidvishnoi/w3c-deploy/commit/39339bf6f5b9498c059176df454edfd7370c06d1


CUDA error when trying to use llama3.1 8B 4bit quantized model sample

Get model from https://huggingface.co/mobiuslabsgmbh/Llama-3.1-8b-instruct_4bitgs64_hqq_calib
HQQ installed according to instructions and tried running the sample given on HF site.
After downloading the model, the execution fails on a CUDA error.
  File "E:\Projekt\Python\aistuffidk\llama3_1_4b.py", line 25, in <module>
    prepare_for_inference(model, backend="torchao_int4")
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Demon\AppData\Roaming\Python\Python312\site-packages\hqq\utils\patching.py", line 116, in prepare_for_inference
    patch_linearlayers(model, patch_hqq_to_aoint4, verbose=verbose)
  File "C:\Users\Demon\AppData\Roaming\Python\Python312\site-packages\hqq\utils\patching.py", line 25, in patch_linearlayers
    model.base_class.patch_linearlayers(
  File "C:\Users\Demon\AppData\Roaming\Python\Python312\site-packages\hqq\models\base.py", line 154, in patch_linearlayers
    patch_fct(tmp_mapping[name], patch_param),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Demon\AppData\Roaming\Python\Python312\site-packages\hqq\backends\torchao.py", line 324, in patch_hqq_to_aoint4
    hqq_aoint4_layer.initialize_with_hqq_quants(
  File "C:\Users\Demon\AppData\Roaming\Python\Python312\site-packages\hqq\backends\torchao.py", line 91, in initialize_with_hqq_quants
    self.process_hqq_quants(W_q, meta)
  File "C:\Program Files\Python312\Lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Demon\AppData\Roaming\Python\Python312\site-packages\hqq\backends\torchao.py", line 196, in process_hqq_quants
    self.scales_and_zeros = self.pack_scales_and_zeros(scales_torch, zeros_torch)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Demon\AppData\Roaming\Python\Python312\site-packages\hqq\backends\torchao.py", line 248, in pack_scales_and_zeros
    torch.cat(
RuntimeError: CUDA error: named symbol not found
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.```

Windows 10 64bit
Nvidia RTX 2070 w 8G VRAM
CUDA 12.4 & torch compiled with it

Hi, I don't know if 12.4 is supported for the nightly torch.
Can you try:

CUDA 12.1
pip install torch==2.5.0.dev20240905+cu121 --index-url https://download.pytorch.org/whl/nightly/cu121;
pip install hqq (install hqq after installing pytorch)

same issue, cuda 12.4, originally used torch==2.4, upgraded torch from 2.4 to (didn't help):
pip install torch==2.6.0.dev20240922+cu124 --index-url https://download.pytorch.org/whl/nightly/cu124;

@larin92 did you set your environment to use cuda 12.1 ? Make sure you are using the right version:
export CUDA_HOME=/usr/local/cuda-12.1 # or the path where you have cuda-12.1
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:$LD_LIBRARY_PATH
export PATH=${CUDA_HOME}/bin:${PATH}

Thanks @larin92 ! Willl close the issue, unless you face issues with Ampere gpus and above

Hi, I am also facing this issue when running the code. This is the error and the code I used.

import torch
from transformers import AutoTokenizer
from hqq.models.hf.base import AutoHQQHFModel
from hqq.utils.patching import *
from hqq.core.quantize import *
from hqq.utils.generation_hf import HFGenerator

import os
os.environ["TOKENIZERS_PARALLELISM"] = "false"

model_id  = "VPTQ-community/Qwen2.5-7B-Instruct-v8-k256-256-woft"

compute_dtype = torch.bfloat16
device     = "cuda"
cache_path = "."

from transformers import AutoModelForCausalLM, AutoTokenizer
from hqq.models.hf.base import AutoHQQHFModel
#from hqq.models.hf.llama import LlamaHQQ as AutoHQQHFModel #OR for llama models
from hqq.core.quantize import *

model = AutoHQQHFModel.from_quantized("output/Qwen2.5-32B-Instruct-v8-k65536-256-woft_HQQ_4bit",cache_dir=cache_path, compute_dtype=torch.bfloat16, device=device)
tokenizer = AutoTokenizer.from_pretrained(model_id,cache_dir=cache_path)

quant_config = BaseQuantizeConfig(nbits=4, group_size=64, quant_scale=False, quant_zero=False, axis=1)
AutoHQQHFModel.quantize_model(model, quant_config=quant_config, compute_dtype=compute_dtype, device=device)

prepare_for_inference(model,backend="torchao_int4")
#prepare_for_inference(model, backend="bitblas") #takes a while to init...

#Generate
###################################################
#For longer context, make sure to allocate enough cache via the cache_size= parameter
gen = HFGenerator(model, tokenizer, max_new_tokens=1000, do_sample=True, compile="partial").warmup() #Warm-up takes a while

import time
t1 = time.time()
gen.generate("Write an essay about large language models", print_tokens=True)
t2 = time.time()
print('Took', t2-t1, 'secs')

RTX 4090
13th Gen Intel(R) Core(TM) i9-13900KF

Hey, sorry for the delay, I am traveling this week, will try to debug it when I get back home:
If you are using a language (only) model:

If you are getting CUDA error: device-side assert triggered with HFGenerator, use the default HF transformers generator: https://github.com/mobiusml/hqq/blob/master/examples/backends/hqq_lib_demo.py#L39-L47
Just follow this example: https://github.com/mobiusml/hqq/blob/master/examples/backends/hqq_lib_demo.py

If you are using a vision-language model:

You should only quantize the language model: AutoHQQHFModel.quantize_model(model.language_model, ...)
Make sure the rest of the towers are moved to the right device, something like this (change it with respect to your model): https://github.com/mobiusml/hqq/blob/master/examples/hf/llava-v1.6-34b_24GB.py#L36-L40
You can't use HFGenerator with vision-language model.

I tried with Qwen, it's working fine like this, had to change a bit the chat template since Qwen has that system prompt:
#pip install torch==2.4.1 hqq; #2.4.1+cu124
#OMP_NUM_THREADS=16 CUDA_VISIBLE_DEVICES=0 ipython3 ......
########################################################################
import torch, os
device        = 'cuda:0'
backend       = 'torchao_int4'
compute_dtype = torch.bfloat16 if backend=="torchao_int4" else torch.float16
cache_dir     = '.'
model_id      = "Qwen/Qwen2.5-7B-Instruct"

torch._dynamo.config.inline_inbuilt_nn_modules = False
########################################################################
from transformers import AutoModelForCausalLM, AutoTokenizer
from hqq.models.hf.base import AutoHQQHFModel
from hqq.core.quantize import *

#Load
tokenizer = AutoTokenizer.from_pretrained(model_id, cache_dir=cache_dir)

#Quantize
nbits, group_size = 4, 128
cached_model = model_id.split('/')[-1] + '_' + str(nbits) + '_' + str(group_size)
if(os.path.exists(cached_model)):
	model = AutoHQQHFModel.from_quantized(cached_model, compute_dtype=compute_dtype, device=device)
else:
	model = AutoModelForCausalLM.from_pretrained(model_id, cache_dir=cache_dir, torch_dtype=compute_dtype, attn_implementation="sdpa")
	quant_config  = BaseQuantizeConfig(nbits=nbits, group_size=group_size, axis=1)
	AutoHQQHFModel.quantize_model(model, quant_config=quant_config, compute_dtype=compute_dtype, device=device)
	AutoHQQHFModel.save_quantized(model, cached_model)

from hqq.utils.patching import prepare_for_inference
prepare_for_inference(model, backend=backend, verbose=False)

#Inference
########################################################################
# from hqq.utils.generation_hf import HFGenerator
# gen = HFGenerator(model, tokenizer, max_new_tokens=1000, do_sample=True, compile="partial").warmup()
# out = gen.generate("Write an essay about large language models.", print_tokens=False)

######################################################################
#Using HF model.generate()
from hqq.utils.generation_hf import patch_model_for_compiled_runtime

patch_model_for_compiled_runtime(model, tokenizer, warmup=True)

prompt = "Write an essay about large language models."

messages = [
    {"role": "system", "content": "You are Qwen, created by Alibaba Cloud. You are a helpful assistant."},
    {"role": "user", "content": prompt}
]
inputs = tokenizer([tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)], return_tensors="pt").to(model.device)

import time
t1 = time.time()
outputs = model.generate(**inputs, max_new_tokens=1000, cache_implementation="static", pad_token_id=tokenizer.pad_token_id)
t2 = time.time()
print('End-2-end speed:', str(int((inputs['input_ids'].numel() + outputs[0].numel()) / (t2-t1))) + ' tokens/sec') #165 tokens/sec | 4090 RTX
#print(tokenizer.decode(outputs[0]))


Improve CI deployment code

I tested the current deployment code that this project uses and it had some bugs and flaws. I improved that.

Closing in favor of this pr


Use hostname for Azure computerName option

https://bugzilla.redhat.com/show_bug.cgi?id=1344103
This bug was uncovered through ordering an Azure service catalog item. In this scenario the name will auto appending  _#### to make it unique. This name however cannot be used as windows machine hostname because it contains _.  The corresponding valid hostname is already prepared in the options with key :vm_target_hostname.

@bronaghs please review. Can you also revisit the provisioning for SCVMM to see whether it requires similar fix?

@gmcculloug please review

@bzwei - looks great.


Fixes for Clang 15 warnings

Related to https://github.com/triton-inference-server/server/pull/6768,
was trying to compile latest main with Clang 15 and got compiler warnings that showed up as error with default CMake settings

unused private member backend_thread_exit_ in TritonModelInstance (Wunused-private-field)
missing virtual destructors [-Werror,-Wdelete-non-abstract-non-virtual-dtor]
Missing explicit copy constructor for SequenceId, resulted in  error: definition of implicit copy constructor for 'SequenceId' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
missing copy assignment operator leading to same error in BatcherSequenceSlot
multiple unused capture variables: -Wunused-lambda-capture
unused result in ditr->second.emplace(name, count).first

@dyastremsky can you have a look at this?

Thanks for submitting these! Sorry we did not see them until now. PRs in the non-server repo sometimes get missed. I created an internal ticket (DLIS-6450) for someone to take a look at this.
Can you submit the Contributor License Agreement (CLA)? We will need that before reviewing this pull request.


feat: Initial Module Creation

Description
New Module for compute/sshPublicKey resource

Type of Change

[ ] Non-module change (e.g. CI/CD, documentation, etc.)
[x] Azure Verified Module updates:

[ ] Bugfix containing backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in locals.version.tf.json:

[ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[ ] The bug was found by the module author, and no one has opened an issue to report it yet.

[x] Feature update backwards compatible feature updates, and I have bumped the MINOR version in locals.version.tf.json.
[ ] Breaking changes and I have bumped the MAJOR version in locals.version.tf.json.
[ ] Update to documentation

Checklist

[x] I'm sure there are no other open Pull Requests for the same update/change
[x] My corresponding pipelines / checks run clean and green without any errors or warnings
[x] I did run all  pre-commit checks

Hey @ChrisSidebotham, kindly perform the "Requested Actions" in the AVM-Module of the module, feel free to reach out if you have any questions or need any support.

@mbilalamjad - the AVM-Review tasklist is now complete


GCP: Increase default concurrent requests to 300.

This shouldn't be an issue with existing runtimes.
Need to look at making this configurable, not all scaling options are the same for all runtimes we support, we may need to bring this configuration into our provider config?

Codecov Report

Merging #277 (dbc0993) into develop (14d374f) will increase coverage by 33.15%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##           develop     #277       +/-   ##
============================================
+ Coverage         0   33.15%   +33.15%
============================================
  Files            0       49       +49
  Lines            0     4639     +4639
============================================
+ Hits             0     1538     +1538
- Misses           0     2949     +2949
- Partials         0      152      +152

Flag
Coverage Δ

unittests
33.15% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/provider/pulumi/gcp/cloudrunner.go
78.37% <100.00%> (ø)

pkg/provider/pulumi/aws/lambda.go
70.79% <0.00%> (ø)

pkg/provider/pulumi/azure/containerapp.go
0.00% <0.00%> (ø)

pkg/runtime/golang.go
74.32% <0.00%> (ø)

pkg/output/format.go
66.42% <0.00%> (ø)

pkg/cron/cron.go
81.30% <0.00%> (ø)

pkg/provider/pulumi/azure/apimanagement.go
0.00% <0.00%> (ø)

pkg/provider/pulumi/azure/resourcename.go
100.00% <0.00%> (ø)

pkg/provider/pulumi/aws/policy.go
58.33% <0.00%> (ø)

pkg/runtime/typescript.go
72.26% <0.00%> (ø)

... and 40 more

Continue to review full report at Codecov.

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


can

can uni-dock generate 3d model for ligand using a 2d structure ?

Unfortunately, Uni-Dock does not generate 3D models for ligands using a 2D structure. Uni-Dock only samples the user-defined rotatable torsions to change conformations. You would need to generate the 3D conformations of your 2D molecule(s) before using Uni-Dock. Tools like RDKit and OpenBabel can be helpful for this purpose.

Thanks for your answer!


Stuck at loading in a workspace with a lot of files

Environment data

Language Server version: 2021.7.4 (pyright 209f9621)
OS and version: Fedora 34
Python version (& distribution if applicable, e.g. Anaconda): 3.9.6

Expected behaviour
The language server loads.
Actual behaviour
The language server is stuck at loading. Hovering a function just shows "Loading", auto-completion doesn't work.
Logs

[Info  - 11:51:27] Pylance language server 2021.7.4 (pyright 209f9621) starting
[Info  - 11:51:27] Server root directory: /home/romain/.vscode/extensions/ms-python.vscode-pylance-2021.7.4/dist
[Info  - 11:51:27] No configuration file found.
[Info  - 11:51:27] No pyproject.toml file found.
[Info  - 11:51:27] Setting pythonPath for service "metadata-cleaner": "/usr/bin/python"
[Warn  - 11:51:27] stubPath /home/romain/Code/metadata-cleaner/typings is not a valid directory.
[Info  - 11:51:27] Assuming Python version 3.9
[Info  - 11:51:27] Assuming Python platform Linux
Search paths for /home/romain/Code/metadata-cleaner
  /home/romain/.vscode/extensions/ms-python.vscode-pylance-2021.7.4/dist/typeshed-fallback/stdlib
  /home/romain/Code/metadata-cleaner
  /home/romain/Code/metadata-cleaner/typings
  /home/romain/.vscode/extensions/ms-python.vscode-pylance-2021.7.4/dist/typeshed-fallback/stubs/...
  /home/romain/.vscode/extensions/ms-python.vscode-pylance-2021.7.4/dist/bundled/stubs
  /usr/lib64/python3.9
  /usr/lib64/python3.9/lib-dynload
  /home/romain/.local/lib/python3.9/site-packages
  /usr/lib64/python3.9/site-packages
  /usr/lib/python3.9/site-packages
[Warn  - 11:51:27] Exception received when installing recursive file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
[Warn  - 11:51:27] Exception received when installing recursive file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
[Warn  - 11:51:27] Exception received when installing recursive file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
[Warn  - 11:51:27] Exception received when installing recursive file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
[Warn  - 11:51:27] Exception received when installing recursive file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
[Info  - 11:51:27] Searching for source files
[Warn  - 11:51:27] Skipping broken link "/home/romain/Code/metadata-cleaner/.flatpak-builder/cache/objects/54/2b14975bb28ba3a0b02b1145c19f9a4ee911e95e586e3b6897687530139e5f.file/systemd/generator/dev-disk-by/x2duuid-f70cf2a0/x2d35b7/x2d426b/x2da200/x2d1f00c7cd49ab.device.d"
[Warn  - 11:51:27] Skipping broken link "/home/romain/Code/metadata-cleaner/.flatpak-builder/cache/objects/54/2b14975bb28ba3a0b02b1145c19f9a4ee911e95e586e3b6897687530139e5f.file/systemd/generator/dev-mapper-luks/x2dc963e423/x2d0256/x2d42b2/x2dbbba/x2d6e7ce08d5c0e.device.d"
[Warn  - 11:51:27] Skipping broken link "/home/romain/Code/metadata-cleaner/.flatpak-builder/cache/objects/54/2b14975bb28ba3a0b02b1145c19f9a4ee911e95e586e3b6897687530139e5f.file/systemd/generator/dev-mapper-luks/x2dc963e423/x2d0256/x2d42b2/x2dbbba/x2d6e7ce08d5c0e.device.requires"
[Info  - 11:51:27] Auto-excluding /home/romain/Code/metadata-cleaner/.flatpak-builder/cache/objects/54/2b14975bb28ba3a0b02b1145c19f9a4ee911e95e586e3b6897687530139e5f.file/user/1000/doc/by-app

Code Snippet / Additional information

I'm using flatpak-builder which generates a lot of files in the workspace (10000+) as it builds dependencies for my project in a sandbox. If I delete the generated directories, the language server loads correctly and everything works, until I build my project again.

Pylance is built on top of an open-source type checker called pyright. Pyright offers some configuration options that are not currently exposed in VS Code settings. You can create a pyrightconfig.json configuration file and specify the set of subdirectories that you want to exclude using the "exclude" setting. For more details, refer to this documentation. Here's an example pyrightconfig.json.

Thank you, it works after excluding the directories. It would be great to have this exposed in VS Code settings so that we don't have to create additional files.

That'd be #1150, if you'd like to vote on that one.


Is OPT good for chinese?

I want to train a model that good both Chinese and English, should i use OPT or Bloom?

From our very preliminary study, for Chinese Bloom is better than OPT. But please understand that what DeepSpeed-Chat provides is mostly an efficient framework to train any ChatGPT-like model. We don't and we can't provide a complete guide of "how to train the best quality ChatGPT-like model under a specific language", which is an ongoing research direction and need users to explore themselves based on their situations.


feat(AjaxError): Include the response on instances of AjaxError

A non-2xx HTTP response may include a body to provide context to the error. Provide the ability to
retrieve the response from the AjaxError as you would from an AjaxResponse.

Coverage increased (+0.03%) to 97.765% when pulling 3304a0b624948196046c681b90a653cb1882ca89 on ncphillips:ajax-error-response into d2a32f9a18ebbf65bea798f558364571c91a9d79 on ReactiveX:master.

@ncphillips ... thank you for this PR, sorry it took me so long to review. Looks good. Merging this in before 5.5 (to be released soon)


SHOW fails to display info for specific packages

Brief description of your issue
WinGet fails to show any info for specific existing packages despite having it in list
Steps to reproduce

winget list -q Calculator
winget show --id Microsoft.WindowsCalculator_8wekyb3d8bbwe

Expected behavior
The usual show info is displayed
Actual behavior
No package found matching input criteria.
Environment
Windows Package Manager v0.2.0 Preview
Windows: Windows.Desktop v10.0.19042.685

This is due to the package being in the msstore source.

This is due to the package being in the msstore source.

What information are you looking for in this case?

What information are you looking for in this case?

At bare minimum the same information it provides for the currently visible packages (on which SHOW works)?

At bare minimum the same information it provides for the currently visible packages (on which SHOW works)?

Dependencies haven't been implemented yet. When they are, we should be able to show the dependency graph.

Dependencies haven't been implemented yet. When they are, we should be able to show the dependency graph.

Well, sure, but dependencies is the supplementary. It is still a bug it cant find and show any info on the app it knows about(???)

Well, sure, but dependencies is the supplementary. It is still a bug it cant find and show any info on the app it knows about(???)

Well, sure, but dependencies is a supplementary feature. It is still a bug that it cant find and show any info on the app it knows about from the list(???)

I'd agree. If no additional information can be shown for Store apps at the moment, at least a more helpful and less confusing error message should be shown.

Well, sure, but dependencies is a supplementary feature. It is still a bug that it cant find and show any info on the app it knows about from the list(???)

I'd agree. If no additional information can be shown for Store apps at the moment, at least a more helpful and less confusing error message should be shown.

This is actually because Calculator app is not in the curated list of the experimental store source or the winget source. winget is not able to correlate the installed app with any app in existing sources so it shows "No package found". This should get better when we have a real store source one day or a bigger catalog in winget sources.

These commands work:
winget show "Windows Calulator"
winget show 9WZDNCRFHVN5
Any package with an associated source can now be displayed with winget show
There may still be exceptions where WinGet doesn't have the ability to match the "Id" for pre-installed packages or packages that are installed via the Microsoft Store and are not available in the "msstore" REST source.

Which branch/commit is this?

It's fairly old. I'm not sure which release this initially appeared in. My best guess is the 1.2 release where we had the Microsoft Store "msstore" source and support for REST enabled. We've had changes with winget list where we stopped displaying packages linked to the "msstore" source due to some bad match results based on the heuristics we initially implemented.
The primary gap today is related to UWP packages coming from the Microsoft Store that weren't installed via winget. The "Id" column in winget list would display with a name like "<Publisher>.<Package>_8wekyb3d8bbwe". The "msstore" REST source manifests haven't been updated to include the package family name which we would use to key to the installed package.
If the package has been installed with WinGet, then we get an "Id" like "9NBLGGH4NNS1" (this one is the App Installer). In these cases, the "msstore" source is referenced, but the lack of a version number prevents the winget upgrade --all flow from knowing if a newer version is available.

winget show 9MV0B5HZVK9Z
Failed when searching source; results will not be included: winget
Found Xbox [9MV0B5HZVK9Z]
Version: Unknown

Weird winget error aside, any reason it fails on version?

@Kein the "msstore" REST source isn't providing the version information WinGet needs for the upgrade comparison logic. It's present via the "show" command, but not the endpoint used for upgrade. They have been notified, and hopefully we'll get a fix.

WinGet Show now displays dependencies and other metadata from the manifest including the URL to the installer (unless the Microsoft Store "msstore" source is used for legacy UWP packages).


chore(deps): Updated zone.js version to support latest Angular

Which problem is this PR solving?

Fixes https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1820

Short description of the changes

Update Zone.js version to support Angular 17

@pichlermarc signed CLA, now everything should be ready to merge :)
I see that PR to core library is merged, so, please, merge this one whenever core library is released
Thanks in advance!

Any updates on this issue ?

Hi all. Is there an estimate day for this to be released?

This is a real blocker for a lot of teams, can this not be prioritized somehow?

Any update on this? It's blocking to our teams too; it would very appreciated if this PR would be accepted

Hey Guys,
I just come across this as a Blocker.. can we get this merged asap?

We need to get the core release out first. I get that it's a blocker for you, but I can't give you a proper estimation right now (we have some tooling issues right now so it can be rather quick, or it can take a week).
I have not forgotten about this PR and will merge it when we've released core and updated the repo.


 Here are the changes:

Add the option for callback functions which is called after "put". The current implementation is simple: if there is a parameter called "seed", the callback function will be "seed_callback".
Add "put_quietly" which will not invoke the callback function.
edit: removed. not needed anymore.
Add the option to iterate over all the parameter of an object filtered by type. For example

sg_object->for_each_param_of_type<CSGObject*>(
	[&](const std::string& name, CSGObject** param) {
		SG_DEBUG(name);
	});

Random will be a mixin added by inheritance, and the inheriting class has to be of type SGObject, and will pass itself to the constructor of Random so that it can do its magic.
Random will add a recursive callback function so that when put is called it iterates over all SGObject parameters, check if it has seed and puts it, then calls itself but on the child SGObject.

std::function<void(CSGObject*, uint32_t&)> callback;
callback = [&](CSGObject* object, uint32_t& m_seed) {
	object->for_each_param_of_type<CSGObject*>(
	    [&](const std::string& name, CSGObject** param) {
		    if ((*param)->has("seed"))
			    (*param)->put_quietly("seed", m_seed);

		    callback(param, m_seed);
	    });
};

great start but there is a problem with multi-class inheritance in swig. my initial idea was to have a RandomMixin, something like this (not everything works here afaik):
	template <class T, class PRNGType = std::mt19937_64>
	class RandomMixin: public T
	{
	/** parameter key for the seed */
	static const char* const kSeedKey;
	static Tag<Maybe<int32_t>> kSeedTag;
	public:
		/** PRNG type */
		typedef PRNGType prng_type;

		/** Default constructor */
		RandomMixin() : T()
		{
			Maybe<int32_t> seed = Nothing();
			T::register_param(kSeedTag, seed);
			init_prng();
		}

		~RandomMixin() override = default;

		RandomMixin(int32_t seed) : T()
		{
			T::register_param(kSeedTag, Just(seed));
			//m_seed = Just(seed);
			//T::register_parameter(kSeedTag, m_seed);
			//T::register_param(kSeedTag, Just(seed));
			init_prng();
		}

		/**
		 * Set seed for PRNG.
		 * Sets the seed for this object's PRNG as well as all the objects that
		 * this object has in it's paramter map.
		 *
		 * @param seed the seed for the prng.
		 */
		void set_seed(const int32_t seed)
		{
			auto new_seed = Just(seed);
			T::update_parameter(kSeedTag, make_any(new_seed));
			m_prng.reset(new PRNGType(seed));

			/*
			Maybe<int32_t> new_seed = Just(seed);
			update_parameter(kSeedTag, make_any(new_seed));
			self->prng.reset(new PRNGType(seed));

			// traverse the tree
			auto children = get_children();
			if (children.size() == 0)
				return;

			std::deque<CSGObject*> to_visit(children.begin(), children.end());
			do
			{
				auto c = to_visit.back();
				to_visit.pop_back();
				c->update_parameter(kSeedTag, make_any(new_seed));
				for (auto cc: c->get_children())
				{
					if (children.find(cc) == children.end())
					{
						to_visit.push_front(cc);
						children.emplace(cc);
					}
				}
			} while (!to_visit.empty());
			*/
		}

	protected:
		void init_prng()
		{
			if (!m_prng)
			{
				auto seed = T::get(kSeedTag);
				if (seed)
				{
					m_prng = std::make_shared<PRNGType>(seed.value());
				}
				else
				{
					int32_t random_data[PRNGType::state_size];
					std::random_device source;
					std::generate(std::begin(random_data), std::end(random_data), std::ref(source));
					std::seed_seq seeds(std::begin(random_data), std::end(random_data));
					// save seed to the obj
					m_prng = std::make_shared<PRNGType>(seeds);
				}
			}
		}

		std::shared_ptr<PRNGType> m_prng;
	};
	template <class T, class PRNGType>
	Tag<Maybe<int32_t>> RandomMixin<T, PRNGType>::kSeedTag = Tag<Maybe<int32_t>>(kSeedKey);

	template <class T, class PRNGType>
		const char* const RandomMixin<T, PRNGType>::kSeedKey = "seed";

}

As i’ve mentioned plz dont use CRandom obj... that should b dropped...

On 17 Jun 2019, at 14:40, Ahmed Essam<EMAIL_ADDRESS>wrote:
@theartful commented on this pull request.
In src/shogun/mathematics/linalg/ratapprox/tracesampler/TraceSampler.h:

{
public:
/** default constructor */
CTraceSampler()

: CSGObject()

: CSGObject(), CRandom(this)
using a mixin that has an CRandom object (as you suggested) will solve this.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@vigsterkr Please check now if that what you mean. I wrote the RandomMixin, and wrote NormalDistribution based on the one in CRandom. I played with them locally, and they seem to work.

@theartful the callback function should be identified by an AnyProperty instead of a fixed string... if you have questions how to do it, ask it from @gf712 or me

@vigsterkr I added CALLBACKFUNCTION property. Now run function doesn't work with a callback function. If this is ok, I will start writing tests.

What’s the expected number of iterations of that loop?
I find it a bit concerning to have a while loop in a rng... ;) but I didn’t read the details yet

In the worst case scenario, which should rarely happen, the expected number is 2.

Maybe try to run it a few million times and count? Just to be safe....

@karlnapf results depend on the range. It only makes a difference when the range reaches 2^63, otherwise the extra invocations is very small. Btw boost does something similar using buckets https://www.boost.org/doc/libs/1_65_0/boost/random/uniform_int_distribution.hpp (the last few lines in generate_uniform_int), and this implementation in llvm is pretty much the same https://reviews.llvm.org/D7745 (https://reviews.llvm.org/differential/changeset/?ref=146467&whitespace=ignore-most).
I'm okay with dropping it though

@theartful really great stuff so far! just need to fix the integration test data and some minor stuff i've just mentioned worth considering?

yay, tests passed, It's nit-picking time! I will go through the changes and look for stuff that can be made better.
some notes:

there are classes that use RandomMixin just because they have member that use it (so that putting seed works). these include: MMD, MachineEvaluation, SoftMaxLiklihood
putting parameters after setting the seed has no effect on these parameters seed. so the seed should be put last (I have some ideas to fix this, if you think it's a problem, using callbacks).
any method that uses PRNG can't be const
If you create an SGObject that uses random within a class, you have to seed it. for example (in GMM.cpp):

if (m_components[0]->get_mean().vector==NULL)
{
	CKMeans* init_k_means=new CKMeans(int32_t(m_components.size()), new CEuclideanDistance());
	seed(init_k_means);
	init_k_means->train(dotdata);
	SGMatrix<float64_t> init_means=init_k_means->get_cluster_centers();
	alpha=alpha_init(init_means);
	SG_UNREF(init_k_means);
	max_likelihood(alpha, min_cov);
}

PRNG should not be used in the initialization/constructor of an object, otherwise you don't get deterministic behaviour, since seed is initialized by a random value. A similar problem was with Autoencoder which if given layers on initialization, it initialized their weights using their prng objects. My solution was to set the weights of these layers before passing them.

for 3. you could simply define the PRNG member variable mutuable. imo it's totally valid to use this trick here.
i'm not so sure if i understand why do we need the seed(CSGObject*) method... why not just sgo.set_seed(...) if u wanna set the seed of the given model? the setting of PRNG to have a random seed should be by default during ctor of the object

@vigsterkr I have two versions of the seed method (const overloading), one uses a random seed, and the other uses the same seed as the original seed as the object.

@karlnapf lets not cut it. you can has the patch and review it offline https://github.com/shogun-toolbox/shogun/pull/4692.

for 3. you could simply define the PRNG member variable mutable. imo it's totally valid to use this trick here.
i'm not so sure if i understand why do we need the seed(CSGObject*) method... why not just sgo.set_seed(...) if u wanna set the seed of the given model? the setting of PRNG to have a random seed should be by default during ctor of the object

+1 for the mutable rng var

@karlnapf lets not cut it. you can has the patch and review it offline https://github.com/shogun-toolbox/shogun/pull/4692.patch

I am not a fan of these big PRs, especially the callback stuff is almost unrelated to the random stuff.... but I won't insist...

PRNG is mutable now, and I changed back methods to be constant. This is more or less ready.

@theartful merge?

@theartful merge?

I am ok as well, the only thing is I don't like the %template instantiations in swig, especially since they will be removed again soon when all examples are ported ....


Disable Integrity Checking When Formatting with ReFS

Updating xExchAutoMountPoint so that ReFS volumes are formatted with Integrity Checking explicitly disabled. This aligns with what DiskPart.ps1 from the Exchange Server Role Requirements Calculator does, and also aligns with the Exchange Preferred Architecture recommendations.

This change is

Previously, mhendric (Mike Hendrickson) wrote…
> #### Disable Integrity Checking When Formatting with ReFS
>
> Updating xExchAutoMountPoint so that ReFS volumes are formatted with Integrity Checking explicitly disabled. This aligns with what DiskPart.ps1 from the Exchange Server Role Requirements Calculator does, and also aligns with the Exchange Preferred Architecture recommendations.
>
>
>

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

Got some unwanted commits in this one. Going to start fresh with a new pull request.


RFC: Rename "command" in gateway to "send"

Rename the Cluster::command and Shard::command (and after #477 their raw variants) to "send"

It was kind of discussed a while ago that this should be kept as "command" because that's what Discord calls it, so I'm closing this.


Add TcpListener::bind_with_options

The allows the user set options before the socket is bound.
I would like some feedback on whether this should be in Mio, or inot. I know could create the socket myself (outside of Mio) and then convert into a TcpListener, but I only need to make a single external call I don't really want to do all of it myself using libc or use net2/socket2 for a essentially a single call.

I feel your pain. I agree the situation with custom socket options is not ideal. I also hesitate to add APIs that could possibly be external. Of course, where do we draw the line between what is included and what isn't?
My rule of thumb has been:

Minimum set of APIs to expose OS selector (epoll, kqueue, ...) functionality in a portable way.
Socket impls that exist in std (tcp, udp, uds now) and to just mirror std for the APIs.

IMO, any function on our socket types that is not in std should, at this point, have a high bar for addition.
There also needs to be a good way to customize sockets while reducing syscalls.
I see a few way forward:

We provide a mio-util crate that includes APIs for customizing socket options.
We add a util module in mio that is behind a feature flag w/ these customization APIs and we have a big warning saying that this module is not stable and could break in 1.x releases.
We work on stabilizing an API for customizing socket options, which seems difficult given the history of attempts (net2, socket2) and no clear consensus.

We could add a TcpSocket struct that lets you configure the socket, then have bind and connect fns on it....

@Thomasdezeeuw can you describe the specific use case you are trying to solve? What options are you trying to set?

I basically need what is in the example, setting SO_REUSEPORT before binding the socket. I rather not add a TcpSocket type because at that point we might as well point people to socket2/net2, no point in duplicating the effort.

Closing this for now, I haven't really found a good alternative but I currently don't think this is the way to go.

I have though about TcpSocket but I don't think is a good idea to put this into Mio. I think once we add TcpSocket people might also want UdpSocket, and then a bunch of options and we basically have a copy of socket2/net2. I don't its worth it to duplicate the effort, so instead we can use socket2/net2 for this without adding more code that isn't necessary to Mio.


renumber ants for miriad files

I'd appreciate having this capability for MIRIAD files, too.

Out of curiosity, what's the use case for renumbering the antennas for Miriad? It's just a little dangerous because it makes the antenna numbers not match the true numbers for the array...

b/c all my personal calibration routines (and hera_cal in general) always goes back to the miriad file format before starting the next round of calibration.
also, i don't see what you mean. in running the script on UVFITS and MIRIAD I get the same behavior for both antenna_numbers and antenna_names..

Ok, I'm fine with adding this functionality, I was just trying to understand the use case.
My comment about the antenna numbers not matching applies to both the uvfits and miriad cases -- I just mean that the new (renumbered) antenna numbers don't match the actual HERA numbers for those antennas, so if you see a problem on one of them you have to translate to the original numbers in order to communicate with anyone using the real HERA numbers. Also, as the array changes, the renumbered values can change because they can't clash with other existing numbers. In general I regard this script as a kludge :).


New order status handling

The order structure has changed.
We no longer have order_status or order_status_conjunction.
We now have line_item_allocation_status and line_item_designation.
This supersedes #106

@nickcoleman There is a branch call 125-order-docs which has some work done on it. The paw project has changed most if not all of the docs and the params for the 2 endpoints that use it.


Added non breaking space in transliteration.php

I'm fine with this, @nitriques ?

Yes, @beaubbe works with me :) Sorry, I've been really busy and could not afford to check the issues. Will do ASAP.


Making local project show test more reliable

Also capture the error for the project name being the same

This is great...this closes this https://github.com/pulibrary/tiger-data-app/issues/447 right?


failed calling webhook  error

What happened:
trying to create a new managed cluster from an existing OKE clustger
What you expected to happen:
the new managed cluster to be created
How to reproduce it (as minimally and precisely as possible):
I did
clusterctl init --infrastructure oci
and CRDs were just created fine
running
OCI_COMPARTMENT_ID={my_compartment_id_here} \
OCI_IMAGE_ID={my_ubuntu_image_ocid_here} \
OCI_SSH_KEY=-{path_to_my_private_key_here}  \
CONTROL_PLANE_MACHINE_COUNT=1 \
KUBERNETES_VERSION=v1.27.2 \
NAMESPACE=default \
NODE_MACHINE_COUNT=1 \
clusterctl generate cluster capi-mbf \
--from ~/downloads/cluster-template-managed.yaml | kubectl apply -f -

the file ~/downloads/cluster-template-managed.yaml is fetched from this link https://github.com/oracle/cluster-api-provider-oci/releases/download/v0.14.0/cluster-template-managed.yaml
results into these errors
New clusterctl version available: v1.6.0 -> v1.6.1
sigs.k8s.io/cluster-api
cluster.cluster.x-k8s.io/capi-mbf configured
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "default.ocimanagedcluster.infrastructure.cluster.x-k8s.io": failed to call webhook: Post "https://capoci-webhook-service.cluster-api-provider-oci-system.svc:443/mutate-infrastructure-cluster-x-k8s-io-v1beta2-ocimanagedcluster?timeout=10s": EOF
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "default.ocimanagedcontrolplane.infrastructure.cluster.x-k8s.io": failed to call webhook: Post "https://capoci-webhook-service.cluster-api-provider-oci-system.svc:443/mutate-infrastructure-cluster-x-k8s-io-v1beta2-ocimanagedcontrolplane?timeout=10s": EOF
Error from server (Forbidden): error when creating "STDIN": admission webhook "validation.machinepool.cluster.x-k8s.io" denied the request: spec: Forbidden: can be set only if the MachinePool feature flag is enabled
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "default.ocimanagedmachinepool.infrastructure.cluster.x-k8s.io": failed to call webhook: Post "https://capoci-webhook-service.cluster-api-provider-oci-system.svc:443/mutate-infrastructure-cluster-x-k8s-io-v1beta2-ocimanagedmachinepool?timeout=10s": EOF

Anything else we need to know?:
Anyone could help me to know the exact issue ?
Environment:

CAPOCI version:
latest
Cluster-API version (use clusterctl version):
v1.6.0
Kubernetes version (use kubectl version):
Client Version: v1.28.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.27.2
Docker version (use docker info):
Client: Docker Engine - Community
Version:    24.0.6
OS (e.g. from /etc/os-release):

The error shows below ```Error from server (Forbidden): error when creating "STDIN": admission webhook "validation.machinepool.cluster.x-k8s.io" denied the request: spec: Forbidden: can be set only if the MachinePool feature flag is enabled
Please enable machinepool flag before doing clusterctl init --infrastructure oci command
Please see doc https://oracle.github.io/cluster-api-provider-oci/managed/managedcluster.html#environment-variables

ok I did that, the MachinePool error is gone but I'm still getting these errors
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "default.ocimanagedcluster.infrastructure.cluster.x-k8s.io": failed to call webhook: Post "https://capoci-webhook-service.cluster-api-provider-oci-system.svc:443/mutate-infrastructure-cluster-x-k8s-io-v1beta2-ocimanagedcluster?timeout=10s": EOF
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "default.ocimanagedcontrolplane.infrastructure.cluster.x-k8s.io": failed to call webhook: Post "https://capoci-webhook-service.cluster-api-provider-oci-system.svc:443/mutate-infrastructure-cluster-x-k8s-io-v1beta2-ocimanagedcontrolplane?timeout=10s": EOF
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "default.ocimanagedmachinepool.infrastructure.cluster.x-k8s.io": failed to call webhook: Post "https://capoci-webhook-service.cluster-api-provider-oci-system.svc:443/mutate-infrastructure-cluster-x-k8s-io-v1beta2-ocimanagedmachinepool?timeout=10s": EOF

Are the CAPOCI pods running properly? Can you check the output of kubectl get pods -n cluster-api-provider-oci-system  and see if the capoci pods are running fine? If not can you check the logs using kubectl logs command to see why they are not running fine?

k logs capoci-controller-manager-5648c768-mpjwb -n cluster-api-provider-oci-system
I0118 10:36:42.416442       1 main.go:240] "setup: CAPOCI Version" version="v0.14.0"
E0118 10:36:42.416470       1 main.go:249] "setup: unable to get OCI region from AuthConfigProvider" err="region can not be empty or have spaces"

how should I provide the region to the management cluster

Please follow the instructions here https://oracle.github.io/cluster-api-provider-oci/gs/install-cluster-api.html#install-cluster-api-provider-for-oracle-cloud-infrastructure to give the details, if you are using OKE as management cluster, "Instance Principals" are recommended for production, although user principal may be easier to start with.

yes I'm using the exact same config and I'm using export OCI_REGION=me-jeddah-1
and it's still complaining about the region
I0118 10:36:42.416442       1 main.go:240] "setup: CAPOCI Version" version="v0.14.0"
E0118 10:36:42.416470       1 main.go:249] "setup: unable to get OCI region from AuthConfigProvider" err="region can not be empty or have spaces"

did you execute this step as well?    export OCI_REGION_B64="$(echo -n "$OCI_REGION" | base64 | tr -d '\n')"

but it's conditionnal
# if Passphrase is present

ok now complaining about private key even if I provided it like that
export OCI_CREDENTIALS_KEY_B64=$(base64 < $(cat ~/.ssh/id_rsa) | tr -d '\n')
k logs capoci-controller-manager-5648c768-kbm4m  -n cluster-api-provider-oci-system
I0118 11:15:42.408639       1 main.go:240] "setup: CAPOCI Version" version="v0.14.0"
E0118 11:15:42.408775       1 clients.go:188]  "msg"="unable to create OCI VCN Client" "error"="can not create client, bad configuration: failed to parse private key"
E0118 11:15:42.408798       1 main.go:261] "setup: authentication provider could not be initialised" err="can not create client, bad configuration: failed to parse private key"

The private key is not he ssh private key, it should be the oci private key, please go through the doc https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm and create a private key in ~/.oci folder and provide that path

ok thanks all issues has been fixed and I was able to create the cluster with no errors
but the cluster is not created
k describe cluster capi-mbf
Name:         capi-mbf
Namespace:    default
Labels:       cluster.x-k8s.io/cluster-name=capi-mbf
Annotations:  <none>
API Version:  cluster.x-k8s.io/v1beta1
Kind:         Cluster
Metadata:
  Creation Timestamp:  2024-01-18T09:12:28Z
  Finalizers:
    cluster.cluster.x-k8s.io
  Generation:        8
  Resource Version:  328221976
  UID:               b59c366f-1aa9-4aa7-8324-652880918aec
Spec:
  Control Plane Endpoint:
    Host:
    Port:  0
  Control Plane Ref:
    API Version:  infrastructure.cluster.x-k8s.io/v1beta1
    Kind:         OCIManagedControlPlane
    Name:         capi-mbf
    Namespace:    default
  Infrastructure Ref:
    API Version:  infrastructure.cluster.x-k8s.io/v1beta1
    Kind:         OCIManagedCluster
    Name:         capi-mbf
    Namespace:    default
Status:
  Conditions:
    Last Transition Time:  2024-01-18T11:36:49Z
    Reason:                WaitingForControlPlane
    Severity:              Info
    Status:                False
    Type:                  Ready
    Last Transition Time:  2024-01-18T11:36:49Z
    Message:               Waiting for control plane provider to indicate the control plane has been initialized
    Reason:                WaitingForControlPlaneProviderInitialized
    Severity:              Info
    Status:                False
    Type:                  ControlPlaneInitialized
    Last Transition Time:  2024-01-18T11:36:49Z
    Reason:                WaitingForControlPlane
    Severity:              Info
    Status:                False
    Type:                  ControlPlaneReady
    Last Transition Time:  2024-01-18T11:36:49Z
    Reason:                WaitingForInfrastructure
    Severity:              Info
    Status:                False
    Type:                  InfrastructureReady
  Observed Generation:     8
  Phase:                   Provisioning
Events:                    <none>

The conrol plane has not been created, you can either describe the ocimanagedcontrolplane object, or look at the capoci logs(preferable)

the logs shows this, but I provided the pem key and I'm authenticated
when I run this command I get the list
` oci iam region list --config-file /Users/mehdibenfeguir/.oci/config --profile mehdi --auth security_token
`E0118 11:44:08.554708       1 controller.go:329] "Reconciler error" err=<
Error returned by ContainerEngine Service. Http Status Code: 401. Error Code: NotAuthenticated. Opc request id: 662ee8794ff90c3fd7213fb040eb6cc7/E18DCD24600BBA005B143903C85449B4/72D3DA271E8E93B70DFE2A58AA0BD9D8. Message: Failed to verify the HTTP(S) Signature

Definitely a problem with your pem key, did you create a pem key and upload it to OCI console as explained in the doc? in the command prompt, you are using security token, not private key.

ok so now it's a different error
E0118 12:07:03.792027       1 vcn_reconciler.go:101] "failed to list vcn by name" err=<
	Error returned by VirtualNetwork Service. Http Status Code: 404. Error Code: NotAuthorizedOrNotFound. Opc request id: 7f6846f93cdf9778d3c1ac8bad1b7649/B7CE5A411106A9BA93DE717DB3FF8BAB/5B493160620374EB44402EE936D865DF. Message: Authorization failed or requested resource not found.

ok policies added and the cluster was created with 0 nodepools
checking the logs I'm getting this
	failed to create OCIManagedMachinePool: Error returned by ContainerEngine Service. Http Status Code: 400. Error Code: InvalidParameter. Opc request id: 338c92f544911fd20e94c9a39d6c5550/91FED560B24118FF7A883374A1A55790/1D5EF9F8F8A2E126712DA1DD568A3BF8. Message: Invalid sshPublicKey: Provided key is not a valid OpenSSH public key.
I added the public key provided from the OCI console the passed it as an environment variable when creating the cluster
am I doing anything wrong ?

When you create a managed node pool, the key which has to be provided  in the managed node pool params is the SSH key, not the OCI key. This SSH key will be used to SSH to the machines.

oh so I need to provide my personal public ssh key
great let me try

it's working !!
Thank you very much @shyamradhakrishnan for the precious help
I suggest to enhance docs especially for the ssh keys it's a little bit confusing

these are the logs
failed to delete subnet: Error returned by VirtualNetwork Service. Http Status Code: 409. Error Code: Conflict. Opc request id: 843868a7e1f565e0b1de0d6e66339f8a/EE2B2536FECCA3EF5F12F5208F13456F/43E7DE93F48B26EFF2F5E0F91FAEECDD. Message: The Subnetxxxx references the VNIC xxx. You must remove the reference to proceed with this operation.

hmm, the error clearly shows there is a VNIC resource attached to the subnet, because of which the subnet could not be deleted. So you did not create any pod, or any resource in the cluster? And you deleted the cluster using kubectl delete cluster command? What is the name of the subnet which could not be deleted?

So you did not create any pod, or any resource in the cluster?  yes
And you deleted the cluster using kubectl delete cluster command?
yes
What is the name of the subnet which could not be deleted?
the subnet that includes the name of capi-mbf

It would be great if you can provide the full name of the subnet, can you execute the command oci network vnic get, and see what the VNIC is attached to? Sorry, ideally if the delete reaches subnet, it should have deleted all resources, so unless you see any other errors in the logs, we will have to debug this more.

I already removed it manually so I can't check the exact name now

Thanks, Can we close this ticket and you can create a new one when you notice it again?

ok thanks for helping


update gradle

update  gradle version
use implementation keyword
update build version to be consistent with the gradle plugin version

We'll update version periodically, thanks


Incompatible types when assigning meta/reference to wrong type

Found this while working on ceylon/ceylon-lang.org#364:
[] a = `new Array.ofSize`;
[] b = `Array<String>.ofSize`;

Two typechecker errors, expected:

source/tmp/run.ceylon:1: error: specified expression must be assignable to declared type of 'a': 'CallableConstructorDeclaration' is not assignable to '[]'

[] a = `new Array.ofSize`;
     ^

source/tmp/run.ceylon:2: error: specified expression must be assignable to declared type of 'b': 'CallableConstructor<Array<String>,[Integer, String]>' is not assignable to '[]'

[] b = `Array<String>.ofSize`;
     ^

And two backend errors, should not be there:

source/tmp/run.ceylon:1: error: incompatible types

[] a = `new Array.ofSize`;
       ^

required: Empty
found:    CallableConstructorDeclaration
source/tmp/run.ceylon:2: error: incompatible types
[] b = `Array<String>.ofSize`;
       ^

required: Empty
found:    CallableConstructor<CAP#1,CAP#2>
where CAP#1,CAP#2 are fresh type-variables:
CAP#1 extends Array<String> from capture of ? extends Array<String>
CAP#2 extends Sequential<? extends Object> super: Sequence<? extends Object> from capture of ? super Sequence<? extends Object>

The errors are slightly different in 1.2.3:
error: Ceylon backend error: incompatible types: CallableConstructorDeclaration cannot be converted to Empty
[] a = `new Array.ofSize`;
       ^
error: Ceylon backend error: incompatible types: CallableConstructor<CAP#1,CAP#2> cannot be converted to Empty
[] b = `Array<String>.ofSize`;
       ^
  where CAP#1,CAP#2 are fresh type-variables:
    CAP#1 extends Array<String> from capture of ? extends Array<String>
    CAP#2 extends Sequential<? extends Object> super: Sequence<? extends Object> from capture of ? super Sequence<? extends Object>

This is just error recovery. If it's hard to fix, it can wait for 1.3.


import not working offline, requires wasm

Hi, is this a bug in your code or mine? It works fine for me with internet connection, but when I try re-running it offline, it fails. I used vsCode's quick fix to cache the import, but it still reaches out to the internet for the wasm file, and I tried caching that, but I wasn't able to do so.
From my file prepUiCode.ts:
import { transpile } from<EMAIL_ADDRESS>
const singleUiEntryPoint = "tempGenerated/ui.loadAll.ts";
await Deno.writeTextFile(singleUiEntryPoint, loadLines.join("\n"));
const emittedFileUrlsAndContents = await transpile(singleUiEntryPoint); // line 352

Here's the failure message when running offline:
error: Uncaught (in promise) TypeError: error sending request for url (https://deno.land/x/emit@0.22.0/emit_bg.wasm): error trying to connect: dns error: failed to lookup address information: nodename nor servname provided, or not known
const wasmResponse = await fetch(wasm_url);
^
at eventLoopTick (ext:core/01_core.js:166:11)
at async mainFetch (ext:deno_fetch/26_fetch.js:266:12)
at async fetch (ext:deno_fetch/26_fetch.js:490:7)
at async instantiateModule (https://deno.land/x/emit@0.22.0/emit.generated.js:491:28)
at async https://deno.land/x/emit@0.22.0/emit.generated.js:444:27
at async instantiate (https://deno.land/x/emit@0.22.0/emit.generated.js:422:11)
at async transpile (https://deno.land/x/emit@0.22.0/mod.ts:229:38)
at async _runDenoCompiler (file:///Users/marcusreese/Documents/mvp/_src/prepUiCode/prepUiCode.ts:352:38)

I see someone else had a similar issue: https://github.com/denoland/deno/issues/16521#issuecomment-1308189836 says, "it doesn't work offline" -- so I'm guessing there's no solution to my issue right now.

Now that the Cache API and Deno KV have been implemented, wouldn't it be feasible to support offline wasm loading?


Linter: Do not filter duplicates by message only

Additionally, consider the positions, since there might be the same error message at different places.
Example:

Thank you!


In debug mode findfiles2 could print out why it skipped a particular file that matched the pattern

Testing #205408
When testing, I had a folder with .gitignore (content: *) which self ignores the entire folder. It was confusing to figure out why. If I knew it was getting skipped due to ignore it would have helped. In debugpy we have similar rules, and we describe why a file was ignored or skipped for step-into in logs when set to verbose.

@jrieken I'm curious if other APIs have a debug flag that allows them to show more debug info. We could add debug/trace logs when you search for files, but I'd assume that it gets annoying after a while.

Having this would be help but it is nothing that should be in the API. I believe trace/debug logging is the way to go here but I also wonder if RG gives you all this information?

That's true. When things are excluded at the RG level, it actually doesn't list the excludes that it gets from parsing ignore files, so it'd be hard to get specific files in this case also.
I wonder whether it'd be worth it to just have a trace or debug log that shows which settings that it uses and which fields are fixed. For example
- using files.exclude setting -> false
- using search.exclude setting -> false
- using useIgnoreFiles -> following settings -> true (the value from settings)
- using useGlobalIgnore-> following settings -> false (the value from settings)
- using useParentIgnore-> following settings -> false (the value from settings)

This is a lot easier to show than all of the globs that it finds (since some of it is done by ripgrep and we'd otherwise need to make an extra call perhaps to list exclude globs). It would be even harder to list all ignored files.
@karthiknadig Do you think that this would be sufficient in this case? I recall that a bit issue was that it was unclear what useIgnoreFiles actually resolved to.

Yes. In my case my confusion stemmed from the fact that I had not set useIgnoreFiles and my assumption was not setting it is same as false. The above logs would have helped in that case.


Error authorizing GAM to manage G Suite user data and settings

I'm trying to install GAM, but i'm stucked at this step.
After grant access to scopes for Client name that GAM tells at this point:
https://mail.google.com/,
https://www.googleapis.com/auth/activity,
https://www.googleapis.com/auth/apps.alerts,
https://www.googleapis.com/auth/calendar,
https://www.googleapis.com/auth/drive,
https://www.googleapis.com/auth/gmail.settings.basic,
https://www.googleapis.com/auth/gmail.settings.sharing,
https://www.googleapis.com/auth/spreadsheets,
https://www.googleapis.com/auth/userinfo.email
I try to authorize GAM to manage G Suite user data and settings, and always fail at same point:
Computer clock status:
Your computer clock differs from Google by 0 seconds                       PASS
Service Account Private Key Authentication:
Authenticating...                                                          PASS
Domain-Wide Delegation authentication as<EMAIL_ADDRESS>https://mail.google.com/                                                   PASS
https://www.googleapis.com/auth/activity                                   PASS
https://www.googleapis.com/auth/apps.alerts                                FAIL
https://www.googleapis.com/auth/calendar                                   PASS
https://www.googleapis.com/auth/drive                                      PASS
https://www.googleapis.com/auth/gmail.settings.basic                       PASS
https://www.googleapis.com/auth/gmail.settings.sharing                     PASS
https://www.googleapis.com/auth/spreadsheets                               PASS
I tried several times, and always with the same problem with app.alerts?
I read some threads, and I grant all this scopes to the user, I don't know how can I do it.
Regards

Please confirm the following:
I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue. => yes.
I am running 4.94

I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki => yes :
bash <(curl -s -S -L https://git.io/install-gam)

Full steps to reproduce the issue:
Install GAM and say yes at this question:
Are you ready to authorize GAM to manage G Suite user data and settings? (yes or no)

I have the same issue. Have you solved it yet?

Yes I have created a project and most seems to work but:
gam user user@mydomain check serviceaccount
will fail on:
https://www.googleapis.com/auth/apps.alerts

Magnus,
Try this to verify that the appropriate API is enabled.
gam update project
Ross
On Thu, Oct 3, 2019 at 8:27 AM Magnus<EMAIL_ADDRESS>wrote:

Yes I have created a project and most seems to work but:
gam user user@mydomain check serviceaccount
will fail on:
https://www.googleapis.com/auth/apps.alerts
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1016?email_source=notifications&email_token=ACCTYLZPUJSXWP2ZAM7LQCDQMYFONA5CNFSM4IX3ZDAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAISSXI#issuecomment-537995613,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACCTYL4XHGT2OPXUGQADRN3QMYFONANCNFSM4IX3ZDAA
.

                                                          PASS
Domain-Wide Delegation authentication as user@mydomain:
https://mail.google.com/                                                   PASS
https://www.googleapis.com/auth/activity                                   PASS
https://www.googleapis.com/auth/apps.alerts                                FAIL
https://www.googleapis.com/auth/calendar                                   PASS
https://www.googleapis.com/auth/drive                                      PASS
https://www.googleapis.com/auth/gmail.settings.basic                       PASS
https://www.googleapis.com/auth/gmail.settings.sharing                     PASS
https://www.googleapis.com/auth/spreadsheets                               PASS
Regards
Magnus

Magnus,
OK, the API is enabled.
If you do: gam user<EMAIL_ADDRESS>check serviceaccount
What do you get?
 PASS
Domain-Wide Delegation authentication as user@mydomain:
https://mail.google.com/ PASS
https://www.googleapis.com/auth/activity PASS
https://www.googleapis.com/auth/apps.alerts FAIL
https://www.googleapis.com/auth/calendar PASS
https://www.googleapis.com/auth/drive PASS
https://www.googleapis.com/auth/gmail.settings.basic PASS
https://www.googleapis.com/auth/gmail.settings.sharing PASS
https://www.googleapis.com/auth/spreadsheets PASS
Regards
Magnus
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1016?email_source=notifications&email_token=ACCTYL3TG6RCHI3Q6KBE6JTQMYKLRA5CNFSM4IX3ZDAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAIW4HA#issuecomment-538013212,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACCTYL7BZK74XZ6PM73XGYTQMYKLRANCNFSM4IX3ZDAA
.

--
Ross Scroggs
<EMAIL_ADDRESS>

Hi Ross,
I get the same result...
Regards
Magnus

Ross,
And when I set up GAMADV-XTD3:
What is your G Suite admin email address? superuser@mydomain
Your browser has been opened to visit: ........
Here I get a browser page error: "You do not have access to this service."
Regards
Magnus

Magnus,
Contact me directly and we'll work on the GAMADV-XTD3 portion of your issue.
Ross
<EMAIL_ADDRESS>On Fri, Oct 4, 2019 at 4:40 AM Magnus<EMAIL_ADDRESS>wrote:

Ross,
And when I set up GAMADV-XTD3:
What is your G Suite admin email address? superuser@mydomain
Your browser has been opened to visit: ........
Here I get a browser page error: "You do not have access to this service."
Regards
Magnus
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1016?email_source=notifications&email_token=ACCTYL5QOWFKYGGXAVE2OV3QM4TSRA5CNFSM4IX3ZDAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEALMEHA#issuecomment-538362396,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACCTYL4527BJHXL547LAPILQM4TSRANCNFSM4IX3ZDAA
.

--
Ross Scroggs
<EMAIL_ADDRESS>

Hi @maghog,
Finally you solved it?
I can't use yet gam :(
Clemente

برنامج ممتاز جدا بس اريد المساعدة في التدريب

Hi @maghog,
Finally you solved it?
I can't use yet gam :(
Clemente

Sorry for late answer. I still have the same issue but gam works.

I am trying to install GAM and I have got this issue:  ERROR: Some scopes failed! Please go to: and when I go through website to grant access to client but again fail. any help?

https://mail.google.com/,
https://www.googleapis.com/auth/activity,
https://www.googleapis.com/auth/apps.alerts,
https://www.googleapis.com/auth/calendar,
https://www.googleapis.com/auth/drive,
https://www.googleapis.com/auth/gmail.settings.basic,
https://www.googleapis.com/auth/gmail.settings.sharing,
https://www.googleapis.com/auth/spreadsheets,
https://www.googleapis.com/auth/userinfo.email

Hi,
Please run gam user "email id" check serviceaccount. This will give you steps to follow if the authorization fails. Follow the steps and run the above command again. This worked for me. Please try and let me know.

Magnus, OK, the API is enabled. If you do: gam user<EMAIL_ADDRESS>check serviceaccount What do you get? Ross
…
 PASS Domain-Wide Delegation authentication as @.***: https://mail.google.com/ PASS https://www.googleapis.com/auth/activity PASS https://www.googleapis.com/auth/apps.alerts FAIL https://www.googleapis.com/auth/calendar PASS https://www.googleapis.com/auth/drive PASS https://www.googleapis.com/auth/gmail.settings.basic PASS https://www.googleapis.com/auth/gmail.settings.sharing PASS https://www.googleapis.com/auth/spreadsheets PASS Regards Magnus — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1016>, or mute the thread https://github.com/notifications/unsubscribe-auth/ACCTYL7BZK74XZ6PM73XGYTQMYKLRANCNFSM4IX3ZDAA .
-- Ross Scroggs<EMAIL_ADDRESS>
Hi Ross, I have same error, this is the error I got :
WARNING: Config File: /home/gopomelo/.gam/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /home/project/.gam/oauth2.txt, Not Found
WARNING: Config File: /home/project/.gam/gam.cfg, Section: DEFAULT, Item: oauth2service_json, Value: /home/project/.gam/oauth2service.json, Not Found

Send me a Meet/Zoom invitation and I'll help.
Ross
On Mon, Jun 5, 2023 at 10:54 PM fadhli14 @.***> wrote:

Magnus, OK, the API is enabled. If you do: gam user @.***
check serviceaccount What do you get?  PASS
Domain-Wide Delegation authentication as @.: https://mail.google.com/
PASS https://www.googleapis.com/auth/activity PASS
https://www.googleapis.com/auth/apps.alerts FAIL
https://www.googleapis.com/auth/calendar PASS
https://www.googleapis.com/auth/drive PASS
https://www.googleapis.com/auth/gmail.settings.basic PASS
https://www.googleapis.com/auth/gmail.settings.sharing PASS
https://www.googleapis.com/auth/spreadsheets PASS Regards Magnus — You
are receiving this because you commented. Reply to this email directly,
view it on GitHub <#1016 https://github.com/GAM-team/GAM/issues/1016>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACCTYL7BZK74XZ6PM73XGYTQMYKLRANCNFSM4IX3ZDAA
.
-- Ross Scroggs @.
Hi Ross, I have same error, this is the error I got :
WARNING: Config File: /home/gopomelo/.gam/gam.cfg, Section: DEFAULT, Item:
oauth2_txt, Value: /home/project/.gam/oauth2.txt, Not Found
WARNING: Config File: /home/project/.gam/gam.cfg, Section: DEFAULT, Item:
oauth2service_json, Value: /home/project/.gam/oauth2service.json, Not Found
—
Reply to this email directly, view it on GitHub
https://github.com/GAM-team/GAM/issues/1016#issuecomment-1577958450, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCTYLZWRNUOCS35YXA33Q3XJ3AZJANCNFSM4IX3ZDAA
.
You are receiving this because you commented.Message ID:
@.***>

--
Ross Scroggs
@.***


Community / place to share notebooks

It would be great to have a place for the community to discuss IHaskell beyond just GH issues. (Or perhaps it could be extended to other work on rich interactive Haskell interaction - if there is any).
Also, it would be great to have a place to collect interesting IHaskell notebooks, everything from small snippets to fully fledged tutorials. Here's a quick snippet I put together just now: http://nbviewer.ipython.org/github/houshuang/ihaskell-experiments/blob/master/ihaskell-display.ipynb
Perhaps just having a space on the wiki to link to these notebooks would be enough. (I really like how RStudio's knitr enable you to push your file to the cloud repository rpubs.com with a single button - maybe a similar integration with gist, rendering a link to nbviewer?)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/6257817-community-place-to-share-notebooks?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github).

Using IHaskell wiki for now. Could need some better organization/screenshots in the future.


[Tooling]: tsc watch

As a developer, I use to make a lot of mistakes. As on now for every change, we need to build the package, this becomes quite frustrating.
Pls correct me if I am wrong.

Expected Behavior 🤔
Instantly build the changes, using tsc watch mode.
Current Behavior 😯
Huge development cycle.
Try this
diff --git a/packages/material-ui/package.json b/packages/material-ui/package.json
index 69c76bf..4064d98 100644
--- a/packages/material-ui/package.json
+++ b/packages/material-ui/package.json
@@ -30,7 +30,8 @@
     "prebuild": "rimraf build",
     "release": "yarn build && npm publish build --tag latest",
     "test": "cd ../../ && cross-env NODE_ENV=test mocha 'packages/material-ui/**/*.test.js' --exclude '**/node_modules/**'",
-    "typescript": "tslint -p tsconfig.json \"{src,test}/**/*.{ts,tsx}\" && tsc -p tsconfig.test.json"
+    "typescript": "tslint -p tsconfig.json \"{src,test}/**/*.{ts,tsx}\" && tsc -p tsconfig.test.json",
+    "watch": "npm run build && tsc -w"
   },
   "peerDependencies": {
     "react": "^16.8.0",

https://www.typescriptlang.org/docs/handbook/configuring-watch.html

Every time I run build the build directory gets deleted, hence the linking breaks.
Failed to compile.

../material-ui/packages/material-ui/build/esm/SvgIcon/index.js
Error: ENOENT: no such file or directory, open '/home/wasd/github/material-ui/packages/material-ui/build/esm/SvgIcon/index.js'

We don't use tsc to build anything so what you'd want is to add --watch to any of the build scripts
https://babeljs.io/docs/en/babel-cli#compile-files
If you just want typechecking then you can use
tsc -p tsconfig.test.json -w

yarn workspace @material-ui/core typescript -w would incidentally already work. This script doesn't do what you think it does though. If you want to build the esm build in watchmode you can run yarn workspace @material-ui/core build:esm --watch.
For build --watch see #15497


Links on andriod a overlapping

On andriod, the nft search results are overlapping and hard to read and tap.

Thank you, we will work on scaling and post updates here.


refactor: make credentials.NewMemoryStore return an interface

Un-expose credentials.MemoryStore as it is unecessary to be public
Make credentials.NewMemoryStore return an interface instead of a struct

Codecov Report

Merging #605 (0a6db83) into main (9f83e67) will decrease coverage by 0.19%.
The diff coverage is 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #605      +/-   ##
==========================================
- Coverage   74.64%   74.45%   -0.19%
==========================================
  Files          59       59
  Lines        5266     5266
==========================================
- Hits         3931     3921      -10
- Misses        983      991       +8
- Partials      352      354       +2

Files Changed
Coverage Δ

registry/remote/credentials/memory_store.go
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@Uanid Please take a look

@Uanid Please take a look at this change

How about changing FileStore to a private too?
If we add the DisablePut property to NewFileStore? Then, we could make it private.
Changing the public API could be an issue, but since you moved the code to oras-go and package path is changed, some changes now seem okay.

@Uanid Please take a look at this change

How about changing FileStore to a private too? If we add the DisablePut property to NewFileStore? Then, we could make it private. Changing the public API could be an issue, but since you moved the code to oras-go and package path is changed, some changes now seem okay.

Sounds like a good idea, but subject of another PR

@Uanid Please take a look at this change

LGTM too

How about changing FileStore to a private too?
If we add the DisablePut property to NewFileStore? Then, we could make it private.
Changing the public API could be an issue, but since you moved the code to oras-go and package path is changed, some changes now seem okay.

But that would require users to specify an extra parameter on initialization. I think it's ok to keep FileStore exposed for convenience. @shizhMSFT What do you think?

But that would require users to specify an extra parameter on initialization. I think it's ok to keep FileStore exposed for convenience.

The point of having FileStore exposed is to make the property changeable after initialization.


NEW Add GitHub commands to sync labels to supported modules and to check rate limits

Resolves #112
This is a port of https://github.com/creative-commoners/maintain which uses centralised modules and labels lists and the GitHub API to push labels out to all supported modules:

https://github.com/silverstripe/supported-modules/blob/gh-pages/modules.json
https://github.com/silverstripe/supported-modules/blob/gh-pages/labels.json

It also includes a GitHub rate limit API check command since the sync can exceed your hourly rate limiting if you run it repeatedly (e.g. during development).

Looks cool. :) Sorry I don't have time to do a full review.


Custom build show An update is available when selecting About

Windows Terminal version
main 3d737214
Windows build number
10.0.22621.1702
Other Software
No response
Steps to reproduce
Build latest code, 3d737214 was used for testing on aarch64.
Select About from drop-down menu
Observe the blue rotating circle and  Checking for updates... message
Expected Behavior
No updates available since it's a local build
Actual Behavior

Thanks for helping selfhost the latest bits! That's actually a debugging string that we put in there. Obviously, there aren't any updates available from the Store for a Dev build of the Terminal. The About dialog will still display that message though, as a bit of a debugging test for that UX.
You can safely ignore that message 😉


VoltageShift + updated bios + Ventura (Solution)

If you have updated the bios and want to use VoltageShift, you must enter the advanced bios menu and enable overclocking (its somewhere there, in the CPU/Power menu).
If you dont that first, VoltageShift will not be able to offset the voltage. It took me many hours to find that out.
Its not an issue with your set up. I just write it as an advice all.

I’ll update the readme in my spare time, thanks for your advice!

Completed.


Rename `uses: .../read-yaml@main

This should clarify, compared to having to click Use Latest Version on the actions marketplace

Thank you so much!