python39Packages.nose2: 0.10.0 -> 0.11.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python39Packages.nose2 is: "nose2 is the next generation of nicer testing for Python"
meta.homepage for python39Packages.nose2 is: "https://github.com/nose-devs/nose2"
meta.changelog for python39Packages.nose2 is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
Warning: no invocation of /nix/store/z3cxijq3d8dqx96ljxfz1hnnvrzk43gr-python3.9-nose2-0.11.0/bin/nose2-3.9 had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/z3cxijq3d8dqx96ljxfz1hnnvrzk43gr-python3.9-nose2-0.11.0/bin/.nose2-3.9-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/z3cxijq3d8dqx96ljxfz1hnnvrzk43gr-python3.9-nose2-0.11.0/bin/nose2 had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/z3cxijq3d8dqx96ljxfz1hnnvrzk43gr-python3.9-nose2-0.11.0/bin/.nose2-wrapped had a zero exit code or showed the expected version
0 of 4 passed binary check by having a zero exit code.
0 of 4 passed binary check by having the new version present in output.
found 0.11.0 with grep in /nix/store/z3cxijq3d8dqx96ljxfz1hnnvrzk43gr-python3.9-nose2-0.11.0
found 0.11.0 in filename of file in /nix/store/z3cxijq3d8dqx96ljxfz1hnnvrzk43gr-python3.9-nose2-0.11.0

Rebuild report (if merged into master) (click to expand)

29 total rebuild path(s)

15 package rebuild(s)

15 x86_64-linux rebuild(s)
14 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
mailman
nvmet-cli
python310Packages.flufl_bounce
python310Packages.mailman
python310Packages.mailman-hyperkitty
python310Packages.milc
python310Packages.nose2
python310Packages.pymanopt
python39Packages.flufl_bounce
python39Packages.mailman
python39Packages.mailman-hyperkitty
python39Packages.milc
python39Packages.nose2
python39Packages.pymanopt
qmk

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/z3cxijq3d8dqx96ljxfz1hnnvrzk43gr-python3.9-nose2-0.11.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python39Packages.nose2 https://github.com/r-ryantm/nixpkgs/archive/f2c0615ee7e1267bfde094f0356bd3e8d9c7ffaf.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/z3cxijq3d8dqx96ljxfz1hnnvrzk43gr-python3.9-nose2-0.11.0
ls -la /nix/store/z3cxijq3d8dqx96ljxfz1hnnvrzk43gr-python3.9-nose2-0.11.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

python310Packages.mailman
python310Packages.mailman-hyperkitty

13 packages built:

mailman
nvmet-cli
python310Packages.flufl_bounce
python310Packages.milc
python310Packages.nose2
python310Packages.pymanopt
python39Packages.flufl_bounce
python39Packages.mailman
python39Packages.mailman-hyperkitty
python39Packages.milc
python39Packages.nose2
python39Packages.pymanopt
qmk

Maintainer pings

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

2 packages failed to build:

python310Packages.mailman
python310Packages.mailman-hyperkitty

13 packages built:

mailman
nvmet-cli
python310Packages.flufl_bounce
python310Packages.milc
python310Packages.nose2
python310Packages.pymanopt
python39Packages.flufl_bounce
python39Packages.mailman
python39Packages.mailman-hyperkitty
python39Packages.milc
python39Packages.nose2
python39Packages.pymanopt
qmk


Excuse me, how to fine tune thie llm model?

I am a beginner in the LLM direction, I would like to ask if the official can provide some methods or tutorials to fine-tune this LLM model, I am very grateful for this, thank you. @madhavatreplit @Replit

+1, the doc says that "Replit intends this model be used by anyone as a foundational model for application-specific fine-tuning without strict limitations on commercial use.", so some tutorial or runnable code are really appreciated!

Sorry for getting to this late!
The model is a subclassed Hugging Face model and should be compatible with the usual process of fine-tuning a pretrained Huggingface model.
The following guide should be a good place to start. You can use accelerate for distributed training and other standard tooling in the Huggingface ecosystem as needed.
Let me know if you run into any issues and happy to dig deeper and help out.

Hey thanks for flagging this, taking a look and will get back to you and update here.

Thanks for your patience

Hey folks!
We just updated the model on Hugging Face and the README file on this repo with detailed instructions on how to fine-tune and instruct-tune the model.
Let us know in case you have any issues.
Have fun tuning, and post here your results and derivative models :)


Comparison with Pinterest Plank

What's the main difference and pros/cons between Remodel and Plank? Have you guys done any testing or comparison?
Both seems quite similar and have the same goal, generate immutable models.

Interesting. I haven't used it (or even heard of it) so far. So this is a very limited opinion. But here are some differences I spotted:

One difference is the language it is implemented in: Remodel is written in typescript/javascript, whereas Plank is written in Swift.
Plank seems to generate JSON parsing and model merging code by default. Remodel doesn't out of the box, but the former can easily be achieved by adding a plugin.
(At a first glance) Plank doesn't seem as extensible/customizable through plugins and configurations. Remodel gives you flexibility & full control, since you can tweak all generated output (and add additional generated classes/methods/properties etc.) by writing custom plugins (in .ts or .js).

That said - I'm not aware of any existing comparisons or measurements.

I never used Remodel, but from what you said in your reply those seem to be the main differences indeed.
I shall give a try to Remodel sometime so I can have a better overview about both.
Thank you for taking your time to answer.


dts nucleo_f401re flash partion

Add partition to be able to build application in slot 0
with  a file called nucleo_f401re.overlay :
/ {
chosen {
zephyr,code-partition = &slot0_partition;
};
};
present in application directory tree.

@rmbolivar
here is the dts partition.

I also think it'd be better to have an application state partition to keep it consistent with the NXP partition table added by @d3zd3z.

recheck

@mbolivar are you good with this now?

@mbolivar are you good with this now?

I don't see any changes since my last comment; am I missing something? It seems like my comment about an application state partition still remains.

Yup, LGTM.

let's merge it

If you can do one more rebase, will merge


Only naive mode returns  results

As the image indicates, I only got the result from naive mode, any clues to solve this problem?

I’ll need to take a look at the specific code to identify the cause of the issue.


Add an ACME/letsencrypt sandbox

description
Even though Envoy doesnt have native support for ACME (at least not in the way traefik eg does), i think its a very popular concern
As i understand it, ACME support atm relies on a certbot sidecar to do renewal etc
I think it would be useful to provide a sandbox implementation of this method at least, and in the future if #96 is resolved we can update
I believe it would be possible to create this sandbox using the Pebble ACME server for demonstration purposes
refs

#96
https://github.com/letsencrypt/pebble

one thing im not clear about is whether an additional file/web server is required to serve the .well-known dir

seems like we may be able to use the cache filter to provide the well-known key
any thoughts on this @mattklein123 ?

any thoughts on this @mattklein123 ?

I think a better plan would probably be to just use the SDS API (or raw file system watches) to watch a directory that gets rotated with the secrets? I think that is how most people do this.

watch a directory that gets rotated with the secrets?

is that for the well-known dir as well as the certs (assuming certbot uses webroot) ?

is that for the well-known dir as well as the certs (assuming certbot uses webroot) ?

TBH I don't know much about this. I would probably take a look at what Ambassador and Contour do and try to simplify/replicate that?

look at what Ambassador and Contour do and try to simplify/replicate that?

afaict Ambassador and Contour both use cert-manager which is a kubernetes thing
cert-manager (afaict from quick view of source) uses webroot under the hood
to use webroot, we need to be able to (from vague memory):

initiate a request, and receive a token
place the token in the specified .well-known public http path that the ACME server can see
request and receive the actual cert
store cert/make available to https endpoint

if we use a certbot side car it will take care of steps 1-3 with the exception of actually serving the .well-known token

i think to move forward on this i will set it up initially with nginx to serve the dir, and once its working that way we can figure out if/how to remove the web server bit


FW-1838 - Create new endpoints for simple tasks

See postman/ticket for documentation.

Note: Should have opened as a draft. Still need to create tests for end-points.


Documentation for connecting to a python server

Can we please have documentation of example on how to connect to a custom python server please?

There's a section in the docs on this! Just click on the Python tab there for an example: https://modelcontextprotocol.io/docs/tools/inspector#inspecting-locally-developed-servers


Inference After Training

I have trained the ip-adapter using tutorial_train.py. I have got model.safetensors file and file size is 1.29GB. I used following code to convert it
import torch
from safetensors.torch import load_file

ckpt = "/home/bilal/IP-Adapter-Controlnet/output/checkpoint-140000/model.safetensors"
# sd = torch.load(ckpt, map_location="cpu")
sd = load_file(ckpt, device="cpu")
image_proj_sd = {}
ip_sd = {}
for k in sd:
    if k.startswith("unet"):
        pass
    elif k.startswith("image_proj_model"):
        image_proj_sd[k.replace("image_proj_model.", "")] = sd[k]
    elif k.startswith("adapter_modules"):
        ip_sd[k.replace("adapter_modules.", "")] = sd[k]

torch.save({"image_proj": image_proj_sd, "ip_adapter": ip_sd}, "ip_adapter.bin")

and for inference I used the following code
import torch
from diffusers import StableDiffusionPipeline, StableDiffusionImg2ImgPipeline, StableDiffusionInpaintPipelineLegacy, DDIMScheduler, AutoencoderKL
from PIL import Image

from ip_adapter import IPAdapter

base_model_path = "runwayml/stable-diffusion-v1-5"
vae_model_path = "stabilityai/sd-vae-ft-mse"
image_encoder_path = "/home/bilal/IP-Adapter-Controlnet/models/image_encoder"
# ip_ckpt = "models/ip-adapter_sd15.bin"
ip_ckpt = "/home/bilal/IP-Adapter-Controlnet/ip_adapter.bin"
device = "cuda"

def image_grid(imgs, rows, cols):
    assert len(imgs) == rows*cols

    w, h = imgs[0].size
    grid = Image.new('RGB', size=(cols*w, rows*h))
    grid_w, grid_h = grid.size

    for i, img in enumerate(imgs):
        grid.paste(img, box=(i%cols*w, i//cols*h))
    return grid

noise_scheduler = DDIMScheduler(
    num_train_timesteps=1000,
    beta_start=0.00085,
    beta_end=0.012,
    beta_schedule="scaled_linear",
    clip_sample=False,
    set_alpha_to_one=False,
    steps_offset=1,
)
vae = AutoencoderKL.from_pretrained(vae_model_path).to(dtype=torch.float16)

# load SD pipeline
pipe = StableDiffusionPipeline.from_pretrained(
    base_model_path,
    torch_dtype=torch.float16,
    scheduler=noise_scheduler,
    vae=vae,
    feature_extractor=None,
    safety_checker=None
)

# read image prompt
image = Image.open("assets/images/woman.png")
image.resize((256, 256))

# load ip-adapter
ip_model = IPAdapter(pipe, image_encoder_path, ip_ckpt, device)

# generate image variations
images = ip_model.generate(pil_image=image, num_samples=4, num_inference_steps=50, seed=42)
grid = image_grid(images, 1, 4)

but i got following error
  raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for ModuleList:
        Missing key(s) in state_dict: "1.to_k_ip.weight", "1.to_v_ip.weight", "3.to_k_ip.weight", "3.to_v_ip.weight", "5.to_k_ip.weight", "5.to_v_ip.weight", "7.to_k_ip.weight", "7.to_v_ip.weight", "9.to_k_ip.weight", "9.to_v_ip.weight", "11.to_k_ip.weight", "11.to_v_ip.weight", "13.to_k_ip.weight", "13.to_v_ip.weight", "15.to_k_ip.weight", "15.to_v_ip.weight", "17.to_k_ip.weight", "17.to_v_ip.weight", "19.to_k_ip.weight", "19.to_v_ip.weight", "21.to_k_ip.weight", "21.to_v_ip.weight", "23.to_k_ip.weight", "23.to_v_ip.weight", "25.to_k_ip.weight", "25.to_v_ip.weight", "27.to_k_ip.weight", "27.to_v_ip.weight", "29.to_k_ip.weight", "29.to_v_ip.weight", "31.to_k_ip.weight", "31.to_v_ip.weight"

https://github.com/tencent-ailab/IP-Adapter/issues/246


word check does not re-checked updated word once flagged

Here's a description of the issue.
step 1 - user1: How's your projects going guys?
step 2 - EddieBot: Don't say 'guys'
step 3- user1:  How's your projects going dudes?
 step 4 - EddieBot: That's even worse than the first one. 🤦

hmm perhaps, we can cache the message object after it is flagged and use a client.on('messageUpdate') event-trigger and then re-run the alexjs check on the message, and update the embed, if there is another flag, or display "Thanks for editing 👍 ", if the edited version has no issues.

lol yeah replaced a bad word with a bad word 🤦♂ - the bot's response actually gives some examples, but I didn't want to make a big deal out of it
I agree, it would be good if the message got re-checked after it was edited 👍

I think there was a similar discussion in #400
Maybe we should carry this issue forward in that?

I'm pretty sure we still want this.

yep we still want this 👍

Working on this on todays live stream 🎉

nice


Export-YamlCommandHelp should create module folder structure

Summary of the new feature / enhancement
Currently, Export-MarkdownCommandHelp puts the markdown files in a directory based on the module name, so
import-markdown Get-Date.md | Export-MarkdownCommandHelp -outputfolder /tmp will create the file /tmp/Microsoft.PowerShell.Utilities/Get-Date.md .
Export-YamlCommandHelp should do the same thing.
Proposed technical implementation details (optional)
No response

Fixed in OPS12 build


Request: would be nice have a flow cards showing the Battery- and Bridge status

I would love to see a flow cards added to show:

Battery status
Bridge Status / WiFi strength
Bridge Bluetooth

Battery status has a tag (thus, you can use a Logic card for it).

Thx - indeed since end of December the LOQED app (test version) has been updated to carter for this.


Color icons take on color of git status message in file tree

When the on change setting is on, the icons assume the color of the git status of the file in the tree view (green for added, orange for modified) instead displaying their original colors.
For example, in the attached screenshot, the icon for code.svg should be it's original orange-ish color instead of green and the icon for compassIcon.svg should be it's original blue color.

I'm not sure if this is possible to implement, but it would be really nice to see the original colors.

You mean like this...? =)

If so, don't worry, it'll be fixed in v2.

Sort of. In your example, the markdown icons are all colored regardless of git status. When you have on change checked, I think it makes sense to keep non modified file icons black/grayed out and only show color icons for modified files. So in your screenshot, you'd expect contributing.md and new-file.txt to have color icons and the rest to be grayed out. Not sure if I'm explaining this very well...

On Jul 11, 2016, at 6:16 PM, John Gardner<EMAIL_ADDRESS>wrote:
You mean like this...? =)
If so, don't worry, it'll be fixed in v2.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ah! No, I see what you mean. =)
I think it's safer to wait until v2 to sort this out. The last time I tampered with colours and repo-statuses, it caused a Heisenbug which was impossible for me to reproduce... and I had no way of knowing how many other users were affected.
The package's stylesheets are a Jenga tower of rickety rules creaking under their own weight. I'd prefer not to poke them too much, if you know what I mean...

That's fair. I'm happy to wait until the next major release. Just wanted to raise this issue in case you weren't aware :)

On Jul 11, 2016, at 10:52 PM, John Gardner<EMAIL_ADDRESS>wrote:
Ah! No, I see what you mean. =)
I think it's safer to wait until v2 to sort this out. The last time I tampered with colours and repo-statuses, it caused a Heisenbug which was impossible for me to reproduce... and I had no way of knowing how many other users were affected.
The package's stylesheets are a Jenga tower of rickety rules creaking under their own weight. I'd prefer not to poke them too much, if you know what I mean...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks, mate. =) Will keep that in mind.


accounts to 0.0.2

Promote accounts to version 0.0.2

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tokeskovgaard: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

promotion-build
b0324f985ea857638057cbbbaa466969460ef728
link
/test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Fix deprecations & warnings

Fix one deprecation and one warning.
First, the <<= operator is deprecated as of SBT 0.12.
Second, because of type erasure we have to jump through a small hoop to be able to pattern match on a generic type at run-time.

@racerpeter

Ooh, nice -- good catches.

Don't know why GitHub isn't showing that this PR was merged...
Looks like it was, though.


Effective CI Caching

Hi, I was curious how I can effectively use github cache action to cache building the artifacts for unit testing.
Normally, I would just cache the target directory and it would work to restore and the builds would be much much faster. However if I do that with cargo-llvm-cov as the build script invoker the cache is always invalidated and a fresh build is started. This does not appear to happen locally, (with the --no-clean) flag enabled. Adding the --no-clean flag inside a ci runner caching only the /target directory does not seem to solve this issue and the next time the CI is run the cache is not used and its rebuilt from scratch.
Any ideas on why this might be the case?
cargo llvm-cov nextest --lcov --output-path lcov.info --ignore-filename-regex "(main\.rs|tests|.*\.nocov\.rs)" --workspace -r --no-fail-fast -E "not test(_v6)" --status-level all --profile ci --no-clean

We also remove all profraw data before the test, but that does not seem to do anything on the cache status. Same with the --no-clean flag
My full build takes roughly 20min.

Ok, i have no idea. I cannot reproduce it on a smaller repo
https://github.com/ScuffleTV/cache-issue/actions/runs/5589681016
I'll try again on the larger monorepo and see if the issue still happens.
Not sure sorry. I'll close the issue if i still cannot reproduce this.

I'm having the same issue. Here's my config: https://github.com/semiotic-ai/timeline-aggregation-protocol/blob/fd76a839003b02cb3d002962092f69db806e7095/.github/workflows/tests.yml#L40-L67

You both seem to be using actions/cache. Try Swatinem/rust-cache. I can confirm that the cache is working in at least one of the projects with hundreds of dependencies using Swatinem/rust-cache.

My guess is that the artifacts generated by the build with cargo-llvm-cov are not cached correctly because the cache key is not specified properly, and old caches built before you started using cargo-llvm-cov or built with old rustc are still in use. Simply removing the old cache may work, but using the appropriate tool such as Swatinem/rust-cache may be more desirable.
In any case, I can confirm that the cache is working in a project with the proper CI config, so I believe this is a problem with your CI config, not with cargo-llvm-cov. I'm going to close this issue, but feel free to comment if you have additional questions.

I now use taiki-e/install-action@cargo-llvm-cov to install cargo-llvm-cov and set the actions/cache paths to:
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/

And it seems to have fixed it.


StaticSite: local variable replacment

On the React side, use the built-in process.env support for REACT_APP_* variables.
fetch(process.env.REACT_APP_API_URL, { method: "POST" })

<title>%REACT_APP_API_URL%</title>

In the start script in package.json.
"start": "REACT_APP_API_URL=\"https://i0hma2r1yc.execute-api.us-east-1.amazonaws.com\" react-scripts start"

On the SST side:
const site = new sst.StaticSite(this, "ReactSite", {
  path: "frontend",
  buildOutput: "build",
  buildCommand: "REACT_APP_API_URL=\"{{ API_URL }}\" npm run build",
  errorPage: sst.StaticSiteErrorOptions.REDIRECT_TO_INDEX_PAGE,
  replaceValues: [
    {
      files: "**/*.js",
      search: "{{ API_URL }}",
      replace: api.url,
    },
    {
      files: "index.html",
      search: "{{ API_URL }}",
      replace: api.url,
    },
  ],
});

Given the above setup we can create a ReactStaticSite construct that looks like:
const site = new sst.ReactStaticSite(this, "ReactSite", {
  path: "frontend",
  env: { REACT_APP_API_URL: api.url },
});

It'll do the following for:

sst deploy: Run the build command while setting the env vars to a placeholder (like {{ SST_API_URL }}). Then search and replace the environment variables in the html and js files in the custom resource.
sst start: Generate an file with the path of the static site and all the environment variables in the .build dir.

In React we alter the start script to use a new CLI.
"start": "senv -- react-scripts start"

The senv CLI will traverse up the tree to look for the sst.json and find the file with the environment variables in its .build dir. It'll check that its path is the same as the one in the file (to handle cases where there are multiple ReactStaticSite constructs. It'll apply the environment variables to the start script (similar to https://github.com/andrewmclagan/react-env/blob/master/packages/node/src/cli-index.js).


border-radius doesn't look good....

I hope the border-radius would be removed.
It doesn't look good in my opinion for that bar. and maybe an option to choose the color of the bar would be great, too.
Thanks!

This view was taken straight from vim-mode's /. I don't like it either, especially with One themes, but the choice is either to have it differ from vim-mode or ultimately somehow reuse their view. So, same defaults make sense.
An alternative I considered was to implement a much nicer yet more Atom-ish palette, especially for wildmenu-like real parse+autocomplete stuff (not just fuzzy match on a fixed list, more like bash/zsh-completions). This definitely has my vote, but needs much more work.
Anyway, this is totally stylable, so try this in your styles.less file:
.editor.mini {
  border-radius: 0;
}

Cool!, Thanks!


Fix warning

SetMutator.remove() returns a Boolean, not an Integer.

oops - I beat you to it!

Well that’s an interesting commit history you have now… :D


Build process always breaks on SVG files

Hi.
Whenever I add a SVG file to the project (under the src folder or outside of it) and try to build, the build process fails while trying to parse the SVG XML.
I tried to config WebPack with the file-loader using the WebConfigurator but I'm still getting the same result.
Worth mentioning that in development time everything seems to work fine. I can @import the SVG into a javascript file and display it using an IMG tag.
Anyone knows what configuration/setting I'm missing here?

We're working on a fix for this. Hang tight :)

Fixed with the latest version. yarn upgrade react-static@2


[BUG] Current working directory equals system directory in first few moments of kernel's existence

Please search existing issues to avoid duplicates.
Details

Atom version: v0.7.14
Julia version: v1.0.3
OS: Win10-x64

I want to configure my juno_startup.jl script to automatically activate the local environment when the Atom project directory happens to be a Julia project. However, the first few moments the Julia kernel is alive, the pwd() equals C:\Windows\System32. It is only after a fraction of a second that the working dir is changed to the project folder.
As a temporary fix I included a sleep(0.2) in my juno_startup.jl but I was hoping for a more robust solution.
Steps to reproduce

Use the following julia_startup.jl:

using Pkg
if isfile("Project.toml")
    Pkg.activate(".")
end

Spin up a new kernel from within Atom

same problem.

Atom v0.8.2
Juno v0.7.0
OS: Win10-x64

below loop
for i = 1:10
    @show pwd()
    sleep(1)
end

typically outputs "C:\\Users\\<user>\\AppData\\Local\\atom\\app-1.35.1" first couple of seconds. later switches to project folder
IF I don't have Julia running AND start script using Ctrl+Shift+Enter.

Fixed with https://github.com/JunoLab/atom-julia-client/commit/9ed2eb5eb4cf684b107cc40ebe6c037213b8eee3.


Problem in Power Apps Formulas

We have a problem with some formulas in powerapps. It doesn't recognize some formulas. How can we modify them?
"My requests" page doesn't work and in the "Approve requests" page we can't see who submitted the form.
Also, we don't receive any adaptive card notification, neither Requests and approval notifications are sent to the approval mailbox.
No guest user account is created, evenf if the status of the Domain check is approved.
Could you help us solve these problems?

Thank you! Resolved! ;)


Cloning a squid project

As discussed on Friday - it would be nice to be able to overwrite the existing data xml file in a given squid project.  This way any revisions to a given task can be propagated to other datasets.  As ever user beware that the new data xml is appropriate for the existing task and that it gets Saved As with a new project name

done in v1.0.3!


XS-2883 - Extract if check for a dynamic message

Changes:

Pulled nested if logic around message codes out of _build_id_messages function and into new helper function called _get_message_codes .
Added a couple unit tests to ensure new function is getting tested.

Please review: @hefischer  @andrewperkins-wf

+1

+1 refresh

+1

+1

+1

QA Steps:

Manual testing: Generation of messages succeeded.
Flake8:

Not yet. TODO.

Nosetest result:

(builder)  chrislococo [arelle_builder] (XS-2883) $ nosetests test/
...........
----------------------------------------------------------------------
Ran 11 tests in 0.009s

OK

Result: QA +10


[ALLUXIO-1779] Add logging to the free command in BaseFileSystem

Just a small fix.

Can one of the admins verify this patch?

ok to test

Thanks for the PR @qzhong0605 ! I left a minor comment.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9247/
Test PASSed.

Merged build finished. Test PASSed.

LGTM

LGTM


Now explicitey passing charset=UTF-8 in HTTP headers.

:+1:

Coverage remained the same at 99.557% when pulling deff665db5fcbe223cb783b356adeb8acd7cce42 on ddolcimascolo:utf-8 into de372b285273ba5401ced34a686a005f779b25c9 on linagora:master.


Translate some properties as STS Assertions

Given that we now have Assertions on STS level, we can port some of our properties (specified on STS Trace level) to Assertions.
A prelim list of candidates are:
TestChain:

checkPreservation
checkWithdrawlBound
potsSumIncreaseWdrlsPerTx (this is a Tx level version of potsSumIncreaseWdrlsPerBlock)

The assertions have actually been less helpful that we would have guessed. The "deposit pot must be non-negative" assertion is almost always masking another problem due to an invalid transaction.


mysql-cdc cannot capture data from mysql

Describe the bug(Please use English)
mysql-cdc cannot capture data from mysql
Environment :

Flink version :  1.16.0
Flink CDC version: flink-sql-connector-mysql-cdc-2.4-SNAPSHOT
Database and version: mysql-5.7.35

To Reproduce
Steps to reproduce the behavior:
I tried to follow the tutorial of the QUICKSTART "Streaming ETL for MySQL and Postgres with Flink CDC".
After I insert test data into table 'products'&'orders' and create tables that capture the change data from the corresponding database tables in Flink,tables in Flink seem cannot sync data from those in mysql.
However,it works well on Postgres.

The test data :
in mysql:

-- MySQL
CREATE DATABASE mydb;
USE mydb;
CREATE TABLE products (
  id INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(255) NOT NULL,
  description VARCHAR(512)
);
ALTER TABLE products AUTO_INCREMENT = 101;

INSERT INTO products
VALUES (default,"scooter","Small 2-wheel scooter"),
       (default,"car battery","12V car battery"),
       (default,"12-pack drill bits","12-pack of drill bits with sizes ranging from #40 to #3"),
       (default,"hammer","12oz carpenter's hammer"),
       (default,"hammer","14oz carpenter's hammer"),
       (default,"hammer","16oz carpenter's hammer"),
       (default,"rocks","box of assorted rocks"),
       (default,"jacket","water resistent black wind breaker"),
       (default,"spare tire","24 inch spare tire");

The test code :
in Flink:

CREATE TABLE products (
    id INT,
    name STRING,
    description STRING,
    PRIMARY KEY (id) NOT ENFORCED
  ) WITH (
    'connector' = 'mysql-cdc',
    'hostname' = 'localhost',
    'port' = '3306',
    'username' = 'root',
    'password' = '123456',
    'database-name' = 'mydb',
    'table-name' = 'products'
  );

SELECT * FROM default_catalog.default_database.products;

The error :

No data captured in table 'products' in Flink while it works well on Postgres.I tried insert data into mysql afterwards and it doesn't work as well.

Hello ! Did you solve it? I meet the same issue. It works well in java code with table environment but the same as you in sql-client mode.


bug fix for the LC12 translation speed factor between rRm = 1 and 2

Should I go ahead and merge when the test go through or do you have more changes?

@SorooshMani-NOAA No more updates


SSL Support - how implement?

Since nowadays the usage of SSL is more or less enforced for each and every webserver, it would be great if you could add explanations and code sample about how to implement it in your component.

Use unit opensslsockets
Create TOpenSSLSocketHandler and TWebsocketClient object
WebsocketClient.Connect(OpenSSLSocketHandler);


Macro hanging after update

The macro ive been using the past week or so for my WW monk has been working just fine, but now after the new update I'm noticing that it is getting hung up frequently, which wasn't happening before, and its not using some abilities right away like it used to, any ideas for something I could do to try and fix this?

Hi kidkubi
If you mean the 2.1.03 update if you revert does the problem go away?  If so check the stepfunction of your macro as 2.1.02 and 2.1.03 had fixed where Priority wasn't working and was swapping to sequential after 5 to 7 cycles.
The 7.2.5 update to WoW had a lot of changes to the WW rotation.  Have you worked out what those changes mean to your macro?
TimothyLuke

On 28 Jun 2017, at 6:00 am, kidkubi<EMAIL_ADDRESS>wrote:
The macro ive been using the past week or so for my WW monk has been working just fine, but now after the new update I'm noticing that it is getting hung up frequently, which wasn't happening before, and its not using some abilities right away like it used to, any ideas for something I could do to try and fix this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yeah the 2.1.03 update messed it up, not sure how to revert back to the update before though. I have looked at the changes and everything seems fine there. I have Fists of Fury on a separate button, and when I'm done channeling that it seems to lock up when I go back to pressing the macro button. I might just have to mess with it some more. If I can figure out how to revert without losing anything then ill try that and see what happens.

also sometimes when I'm going to attack something and I press the macro it just does nothing

Your macros are stored in
C:\path\to\wow\WTF\AccountName\YOURACCOUNTNAME\SavedVariables\GSE.lua  as
long as you dont loose this file you are fine.
Delete the GSE folder from C:\path\to\wow\Interface\Addons\
Download an older version from
https://wow.curseforge.com/projects/gse-gnome-sequencer-enhanced-advanced-macros/files
(I would suggest 2.1.01 as 2.1.02 has the same priority fix as 2.1.03)
Extract to C:\path\to\wow\Interface\Addons\
Or alternatively
Change your Macro's StepFunction to Sequential and it will have the same
behaviour as it did before.
TimothyLuke
On Wed, Jun 28, 2017 at 8:05 AM, kidkubi<EMAIL_ADDRESS>wrote:

also sometimes when I'm going to attack something and I press the macro it
just does nothing
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/TimothyLuke/GnomeSequencer-Enhanced/issues/325#issuecomment-311505507,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjBFez6nY9J6JciKYpg37igxYE8xoBZks5sIYOzgaJpZM4OHJn0
.

Thanks Timothy! I was going to just try and use 2.1.03 and change my playstyle a bit and just have a macro to alternate between Tiger Palm and Blackout Kick and everything else on separate buttons, but its not even allowing this simple /castsequence [nochanneling] Tiger Palm, Blackout Kick macro to work, sometimes it will cast Tiger Palm one time then after that it hangs up, sometimes it wont work at all. So I ended up doing the revert and It seems my macros are only working with the 2.1.01 version.

Hmm... Now the issue I'm having is that this macro
/castsequence [nochanneling] Tiger Palm, Blackout Kick
/castsequence [nochanneling] Tiger Palm, Whirling Dragon Punch
was working okay, and now its just not doing anything, not sure why it wont work now...

I'm not a WW monk but I'm guessing that once you get past the Tiger Palms
it will hang if there is not enough of the resources monk use for Blackout
Kick or WDP.
rather than /castsequence [nochanneling] Tiger Palm, Blackout Kick macro
I would try
/cast [nochanneling] Tiger Palm
/castsequence [nochanneling] Blackout Kick, Whirling Dragon Punch
This will cast Tiger Palm and alternate between BKs and WDPs.
Castsequences have their own quirks that require that the current spell
succeeds before it moves onto the next line.  If it doesn't succeed it will
keep trying until the success condition is met.  For a detailed explanation
see
https://github.com/TimothyLuke/GnomeSequencer-Enhanced/wiki/Understanding--castsequence
TimothyLuke
On Wed, Jun 28, 2017 at 10:29 AM, kidkubi<EMAIL_ADDRESS>wrote:

Hmm... Now the issue I'm having is that this macro
/castsequence [nochanneling] Tiger Palm, Blackout Kick
/castsequence [nochanneling] Tiger Palm, Whirling Dragon Punch
was working okay, and now its just not doing anything, not sure why it
wont work now...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/TimothyLuke/GnomeSequencer-Enhanced/issues/325#issuecomment-311527127,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjBFfDpDCY9aA1Zz5fx-cXstwtddC07ks5sIaV9gaJpZM4OHJn0
.

Hi, I'll also agree with this post as the new version of GSE (2.1.03) seems to hang after a certain amount of cycles and the only way to "kick start" it again, is by clicking another button (ability).  2.1.03 does work, but once it hangs, then you need to press another ability to get the one button macro to work again and this will happen often.
I've since reverted back to 2.1.02 and all is working perfectly again.

Failed to mention, I play an Enhancement Shaman (main), V DH, P Pally, G Druid, WW Monk and can confirm this is happening for all my characters (2.1.03 hangs while 2.1.02 works fine).

I appreciate what you are saying but there is no difference in the processing or execution of a macro between 2.1.03 and 2.1.02.  That you get the error in one and not in the other is very interesting.  The difference between 02 and 03 is in the GUI side for creating icons and in the ability to send a macro to another online player.
I however need more information as I cannot cause it to hang.  I ran a Ret pally, a prot pally, a 100 Ww monk, a 102 enh Shaman, a BM hunter and an Arcane Mage for 20 mins each without a lockup.  Ie ran the macro in the order Hall with both movement and target dummy switching randomly to simulate normal operation.
Please note I am not saying there isn't a problem what I'm saying it that I need more information on how to cause it so I can diagnose and fix it.  Is it only on macros with castsequences?  Ie does a macro of just /cast lines hang?  I ask this as anecdotally the symptoms described point to a class resource starved situation.
Timothy Minahan
M 0406 413 680  |  E<EMAIL_ADDRESS>
On 29 Jun 2017, at 4:28 am, Skyestorm<EMAIL_ADDRESS>wrote:
Failed to mention, I play an Enhancement Shaman (main), V DH, P Pally, G Druid, WW Monk and can confirm this is happening for all my characters (2.1.03 hangs while 2.1.02 works fine).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks for all the help Timothy, I tested out that sequence, but unfortunately it kept getting hung up and not using Blackout Kick, and a manual Tiger Palm seemed to be the only way to make it proceed. I did however find a different way to make it work perfectly for me :D
But I realized that I too was using 2.1.02. and my macros were just fine, same with 2.1.01. but something with the 2.1.03 update made it so my cast sequences aren't working correctly it seems, for one of my macros solely relies on them and wont work with 2.1.03 just like what Skyestorm mentioned, my macro being used in version 2.1.03 with the cast sequences would hang up and only proceed with a manual casted ability.
Maybe this is because of how cast sequences are intended to work, cause with the previous versions they would work just fine even if an ability was in the sequence that had no resource to be cast. E.g. a macro like
/castsequence [nochanneling] Tiger Palm, Rising Sun Kick
/castsequence [nochanneling] Tiger Palm, Strike of the Windlord
/castsequence [nochanneling] Tiger Palm, Whirling Dragon Punch
/castsequence [nochanneling] Blackout Kick, Tiger Palm
would always work and not get hung up even when there was no energy to cast Tiger Palm to gain Chi to cast Rising Sun Kick and Strike of the Windlord, and it would still proceed and use what ever was available no matter where it was located, it even would go past Blackout Kick and use Tiger Palm on the last sequence even if Blackout Kick didn't have the resources, and even when Whirling Dragon Punch wasn't able to be used yet, it progressed past it and worked perfect, it seemed to always be able to cast something no matter what. Also I tried using both Priority and Sequential for the macro similar to the one above and both were able to work in the 2.1.01 and 2.1.02 versions but not the new 2.1.03 update.
Hopefully this makes some sense provides a little more information that can be of use to you.

I can get this to hang on my 102 WW monk:
/castsequence [nochanneling] Tiger Palm, Rising Sun Kick
/castsequence [nochanneling] Tiger Palm, Strike of the Windlord
/castsequence [nochanneling] Tiger Palm, Whirling Dragon Punch
/castsequence [nochanneling] Blackout Kick, Tiger Palm
Each castsequence line is handled differently.  This is better explained in
https://github.com/TimothyLuke/GnomeSequencer-Enhanced/wiki/Understanding--castsequence
but how I got it to hang was I got to the state where the lines are being
evaulated as follows.  The line it is trying to cast is bolded.  I have
no Chi and each time I press the button its trying the next line but due to
castsequence rules set by WoW its just cycling.
/castsequence [nochanneling] Tiger Palm, *Rising Sun Kick *- Not enough
Chi
/castsequence [nochanneling] Tiger Palm, *Strike of the Windlord - *Not
Enough Chi
/castsequence [nochanneling] Tiger Palm, Whirling Dragon Punch - *Not
available as Rising Sun Kick is not on cooldown.
/castsequence [nochanneling] Blackout Kick, Tiger Palm -- *Not Enough
Chi
Your macro is still trying to run and GSE is trying it but as you have 0
chi none of your lines will execute.  You do a Manual TP and its back to
the races again.  You can fix this by adding one line at the end /cast
Tiger Palm and then it will always have something to cast.
*I've also gotten this to hang in 2.1.02 and 2.1.01.  *It may be luck or
timing but the flaw here is in the macro.
TimothyLuke
On Thu, Jun 29, 2017 at 3:17 PM, kidkubi<EMAIL_ADDRESS>wrote:

Thanks for all the help Timothy, I tested out that sequence, but
unfortunately it kept getting hung up and not using Blackout Kick, and a
manual Tiger Palm seemed to be the only way to make it proceed. I did
however find a different way to make it work perfectly for me :D
But I realized that I too was using 2.1.02. and my macros were just fine,
same with 2.1.01. but something with the 2.1.03 update made it so my cast
sequences aren't working correctly it seems, for one of my macros solely
relies on them and wont work with 2.1.03 just like what Skyestorm
mentioned, my macro being used in version 2.1.03 with the cast sequences
would hang up and only proceed with a manual casted ability.
Maybe this is because of how cast sequences are intended to work, cause
with the previous versions they would work just fine even if an ability was
in the sequence that had no resource to be cast. E.g. a macro like
/castsequence [nochanneling] Tiger Palm, Rising Sun Kick
/castsequence [nochanneling] Tiger Palm, Strike of the Windlord
/castsequence [nochanneling] Tiger Palm, Whirling Dragon Punch
/castsequence [nochanneling] Blackout Kick, Tiger Palm
would always work and not get hung up even when there was no energy to
cast Tiger Palm to gain Chi to cast Rising Sun Kick and Strike of the
Windlord, and it would still proceed and use what ever was available no
matter where it was located, it even would go past Blackout Kick and use
Tiger Palm on the last sequence even if Blackout Kick didn't have the
resources, and even when Whirling Dragon Punch wasn't able to be used yet,
it progressed past it and worked perfect, it seemed to always be able to
cast something no matter what. Also I tried using both Priority and
Sequential for the macro similar to the one above and both were able to
work in the 2.1.01 and 2.1.02 versions but not the new 2.1.03 update.
Hopefully this makes some sense provides a little more information that
can be of use to you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/TimothyLuke/GnomeSequencer-Enhanced/issues/325#issuecomment-311868532,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjBFau3XVd4BbhVfqYfR8XRlZ7muVRmks5sIzpagaJpZM4OHJn0
.

While I understand the reasoning now (eg. lack of resources in order to execute), shouldn't priority move to the next ability, which 'could' then build the resource needed to execute during the macro cycle?

I'm using the following macro (example) on my enhanced shaman:
Sequences['HoK-Enhv1.3'] = {
-- This Sequence was exported from GSE 2.1.02.
Author="The Hand of Kil'jaeden",
SpecID=263,
Talents = "3212113",
Helplink = "https://wowlazymacros.com/forums/topic/enhancement-3212112-for-7-2-wlashing-flames4pc/",
Help = [[Enhancement single target, with Earthen Spike spec]],
Default=1,
MacroVersions = {
[1] = {
Combat=true,
StepFunction = "Priority",
KeyPress={
"/targetenemy [noharm][dead]",
"/cast [mod:alt] Lava Lash",
"/cast [mod:ctrl] Crash Lightning",
"/cast [mod:shift, @player] Rainfall",
},
PreMacro={
},
"/cast [combat] Earthen Spike",
"/cast [combat] Earthen Spike",
"/cast [combat] Earthen Spike",
"/castsequence [combat] Feral Spirit, Crash Lightning",
"/castsequence [combat] Flametongue, Rockbiter, Frostbrand, Lava Lash",
"/cast [combat] Lava Lash",
"/castsequence Flametongue, Rockbiter, Rockbiter, Frostbrand",
"/cast Rockbiter",
PostMacro={
},
KeyRelease={
"/castsequence [combat] Doom Winds, Stormstrike",
"/castsequence [combat] Feral Spirit, Crash Lightning, Stormstrike",
},
},
},
}
same macro hangs with the current GSE version 2.1.03, but 2.1.02 works fine and doesn't not stop executing

Ah thanks Tim that definitely makes sense, I just find it weird that I never had an issue at all before!
Though I am curious as to why even a macro like this doesn't seem to work correctly for me
/cast Tiger Palm
/cast Blackout Kick
/cast Tiger Palm
/cast Blackout Kick
/cast Tiger Palm
/cast Blackout Kick
/cast Tiger Palm
/cast Blackout Kick
It never alternates like the sequence should, it just does 2-3 Blackout Kicks in a row and then 2-3 Tiger Palms in a row, and changing priority/sequence doesn't seem to make a difference

Have you tried running this with /gs debug on?
Timothy Minahan
M 0406 413 680  |  E<EMAIL_ADDRESS>
On 1 Jul 2017, at 1:45 pm, kidkubi<EMAIL_ADDRESS>wrote:
Ah thanks Tim that definitely makes sense, I just find it weird that I never had an issue at all before!
Though I am curious as to why even a macro like this doesn't seem to work correctly for me
/cast Tiger Palm
/cast Blackout Kick
/cast Tiger Palm
/cast Blackout Kick
/cast Tiger Palm
/cast Blackout Kick
/cast Tiger Palm
/cast Blackout Kick
It never alternates like the sequence should, it just does 2-3 Blackout Kicks in a row and then 2-3 Tiger Palms in a row, and changing priority/sequence doesn't seem to make a difference
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Yeah I ran that debug and its telling me that it cant cast something even when it has the resources to cast it

I cant get this shaman macro to hang.  I have tried but with no success


Stuck on configure_license.yml

Trying to deploy Splunk UF in a new work environment and I'm currently getting stuck on the configure_license,yml.
So not sure what is going on, because in my previous environment that I've used this in it worked great. However my current work environment the splunk_uri_lm that I point too is erroring out I believe. I tried changing the ini_file module to community.general.ini_file and that hasn't seemed to resolve the error I get below (which was exactly the same when the module was ini_file). The only reason I tried changing the ini_file module was that seemed to resolve issues in other playbooks that had the same type off error, but this one cannot be resolved in the same manner. Any help on this would be much appreciated.
TASK [ansible-role-for-splunk : Configure license] *****************************
ERROR! couldn't resolve module/action 'community.general.ini_file'. This often indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in '/runner/requirements_roles/ansible-role-for-splunk/tasks/configure_license.yml': line 33, column 5, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- splunk_license_group=="Enterprise"

name: "Remove license manager uri when using local license"
^ here

@RAD-Mixen do you have the community module installed on the host you are running ansible on?

@RAD-Mixen Did you pull the latest copy of the branch? What version of ansible are you using? What OS are you using?

@dtwersky I did pull the latest version of the branch. I'm using version 2.14.4 of ansible core inside of AWX 2.0.0 on a AlmaLinux 9 VM.

When you say previous environment, do you mean a different ansible host?
Do any other tasks run fine?
Do you have the default variables set from main.yml set?
Can you run the playbook in verbose mode and see if it gives you any additional information?

@dtwersky

What I meant there was the last place I worked at I used a release of this repo about 7-8 months old and it was great. I only had to set the following vars in the past environment:
splunk_uri_lm
splunk_uri_ds
splunk_package_url_uf
splunk_admin_username
splunk_admin_password
That was all I needed to get everything to work back then. However I did notice a lot of changes in the code from then and now, but I did not see a lot of updates in the readme for deploying the UF. So I went with just declraing those same variables again.
The other tasks did have some issues, as they did error a little but changing their modules from ini_file to community.general.ini_file seemed to resolve the one or two playbooks that did have issues.
I have the variables listed above set in group_vars in all.yml file in my repo.
I will do this if needed
Honestly I guess I missed the mention of this variable....as I guess I hit my blind spot of reading documentation as I call it lol. I'm going to give this a try and report back with an update. I'm guessing since it's a forwarder I'll use that one and give it a shot.

Another note: If you want a instance to be a peer to the LM, you will need to set the splunk_license_group variable to Peer, only then will the splunk_uri_lm be configured.
I need to update the documentation with all this. The documentation needs a overhaul in general.

Oh ok, that makes sense, yeah I was kind of rushing, and since I've been running in verbose mode as you suggested. I'm now seeing all of the module switching now that AWX / ansible is trying to do with the playbooks in the versions I am running. So I'm going to need to trudge through these and see if I can get this to work now. Thank you very much for all of your help!


Some Prometheus metrics are missing "domain"

A lot of prometheus metrics don't have "domain", for example:
cadence_errors_entity_not_exists <-Doesn't have "domain"
cadence_errors_service_busy       <- Does have "domain"

These should be fixed now.


RBAC error when creating roles

Hi maybe u have an idea,
I followed the rbac guide again and now have new problems.
When creating an new Role and keeping the rule area empty, i get this error.
`PHP Warning – yii\base\ErrorException
file_put_contents(C:\xampp\htdocs\Schoolproject\backend/rbac/items.php): Failed to open stream: No such file or directory

in C:\xampp\htdocs\Schoolproject\vendor\yiisoft\yii2\rbac\PhpManager.phpat line 799
790791792793794795796797798799800801802803804805806807808    /**

Saves the authorization data to a PHP script file.

@param array $data the authorization data
@param string $file the file path.
@see loadFromFile()
*/
protected function saveToFile($data, $file)
{
file_put_contents($file, "<?php\n\nreturn " . VarDumper::export($data) . ";\n", LOCK_EX);
$this->invalidateScriptCache($file);
}

/**

Invalidates precompiled script cache (such as OPCache or APC) for the given file.
@param string $file the file path.
@since 2.0.9
*/
protected function invalidateScriptCache($file)`

It never the nguide doesnt talk about any rbac item

@Cuji12

Off the top of my head I'm not sure but I can see you've declared a components array twice in your common/config/main.php and your authManager twice - you should make sure there's no duplicates in that file, from the Yii2 RBAC docs: "In case of yii2-advanced-app the authManager should be declared only once in common/config/main.php."

Off the top of my head I'm not sure but I can see you've declared a components array twice in your common/config/main.php and your authManager twice - you should make sure there's no duplicates in that file, from the Yii2 RBAC docs: "In case of yii2-advanced-app the authManager should be declared only once in common/config/main.php."

i cant see an duplicate in my config

So, i found the page that directs it.

but i changed it but now it shows this.

it should't say backend. u know a way to fix this?

fixed it!

Haha nice one, assuming it was the issue where you were declaring RBAC - good luck with your project! On a side note, if you're interested in furthering your PHP education I'd recommend this book.

Yess, thanks i will check the book for sure i need it!!!
One last issue tho,
I just went thru everything and found a problem.
When submitting in my form it does nothing, i dont even get an error just no response. u know this fix??


GoStore: Stock is sold out on most items.

What version of Go are you using (go version)?

https://go-store.io/

What did you do?
Tried to buy go merch.
What did you expect to see?
A full shopping cart and an empty wallet.
What did you see instead?
SOLD OUT

Joking Aside:
Is there a timeline for restocking?

Is the GitHub issue tracker the recommended place to ask questions about the store? I'm not being sarcastic; I can't see anything on the site. /cc @cassandraoid @ardan-bkennedy

https://blog.golang.org/store

If you find any issues, please submit an issue prefixed with “GoStore” and we will aim to remedy it as soon as we can.

Ah, my bad, missed that :)

I'm pretty sure it means "technical issues", I would be surprised if opening a issue in the toolchain repository on github was the right way of reporting Out-of-stock merchandize... but Cassandra probably can answer this.

@ALTree If I'm out of line I can remove for sure. But to be fair, the described spec was ANY issues...  😉

For the time being, people can send an email to GoBridge at<EMAIL_ADDRESS> I will talk to the team about setting up a more official email specifically for the store.

We are working on getting restocked. New items will be added over the next two weeks.
/cc @cassandraoid


arm7 build takes 4+ hours

For some reason the arm7 build takes 4+ hours, while the arm64 and amd64 builds take ~1 min.  The attached screenshots show the duration of time used for the pip install stage of the builds for amd64 and arm7.

I added the verbose flag to the pip install, and found out that it's getting delayed by building a cmake wheel.  Pip does not have a pre-built CMake for the arm/v7 architecture (at any version, as far as I saw on pypi.org).  CMake should already be on the system, though, just not available via pip.  Maybe there's a way to use that version of CMake instead of requiring an installation with a wheel.

This is addressed in v4.7.0 by removing CMake as a python dependency.  If a way can be found to make pip recognize a system (non-pip) installation of CMake, this could be reinstated.


Have a reframer for ffmpeg audio encode

First make a test with ffmpeg 3.0 to see if we can mitigate
Then see if metadata negociation is possible
Last write the missing module

Ok with FFmpeg 3 when decoding and encoding AAC. So postpone to a later milestone.


Add IBM Block CSI to upstream

New Submissions

[x] Does your operator have nested directory structure?
[x] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

@oriyarde the description describes steps for OpenShift however OperatorHub.io is also including other Kubernetes platforms. I propose to update the verbage to reflect that.


Error packaging project, please try again later

Hi, every time I try to use the ionic package command I get the message: Error packaging project, please try again later
It does not matter if I select ios android debug or release.
My settings:
Cordova CLI: 5.0.0
Gulp version:  CLI version 3.8.11
Gulp local:
Ionic Version: 1.0.0
Ionic CLI Version: 1.4.5
Ionic App Lib Version: 0.0.22
ios-deploy version: 1.4.0
ios-sim version: 3.0.0
OS: Mac OS X Yosemite
Node Version: v0.12.2
Xcode version: Xcode 6.3.1 Build version 6D1002
Console output:
ionic package debug ios
Loading Foo...
iOS Certificate File (.p12): /Volumes/xxx.p12
Certificate Password:
iOS Mobile Provisioning Profile (.mobileprovision): /Volumes/xxx.mobileprovision
Uploading app...
ios debug building...
Error packaging project, please try again later

I have the same error.
My system information are:
Your system information:
Cordova CLI: 5.0.0
Gulp version:  CLI version 3.8.11
Gulp local:   Local version 3.8.11
Ionic Version: 1.0.0
Ionic CLI Version: 1.4.5
Ionic App Lib Version: 0.0.22
ios-deploy version: 1.7.0
ios-sim version: 3.1.1
OS: Mac OS X Yosemite
Node Version: v0.10.29
Xcode version: Xcode 6.3.2 Build version 6D2105

I have the same problem
Your system information:
Cordova CLI: 5.0.0
Gulp version:  CLI version 3.8.11
Gulp local:
Ionic Version: 1.0.0
Ionic CLI Version: 1.4.5
Ionic App Lib Version: 0.0.22
ios-deploy version: 1.4.0
ios-sim version: 3.1.1
OS: Mac OS X Yosemite
Node Version: v0.12.0
Xcode version: Xcode 6.3.1 Build version 6D1002

Unfortunately, we will be suspending this feature and removing it currently from the CLI until some time in the future.
Sorry for the inconvenience.


ModuleNotFoundError at import langchain.chains

System Info
Platform:
Linux Ubuntu 22.04.1
Python:
3.10.12
Langchain:

langchain                0.0.353
langchain-community      0.0.7
langchain-core           0.1.5
langsmith                0.0.77

Who can help?
@hwchase17
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[X] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
from langchain.chains import *

Expected behavior
I expect the import won't fail, but I got an exception:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ubuntu/mychatassist-api/env/lib/python3.10/site-packages/langchain/chains/__init__.py", line 20, in <module>
    from langchain.chains.api.base import APIChain
  File "/home/ubuntu/mychatassist-api/env/lib/python3.10/site-packages/langchain/chains/api/base.py", line 11, in <module>
    from langchain.callbacks.manager import (
  File "/home/ubuntu/mychatassist-api/env/lib/python3.10/site-packages/langchain/callbacks/__init__.py", line 10, in <module>
    from langchain_community.callbacks.aim_callback import AimCallbackHandler
  File "/home/ubuntu/mychatassist-api/env/lib/python3.10/site-packages/langchain_community/callbacks/__init__.py", line 24, in <module>
    from langchain_community.callbacks.manager import (
  File "/home/ubuntu/mychatassist-api/env/lib/python3.10/site-packages/langchain_community/callbacks/manager.py", line 14, in <module>
    from langchain_community.callbacks.tracers.wandb import WandbTracer
  File "/home/ubuntu/mychatassist-api/env/lib/python3.10/site-packages/langchain_community/callbacks/tracers/__init__.py", line 4, in <module>
    from langchain_core.tracers.langchain_v1 import LangChainTracerV1
ModuleNotFoundError: No module named 'langchain_core.tracers.langchain_v1'

FYI downgrade the 0.0.349 solved the issue for me.
Now I'm running with:

langchain                0.0.349
langchain-community      0.0.1
langchain-core           0.0.13
langsmith                0.0.77

Hi @yoch  after downgrading it is throwing the error: ImportError: cannot import name 'ChainRun' from 'langchain_core.tracers.schemas

I am getting a similar error.
from langchain.chains import create_tagging_chain
and I get this Module Error
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-20-1e1c093c0704>](https://localhost:8080/#) in <cell line: 1>()
----> 1 from langchain.chains import create_tagging_chain

5 frames
[/usr/local/lib/python3.10/dist-packages/langchain_community/callbacks/tracers/__init__.py](https://localhost:8080/#) in <module>
      2
      3 from langchain_core.tracers.langchain import LangChainTracer
----> 4 from langchain_core.tracers.langchain_v1 import LangChainTracerV1
      5 from langchain_core.tracers.stdout import (
      6     ConsoleCallbackHandler,

ModuleNotFoundError: No module named 'langchain_core.tracers.langchain_v1'

I've just ran into the same issue, downgrading to langchain-core 0.1.4 solved it:
pip install langchain-core==0.1.4

Same here, downgrading to 0.0.349 triggered another error:

Just got the same error, downgrading the langchain core also resolved the error for me.

Same error on import:
from langchain.callbacks import get_openai_callback

Downgrading to langchain-core==0.1.4 worked for me as well.

langchain==0.0.349 with a python notebook kernel restart fixed it for me. langchain-core also is 0.0.13

Same here. downgrading to langchain-core==0.14 worked

from langchain import PromptTemplate, LLMChain
ModuleNotFoundError: No module named 'langchain_core.tracers.langchain_v1'
Getting the same error :< can someone help please..?

Adding langchain-core==0.1.4 to requirements.txt worked for me.

Downgrading to langchain==0.0.349 worked for me

@agola11
This bug seems critical because it affects so many people, it seems strange to me that it wasn't caught by automated testing.
Could you take a look please?


Windows support for creating search adapters

Description
This PR adds Windows support for the path resolution since $dsn would fail later due to the second parse_url attempt returning false again.
In my case, loupe://C:\path\project\var\indexes will fail because it won't detect any scheme at all.
The early return is done before adding the fallback where it adds the adapter name with an `@´  :')
Unsure if we should go for the PHP_OS_FAMILY check and see if it's windows in this case 🤔?
Windows did fail previously due to an undefined array key within the following line not having a scheme at all;
https://github.com/schranz-search/seal/blob/9e17f9be173ca46853976d594ae12e536f90dc12/src/Adapter/AdapterFactory.php#L140

Hello @zoglo
Thx for the PR the seal repo is just a subtree split please open a pull request on the main repository here: https://github.com/schranz-search/schranz-search


Buggy jumps when scrolling on the docs

It's only happening when scrolling slowly.
At least happening in https://developers.raycast.com/api-reference/user-interface/list
gif of the bug:

Closing as not planned since I couldn't reproduce it plus it's something that we don't have control over since GitBook is used for the developer docs.


[#1751][0.9] improvement: support gluten

What changes were proposed in this pull request?
support gluten
Why are the changes needed?
Currently, gluten will fail to compile using client from the master branch of uniffle.
Fix: #1751
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing UTs and manual testing

cc @summaryzb Could you help review this?

cc @summaryzb Could you help review this?

We are testing it internally and there are still some problems, so it is not ready for review yet.

This pr is ready for review. @summaryzb

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

Project coverage is 54.68%. Comparing base (cf84420) to head (f85e5a9).
Report is 13 commits behind head on branch-0.9.

Additional details and impacted files
@@               Coverage Diff                @@
##             branch-0.9    #1753      +/-   ##
================================================
- Coverage         54.74%   54.68%   -0.06%
- Complexity         2725     2871     +146
================================================
  Files               405      418      +13
  Lines             21156    22680    +1524
  Branches           2006     2138     +132
================================================
+ Hits              11581    12403     +822
- Misses             8837     9514     +677
- Partials            738      763      +25

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

Merged. Thanks for your review. I will create a PR for master branch after two weeks when I am free.


Habit tracker

Addresses (most of) this request (I left out the gradient)
https://saintmaker.canny.io/quest-board/p/basic-habit-tracker-v1
New tab on home page:

Example of a habit:

Example of editing the habit:

Tabs for the sidebar:

Still can't merge this. I realized there was an additional complexity factor that I had brought in with the storage of 4 weeks of data.  Going to fix this next saturday and hopefully it'll then be ready to merge.
On the plus side, we now have tests! (courtesy of vitest)

Alright, it's ready. It now loads in 4 weeks of habit data by default and adjusts correctly based on when the user revisits it (I was actually able to test it this morning as it switched over to a new week)
However, all the past habit data is marked in red which I eventually want to figure out a workaround for. It just makes it seem like you started a new habit and have been a failure up until now (which isn't really the right way to look at it or to present it)


Gauge obs

O(a^6) improvement for the topological charge has been implemented.

This Weinberg stuff also seems nice and well written... Could we please get some tests for them, also tests for the O6 stuff from before, along with making the other small fixes? If you need, we can set up a Zoom meeting to discuss this further. You can reach me at<EMAIL_ADDRESS>

I'm merging this in. Everything jakes.


[Issue]: ROCm 6.2.3 in WSL seems to regress?

Problem Description
I was using ComfyUI in ROCm 6.1.3 for WSL with PyTorch 2.5.1+rocm6.1, and it was working pretty well.
As ROCm 6.2.3 for WSL rolling out, I installed Adrenalin Edition 24.12.1, amdgpu-uninstall previous ROCm 6.1.3 installation in WSL, and reinstalled ROCm 6.2.3 following the instructions.
For ComfyUI, I pip3 --force-reinstall PyTorch 2.5.1+rocm6.2, and launched it using TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1 python3 main.py --use-pytorch-cross-attention.
In my simple SDXL workflow, which directly generates an image of 1024x1536, the host driver keeps timed out during VAE decoding. Until I mess around and remove ~/.triton, it progresses but with a warning of "Ran out of memory when regular VAE decoding, retrying with tiled VAE decoding", which has never been seen when using ROCm 6.1.3 for WSL.
The overall experience is not satisfying, tiled upscaling has also stuck for some time.
Operating System
Ubuntu 22.04.5 LTS in WSL 2 in Windows 10 22H2
CPU
Ryzen 7 7800X3D
GPU
RX 7900 XTX
ROCm Version
ROCm 6.2.3
ROCm Component
No response
Steps to Reproduce

Drag the image into ComfyUI to load the workflow, and then click "Queue Prompt".
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response

Try rolling back Adrenalin Edition 24.12.1 to Adrenalin Edition 24.9.1. I noticed a performance decrease on anything above this on generation side. With it significantly slowing down in the past as well.

Hi @evshiron, thanks for reporting. I do observe the issue with rocm6.2 on WSL, I've tested with older Adrenalin drivers, and it seems that the problem is with the new ROCm release on WSL. I've reached out to internal team to investigate.

ROCm 6.3 has the same problem on the WSL

Try rolling back Adrenalin Edition 24.12.1 to Adrenalin Edition 24.9.1. I noticed a performance decrease on anything above this on generation side. With it significantly slowing down in the past as well. Not sure that's the issue, but was causing my slowdowns. Also using --use-pytorch-cross-attention

I have tried Adrenalin Edition 24.9.1 and the speed is the same down, removing the- -use-pytorch-cross-attention parameter speed is normal

Hi @evshiron, just want to confirm which model are you using? I managed to repro the issue once, but I can't get it to hang anymore. It either runs with tiled VAE or the driver times out but VAE decode still manages to finish.

@zichguan-amd
It's NoobAI-XL if you are interested. In my case, it didn't use tiled VAE at the beginning and caused the hang. The VAE decoding no longer hung when tiled VAE was used, but ComfyUI always left a warning for it.
I switched back to ROCm 6.1.3 when UltimateSDUpscale hung a lot. It might become smooth after some attempts, but I lost my patience at that time and had never tried again.


"Unresolved import" for some files in sub-directories in a workspace

Opening a new issue as recommended from https://github.com/microsoft/python-language-server/issues/1099#issuecomment-503638516
Some Python packages are not able to be read by the Python Language Server.  They report "unresolved import", despite the fact that Python is able to read them just fine.
The repository in question is https://github.com/xobs/teardown2019-workshop.  It contains submodules, which either get added to a .env file (via python3 lxbuildenv.py > .env) or by manually adding them to the python.autoComplete.extraPaths setting.
python3 is able to see litex_boards.partner.platforms.fomu_evt, however the Python Language Server cannot.
This is running in python.org python3.exe version 3.7.3.  There is no virtualenv, venv, conda, pip modules, or anything like that.
The language server version is Microsoft Python Language Server version <IP_ADDRESS>
The line that is giving the error is https://github.com/xobs/teardown2019-workshop/blob/master/workshop.py#L28
An example of the "extraPaths" setting that didn't work is at https://github.com/xobs/teardown2019-workshop/blob/master/workshop.py#L10

Here is the result of the "trace".  python-output.txt
Interestingly, "litex_boards" only appears in the list of search paths, and doesn't appear anywhere else.

Can you give the trace when on the daily build? Should be 0.3.16 at the moment. I changed the way that the search paths are printed to better reflect what we actually use.

Do you mean the daily python-language-server build?  This is running on the daily vscode build:
Version: 1.35.1 (system setup)
Commit: c7d83e57cd18f18026a8162d042843bda1bcf21f
Date: 2019-06-12T14:30:02.622Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17134

How can I install the daily pls build?

Sorry, I meant the language server daily, not VS Code or the extension Set:
"python.analysis.downloadChannel": "daily"

And reload to trigger a download.

Here is the output from the daily python language server: python-output-daily.txt

Great, thanks. Just wanted to make sure that litex_boards was making it into the user search path list. I'll look at the repo and see what's going on.

Following up on this. Cloned the repo via:
git clone --recurse-submodules https://github.com/xobs/teardown2019-workshop.git

Then did:
python .\litex\lxbuildenv.py -e

To grab a PYTHONPATH line to put in .env, then loaded workshop.py. The only import that appears to be unresolved is lxbuildenv, which would require also adding ./litex to extraPaths or similar, which may then involve #443/#1360/#1700's nesting/naming problems.

Is this better than what you had observed?

Without feedback I'm going to close this; I think this was mostly handled except for the above linked issues to do with the single-name problem.


Sampler not used when parent is null inside DefaultTracer.createChild() method

Reviewing the code of the createChild() method of DefaultTracer class, I've detected that when the parent is null a new span is always created as exportable.
I've got two questions about createChild() method:

Is this method going to be invoked with parent being null?  Maybe the method should assert that parent value is not null instead of creating a new span when the parent is null.
In case we want to admit that createChild() receives a null parent, I think we should use the sampler to decide if the new span is going to be exportable, shouldn't we?

Hi!
Thanks for the debugging - good job :)
Generally speaking you're right about this:

In case we want to admit that createChild() receives a null parent, I think we should use the sampler to decide if the new span is going to be exportable, shouldn't we?

The thing is that I can't actually see a single case where the parent could be null in that method other than that somebody is extending the class and doing some bizarre stuff.
createChild() method is executed here:
@Override
	public Span createSpan(String name, Sampler sampler) {
		Span span;
		if (isTracing()) {
			span = createChild(getCurrentSpan(), name);
		}
...

and here
@Override
	public Span createSpan(String name, Span parent) {
		if (parent == null) {
			return createSpan(name);
		}
		return continueSpan(createChild(parent, name));
	}

Ad 1) To have a null parent in that method getCurrentSpan() would have to be null. That can't the case cause isTracing() checks for that:
/**
	 * Check if there is already a span in the current thread
	 */
	static boolean isTracing() {
		return CURRENT_SPAN.get() != null;
	}

Ad 2) if parent is null then that method is not even executed.
Can you tell us how you achieved a case, by using the public API, that you got a null in that parent?

Hi Marcin! I didn't achived the case, just read the code :)
I can't see either a single case where the parent is null when createChild() is invoked from any of the createSpan() methods. Just noticed that if you want to consider that case in createChild(), the block of code creating the span should use the sampler. The other option would be not considering that case and removing that "if" clause (probably asserting that parent is not null).
I'm glad I could help.


consider not using play.Logger anymore

I think it is impractical to use play.Logger because you can neither spot easily where the log entry is coming from nor configure a special log level.
Also the play team has some concerns with it: https://github.com/playframework/playframework/issues/1669
I would prefer this:
//api from slf4j
private final static Logger logger = LoggerFactory.getLogger(MyClass.class);

Yes, I wanted to remove the Play Logger long time ago, I don't use it in some new classes (e.g. WebjarsFilesCopier). But as it's so invasive I couldn't find a moment to do it.

I did a quick search and I think it's not used anymore.


Board Review: Python/.NET azure-ai-translation-document

Thank you for submitting this review request. Thorough review of your client library ensures that your APIs are consistent with the guidelines and the consumers of your client library have a consistently good experience when using Azure.
The Architecture Board reviews Track 2 libraries only. If your library does not meet this requirement, please reach out to Architecture Board before creating the issue.
Please reference our review process guidelines to understand what is being asked for in the issue template.
To ensure consistency, all Tier-1 languages (C#, TypeScript, Java, Python) will generally be reviewed together.  In expansive libraries, we will pair dynamic languages (Python, TypeScript) together, and strongly typed languages (C#, Java) together in separate meetings.
For Tier-2 languages (C, C++, Go, Android, iOS), the review will be on an as-needed basis.
Before submitting, ensure you adjust the title of the issue appropriately.
Note that the required material must be included before a meeting can be scheduled.
Contacts and Timeline

Responsible service team: Azure Translator
Main contacts: @mayurid @kristapratico @maririos
Expected code complete date: TBD
Expected release date: ~End of May for stable versions of the Python/.NET libraries

About the Service

Link to documentation introducing/describing the service: https://docs.microsoft.com/en-us/azure/cognitive-services/translator/document-translation/overview
Link to the service REST APIs: https://docs.microsoft.com/en-us/azure/cognitive-services/translator/document-translation/reference/rest-api-guide
Link to GitHub issue for previous review sessions, if applicable:
Intro to service: https://github.com/Azure/azure-sdk/issues/1968
Board review: https://github.com/Azure/azure-sdk/issues/2448

About the client library

Name of the client library: azure-ai-translation-document
Languages for this review: Python, .NET

Context

The work for this library started around March 2021. The latest major design change happened in September 2021 (renames) after architect’s feedback.

After September, the changes to the libraries have been updated according to new patterns in both Azure Core and language-specific scenarios.

At this point, design and property names are locked down unless there is a strong argument for the changes

Usage of the libraries (# of unique resource IDs calling the client libraries in the last year minus SDK internal subs):

UserAgent
unique_count_AzureResourceId

PostmanRuntime
410

python-requests
388

azsdk-net-AI.Translation.Document
323

azsdk-python-ai-translation-document
168

azure-logic-apps
93

Mozilla
86

axios
67

okhttp
32

insomnia
12

Thunder   Client (https:
12

GuzzleHttp
9

vscode-restclient
9

Document Translation service

Link to service intro (Oct 2020): https://github.com/Azure/azure-sdk/issues/1968
Translator service encompasses Document Translation, Text Translation, Custom Translation.
"The Document Translation API can be used to translate multiple and complex documents across all supported languages and dialects, while preserving original document structure and data format."

The champion scenario for the DT service is to translate the documents in a source container to its corresponding target container in the given language. A source container contains one or more documents and a target container must be supplied per unique language translation.

Both Python and .NET have specific overloads to optimize for the scenario in (1) and (2, 3). These methods kick off long-running operations which, upon completion, return a pageable of document status result objects for the user to check on the result of each translation and/or use the URL to access the translated document in blob storage.
The client libraries also offer APIs to check on the status of translation operations (including history of past operations), check on status per document, or the ability to cancel the operation.
.NET

APIView Link: https://apiview.dev/Assemblies/Review/46373cdd5bff4c86aeef03d3b8f79d50
Link to Champion Scenarios/Quickstart samples: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/translation/Azure.AI.Translation.Document/samples

Python

APIView Link: https://apiview.dev/Assemblies/Review/3fe2d18bbf02471eae4fd292c0d5f36e
Link to Champion Scenarios/Quickstart samples: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/translation/azure-ai-translation-document/samples

Recording (MS INTERNAL ONLY)

Notes:
What is the DPG story for the other languages (Java and JS)? When will they GA? Is there an exception for these 2?
Status:
Python: Approved
.NET:

Confirm namespace selection with @KrzysztofCwalina
https://github.com/Azure/azure-sdk-for-net/issues/28995


Not in npm registry

When I try to install with npm install textlint-rule-en-max-word-count I get:
npm ERR! 404 Registry returned 404 for GET on http://registry.npmjs.org/textlint-rule-en-max-word-count
npm ERR! 404
npm ERR! 404  'textlint-rule-en-max-word-count' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

Oh, sorry.
I publish textlint-rule-en-max-word-count to npm, Now.

Thanks, it's working now. :)


Gradle 6.8 incorrectly swaps binary dependency to project dependency

When upgrading from Gradle 6.7.1 to 6.8 we found that our project started failing with
aurimas@aurimas:/ssd/ssd1/temp/testgradle68$ ./gradlew arch:core:core-common:jar
Watching the file system is not supported on this operating system.
Configuration on demand is an incubating feature.

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':arch:core:core-common:compileJava'.
> Could not resolve all task dependencies for configuration ':arch:core:core-common:compileClasspath'.
   > Could not resolve androidx.annotation:annotation:1.1.0.
     Required by:
         project :arch:core:core-common
      > No matching configuration of project :annotation:annotation was found. The consumer was configured to find an API of a library compatible with Java 7, preferably in the form of class files, and its dependencies declared externally but:
          - None of the consumable configurations have attributes.

There were no other changes to our build outside of Gradle upgrade.
This project uses the following dependency
dependencies {
    api("androidx.annotation:annotation:1.1.0")
}

Expected Behavior
Gradle uses binary dependency for this project
Current Behavior
Gradle swaps this project dependency to be project :annotation:annotation
Context
There seems to be several factors at play that are required to reproduce this failure

Use of includeBuild
Rename of project in settings.gradle
Use of org.gradle.configureondemand=true

It works just fine in Gradle 6.7.1 and it fails with 6.8
Steps to Reproduce
Attaching a sample project
testgradle68.zip
To repro simply run:
./gradlew arch:core:core-common:jar

If you downgrade to 6.7.1 it will work again.
Your Environment
Unable to share full details due to corp policy.

This is an unexpected consequence of improvements done around composite builds.
What happens is that the default coordinates for project :annotation:annotation are computed as follows:

group takes the value <rootProjectName>.<parentProjectName> which results in androidx.annotation
name is the project name, annotation
This results in an identifier androidx.annotation:annotation which matches the binary dependency coordinates.

The above is the historical default and is not new.
What is new is that projects of the main build are now registered as substitutions whenever you have a composite build. This is what causes the binary dependency to be replaced by a project reference.
Then the dependency fails to resolve because Gradle does not know :annotation:annotation participates in the build and since configuration-on-demand is active, it ends up not configured, which means it does not have any configurations defined.
The team is discussing reverting this change altogether or hiding it behind a feature preview flag for now.

This is an unexpected consequence of improvements done around composite builds.
What happens is that the default coordinates for project :annotation:annotation are computed as follows:

group takes the value <rootProjectName>.<parentProjectName> which results in androidx.annotation
name is the project name, annotation
This results in an identifier androidx.annotation:annotation which matches the binary dependency coordinates.

The above is the historical default and is not new.
What is new is that projects of the main build are now registered as substitutions whenever you have a composite build. This is what causes the binary dependency to be replaced by a project reference.
Then the dependency fails to resolve because Gradle does not know :annotation:annotation participates in the build and since configuration-on-demand is active, it ends up not configured, which means it does not have any configurations defined.
The team is discussing reverting this change altogether or hiding it behind a feature preview flag for now.

Responsible change: #14638

Responsible change: #14638

The substitutions are now only registered if the main build is explicitly included. That should fix this issue in 6.8.1 - see #15817.

The substitutions are now only registered if the main build is explicitly included. That should fix this issue in 6.8.1 - see #15817.


Delayed Preemptive Snapshots

Background: https://airtable.com/tblD3oZPLJgGhCmch/viwchkdQkRUw6hZ3z/recA9h7fc9qpIdneS?blocks=hide
PM: @awoods187
Eng: @danhhz, @tbg

Not building this.


ContractDeployer.deployMarketplaceV3 throws "Passed the wrong number of constructor arguments"

Repro:
import {
  MarketplaceV3ContractDeployMetadata,
  ThirdwebSDK,
} from "@thirdweb-dev/sdk";

const args = process.argv.splice(2);
const pk = process.env.PK;

const setup = async () => {
  const network = args.at(0) || process.env.NETWORK || "localhost";

  const sdk = ThirdwebSDK.fromPrivateKey(
    pk,
    network
  );

  const addr = await sdk.wallet.getAddress();

  return {
    sdk,
    addr,
  };
}

const main = async () => {
  const { sdk, addr } = await setup();

  const params: MarketplaceV3ContractDeployMetadata = {
    name: "test marketplace",
  };

  const marketplaceAddress = await sdk.deployer.deployMarketplaceV3(params);
}

I'm trying this with a local ganache node, which works fine with deployments of your other contracts. The same happens when trying to deploy it with the web UI.

@system32uwu thanks for reporting this! we're aware of the issue and are actively working on it.
Marketplace v3 is deployable on 14 main chains right now (mainnets/testnets) but not on other chains (including localhost). This is because the contract architecture for marketplace v3 requires some extra onchain infrastructure to be deployed.
We're working on a new deploy flow that enables this seamlessly for all chains. Will keep you updated! cc @kumaryash90

Thank you for checking this out, we'd work on the testnets but we need to run a lot of tps against the marketplace contract, we don't want to screw them live networks. Thanks again, we'll be waiting for this !

@system32uwu this PR enables deployment of marketplace v3 on all EVM chains<EMAIL_ADDRESS>Feel free to give it a run. We'll be releasing this next week

Great! I've just subscribed to PR notifications on that one, thank you guys for your work.

@joaquim-verges we can close this issue right? #885

@system32uwu thank you for reminding me! The pr is merged on main, so it's available from @thirdweb-dev/sdk@nightly.
still need to publish a new stable release though 🙂


bootstrap fails on Ubuntu 14.04

I just tried to build Scalpel on Ubuntu 14.04 and got the following error:
 ./bootstrap
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:7: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.ac:7: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
Makefile.am:12: warning: source file 'src/scalpel_exec.cpp' is in a subdirectory,
Makefile.am:12: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.

I added this line to Makefile.am
AUTOMAKE_OPTIONS = subdir-objects

And then got
$ ./bootstrap
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:7: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.ac:7: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation

At this point I think I'll hand it over to people who understand the bootstrap process as I've never worked with it before.
The copy of Scaplel from the repo works fine so this is only affecting building from source.

In the output above I see warnings related to deprecation and forward incompatibility but I don't see why these would prevent you from subsequently running configure and make. Do you get a 'configure' script after running bootstrap?

You're right, I looked at that and assumed it was a failure, I just tried
the rest of the build process and it worked fine.
Can I cover the embarrassment and change the ticket to a warning that it
may not build in the future?
On 5 May 2015 at 21:14, esaunders<EMAIL_ADDRESS>wrote:

In the output above I see warnings related to deprecation and forward
incompatibility but I don't see why these would prevent you from
subsequently running configure and make. Do you get a 'configure' script
after running bootstrap?
—
Reply to this email directly or view it on GitHub
https://github.com/sleuthkit/scalpel/issues/17#issuecomment-99208269.

Sure :-)


FID vector triggers "incorrect length" error when sample.ids NOT in the gds are passed to king.R

If you pass a vector of FIDs to KING with the optional argument --family_id, it has to be the same length (and in the same order) as the IDs supplied with --sample_id. However, if some of the sample IDs are not in the GDS, it will trigger the "incorrect length" error, rather than also exclude the corresponding FIDs as well. For example, if you supply the following IDs:

sample.id
FID

1
1

2
1

3
1

4
2

5
2

6
3

but sample.id 1 is not found in the GDS, I think KING will count this as 5 sample IDs but 6 FIDs
I think the ideal behavior would be throw a warning, then to subset the FIDs

implemented in 8232ecc


Human readable dates in form fields

Close for now because there is no decent validation library at this moment in JS.
Will reopen it later.


onSuccessInUi() shortcut for onSuccess(..., Task.UI_THREAD_EXECUTOR)?

We often use yours lib for some async operations and after that we inform user about status operation. So almost every time we write something like:
Task.callInBackground(() -> {
    // do something extra heavy
    return someReturnObject;
})
    .onSuccess(new Continuation<SomeReturnObject, Void>() {
        @Override
        public Void then(Task<SomeReturnObject> task) throws Exception {
            Toast.makeText(context, task.getResult().getSomethingNicely(), Toast.LENGTH_SHORT).show();
            return null;
        }
    }, Task.UI_THREAD_EXECUTOR);

As many people we're lazy, forgetful and will be in ecstasy if we can write this in simpler form:
...
.onSuccessInUi(new Continuation<SomeReturnObject, Void>() {
    @Override
    public Void then(Task<SomeReturnObject> task) throws Exception {
        Toast.makeText(context, task.getResult().getSomethingNicely(), Toast.LENGTH_SHORT).show();
        return null;
    }
});

Any thoughts about this idea? 😉

I think that would create more confusion, right now it’s verbose but clear..


fix: Change DB Timeout values missed in previous PR

If your build fails  due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[ ] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?) N/A
[x] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions
run make docker from this branch
from compose builder run make run dev
Verify Redis container starts w/o error
Verify all other service bootstrap
New Dependency Instructions (If applicable)

Codecov Report

Merging #4487 (0335d29) into main (6098da6) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main    #4487   +/-   ##
=======================================
  Coverage   41.57%   41.57%
=======================================
  Files         106      106
  Lines        9749     9749
=======================================
  Hits         4053     4053
  Misses       5350     5350
  Partials      346      346

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Sample code is incorrect for file download

Type of issue
Typo
Description
file.OpenWrite has different syntax then what the sample code shows for "Download a file'.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/storage.files.shares-readme?view=azure-dotnet
Content source URL
https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/api/overview/azure/latest/storage.files.shares-readme.md
Document Version Independent Id
0dbdcc65-d4e5-3d1a-5e6b-7093fc50fd2c
Article author
@azure-sdk
Metadata

ID: 5af82304-cfe3-13e3-08f4-9a7150114911
Service: storage

Issue is VS's Code Sense was changing File to file automatically.  Below is better code sample.  use shareFile for variable name.
ShareFileClient shareFile = directory.GetFileClient(fileName);
// Download the file
ShareFileDownloadInfo download = shareFile .Download();
using (FileStream stream = File.OpenWrite(localFilePath))
{
download.Content.CopyTo(stream);
}


Streaming UI improvements

[x] Allow copying text out of screen (marking as WONTFIX since seems hard to support this in blessed. alt-click works on iterm)
[ ] Figure out how to clear screen on process watch re-run
[ ] Show an icon on the bottom button when a critical process is failing

Item #2 is tricky, since we would need watched processes to raise some kind of readable signal during watch. One option would be to print compiler-legible output, postprocess within Graco, then log back as human-readable. That's doable for esbuild, but doesn't seem straightforward for TS: microsoft/TypeScript#31566


Unify precompiled headers across all projects to use StdBase.h.

Description
This pull request unifies the precompiled headers across all projects by standardizing on StdBase.h STL only headers.

Centralizes precompiled headers to improve consistency.
Exposes all projects to shared functionality without needing individual modifications.

This approach simplifies maintenance and enhances uniformity across projects, reducing duplication and ensuring consistent feature availability.
I also defined NOMINMAX before including Window headers so that we can use STL's min max functions instead of the ones coming from Windows headers.

Thanks for the review guys! Thankfully we have automation--I noticed a weird issue on some VS installation, namely in the GitHub runners: https://github.com/ko4life-net/ko/actions/runs/11788806886
       "D:\a\ko\ko\src\All.sln" (Clean;Build target) (1) ->
       "D:\a\ko\ko\src\game\KnightOnLine.vcxproj" (default target) (22:2) ->
       (ClCompile target) ->
         D:\a\ko\ko\src\game\GameProcMain.cpp(319,5): error C2065: '_finddata_t': undeclared identifier [D:\a\ko\ko\src\game\KnightOnLine.vcxproj]
         D:\a\ko\ko\src\game\GameProcMain.cpp(319,17): error C2146: syntax error: missing ';' before identifier 'fi' [D:\a\ko\ko\src\game\KnightOnLine.vcxproj]
         D:\a\ko\ko\src\game\GameProcMain.cpp(319,17): error C2065: 'fi': undeclared identifier [D:\a\ko\ko\src\game\KnightOnLine.vcxproj]
         D:\a\ko\ko\src\game\GameProcMain.cpp(327,37): error C2065: 'fi': undeclared identifier [D:\a\ko\ko\src\game\KnightOnLine.vcxproj]
         D:\a\ko\ko\src\game\GameProcMain.cpp(327,13): error C3861: '_findfirst': identifier not found [D:\a\ko\ko\src\game\KnightOnLine.vcxproj]

On my machine it was building just fine, hence I find this error weird. However including Window's io.h file fixes the issue and we'll anyway remove it once adapting std::filesystem to the project.
This was added in this commit: https://github.com/ko4life-net/ko/pull/253/commits/d631c98f77ce71f9a43e7dd0b1e18172ceeb5537
Build passing now: https://github.com/ko4life-net/ko/actions/runs/11789222493
Merging.