fix partition key typo in cosmos readme

note: I'm unsure whether a_number was chosen to avoid confusion with reserved keywords in other languages but I decided to just make the comment consistent with the actual code.

@merlinio2000 , the readme is generated from the rust code.   Can you make the same changes in sdk/data_cosmos/src/lib.rs?

@microsoft-github-policy-service agree

@demoray Thanks for pointing that out! Changes are made as requested


Fix analysis across packages

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-7.0%) to 92.985%

Totals

Change from base Build<PHONE_NUMBER>8:
-7.0%

Covered Lines:
623

Relevant Lines:
670

💛  - Coveralls


Compatibility over TCP in newer jacocoAgent versions

I've  noticed that JacocoGo doesn't support newer version of jacocoAgent, Am I wrong?
If so, how difficult would be to implement this on getExecutionDataViaJaCoCoTCPServer and maybe set up a new property to be read on pom.xml to define which agent version the application is running.
0.7.6
Cannot read execution data version 0x1006. This version of JaCoCo uses execution data version 0x1007

0.7.5
java.io.IOException: Incompatible version 1006.

Had success on version 0.7.0

I have a same issue


Simplify merging of files

PR Summary
Simplify merging of files

The reason the _classes.json exist is because the classes had to be loaded in a particular order. If you notice the files are not loaded in the order they would be listed in a *.ps1 search.

@DarqueWarrior Yes, I know.
This is why I added a feature to be able to list the base classes explicitly, but load everything else using *.ps1. As you can see, the unit tests still work :)

The newer unit tests load the needed classes explicitly.
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")

. "$here/../../Source/Classes/VSTeamVersions.ps1"
. "$here/../../Source/Classes/VSTeamProjectCache.ps1"
. "$here/../../Source/Private/common.ps1"
. "$here/../../Source/Public/$sut"

Those tests are not testing the module loading. The classes that are needed are loaded in the correct order for the tests. If those classes are loaded in the wrong order everything will fail.

It looks like the code can be used for some files just not the classes.

@DarqueWarrior hmmm...   ok, I'll have a closer look then and eventually back out the classes.
Thanks for the hints

@DarqueWarrior I've removed the classes changes


Some missing opcodes

Some opcodes aren't detected at all:

movabs{bwlq}
movz{bwlq}{bwlq}

edit: movzbl works, but nothing else

cmpsb, cmpl, cmpw (cmpq is okay)
...

Some opcodes are detected correctly without their final suffix, but aren't when there is the suffix:

movs{bwlq}{bwlq} (movsb is okay but not movsbq, etc.)
xadd{bwlq}
xchg{bwlq}
dec{bwlq}
div{bwlq}
idiv{bwlq}
mul{bwlq}
neg{bwlq}
not{bwlq}
...

See: https://docs.oracle.com/cd/E26502_01/pdf/E28388.pdf. I haven't gone through the entire book yet but the rate of opcodes highlighting correctly isn't too high from what I've seen.
Perhaps we want to consider some sort of restructuring of this plugin to catch every opcode? For example, we could list off xadd, xchg, dec, etc. all as opcodes and match op{bwlq} for every opcode, even ones that don't actually support the suffix. Otherwise the database would be really long.
Edit: found this project, which suits my needs. If vim-gas continues to be developed, possibly stealing an idea or two from the linked repo would be a good idea :)

If you’d taken the slightest moment to understand how this plugin works I would have considered taking this serious... but barging in, deciding this is shit and needs a restructuring - where in reality it apparently works for a large number of users - instead of asking “what am I doing wrong?”..
no thanks sir, be happy with whatever plugin you’ve found.

@Shirk Sorry! I can now see that my comment was a little condescending. Didn't mean for it to come out that way. I just thought this plugin seemed like a good idea and it was missing some ops as far as I can tell. If you're happy with the way this is currenly funtioning, I'll happily close the issue.
I'm also willing to send a PR if you end up being able to verify my issue; the other plugin isn't perfect either.
Thanks for your work!


Use content-package-maven-plugin 0.0.24

This contains a fix for Maven 3.3.1 or newer

Fixed in 4c9dbd3ee2dfa1d746f6d7cc294c58dce4eb4357 ( wrong issue id )


Idea: Why not use the IMDB JSON data?

https://www.imdb.com/event/ev0000003/2023/1/?ref_=ev_eh
Open Source-Code -> ~ Line 735: you will find a huge block of json code there. All the information you need: Name of Actor, Film etc, id (nm, tt). Award-Winner: true/false, Nominee in which category etc.
Should be easier to read. Above all: this works with all awards - such as BAFTA etc. Same JSON-Format. With with an loop you can read out every year...
Nevertheless, many thanks for the CSV in the text. It helps me a lot for my private movie database.

I actually am using that data but I've found that IMDb offers a subset of the information from the Official Awards Database.
I could relatively easy scrape the awards data from the other shows, but to cross reference it with the official sources would take a lot more work.


Provide difference (and_not) and symmetric_difference (xor) operation

I figure out I need to .not shape by finding issue #68. It would be nice if truck provided .not() operation even if for now they would be implemented in terms of .or and .and.

In boundary expressions, if you turn over all the faces of the shell, it's the same as doing a not operation. That's why I decided not to add it here, because I thought it wasn't something that should be listed in parallel. I might think about it again when it's a bit more complete.

Well, I'm sorry to say that I forgot, but the method not was defined directly in Solid.
https://docs.rs/truck-topology/0.6.0/truck_topology/struct.Solid.html#method.not


Question about how to preprocess about DeepConv-DTI

Dear authors:
I want to know how the author trained the baseline about DeepConv-DTI mainly about how to preprocess the origin data, When I trained the code ar DeepConv-DTI, the memory was quiet high.
Thank you very much for your kind consideration and I am looking forward to your reply.

For questions about DeeoConvDTI, I suggest asking its author. It works fine in my runtime.
The code for data processing, which is stored in another repository, is usually a script named convert_dataset.py


Kivy Designer SDK

There is a demand for having a portable environment tailored for new programmers, which includes Python, Kivy, Kivy Designer, and all of their dependencies.
For a start, we would like to make this happen on Windows, reusing the package generator from https://github.com/kivy/kivy-sdk-packager/tree/master/win.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/30461321-kivy-designer-sdk?utm_campaign=plugin&utm_content=tracker%2F77147&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F77147&utm_medium=issues&utm_source=github).

In my opinion, something like a web interface(a simpler hanga, similar with p4a-cloud) for using buildozer would be a great feature for this sdk because people usually face problems with buildozer.
With a "buildozer-cloud" we could add a simple vagrant script into this sdk. So you could simple download the sdk, run 'vagrant up' to download/start the builder server, and use it through KD.  This script prepare an linux machine with all necessary dependencies and setup the buildozer-cloud interface.

from @NSasquatch:

We all agree that kivy is very promising and could become the way of creating UX in python. For that to happen I think it is very important that there is a powerful and stable UI designer for it - it greatly speeds up the process of creating new UIs and is much easier for a learner to get familiar with all the available kivy modules. This project, even though it still needs some polishment, could become just that.
But I think it's not quite there. Having to set up kivy and all the python packages before actually being able to use it is quite cumbersome, especially for newcomers who might not be to familiar with installing python packages as well as people who are not sure yet if they really want to use kivy and only want to give it a try. For all these people, having a standalone that you can simply download and it works is very important. A simple pipy and a py2exe interface would not be to hard to add. You could go on from there, adding git support, maybe directly compile to a connected smartphone...?
How this would be achieved I'm not so sure, I don't know the tools who are usually used for this. Is there an easy way to automate this? If not, I think even having a standalone, even if it is lagging some versions behind the sourcecode, is better than none at all. Also, besides being available for Windows, Linux and Mac OSX it would probably attract even a bigger user base if it was also available for iPad and Android Tablets (I don't know a tool for Android that has similar capabilities... develop for Android on Android? I think that has potential).

from @EthenCrowl

I do believe NSasquatch is right. Kivy is a very powerful and robust system that could very likely become the go to way for creating UX in Python. Packaging Kivy-Designer in a standalone program would be the perfect way to bring UX design, for Python, to the masses.
PS: moving from https://github.com/kivy/kivy-designer/issues/247


Zero-Shot Video Captioning script issues

I was trying to do zero-shot video-captioning on on mPLUG. I first downloaded the datasets via https://alice-open.oss-cn-zhangjiakou.aliyuncs.com/mPLUG/data.tar. The VATEX data here seemed to be the same as the actual ones on the website. Then I run sh scripts/videocap_vatex_mplug_large.sh but I run into a few issues
(1) pip install git+git://github.com/j-min/language-evaluation@master fails: Presumably this is because the github link isn't correct but when I ran it with https://github.com/j-min/language-evaluation I still got the following traceback
File "", line 1, in
File "C:\Users\shrey\anaconda3\lib\site-packages\language_evaluation_init_.py", line 15, in
from language_evaluation.coco_caption_py3.pycocoevalcap.eval import COCOEvalCap
File "C:\Users\shrey\anaconda3\lib\site-packages\language_evaluation\coco_caption_py3\pycocoevalcap\eval.py", line 11, in
"METEOR": (Meteor(), "METEOR"),
File "C:\Users\shrey\anaconda3\lib\site-packages\language_evaluation\coco_caption_py3\pycocoevalcap\meteor\meteor.py", line 20, in init
self.meteor_p = subprocess.Popen(self.meteor_cmd,
File "C:\Users\shrey\anaconda3\lib\subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\shrey\anaconda3\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

Exception ignored in: <function Meteor.del at 0x0000028948E36700>
Traceback (most recent call last):
File "C:\Users\shrey\anaconda3\lib\site-packages\language_evaluation\coco_caption_py3\pycocoevalcap\meteor\meteor.py", line 78, in del
self.lock.acquire()
AttributeError: 'Meteor' object has no attribute 'lock'
(2) It seems that the videocap_mplugx.py doesn't exist. videocap_mplug.py does and I am guessing this is what was intended (the args match up nicely) but when I run with it, I get the following traceback (a module issue and a kubernetes issue). I am not sure if this is because I am not able to install language_evaluations correctly and not downloading coco or if I am running the wrong file.  This is the full traceback for reference. The issue persists even when I do pip install ruamel.yaml.  Thank you so much for all you help!
Traceback (most recent call last):
[W C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\distributed\c10d\socket.cpp:601] [c10d] The client socket has failed to connect to [kubernetes.docker.internal]:3223 (system error: 10049 - The requested address is not valid in its context.).
[W C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\distributed\c10d\socket.cpp:601] [c10d] The client socket has failed to connect to [kubernetes.docker.internal]:3223 (system error: 10049 - The requested address is not valid in its context.).
Traceback (most recent call last):
File "C:\Users\shrey\OneDrive\AliceMind\mPLUG\videocap_mplug.py", line 4, in
import ruamel_yaml as yaml
ModuleNotFoundError: No module named 'ruamel_yaml'
Traceback (most recent call last):
File "C:\Users\shrey\OneDrive\AliceMind\mPLUG\videocap_mplug.py", line 4, in
import ruamel_yaml as yaml
ModuleNotFoundError: No module named 'ruamel_yaml'
Traceback (most recent call last):
File "C:\Users\shrey\OneDrive\AliceMind\mPLUG\videocap_mplug.py", line 4, in
import ruamel_yaml as yaml
ModuleNotFoundError: No module named 'ruamel_yaml'
Traceback (most recent call last):
File "C:\Users\shrey\OneDrive\AliceMind\mPLUG\videocap_mplug.py", line 4, in
import ruamel_yaml as yaml
ModuleNotFoundError: No module named 'ruamel_yaml'
Traceback (most recent call last):
File "C:\Users\shrey\OneDrive\AliceMind\mPLUG\videocap_mplug.py", line 4, in
import ruamel_yaml as yaml
ModuleNotFoundError: No module named 'ruamel_yaml'
Traceback (most recent call last):
File "C:\Users\shrey\OneDrive\AliceMind\mPLUG\videocap_mplug.py", line 4, in
Traceback (most recent call last):
File "C:\Users\shrey\OneDrive\AliceMind\mPLUG\videocap_mplug.py", line 4, in
import ruamel_yaml as yaml
ModuleNotFoundError: No module named 'ruamel_yaml'
import ruamel_yaml as yaml
ModuleNotFoundError: No module named 'ruamel_yaml'
Traceback (most recent call last):
File "C:\Users\shrey\OneDrive\AliceMind\mPLUG\videocap_mplug.py", line 4, in
import ruamel_yaml as yaml
ModuleNotFoundError: No module named 'ruamel_yaml'
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 5716) of binary: C:\Users\shrey\AppData\Local\Programs\Python\Python39\python.exe
Traceback (most recent call last):
File "C:\Users\shrey\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\shrey\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\shrey\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\distributed\launch.py", line 196, in
main()
File "C:\Users\shrey\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\distributed\launch.py", line 192, in main
launch(args)
File "C:\Users\shrey\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\distributed\launch.py", line 177, in launch
run(args)
File "C:\Users\shrey\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\distributed\run.py", line 785, in run
elastic_launch(
File "C:\Users\shrey\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\distributed\launcher\api.py", line 134, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "C:\Users\shrey\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\distributed\launcher\api.py", line 250, in launch_agent
raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
videocap_mplug.py FAILED
Failures:
[1]:
time      : 2023-05-18_00:22:07
host      : university email address
rank      : 1 (local_rank: 1)
exitcode  : 1 (pid: 20760)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[2]:
time      : 2023-05-18_00:22:07
host      : university email address
rank      : 2 (local_rank: 2)
exitcode  : 1 (pid: 12436)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[3]:
time      : 2023-05-18_00:22:07
host      : university email address
rank      : 3 (local_rank: 3)
exitcode  : 1 (pid: 16444)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[4]:
time      : 2023-05-18_00:22:07
host      : university email address
rank      : 4 (local_rank: 4)
exitcode  : 1 (pid: 25304)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[5]:
time      : 2023-05-18_00:22:07
host      : university email address
rank      : 5 (local_rank: 5)
exitcode  : 1 (pid: 20196)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[6]:
time      : 2023-05-18_00:22:07
host      : university email address
rank      : 6 (local_rank: 6)
exitcode  : 1 (pid: 9708)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[7]:
time      : 2023-05-18_00:22:07
host      : university email address
rank      : 7 (local_rank: 7)
exitcode  : 1 (pid: 21216)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
Root Cause (first observed failure):
[0]:
time      : 2023-05-18_00:22:07
host      :  university email address
rank      : 0 (local_rank: 0)
exitcode  : 1 (pid: 5716)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html

Hey @shreyaskar123! Did you end up figuring out how to resolve the issue?


Create issue labels matching the templates.

With the merge of issue templates from the Quilt fork, we should recreate the same labels in this repository:

Label Name
Description
Colour

A-doc
Area: documentation
#FBCA04

A-spec
Area: specification
#FBCA04

A-tool
Area: tooling
#FBCA04

C-bug
Category: this is a bug, deviation, or other problem.
#C5DEF5

C-enhance
Category: a request for an improvement
#C5DEF5

C-question
Category: this is a question or request for clarification
#C5DEF5

E-easy
Experience: easy, good for newcomers
#0E8A16

E-medium
Experience: of moderate difficulty
#0E8A16

E-hard
Experience: difficult, probably not for the faint of heart
#0E8A16

fixed a typo s/T-tool/A-tool/ and added colours

Labels created. Please review and confirm.

LGTM! Thank you :D
Do we want to remove/convert the existing labels in the repository as well?

Do we want to remove/convert the existing labels in the repository as well?

I think that would make sense.
Hopefully, we're good to close this issue.

I think that would make sense.

:100:

Hopefully, we're good to close this issue.

I think so. Thanks again!


Test PR

Test PR

Not required this test PR now.. hence closing

This PR is no more required, hence closing


[Errno2] No Such File or Directory

So after fixing Cry's 5.3 solution problem(s), I finally got to the point in which I could use this script to compile/package everything down.
However, on starting it I receive the following error:
Traceback (most recent call last):
  File "release_ce_project.py", line 153, in <module>
    main()
  File "release_ce_project.py", line 146, in main
    package_assets(project_path, export_path)
  File "release_ce_project.py", line 92, in package_assets
    shutil.copyfile(itempath, os.path.join(export_path, 'Assets', itemname))
  File "D:\Users\drast\AppData\Local\Programs\Python\Python35\lib\shutil.py", line 115, in copyfile
    with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\drast\\Desktop\\ce_game\\Assets\\animations.cryasset.pak'

It appears it is having issues accessing, moving, or creating the folder/placing the file within it.
I've checked all the permissions, and rights. All seem well.
I'm using the vanilla script, with a few changes to the code's pathing/file structure:
def main():
    engine_version = '5.3'
    engine_path = os.path.join("D:", os.sep, "Program Files (x86)", "Crytek", "CRYENGINE Launcher", "Crytek", "CRYENGINE_5.3").format(engine_version)

    # Path to the project as created by the launcher.
    # project_path = os.path.join(engine_path, 'Templates', 'cpp', 'RollingBall')
    project_path = os.path.join("D:", os.sep, "Cryengine Projects", "GameSDK")

Hiya, I'll take a look into this now.

This should now be fixed by commit 01eb28385561d54c18c2f6bf53b5223fc6c79b5e, please let me know if this isn't the case for you.


Grades do not seem to getting saved enter grade, then refresh

From @payten on August 20, 2015 21:26
When grades are entered and successfully saved in the GB, refreshing the page results in the GB referring to an older state (e.g., "?132"), and the newly added grades do not appear. Resetting the tool fixes this.
Copied from original issue: steveswinsburg/gradebookNG#192

The grade should be saved in the backend, the issue is the page cache on
refresh re renders the old values. There was work in #35 to look at this
but the fix wasn't so elegant, needs more time.
On Fri, 21 Aug 2015 07:26 Payten Giles<EMAIL_ADDRESS>wrote:

—
Reply to this email directly or view it on GitHub
https://github.com/steveswinsburg/gradebookNG/issues/192.

Closing this in favour of #1336


Document the "Sign Up / Login / Password recovery screens." part

[ ] Add the documentation in the Features section of the project
[ ] Add the link to this documentation in Start UI web's README.md
[ ] Add pictures

Done
Closing


Fix typo Use -> User

Just a small typo in the title of the Edit User page

Merging the PR. Thanks @rkerr.


Equation translation submitted from localization team

Affected Url : https://github.com/MicrosoftDocs/quantum-docs-pr.zh-TW/blob/live/articles/concepts/vectors-and-matrices.md
Issue: Please go to the page and you can see the broken yaml header.
Proposed Solution: Please add “$$v” to the no-loc list.
Ticket URL: iCM 189815823

@KittyYeungQ Similarly here, I"m a little confused by the nature of the issue. It looks like the live page in the docs weathered the storm (i.e. the YAML errors didn't affect the rendered page; observed by going to the live page and Google Translating it back to English), and the problem is isolated to that github view?
I'm all for fixing it regardless, but how would the simple addition of "$$v" do that?
Another thing that may not related, but seems odd, is that it looks like some of the metadata itself is being affected by the translator (looked at the raw page from other languages too). Is that normal?


Is this also available as a mixin / global plugin?

It would be nice to be able to do something like this:
{
  mixins: [ globalEvents({ ... }) ]
}

Or even:
{
  events: {
    ...
  }
}

It feels a bit weird doing this in the view.

Thanks for the he proposal but this doesn't align with current implementation, which is declarative and based on templates to use vue generated code for event modifiers and such. If used outside of the template we loose the most important part of it

to use vue generated code for event modifiers and such

Fair point!


Jax Error only when TPU-enabled runtime selected

I'm getting the following error, but only when I have a TPU in my runtime.
It works fine without a TPU or with a GPU hardware accelerator
RuntimeError                              Traceback (most recent call last)
 in <cell line: 12>()
10 import cartopy.crs as ccrs
11 from google.cloud import storage
---> 12 from graphcast import autoregressive
13 from graphcast import casting
14 from graphcast import checkpoint
7 frames
/usr/local/lib/python3.10/dist-packages/jax/_src/lib/init.py in check_jaxlib_version(jax_version, jaxlib_version, minimum_jaxlib_version)
61     msg = (f'jaxlib is version {jaxlib_version}, but this version '
62            f'of jax requires version >= {minimum_jaxlib_version}.')
---> 63     raise RuntimeError(msg)
64
65   if _jaxlib_version > _jax_version:
RuntimeError: jaxlib is version 0.3.25, but this version of jax requires version >= 0.4.19.

just update your jaxlib version

Hello,
I believe running the following in a cell should fix this issue:
!pip install --upgrade jaxlib !pip install --upgrade chex
It appears the version of chex being pointed to is deprecated...
I hope this helps!


⚠ Economy API Endpoint has degraded performance

In da14b02, Economy API Endpoint (https://economy.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 2688 ms

Resolved: Economy API Endpoint performance has improved in d5ae348.


Add E_TIMEOUT_OR_DUPLICATE

I signed it!

Coverage remained the same at 92.486% when pulling 83011a7440c32d6b7839a8202bfa80a5a69bb9e0 on ciamarro:master into 9c17232e45d02e864e94bbc80d1dd346f1f7105e on google:master.

@ciamarro this adds a new error constant but doesn't make use of it anywhere. What's your use case / requirement here? Thanks!

Hi @rowan-m,
I was using this library for a Laravel validation rule.
It was actually one of the errors returned in $resp->getErrorCodes();
I guess my token timed out.
use ReCaptcha\ReCaptcha as GoogleRecaptcha;
//...
protected $errors;

if ($resp->isSuccess()) {
	//...
} else {
	$this->errors = $resp->getErrorCodes();
}

I was planning on writing the errors that weren't threshold related to an error Log and I noticed the only error that I couldn't catch was the "duplicate-or-timeout".  So basically it would be something like this:
$log = [];

if (in_array(GoogleRecaptcha::E_INVALID_JSON, $this->errors)) {
  $log[] = "invalid JSON";
}

if (in_array(GoogleRecaptcha::E_CONNECTION_FAILED, $this->errors)) {
  $log[] = "connection failed";
}

if (in_array(GoogleRecaptcha::E_BAD_RESPONSE, $this->errors)) {
  $log[] = 'bad-response';
}

if (in_array(GoogleRecaptcha::E_UNKNOWN_ERROR, $this->errors)) {
  $log[] = 'unknown-error';
}

if (in_array(GoogleRecaptcha::E_MISSING_INPUT_RESPONSE, $this->errors)) {
  $log[] = 'missing-input-response';
}

if (in_array(GoogleRecaptcha::E_HOSTNAME_MISMATCH, $this->errors)) {
  $log[] = 'hostname-mismatch';
}

if (in_array(GoogleRecaptcha::E_APK_PACKAGE_NAME_MISMATCH, $this->errors)) {
  $log[] = 'apk_package_name-mismatch';
}

if (in_array(GoogleRecaptcha::E_ACTION_MISMATCH, $this->errors)) {
  $log[] = 'action-mismatch';
}

if (in_array(GoogleRecaptcha::E_SCORE_THRESHOLD_NOT_MET, $this->errors)) {
  $log[] = 'score-threshold-not-met';
}

if (in_array(GoogleRecaptcha::E_CHALLENGE_TIMEOUT, $this->errors)) {
  $log[] = 'challenge-timeout';
}

if (in_array(GoogleRecaptcha::E_TIMEOUT_OR_DUPLICATE, $this->errors)) {
  $log[] = 'timeout-or-duplicate';
}

$this->writeToSomeLog($log);

Thanks for your time!

@ciamarro Why closing this PR?
I find this helpful, at least to document error code.


scaleTargetRef on metadata annotation

Proposal

I would like to propose the ability to specify metadata or metadata.annotations within the scaleTargetRef field in KEDA. This would allow users to add metadata or annotations directly to the target resource being scaled, enhancing flexibility and control in custom configurations and integrations.

Use-Case
This feature would be particularly useful when the same scaling rule applies to multiple deployments with different names. Having a metadata field would enable KEDA to trigger scaling based on shared metadata across these deployments, without relying solely on the deployment name.
Is this a feature you are interested in implementing yourself?
No
Anything else?
No response

This seems related to https://github.com/kedacore/keda/issues/4188 - contrary to a regex, having labels or metadata annotations seems like a more controlled way to control what gets picked up right?

yes, it is the same idea


refactor(e2e): add validateExpectedBundleInstance function for aggregating code

Summary
Adding a new function aimed at simplifying the process of checking BI statuses.

/hold fixing linting and e2e errors


[master] Remove dnnl_ops-inl.h file

This PR removes dnnl_ops-inl.h file which was holding often redundant declarations.


Scaling Modifiers: cast to float internally and add tests

Cast to float internally with ScalingModifiers formula to prevent wrong return value

[x] wrap formula in float cast

Add more unit tests for scaling modifiers

[x] webhook tests
[x] internal test update

/run-e2e internal

/run-e2e internal

/run-e2e internal


Update on typo in docs Composition Animations

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


File path in console output does not hyperlink to file when running in docker

Is there a way to change the file path to a relative path?
For example in the error:
ERROR(vue-tsc)  Property 'props' does not exist on type 'never'.
FILE  /srv/app/client/src/components/component.vue:78:54

my docker container moves the app files to /srv/app. Can /srv/app be excluded from this file path?

What will tsc show in this case?

Expected output should be:
ERROR(vue-tsc)  Property 'props' does not exist on type 'never'.
FILE  file:////home/austin/PycharmProjects/project/client/src/components/component.vue:78:54

This seems to be the behavior of tsc, vue-tsc is just a wrapper of tsc, so we can't change it.


Welcome message

Please use the correct branding - homescreen branding (now it is the main branding and not correct)

Please give a follow up message after submitting the phone number in "contact us" as following:
Please change emailadress in welcomemessage<EMAIL_ADDRESS>into<EMAIL_ADDRESS>for Dutch and<EMAIL_ADDRESS>for other languages.
Beste,
bedankt voor uw interesse.
Wij hebben uw informatie goed ontvangen.
Wij zullen u eerstdaags contacteren.
Mvg,
Onze-Stad-App-Team
Rogerthat-knop

Hi,
Can we have a ETC of this issue so we can update.
Else If the issue is resolved please put the state_resolved label and close the issue.
Thanks!

not relevant anymore. signup procedure is changed


Add a way to reoder components in the Preview

[ ] Should use drag and drop
[ ] Enable components dropping in the Preview directly


[Feature] C++-style stdout and stderr handling

First of all, thank you for all your work!
Is your feature request related to a problem? Please describe.
Currently, the only way to set stdout and stderr handling is through the C-style API using pkpy_set_output_handler or by setting _stdout directly to a lambda function. However, this lambda function does not allow captures, so it cannot be redirected to a class function, such as:
class PythonVM : public VM {
    PocketVM() : VM() {
        // This won't work because the [=] does not match the PrintFunc signature:
        _stdout = [=](const char* text, int length) {
            this->print(text, length);
        }
    }

    virtual print(const char*, int) = 0;
}

Describe the solution you'd like
I would like to ask (and also be happy to implement) either way to override stdout_write (make it a virtual function) or a way to specify capture variables for the callback.
Describe alternatives you've considered
I could try to bind stdout, stderr to my functions, but that wouldn't take care of exception logging as that is using stdout_write directly.

Thank you @blueloveTH !


import and build go-spacemesh as a library for another project (testground)

Description
We want to test go-spacemesh within a testing framework like testground, one of the main features of this framework is you can just import your module and access it from a go-code like the was a unit test, this gives a lot of power in a distributed network.
Changes
we need to create a dockerfile or a make command that enables importing go-spacemesh using go get within a docker.
preferably we will be able to do this with live code from a local repo or a remote branch.
Notes
this became a little bit harder since we introduced cgo and gpu-post..

@y0sher to be closed?

Pretty much done but not merged so we can close..


Questionnaires in footers

In V1, any polls/surveys in their respective index page also appear as footers.
In V2, footers are a specific page type that is basically the same as articles, thus by default we cannot have questionnaires as footers.
The easiest would be to replicate the behavior from V1 by making any questionnaire that is in the poll/survey/quiz index page appear as a footer (which also makes them appear as featured content on the homepage).
However, it might make more sense to decouple homepage featured content and footer content by treating footers like a special version of featured content: Thus a footer would be a page reference (which could be an article, section or questionnaire), and in the homepage a list of such page references is specified as footers.
@cbunicef

To clarify just a bit on index page / homepage behavior:
In V1 polls in their index page are embedded on the homepage
In V1 surveys in their index page are embedded on the homepage if "Direct Display of Question" (name?) is checked
This causes some problems, eg if you would like a poll to be in footers across the site then it must also be embedded on the homepage.
I don't like making Poll/Survey/Quiz index page equal to adding to the footer - it doesn't make sense when we also have a Footers index page.
If it's possible, this makes the most sense to me:

Homepage

Sections (Sections Index Page)
Footers (Section)

[Here users can add Article, Polls, Quiz, Survey, possible Footer Pages]

Banners (Banners Index Page)

Is the Footer Page type actually different than the Article Page type? From the Admin Panel side they seem the same.
For the Homepage, embedding Polls/Surveys/Quizzes can be done via "Home Feature Content" Content Blocks which already exist.


Extract surefire reports and process integration test status

Description:
After running integration tests, we need to parse through surefire reports and identity the integration test statuses and feed them to Testgrid database.

Suggested Labels:
New feature, Priority High

Suggested Assignees:

Affected Product Version:
m31
OS, DB, other environment details and versions:
N/A
Steps to reproduce:
N/A
Related Issues:
#817

Fixed via https://github.com/wso2/testgrid/pull/829


Uncaught ReferenceError: Connect is not defined

Please provide more details about the issue

The issue seems to be rectified, once I uninstalled the app and reinstalled
it it worked.
On Thu, Feb 17, 2022, 20:12 Ekeh Wisdom @.***> wrote:

Please provide more details about the issue
—
Reply to this email directly, view it on GitHub
https://github.com/wiseminds/mono-flutter/issues/3#issuecomment-1043318949,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADLU7HTMRET33TIENG25RHLU3VCBNANCNFSM5OUYG67Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Ok that is great to hear

Thank you!
On Thu, Feb 17, 2022 at 10:34 PM Ekeh Wisdom @.***>
wrote:

Ok that is great to hear
—
Reply to this email directly, view it on GitHub
https://github.com/wiseminds/mono-flutter/issues/3#issuecomment-1043471378,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADLU7HSUW7K27NQP5CHL2DTU3VSXJANCNFSM5OUYG67Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>


New Logo/Icon Proposal

Good day sir. I am a graphic designer and i am interested in designing a logo for your good project. I will be doing it as a gift for free. I just need your permission first before I begin my design. Hoping for your positive feedback. Thanks

hi sir. how about this offer? are you interested ?


[Card] Stop Event propagation to CardActionArea

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
When I click on the three dots, the menu shows up along with a ripple effect on the card. And, on clicking on any menu item, the CardActionArea event fires
Expected behavior 🤔
When I click on the three dots, the menu should shows up without a ripple effect on the card. And, on clicking on any menu item, the CardActionArea event should not fire
Steps to reproduce 🕹
https://codesandbox.io/s/cardactionarea-9sdc2l
Context 🔦
No response
Your environment 🌎
No response

@oliviertassinari This issue has already been closed in #32064


Infinite causes mouse wheel zoom in/out to not work

I have a very basic example below:
 cytoscape.use(springy);
    var cy = cytoscape({
      container: document.getElementById('graph_container'),
      elements: [
        { data: { id: 'a' } },
        { data: { id: 'b' } },
        {
          data: {
            id: 'ab',
            source: 'a',
            target: 'b'
          }
        }
      ],
      style: [
        {
          selector: 'node',
          style: {
            'width': '50',
            'height': '50',
            'label': 'data(id)',
            'text-valign': 'center'
          }
        }
      ]
    });
    for (var i = 0; i < 10; i++) {
      cy.add({
        data: { id: 'node' + i }
      });
      var source = 'node' + i;
      cy.add({
        data: {
          id: 'edge' + i,
          source: source,
          target: i % 2 === 0 ? 'a' : 'b'
        }
      });
    }
    cy.layout({
      name: 'springy',
      infinite: true
    }).run();

When trying to zoom in/out with the mouse wheel, the view/camera does zoom for what seems like one frame, but is reset to the default zoom immediately after. I assume this is because the continuous update of the simulation resets it. Is this not bad behavior?
The same issue occurs with cytoscape.js-cola.

I just noticed that the fit option defaults to true, which would mean it would probably override the user pan/zoom. I haven't tested it, but setting that to false, and any other option that might collide with user pan/zoom, will probably fix it. If it doesn't, another issue can be opened to fix the layout plugin or the core (as I see nothing in the universe preventing the layout engine from being used to "untangle" the nodes and letting the core zoom/pan functions have full control over the camera).


Update kernels to include fix for btf_struct_resolve

Bump kernel versions so that we have the fix I made to BTF loading, see https://github.com/torvalds/linux/commit/a37a32583e282d8d815e22add29bc1e91e19951a
As usual, some LTS versions have broken selftests.

5.19.17 has the fix we need, but doesn't compile.


Question regarding object decoding

Hi,
Thanks for your efforts in developing this code and your blog posts! It is much appreciated.
I am using your code in one of my forensics projects for extracting conversation artefacts from an Electron-based communication platform. While the enumeration works incredible reliable, I have the impression that the record.value are not fully decoded.
My response looks like this right now:
b'!\xff\x13\xff\ro"\x0econversationId"[19:54dd27a7-fbb0-4bf0-8208-a4b31a578a3f_e62b7cec-7379-4d6f-aed7-24b48be68a74@unq.gbl.spaces"\x0fparentMessageId"\r1622368092916"\x08messageso"@4235357803446472000,8:orgid:e62b7cec-7379-4d6f-aed7-24b48be68a74o"\x0bmessagetype"\rRichText/Html"\x0bcontenttype"\x04text"\x07content"6
To Sherlock Holmes she is always the woman.
"\rrenderContent"6
To Sherlock Holmes she is always the woman.
"\x0fclientmessageid"\x134235357803446472000"\ramsreferencesA\x00$\x00\x00"\rimdisplayname"\x08Jane Doe"\npropertieso{\x00"\x02id"\r1622368092916"\x04type"\x07Message"\nsequenceIdI\x04"\x0bmessageKind"\x11skypeMessageLocal"\x0bcomposetime"\x1c2021-05-30T09:48:12.9160000Z"\x13originalarrivaltime"\x1c2021-05-30T09:48:12.9160000Z"\x11clientArrivalTime"\x182021-05-30T10:08:31.218Z"\x10conversationLink"\x9b\x01https://uk.ng.msg.teams.microsoft.com/v1/users/ME/conversations/19:54dd27a7-fbb0-4bf0-8208-a4b31a578a3f_e62b7cec-7379-4d6f-aed7-24b48be68a74@unq.gbl.spaces"\x04from"ghttps://uk.ng.msg.teams.microsoft.com/v1/users/ME/contacts/8:orgid:e62b7cec-7379-4d6f-aed7-24b48be68a74"\x06sourceI\x02"\x07idUnion"\x134235357803446472000"\x0econversationId"[19:54dd27a7-fbb0-4bf0-8208-a4b31a578a3f_e62b7cec-7379-4d6f-aed7-24b48be68a74@unq.gbl.spaces"\rversionNumberN\x00@/\xc8\xca\x9bwB"\x07version"\r1622368092916"\x13messageStorageStateI\x02"\x15isActionExecuteUpdateF"\x1d_conversationIdMessageIdUnion"i19:54dd27a7-fbb0-4bf0-8208-a4b31a578a3f_e62b7cec-7379-4d6f-aed7-24b48be68a74@unq.gbl.spaces_1622368092916"\x0fparentMessageId"\r1622368092916"\x0bcreatedTimeN\x00<EMAIL_ADDRESS>Doe"\tgivenName"\x08Jane Doe"\x08objectId"$e62b7cec-7379-4d6f-aed7-24b48be68a74"\x04type"\x06person{\x06"\x08isFromMeT"\x0euserHasStarredF"\x1creplyChainLatestDeliveryTimeN\x00@/\xc8\xca\x9bwB"\x05stateI\x04"\x11notificationLevelI\x02"\x08mentionsA\x00$\x00\x00"\nhyperLinksA\x00$\x00\x00"\x0battachmentsA\x00$\x00\x00"\x19inputExtensionAttachmentsA\x00$\x00\x00"\x15trimmedMessageContent"+To Sherlock Holmes she is always the woman."\x1bmessageContentContainsImage0"\x1bmessageContentContainsVideoF"\x0bisSanitizedT"\x1aisPlainTextConvertedToHtmlT"\x16isRichContentProcessedT" isRichMessagePropertiesProcessedT"&isRenderContentWithGiphyDisplayEnabledT"\risForceDeleteF"\x16isSfBGroupConversationF"\x11messageLayoutTypeI\x00"\x0ccallDurationI\x00"\x14callParticipantsMrisA\x00$\x00\x00"\x16cachedDeduplicationKey"?8:orgid:e62b7cec-7379-4d6f-aed7-24b48be68a744235357803446472000"\x19cachedOriginalArrivalTime"\x1c2021-05-30T09:48:12.9160000Z"\x1ccachedOriginalArrivalTimeUtcN\x00@/\xc8\xca\x9bwB"\x0e_callRecording0"\x0f_callTranscript0"\x0f_meetingObjects0"\x15callParticipantsCountI\x01"\t_pinStateo"\x08isPinnedF{\x01{;{\x01"\x0cisInsideChat"\x04true"\x12latestDeliveryTime"\x100001622368092916{\x05'

From your blog post  I took away that each of the recurring tags, such as " or { give an indication for the data that follows and their data types. I am now wondering if this object encoding has already been implemented or if I did something wrong?
Currently, I am working around this issue by splitting the record's value based on the "-character and ignoring the first byte after the split. While this works in most cases, it does not seem ideal, as it fails if a record contains a nested json array.
Please let me know if you need any additional details. I would be willing to share my test leveldb, as it contains only staged entries and nothing secretive.

Can you provide an example of the code you're using that generates this result? Is the input data indexeddb or just a "generic" leveldb?

@cclgroupltd Thanks for your swift response. The (simplified) code I am using looks like this:
import click

from pathlib import Path
from ccl_chrome_indexeddb import ccl_leveldb

def read_input(filepath):
    # Do some basic error handling
    if not filepath.endswith('leveldb'):
        raise Exception('Expected a leveldb folder. Path: {}'.format(filepath))

    p = Path(filepath)
    if not p.exists():
        raise Exception('Given file path does not exists. Path: {}'.format(filepath))

    if not p.is_dir():
        raise Exception('Given file path is not a folder. Path: {}'.format(filepath))

    parse_db(filepath)

def parse_db(filepath):
    try:
        db = ccl_leveldb.RawLevelDb(filepath)
    except Exception as e:
        print(f' - Could not open {filepath} as LevelDB; {e}')

    try:
        for record in db.iterate_records_raw():
            # Ignore empty records
            print(record.value)
            print("*"*20)
    except ValueError:
        print(f'Exception reading LevelDB: ValueError')
    except Exception as e:
        print(f'Exception reading LevelDB: {e}')
    # Close the database
    db.close()

@click.command()
@click.option('--filepath', '-f', required=True,
              help="Path to the IndexedDB")

def cli(filepath):
    read_input(filepath)

if __name__ == '__main__':
    cli()

Note: The f parameter will be the path to the IndexedDB, such as:
C:\Temp\https_teams.microsoft.com_0.indexeddb.leveldb
Yes, the data I am passing to the script is an IndexedDB and not one of the generic ones, with out the IndexedDB prefix.

So it looks like you're using the raw access to leveldb here rather than the indexeddb functionality which is why it's no decoding. I would suggest looking at the "Using the Modules" section in the readme: https://github.com/cclgroupltd/ccl_chrome_indexeddb#using-the-modules


Add the prefix "Bearer " to the Authorization header

Resolves #6

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: cfryanr
To complete the pull request process, please assign
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.

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

@googlebot I signed it!

/lgtm


Create prototype WHOIS Nagios plugin to monitor domain expiration dates

While closing out some tabs earlier, I found these two repos:

https://github.com/likexian/whois
https://github.com/likexian/whois-parser

A quick prototype build suggests that using both of these packages will provide the desired functionality.
Some other resources to take another look at:

https://github.com/c1982/ripego
https://github.com/undiabler/golang-whois

Prototype is mostly feature complete on a private branch. I plan to clean it up and merge it in tomorrow AM. The goal is to follow shortly after with other changes slated for an initial v0.1.0 release.


Release 0.16.0

let's try to get a release out before the US winter holidays. I'll update here with changes after I make the release branch.

Fyi, I'll be picking this up again this weekend.

#1313 is a blocker

I created the staging branch for 0.16.0. Here's the change summary, by my reading, since 0.15.0.
core changes

Allow configuration of field names via fieldnameprefix property (#117)
JDK 8 or 11 should be used, we no longer test JDK9 or JDK10 (#1253)
Improvements to some internal byte iterators (notably Strings) (#1112)
Correct configuration of exponential distribution in the Core workloads (#1260)

added bindings

ElasticSearch 5 REST client (#1231)
Azure Cosmos DB (#1264 #1298 #1300)
Postgres NoSQL (#1242)
Apache Crail (incubating) (#1266)
Table Store from Alibaba Cloud (#1286)
Toshiba GridDB (#1258)

updated bindings

Compat for MongoDB 4 (#1217)
JDBC adds multi-row inserts (#1220)
OrientDB updated to version 2.2.37 (#1256)
memcached fixes a logic error where individual fields would not get checked (#1153)
Apache Cassandra can optionally use SSL to connect to the cluster (#1294)
Apache HBase add documentation for using client side buffering (#1283)
Apache Ignite version upgraded (#1270)
Google Cloud Bigtable client upgraded (#1293)
Cloud Spanner client upgraded (#1293)
AsyncHBase client upgrade (#1255)

removed bindings

Azure Document DB has been removed (#1295)

Release candidate 1 is up:
https://github.com/brianfrankcooper/YCSB/releases/tag/0.16.0-RC1
As a reminder, testing a given binding should at a minimum run through a load and a run phase. Ideally, one should go through the recommended sequence of workload steps from the "Running the workloads" section of the Core Workloads documentation.

known issue for mongodb-async #1314

checked field name prefix configuration on OS X using the basic binding. worked fine for bin/ycsb but looks like #908 is still an issue.

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/htrace/core/Tracer$Builder
	at com.yahoo.ycsb.Client.getTracer(Client.java:455)
	at com.yahoo.ycsb.Client.main(Client.java:304)
Caused by: java.lang.ClassNotFoundException: org.apache.htrace.core.Tracer$Builder
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 2 more
 (might take a few minutes for large data sets)

huh. an issue if running ycsb.sh after running ycsb. I'll put up a PR. probably this has been broken since 0.13.0.

created patch https://github.com/brianfrankcooper/YCSB/pull/1335 to fix jdbc/README.md format issue from https://github.com/brianfrankcooper/YCSB/pull/1220

#1335 is merged now, I need to cherry-pick it back to the 0.16.0 staging branch still

Assuming the changes needed to publish to Maven Central (#1340) land on the master branch I'm going to just publish 0.16.0 as a "not vetted" release, as we did for 0.13.0. That means we'll need to make sure the stuff listed above gets checked for the 0.17.0 release.

also #1335 is on the 0.16.0-staging branch.

release posted: https://github.com/brianfrankcooper/YCSB/releases/tag/0.16.0


Renaming of parameters

Hi,
In http://xgboost.readthedocs.io/en/latest/parameter.html I saw that several parameters have been renamed, e.g., num_rounds instead of nrounds.
Suggestion: You might also think of renaming nthread to num_thread(s) to be consistend. Just wanted to mention this now in order to avoid that nthread will be renamed later in an other version again. Parameter renamings are always a bit frustrating for other users/developers.
Thx.

Old proposition, no answer. Closing


Please add support for SMIL animations

Please add support for SVG SMIL animations, like those used by the Viber app:
http://www.tbyrne.org/viber-animated-svgs

This is beyond the scope of this project.


[BSP only] ScalaModule with RootModule fails on Scala 3

// build.sc
import mill._, scalalib._

object root extends RootModule with ScalaModule {
  def scalaVersion = "3.3.0"
}

Only when using BSP, Metals output gives this output:
[27/33] enablePluginScalacOptions.super.mill.scalalib.ScalaModule.enablePluginScalacOptions | Downloading [2/2] artifacts (~0/0 bytes)
1 targets failed
enablePluginScalacOptions.super.mill.scalalib.ScalaModule.enablePluginScalacOptions
Resolution failed for 1 modules:
--------------------------------------------
  com.lihaoyi:scalac-mill-moduledefs-plugin_3.3.0:0.10.9
        not found: /Users/lorenzo/.ivy2/local/com.lihaoyi/scalac-mill-moduledefs-plugin_3.3.0/0.10.9/ivys/ivy.xml
        not found: https://repo1.maven.org/maven2/com/lihaoyi/scalac-mill-moduledefs-plugin_3.3.0/0.10.9/scalac-mill-moduledefs-plugin_3.3.0-0.10.9.pom

--------------------------------------------

For additional information on library dependencies, see the docs at
https://mill-build.com/mill/Library_Dependencies.html

It is trying to download the scalac plugin for scala 3.
Does it mean that you can only have RootModules for Scala versions that are supported in the Mill build?
EDIT: RootModule with ScalaModule supports Scala 3 but BSP doesn't work correctly.

It is trying to download the scalac plugin for scala 3. Does it mean that you can only have RootModules for Scala versions that are supported in the Mill build?

This is the only option that makes sense. The root module is supposed to be loaded into the Mill classpath. It's the same with all Mill plugins.
Technically, we could support writing plugins and extension in other (compatible) Scala versions, but defining targets currently involves macros which only work for Scala 2.13, so we're not there yet.

I don't think that's quite right. The MillBuildRootModule in the mill-build/build.sc is loaded in the Mill classpath and all, the RootModule in build.sc is just another module you can call targets on un-prefixed. It should not be pulling in Mill dependencies. It shouldn't even need to be a ScalaModule at all

FWIW, I just tested this in the Mill repo
lihaoyi mill$ git diff
diff --git a/example/basic/1-simple-scala/build.sc b/example/basic/1-simple-scala/build.sc
index e2b35765e9..3d8b51fbbc 100644
--- a/example/basic/1-simple-scala/build.sc
+++ b/example/basic/1-simple-scala/build.sc
@@ -2,10 +2,10 @@
 import mill._, scalalib._

 object foo extends RootModule with ScalaModule {
-  def scalaVersion = "2.13.11"
+  def scalaVersion = "3.3.0"
   def ivyDeps = Agg(
-    ivy"com.lihaoyi::scalatags:0.8.2",
-    ivy"com.lihaoyi::mainargs:0.4.0"
+    ivy"com.lihaoyi::scalatags:0.12.0",
+    ivy"com.lihaoyi::mainargs:0.5.0"
   )

   object test extends ScalaTests {

lihaoyi mill$ ./mill -i dev.run example/basic/1-simple-scala run --text hello
[1605/1605] dev.run
[info] compiling 1 Scala source to /Users/lihaoyi/Github/mill/example/basic/1-simple-scala/out/mill-build/compile.dest/classes ...
[info] done compiling
[info] compiling 1 Scala source to /Users/lihaoyi/Github/mill/example/basic/1-simple-scala/out/compile.dest/classes ...
[warn] there was 1 deprecation warning; re-run with -deprecation for details
[warn] one warning found
[info] done compiling

hello

I don't think that's quite right. The MillBuildRootModule in the mill-build/build.sc is loaded in the Mill classpath and all, the RootModule in build.sc is just another module you can call targets on un-prefixed. It should not be pulling in Mill dependencies. It shouldn't even need to be a ScalaModule at all, and if the snippet given above fails that's definitely a bug

Yeah, you're right. I mixed up MillBuildRootModule with RootModule.

You are both right. I can't reproduce on Mill CLI.
I noticed that this happens only when using BSP. So something is not right in BSP only.

I stumbled upon this today myself, and for me, if I make the module extend RootModule, and then I try to do mill compile or mill run from the CLI, that also fails with the same error as originally stated.

@KaranAhlawat can you minimize a repro so we can investigate it?

It seems to have mysteriously fixed itself... Sorry for the unnecessary noise

I've seen the same behaviour. It's somewhat intermittent.

I have some suspicion, since I currently try to adapt GenIdea to the new bootstrap process. It's unvalidated, but maybe we should check it. It could be, we sometimes use the wrong evaluator when evaluating tasks. E.g. in BSP, we search for all root modules and transitively collect other modules, then we only keep them for later resolution of sources, resources and classpaths. But depending on the root module, we need to use different evaluators (evaluator configs, e.g. root directory, classpath, etc.). I'm not sure this is always the case.

Huh ok. I'm not sure what's happening, but perhaps the bootstrapping logic is putting in the wrong out folder path? Could be happening in either the BSP code path or CLI code path.
I suspect it's the BSP logic, because that would explain why i havent seen this: I'm still mostly using GenIdea

Take it with a grain of salt. I ran into this when trying to integrate the bootstrapping into GenIdea. I'm still in the middle of it. It could be, that it is better handled in BSP, but whoever tackles that issue, should validate this, as it might lead to hard-to-debug issues.

I'm seeing the same problem and  I can provide an example to try out on your machines.
Metals is reporting the following:
2023.07.03 14:24:26 ERROR Mill command failed: /home/me/projects/scala/zio-scalafx/.metals/millw --mill-version 0.11.1 --import ivy:com.lihaoyi::mill-contrib-bloop: mill.contrib.Bloop/install
Download here: https://www.filemail.com/d/dpxqhpmmbuuppbx [File will be available for 7 days only.]

I think that's a Metals thing. It's using the wrong command. See Metal's #5376.

FYI: Just upgrade Metals: Server Version for the example project to latest 0.11.12+161-977d53e3-SNAPSHOT and I see different output but same result. Here is the Metals log.
2023.07.04 07:57:55 INFO  [info] compiling 1 Scala source to /home/me/projects/scala/zio-scalafx/out/mill-build/compile.dest/classes ...
2023.07.04 07:58:00 INFO  [info] done compiling
2023.07.04 07:58:00 INFO  1 targets failed
2023.07.04 07:58:00 INFO  resolvedIvyDeps Failed to load dependencies
2023.07.04 07:58:00 INFO    not found: https://repo1.maven.org/maven2/org/openjfx/javafx-base/20/javafx-base-20-${javafx.platform}.jar
2023.07.04 07:58:00 INFO    not found: https://repo1.maven.org/maven2/org/openjfx/javafx-controls/20/javafx-controls-20-${javafx.platform}.jar
2023.07.04 07:58:00 INFO    not found: https://repo1.maven.org/maven2/org/openjfx/javafx-fxml/20/javafx-fxml-20-${javafx.platform}.jar
2023.07.04 07:58:00 INFO    not found: https://repo1.maven.org/maven2/org/openjfx/javafx-graphics/20/javafx-graphics-20-${javafx.platform}.jar
2023.07.04 07:58:00 INFO    not found: https://repo1.maven.org/maven2/org/openjfx/javafx-media/20/javafx-media-20-${javafx.platform}.jar
2023.07.04 07:58:00 INFO    not found: https://repo1.maven.org/maven2/org/openjfx/javafx-swing/20/javafx-swing-20-${javafx.platform}.jar
2023.07.04 07:58:00 INFO    not found: https://repo1.maven.org/maven2/org/openjfx/javafx-web/20/javafx-web-20-${javafx.platform}.jar
2023.07.04 07:58:01 INFO  time: ran 'mill bloopInstall' in 9.93s
2023.07.04 07:58:01 ERROR Mill command failed: /home/me/projects/scala/zio-scalafx/.metals/millw --mill-version 0.11.1 --import ivy:com.lihaoyi::mill-contrib-bloop: mill.contrib.bloop.Bloop/install

Could be indeed a Metals problem but it seems to work with SBT.

FYI: Just upgrade Metals: Server Version for the example project to latest 0.11.12+161-977d53e3-SNAPSHOT and I see different output but same result. Here is the Metals log.
2023.07.04 07:57:55 INFO  [info] compiling 1 Scala source to /home/me/projects/scala/zio-scalafx/out/mill-build/compile.dest/classes ...
2023.07.04 07:58:00 INFO  [info] done compiling
2023.07.04 07:58:00 INFO  1 targets failed
2023.07.04 07:58:00 INFO  resolvedIvyDeps Failed to load dependencies
2023.07.04 07:58:00 INFO    not found: https://repo1.maven.org/maven2/org/openjfx/javafx-base/20/javafx-base-20-${javafx.platform}.jar
2023.07.04 07:58:00 INFO    not found: https://repo1.maven.org/maven2/org/openjfx/javafx-controls/20/javafx-controls-20-${javafx.platform}.jar
2023.07.04 07:58:00 INFO    not found: https://repo1.maven.org/maven2/org/openjfx/javafx-fxml/20/javafx-fxml-20-${javafx.platform}.jar
2023.07.04 07:58:00 INFO    not found: https://repo1.maven.org/maven2/org/openjfx/javafx-graphics/20/javafx-graphics-20-${javafx.platform}.jar
2023.07.04 07:58:00 INFO    not found: https://repo1.maven.org/maven2/org/openjfx/javafx-media/20/javafx-media-20-${javafx.platform}.jar
2023.07.04 07:58:00 INFO    not found: https://repo1.maven.org/maven2/org/openjfx/javafx-swing/20/javafx-swing-20-${javafx.platform}.jar
2023.07.04 07:58:00 INFO    not found: https://repo1.maven.org/maven2/org/openjfx/javafx-web/20/javafx-web-20-${javafx.platform}.jar
2023.07.04 07:58:01 INFO  time: ran 'mill bloopInstall' in 9.93s
2023.07.04 07:58:01 ERROR Mill command failed: /home/me/projects/scala/zio-scalafx/.metals/millw --mill-version 0.11.1 --import ivy:com.lihaoyi::mill-contrib-bloop: mill.contrib.bloop.Bloop/install

Could be indeed a Metals problem but it seems to work with SBT.

This looks like something completely different to me. Also, this issue is about mill.bsp.BSP, whereas your issue involves mill.contrib.bloop, which is not using Mill's BSP server at all.
Can you please open a separate issue?

@lefou Sure. See #2649

FWIW I am seeing this on a blank project with this build.sc:
import mill._, scalalib._

object main extends RootModule with ScalaModule {
  def scalaVersion = "3.3.0"
}

and running
$ ./millw mill.bsp.BSP/install
$ ./millw run

I can't reproduce. Here's my output:
08:36:21 ⌁ lefou:/tmp $ mkdir mill-bsp
08:36:24 ⌁ lefou:/tmp $ cd mill-bsp/
08:36:27 ⌁ lefou:/tmp/mill-bsp $ nano build.sc
08:36:36 ⌁ lefou:/tmp/mill-bsp 7s $ mill mill.bsp.BSP/install
No mill version specified.
You should provide a version via '.mill-version' file or --mill-version option.
Retrieving latest mill version ...
Using mill version 0.11.1
[build.sc] [41/49] compile
[info] compiling 1 Scala source to /tmp/mill-bsp/out/mill-build/compile.dest/classes ...
[info] done compiling
[2/2] mill.bsp.BSP.install
Creating BSP connection file: /tmp/mill-bsp/.bsp/mill-bsp.json
08:37:21 ⌁ θ64° lefou:/tmp/mill-bsp 17s $ mill run
No mill version specified.
You should provide a version via '.mill-version' file or --mill-version option.
Using mill version 0.11.1
[36/48] finalMainClass
1 targets failed
finalMainClass No main class specified or found
08:37:30 ⌁ lefou:/tmp/mill-bsp 3s 1 $

The error message means there is no main class defined, which is expected and happens after resolution.
@nornagon Can you provide your output?

Ugh, strange, it doesn't reliably reproduce. I guess something must have been different the first time through 🤔

Oof, yeah, turns out like the other folks in this thread, I can't reliably reproduce this :(


User groups

Set default groups for a created user. Currently no groups are being set.

Manjaro Pinephone default groups: wheel,sys,audio,input,video,storage,lp,network,users,power,rfkill

Added this as a script to pico-wizard-plamo-scripts manjaro package


feature request - move development discussion to Gitter

Since development is done on GitHub, I suggest using https://gitter.im/home/ as a discussion platform. It's very similar to Slack but without the limits on the number of users or messages. The Jupyter project is very active there and Daru has a "room" there as well (https://gitter.im/v0dro/daru). Like Slack, it offers a great platform for developers and users to communicate in real-time. A room could be created for each SciRuby repo or more if needed.

@MatthewSteen Agree. There is already existing room for SciRuby/nmatrix .

BTW the Search in Gitter sucks. It just doesn't find things unless you include multiple matching words at a time.
Since the 2017 the Github Discussions appeared -- they are more informative for people who see the project the first and just want to take a look about questions and problems discussed.

BTW the Search in Gitter sucks. It just doesn't find things unless you include multiple matching words at a time.
Since the 2017 the Github Discussions appeared -- they are more informative for people who see the project the first and just want to take a look about questions and problems discussed.

@Nakilon thanks for the Gitter feedback. However, I don't see Discussions here. Perhaps the owners have to enable it.

Perhaps the owners have to enable it

Yes, it is in the repo settings.

We actually moved to freenode+matrix. But now freenode has had a hostile takeover we don't really have a space. Let me create a matrix room. Matrix rocks :). I created a public room #sciruby:matrix.org. Feel free to join.
You may use https://matrix.to/#/!MLbAvCRTMqzQaCzjvJ:matrix.org?via=matrix.org

There is no evidence of a "hostile takeover". People are running to Libera away from their own demons in heads that don't like that someone is Korean )

You can find us on matrix or IRC libera.chat #sciruby.


Remove Seed and SeedAsync

ISeed and ISeedAsync are helped by Seed and SeedAsync to allow the developer to stack SeedGroup with non-groups easily. Removing Seed and SeedAsync will make this more difficult

This has been cancelled


Error when removing monitor object from BIG-IP

Problem:
time="2018-07-30T22:58:56Z" level=info msg="Removing a monitor from the F5" monitor=ingress_auto2_nginx_http thread=F5
time="2018-07-30T22:58:56Z" level=error msg="Found unexpected URI tmapi_mapper/ltm/monitor//~k8s-auto-ny2~ingress_auto2_nginx_http."
To reproduce:
Create a new Ingress, then delete it.

Fixed in commit 1a6c5c8c47d5018a1bc602892382e728d005a681
The MonitorType field was empty after f5.GetMonitor() returns.  This caused the later call to DeleteMonitor to pass an empty string to the monitorType, and the go-bigip library constructed a malformed URL.
I call GetMonitor/Pool/VirtualServer/etc after adding/changing an object to pull back and cache all fields, even those that we didn't specifically set and are now populated with defaults.
It seems when grabbing an individual monitor this field isn't set.  This isn't seen when pulling the full list of monitors.  I'm not sure if this is a timing issue, where the F5 takes a moment to set the field after POSTing, or an omission when fetching an individual object - a test would be to pull back the whole list and look.
I've worked around this by overriding the MonitorType returned by GetMonitor - since this is called from addOrChangeMonitor(), we have the value handy to set it correctly.


feat: add lipophilicity dataset

See issue https://github.com/OpenBioML/chemnlp/issues/22.

@kjappelbaum Do you know how I can write the bibtex string to the meta.yaml so it does pass the check, because with the current setup the notebook here and in the freesolv dir will produce a meta.yaml that will not pass the checks.

i think freesolv passed the check? I'll give it a look in a sec

yes, freesolv passed, but it wouldn't when you would recreate the meta.yaml based on the notebook.


Version update

Added .NET 8 support
Added .NET Framework 4.5.2 support

Note: Even though this branch name is v1.2.3, the version will be v2.0.0.


Chore: bump version to v0.4.0

@devigned Do we want to follow the runtimeclass and shim binary versioning scheme described in https://github.com/deislabs/containerd-wasm-shims/pull/16?

@devigned Do we want to follow the runtimeclass and shim binary versioning scheme described in #16?

Remind me. Did we determine that existing workloads will not run with the latest versions of the shims?

Also reminds me to get the #16 updated and merged. I'll do that today.

@devigned Do we want to follow the runtimeclass and shim binary versioning scheme described in #16?

Remind me. Did we determine that existing workloads will not run with the latest versions of the shims?

I believe the existing slight workloads will not run with the v0.4.0 slight shim. The reason for that is we renamed http to http-server to accomondate the addition of htto-client capability.


Querying location form closet to furthest

Hello, I'm kind of a beginner in the flutter realm of things so I'm a bit confused on how to use the `getDataInArea(..);'
Stream<List<Mosque>> observeGeoMosques({double lat, double lon, double radius}) {
return getDataInArea(
    area: Area(GeoPoint(lat, lon), radius),
    source: this.mosquesCollection, // Main collection
    locationFieldNameInDB: 'address.geopoint', // The geopoint values are inside a map called address
    mapper: (doc) {
      return Mosque().transform(key: doc.documentID, map: doc.data); // Returns the model
      });
}

How I'm calling it:
APIs().mosquesAPI.observeGeoMosques(lat: p.latitude, lon: p.longitude, radius: 10).listen(
    (mosques) {
        setState(() {
            if (!mounted) return;
            this._mosques = mosques; // works but in random and out of order.
        });
    });

When the radius is like 1 km it's getting a document that's in actuality around 7 km away, but when I enter 10 for the radius then it gets the documents but not from closest to furthest, or so I think. Not sure how it's outputting values. Is there a way to order it by closest to furthest and limit the query?
** The radius is set to 10, so the first result shouldn't be showing
my results:

Sorry, after looking at your example carefully I was able to figure it out! Thanks, great work on this!


Create cmake.yml

this is looking good .. Do we know why is this failing ? https://github.com/Quicr/new-libquicr/actions/runs/4139775656/jobs/7157840674#step:5:20

Yes, there is an issue with the logger being passed to transport layer in the tests that can sometimes randomly seeg fault or throw an exception. Sometimes it doesn't happen. We can comment or the test right now to make the build pass but Tim knows where the issue is.

There is a potential random failure in one of the tests caused by an incomplete destructor in transport. There is a ticket out for this and a fix is being implemented: https://github.com/Quicr/transport/issues/19


empty search on csv export to return an empty hash

We never specified the behavior if a search is made in order to export items but there are no items.  If there were items, I'd return an export uuid like this:
{"export": {"uuid": <some uuid>}}
If there are no items to export as a result of a search, I return this, for now (can re-visit post Jan 9):
{"export": {}}
@baileymatthewr

@jtprince : I just added https://github.com/DobaTech/thanos-api-docs/pull/54 for this specifically


Remove White Spaces and extra lines from the JSP files

The changes enables the compiler to remove excess white spaces and new lines from the JSP files & thus reduce the JVM metadata.

@ChristopherSchultz  Are there any updates on this ?

Why tag me, specifically?
This seems fragile. The <pre> tag-handling looks like it will only work if all the text is in the same text block. That's probably only going to be true in some very special cases.
Adding this configuration should be done via a JSPServlet <init-param> and not a system property.

I can remove this optimization for the pre tag, so pre tags are untouched.

#351 Opened after re-work. Closing this PR.


Experimental support for exponentiation operator

Proposal: https://github.com/rwaldron/exponentiation-operator
Is now at stage 3: https://github.com/tc39/ecma262
Depends on gh-2601

The ** operator is in the es2016 draft (https://tc39.github.io/ecma262/#sec-exp-operator). Should it be implemented under esversion: 7/2016?

This is now a standard: does anyone wants to implement this or can I do it?

I'm on it. We just need to get a patch release out before we can accept new features in master.

Will this be included in a patch anytime soon? Asking with respect but issue is still open after quite a long time.

Good news, @sok0: we implemented support for the exponentiation operator in gh-3060 and released it in JSHint version 2.10.0. If you're using that version or later, you can enable it by setting the esversion option to 7 (or later). This issue's "open" status is a error of omission on my part. Rectifying that now.


Move away from html2canvas?

Although the latest solution to the svg rendering issue has some promise, I'm concerned about the accuracy of the produced svgs (aspect ratios appear off?) and the potential for unsupported CSS properties to impact this and other elements.  http://html2canvas.hertzen.com/faq.html
Considering that html2Canvas is in alpha and we want to move ember-cli-visual-acceptance into use with production software, I would propose that we move back to image captures using the phantom or casper.

https://github.com/ciena-blueplanet/ember-cli-visual-acceptance/pull/42


Don't format links

The format_links filter hangs indefinitely for some text strings.  Disabling it until it's fixed.

http://looks-good-👍 .php

Closing as I have a proper fix for the bug now.


Delete dead badge

Sorry for the bothering, but it looks like your homepage(README) badge is down due to PR, if this action is not used anymore, I think we should delete it?

Thanks!


Drop traffic from docker0 bridge to weave bridge

Fixes #620, as discussed in comments there.  All smoke tests still pass.

Hang on, need to amend the smoke test to check that this actually works

OK, have extended the smoke test - had to kludge the exec_on thing a bit to get the negation in the right place.

Why is the kludge necessary? Would wrapping in a sh -c execution do the trick?

Alternatively, assert_raises "exec_on  $HOST1 $@" 1 should work. No need to create a helper function for it, since there is just one call site.

Except once you've rebased from master there will be three call sites, so an exec_on1_fail would probably still be a good idea.

Hmm, there's a problem with both your existing exec_on1_n and my proposed exec_on1_fail - they can fail (and hence report success) for entirely the wrong reasons. That's why I went for the 'negate the result of the specific test we expect to fail' approach elsewhere. So perhaps a sh -c is the way to go after all.

Changed to sh -c and rebased

Annularized

I've just a) committed a change for simplicity and consistency.


Value transfer did not complete from a contract execution reverted

When a Down target was hit and I performed a buying action, the terminal showed:
Last Trade result: Bought 0.023 BNB of HERO
Tx : https://bscscan.com/tx/0x0effeea37e83046f2332a476058a34c43c1f83b57e859dd105ed65f9ec46de08
Error message on Bscscan:
value transfer did not complete, most likely as a result of a revert opcode
Refresh bscscan page after a few seconds, error message changed to:
value transfer did not complete from a contract execution reverted

You will have to synchronize your wallet and then you debug it with bech13


[extractor/bilibili] Fix path "/audio/auxxxxx" download return 403

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[x] Read adding new extractor tutorial
[x] Read youtube-dl coding conventions and adjusted the code to meet them
[x] Covered the code with tests (note that PRs without tests will be REJECTED)
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
need "referer" header when download path such as "/audio/au1003142".
related issue.

Thanks for your work!


Error in addition of dask dataframe and array when reading from parquet

Describe the issue:
I have encountered a very particular set of circumstances in my workflow that causes an error when adding a dask DataFrame to a dask Array that are derived from the same data that has been read from parquet.
Minimal Complete Verifiable Example:
import math
import numpy as np
import pandas as pd
import dask.dataframe as dd
from dask.distributed import Client, LocalCluster

cluster = LocalCluster()
client = Client(cluster)

# Generate dask Dataframe and save to parquet
df = pd.DataFrame(np.random.random((100,3)), columns=['x','y','z'])
ddf = dd.from_pandas(df, npartitions=100)
ddf.to_parquet('/path/to/data')

# Load data from parquet
ddf_loaded = dd.read_parquet('/path/to/data')
ddf_sub = ddf_loaded[['x','y']]                # Error only occurs if a subset of the columns are selected
ddf_sub.columns = [0,1]                        # Error only occurs if columns have been renamed
sub_array = ddf_sub.to_dask_array()            # sub_array only has 50 chunks instead of 100 like ddf_sub
ddf_persisted = client.persist(ddf_sub)        # converting ddf_persisted to dask array will have 100 chunks
(ddf_persisted+sub_array).compute()            # Error only occurs if ddf_sub is persisted, ddf_sub+sub_array works

Generates the following error:
ValueError                                Traceback (most recent call last)
Cell In[4], line 24
     20 dask_sub_array = ddf_sub.to_dask_array()
     21 ddf_persisted = client.persist(ddf_sub)
---> 22 (ddf_persisted+dask_sub_array).compute()

File [~/miniconda3/envs/dask/lib/python3.11/site-packages/dask_expr/_collection.py:162](http://localhost:8888/lab/tree/test/miniconda3/envs/dask/lib/python3.11/site-packages/dask_expr/_collection.py#line=161), in _wrap_expr_op(self, other, op)
    160     other = other.expr
    161 elif isinstance(other, da.Array):
--> 162     other = from_dask_array(
    163         other, index=self.index.to_legacy_dataframe(), columns=self.columns
    164     )
    165     if self.ndim == 1 and len(self.columns):
    166         other = other[self.columns[0]]

File [~/miniconda3/envs/dask/lib/python3.11/site-packages/dask_expr/_collection.py:5098](http://localhost:8888/lab/tree/test/miniconda3/envs/dask/lib/python3.11/site-packages/dask_expr/_collection.py#line=5097), in from_dask_array(x, columns, index, meta)
   5096 if columns is not None and isinstance(columns, list) and not len(columns):
   5097     columns = None
-> 5098 df = from_dask_array(x, columns=columns, index=index, meta=meta)
   5099 return from_legacy_dataframe(df, optimize=True)

File [~/miniconda3/envs/dask/lib/python3.11/site-packages/dask/dataframe/io/io.py:448](http://localhost:8888/lab/tree/test/miniconda3/envs/dask/lib/python3.11/site-packages/dask/dataframe/io/io.py#line=447), in from_dask_array(x, columns, index, meta)
    443 if index.npartitions != x.numblocks[0]:
    444     msg = (
    445         "The index and array have different numbers of blocks. "
    446         "({} != {})".format(index.npartitions, x.numblocks[0])
    447     )
--> 448     raise ValueError(msg)
    449 divisions = index.divisions
    450 graph_dependencies.append(index)

ValueError: The index and array have different numbers of blocks. (100 != 50)

Environment:

Dask version:  2024.8.0
Python version: 3.11.8
Operating System: Ubuntu 22.04
Install method (conda, pip, source): conda

Thanks for your report. parquet automatically reorders the number of partitions, round tripping through arrays is currently not what I would advise to do. You can set optimize=False in the to_dask_array call to make this error go awayy

Thank you for your reply, the  optimize flag seems to be missing from the API documentation for to_dask_array. The issue in my workflow actually arises because I apply a function using map_partitions to ddf_sub that returns an array. I can coerce the function return to a pandas dataframe so that the output of map_partitions is a dask dataframe with the same number of partitions, but leaving it natively as an array gave better performance - perhaps simply because the number of partitions was being optimized. I will either convert to a dask array with optimize=False and use map_blocks or return a pandas dataframe in map_partitions going forward. Feel free to close with any additional tips or best practices you wish to add, and thanks again for resolving my issue.

Thanks for the context, that helps me understand this better.
not calling persist would also fix stuff btw, the optimizer will then take both branches into account and will return the same number of partitions for both


fix(csp): add optimizely for csp errors in production

Targets a patch to the backup/master, Imports the changes from https://github.com/FreeCodeCamp/FreeCodeCamp/commit/59a0788dfa1d05ad7eda5b3346822ce2c70ec360

[x] Tested changes locally.
[x] Closes #11917

This commit fixes the issues with optimizely scripts and bring the
file in sync with the staging.

code LGTM


How does pyod export a trained model

How does pyod export a trained model and use the pre-trained model directly in the next time?

to my knowledge, pickle works. there are people reporting that is working in some other issues :)


Feature/devsync initial

devsync functionality used by aldryn control panel.
Functionality relies on two main environment variables CMSCLOUD_SYNC_KEY  and LIVE_RELOAD_CREDENTIAL_URL. Without these, this app will not do anything.
The main operations are:
Add file - Used by desktop app/online editor to add file to remote fs
Delete file - Used by desktop app/online editor to delete file from remote fs
Run command - Used by desktop app to run necessary sass compilation commands
Will do proper version bump once this is merged

lgtm. @czpython did you test the syncing from the online editor or the electron-client?

@stefanfoulis I tested all endpoints with online editor, was unable to get the electron client working with localdev


Bump peerDependencies

Otherwise we end up throwing if someone installed bs-platform prior to installing rescript-react

I'd like to do a publish after this


#22686 check replace/insert methods existing before data transfer

Please check the following:

[x] the case from the ticket
[x] point 2 - using the replace or insert method during the DT in any supported database (expected result - it is still working)
[x] using data transfer right after point 2 in any not supported database (like Sybase) - expected result - data transfer works ok

Verified


Inaccurate Cursor Pointer Display on Selected Filter in Inventory Rule

Expected behavior
The cursor should either stay default or signify that the filter card is not clickable, as there's no action associated with clicking it.
Steps to reproduce the issue
Login the application using valid credentials.
Open any run and then get inside routing to see the rules.
Select a filter to apply to the inventory rule.
Hover the cursor over the selected filter card to observe the issue.
Environment details
App version: MAIN-E3C8C75
App environment: Dev
Additional information
https://jam.dev/c/a70cb599-79ae-485c-b379-e4c7068a2de6

I guess what we're trying to say here is that items in the filter card for inventory are clickable because of the click action attached to them. In my experience when adding the proximity option, clicking the item some times results in the select being triggered and other times nothing happens.


copr: Time use deterministic fsp_tt while type == Date

Signed-off-by: TennyZhuang<EMAIL_ADDRESS>
What have you changed?
While type of Time is Date, fsp_tt field 0b1110 instead of 0b111x, so that we can obtain deterministic time memory layout.
Don't assume reviewers understand the original issue.
What is the type of the changes?

Engineering (engineering change which doesn't change any feature or fix any issue)

How is the PR tested?

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Refer to a related PR or issue link (optional)
Related to pingcap/tidb#14191

@iosmanthus PTAL

@sre-bot /test

/merge

/merge

/merge

/test

/merge


createEventHandler should accept a function as an argument

When a FORM element submit event occurs, you need to return false and call event.preventDefault(). Otherwise the form will attempt to submit the form in the background before processing other event subscribers.
The FuncSubject from https://github.com/fdecampredon/rx-react allows developers to define an immediate callback, which allows developers to prevent form submission. I'll can create a pull-request with the change.
Great work on this project, and your work in react-rx-component. Quite a beautiful way to build components.

Sure, a PR would be greatly appreciated :)

Yeah after thinking about this, not sure why it's needed after all. Do you really need to return false to prevent a form from submitting? You can just do e.preventDefault(), right?

https://github.com/acdlite/recompose/pull/100#issuecomment-189455025

See https://github.com/acdlite/recompose/pull/100#


Git commits should include some kind of description other than "Add Files Via Upload"

For a better understanding of changes done to project files, new features and bug fixes, a proper commit message should be attached to every change made in the repository.
Thank you in advance

Apologies - I will do it going forward, first person to ever point it out!

With pleasure.
Thank you for the great work!
On Tue, Jul 20, 2021, 19:16 Nick Brown @.***> wrote:

Apologies - I will do it going forward, first person to ever point it out!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nbrown02/FlowViz/issues/37#issuecomment-883520645,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVXHMXEOPWRRZPLBEEG3W3TYWOMRANCNFSM5AV36LPQ
.

And my latest one followed your advice :)

Glad to hear it!
On Tue, Jul 20, 2021, 22:26 Nick Brown @.***> wrote:

And my latest one followed your advice :)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/nbrown02/FlowViz/issues/37#issuecomment-883638289,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVXHMUZNKTN4OKG4B3CD23TYXEXDANCNFSM5AV36LPQ
.


Stream cached chunked responses as soon as they are downloaded from upstream

Describe the feature you'd like to add to nginx
Extend ngx_http_proxy_module to send chunks of chunked responses (HTTP 1.1 Chunked Transfer Encoding, HTTP 2.0 DATA frames) received from upstream as soon as they become available, or after a short timeout. Currently this requires proxy_buffering to be disabled, i.e. it doesn't work with caching enabled. With proxy_buffering enabled nginx buffers the entire response in cache before serving it to clients.
Describe the problem this feature solves
This would make nginx feasible for use as a cache in front of servers that serve video in Low Latency DASH (LL-DASH) and similar formats, which leverage CTE or HTTP/2 streaming to achieve low latency video serving.

The issue is not about Stream module despite the name, please change it to avoid confusion.
nginx does not deliberately delay the proxy response. It can be delayed by client not reading out the response fast enough, limit_rate settings or a filter in the filter chain. When caching is enabled, there's no buffer limit at all since at any moment the response can be dumped to the cache file to free the buffers.
What you probably mean, is when a response is being cached by one client, another client cannot access it until the entire response is cached. This indeed may be a problem for streaming with MPEG-DASH. This can be somewhat mitigated by using slice module, but a perfect solution does not yet exist.

It seems that my original test was broken, I'm even not even sure where. Sorry for that...
I will update issue title and description with a fixed version, but please verify whether the description below makes sense now.
New title: Allow proxy_cache_lock to work on chunk level
nginx has some limitations that make caching of low latency video in e.g. Low Latency DASH format infeasible. This streaming format uses video data divided into small segment files of eg. 8 seconds that consist of a few 0.5-2 second chunks. These files are served using HTTP 1.1 Chunked Transfer Encoding or HTTP 2.0 DATA frames, so that proxies can easily recognize chunk boundary and forward it to clients as soon as possible.
Without proxy_cache_lock data from upstream is correctly streamed to clients, but then, when a response is being cached by one client, another clients cannot access it until the entire response is cached.
This would work better if proxy_cache_lock would allow for transferring a finished chunk to all connected clients. Then nginx would introduce a streaming delay of one chunk.


feat: multiline Text literals

Some discussion here: https://github.com/dfinity/motoko/discussions/3939
This PR extends the current Text literal to allow multiline. It does not enable interpolation as Text is implemented using ropes under the hood, which already has fast appends.
Example:
"here is a

multiline
text value"

Some other solution for nicely expressing json, html, xml and other similar structures are being considered (aside from using Text with interpolation), but that is outside the scope of this PR.

Would there be any downsides to (also) allowing newlines in the existing "..." syntax?

Yeah, I'm also a bit confused what the added value of this syntax is over just allowing newlines in regular text literals.
An extra value of a secondary string literal syntax might be that it allows picking custom delimiters, which helps avoiding any escaping inside the string.

Yes I think that's a reasonable approach. I will modify the syntax.

Apologies this took forever

Quick question: I guess these are now also covered:

actor "multiline"
`"multiline" : Blob

warn if it spans more than one line

Yep, and probably actor "multiline" ... too


Upate base-image

Would be more nice to have a newer base-image but we run into troubles with images like debian-bookworm  or newer versions of neurdebian (either we are not being able to install packages with neurodocker using arguments like --fsl version=6.0.4, or we are stuck in user surveys where we cannot set "yes" or "no"). See also these comments.

Is the user-survey bug already reported to the neurodocker folks?

Oops, wrong repo


Content: Heap

Add the article for Heap. The basic layout for the article should be:

What is Heap?
Explanation for Heap
Algorithmic Steps
Code (Use C++/Java and Python; At least two languages should be present and pick up code from NeoAlgo with apt credits to author)
Sample I/O
Time & Space Complexity

This article should be between 500-700 words in length. You should use traditional Markdown to prepare the content and the use of external images is prohibited. You can however create your own images. Run a proper Grammarly Lint check before submitting the PR.

I would like to contribute to this. Can you please assign it to me?

I would like to work on this issue, if it is still available.
@bhav09 @gat786 @iamrajiv Kindly assign me to this under gssoc21.
Thank you :)


some users are getting Failed to load resource net::ERR_CERT_COMMON_NAME_INVALID for MSAL CDN

Please follow the issue template below. Failure to do so will result in a delay in answering your question.

Library

[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>
Important: Please fill in your exact version number above, e.g<EMAIL_ADDRESS>Framework
Description
https://alcdn.msftauth.net/lib/1.3.1/js/msal.js is not loading some users . whe user opne the url, it is saying "your connection is not provate"
Error Message
Failed to load resource net::ERR_CERT_COMMON_NAME_INVALID
Security

[ ] Is this issue security related?

Regression

[ ] Did this behavior work before?
Version:

MSAL Configuration
// Provide configuration values here.
// For Azure B2C issues, please include your policies.

Reproduction steps
// Provide relevant code snippets here.
// For Azure B2C issues, please include your policies.

Expected behavior
Browsers/Environment

[ ] Chrome
[ ] Edge

@skyovi Can you provide any additional information? Do these users have anything in common (e.g. browser, OS, networking setup, etc.)?

@jasonnutter one user reported this issue and she also mentioned that her colleagues also facing issues.
Windows 10
Browser: Chrome and Edge
I have also asked her to contact their IT administrator if anti-virus/firewall causing this issue

@skyovi do you have any updates on this issue? We've been unable to reproduce this. Thanks.

@technical-boy  This is happening for all the users in her company.  We also had a screen sharing with the user and found that the https traffic is intercepted and replacing with certificate issued to (alcdn.msftauth.net) with some other certificate.  I have suggested to check with their IT administrator if any policy is blocking the MSAL cdn link .
Meantime, we have added the MSAL library to our application to unblock the users.

@skyovi thanks for the follow up! Closing because it seems this is not an issue with the MSAL CDN.


Fix Typo and reduce label text.

Delete button didn't work. So I fix the typo and bug.
And as label in my notebook is too long, I shortened it.

Apologies for the delayed merge and thank you for this contribution @fx-kirin!