Attempting to upgrade ansible with pip results in a segfault

Your Windows build number:  Microsoft Windows [Version 10.0.19028.1]
What I'm attempting to do? Upgrade ansible to the latest release, in WSL - Ubuntu-18.04
➜  ~ pip3 install --upgrade ansible
Collecting ansible
Collecting cryptography (from ansible)
Using cached https://files.pythonhosted.org/packages/45/73/d18a8884de8bffdcda475728008b5b13be7fbef40a2acc81a0d5d524175d/cryptography-2.8-cp34-abi3-manylinux1_x86_64.whl
Collecting PyYAML (from ansible)
Collecting jinja2 (from ansible)
Using cached https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl
Collecting six>=1.4.1 (from cryptography->ansible)
Using cached https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl
Collecting cffi!=1.11.3,>=1.8 (from cryptography->ansible)
Using cached https://files.pythonhosted.org/packages/49/72/0d42f94fe94afa8030350c26e9d787219f3f008ec9bf6b86c66532b29236/cffi-1.13.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting MarkupSafe>=0.23 (from jinja2->ansible)
Using cached https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography->ansible)
Installing collected packages: six, pycparser, cffi, cryptography, PyYAML, MarkupSafe, jinja2, ansible
Successfully installed MarkupSafe-1.1.1 PyYAML-5.1.2 ansible-2.9.1 cffi-1.13.2 cryptography-2.8 jinja2-2.10.3 pycparser-2.19 six-1.13.0
[1]    348 segmentation fault  pip3 install --upgrade ansible

What's wrong / what should be happening instead: I should be able to upgrade ansible via pip, and no segfault occur.

Strace of the failing command, if applicable:  (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).

I have run an strace, and the resulting output is 50MB. When trying to create a gist for it, the site times out. it's over 521K lines. I put the text file in my OneDrive. https://1drv.ms/u/s!ApEXGJp7Ipuxk6VuHyJRU40vozTV8A?e=WUB9Xc

So I did this in an an attempt to reproduce:

sudo apt-get install python3-pip
pip3 install pip --upgrade
then ran into this issue https://github.com/pypa/pip/issues/5447#issuecomment-408849802 fixed with sudo python3 -m pip uninstall pip && sudo apt install python3-pip --reinstall
pip3 install ansible

Resulting in:
Installing collected packages: PyYAML, pycparser, cffi, six, cryptography, MarkupSafe, jinja2, ansible
Successfully installed MarkupSafe-1.1.1 PyYAML-5.1.2 ansible-2.9.1 cffi-1.13.2 cryptography-2.8 jinja2-2.10.3 pycparser-2.19 six-1.13.0

How do you have pip/pip3 configured?

I had simply installed it with apt, like you did.
apt -y install python3-pip

Microsoft Windows [Version 10.0.19028.1]

Assume we're talking WSL2 here. In which case this thread is likely going to converge linux userspace behavior.

I have run an strace, and the resulting output is 50MB. When trying to create a gist for it, the site times out. it's over 521K lines.

Anything north of the string "Successfully installed MarkupSafe-1.1.1" can be deleted from the trace (which will probably be most of it). You could in principle fire it up under gdb and grab the backtrace; although this is sometimes a nontrivial exercise. Both data points might get more eyeballs in a Python forum. That segv is going to be deep down in a Python wrapper, most likely.

ref this and this. Which might or might not point to cause/solution (probably not).  But the latter does point to some debug strategies.


Determine release workflow

Since I no longer have push rights to this repo and there is a PR that is nearing completion, we should figure out a workflow for pushing new releases. My proposal is:

Use foundry for git commit, git tag, git push, git push --tags, and npm publish as was done originally

To make this straightforward, we can encapsulate it in a release.sh (e.g. ./release.sh 1.1.0)
https://github.com/twolfson/foundry

I am open to submitting PRs that include documentation and CHANGELOG updates if someone is alright with running ./release.sh to publish it

/cc @Raynos @mlmorg

Any word on this? PR #15 is more/less ready and we should get this sorted out =/

Sounds reasonable. I'm also happy to update the changelog too. We'll need to update the npm collaborators.

Yea, definitely. I will take a look at adding a PR for this workflow by the end of this weekend. Who should I update the collaborators to?


Add handlers test cases

Created test cases for apiserver/handlers

Can one of the admins verify this patch?

ok to test


”Stoenești” is listed in the drop-down menu

Description:
"Stoenești" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Stoenești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Stoenești, GIURGIU".


The old repo URL should redirect to the new repo URL

https://github.com/adamamer20/mesa-frames should automatically redirect to https://github.com/projectmesa/mesa-frames. I have seen in the past that this is doable. Currently, my open tabs show HTTP 404 due to the issues, discussions, and pull requests are transferred to this repo.

https://github.com/adamamer20/mesa-frames should automatically redirect to https://github.com/projectmesa/mesa-frames. I have seen in the past that this is doable. Currently, my open tabs show HTTP 404 due to the issues, discussions, and pull requests are transferred to this repo.

Redirection used to work. The problem is that I forked the projectmesa repository on my account I think. I'll delete the fork.


gps: fix panic for gopkgin's implicit v0

What does this do / why do we need it?
When v0 is requested, and there are no semver branches/tags, fallback to the master branch.
See http://labix.org/gopkg.in#VersionZero
What should your reviewer look out for in this PR?
Nope.
Do you need help or clarification on anything?
Nope.
Which issue(s) does this PR fix?
Fixes #933
Fixes #776

I opened #1244 for the AppVeyor failure, it may be a flakey test. I don't seem to be able to restart builds anymore on AppVeyor to test out that theory though.

I have updated the logic to use the default branch returned from ListVersions, and tweaked my test repo to not have have a master branch.

I've rebased for great goodness.


Update State Compare Tool for P6

Task description
Update state compare tool to support protocol version 6.
Sub-tasks

[ ] subtask 1
[ ] subtask 2
[ ] subtask 3

Add label for component and priority.

This has been completed in #77


Custom interval slider

Suggested by Ans. I'm too tired to explain this rn, will do so later

nvm


[Errno 13] Permission denied: '/home/user/.config/PandasProfiling'

Unable to debug what this issue could be
[Errno 13] Permission denied: '/home/user/.config/PandasProfiling'
Not sure what this is

Can you provide a minimum reproducible result?

Hi guys,
is there any update on this situation?
We get this error:
Traceback (most recent call last):
File "", line 3, in
File "/tmp/conda-2ba635df-06ea-417e-ab82-07affb4e2ace/real/envs/conda-env/lib/python3.6/site-packages/pandas_profiling/init.py", line 21, in
from pandas_profiling.config import config
File "/tmp/conda-2ba635df-06ea-417e-ab82-07affb4e2ace/real/envs/conda-env/lib/python3.6/site-packages/pandas_profiling/config.py", line 64, in
config = Config()
File "/tmp/conda-2ba635df-06ea-417e-ab82-07affb4e2ace/real/envs/conda-env/lib/python3.6/site-packages/pandas_profiling/config.py", line 20, in init
self.config = confuse.Configuration("PandasProfiling", name)
File "/tmp/conda-2ba635df-06ea-417e-ab82-07affb4e2ace/real/envs/conda-env/lib/python3.6/site-packages/confuse.py", line 912, in init
self.read()
File "/tmp/conda-2ba635df-06ea-417e-ab82-07affb4e2ace/real/envs/conda-env/lib/python3.6/site-packages/confuse.py", line 948, in read
self._add_user_source()
File "/tmp/conda-2ba635df-06ea-417e-ab82-07affb4e2ace/real/envs/conda-env/lib/python3.6/site-packages/confuse.py", line 926, in _add_user_source
filename = self.user_config_path()
File "/tmp/conda-2ba635df-06ea-417e-ab82-07affb4e2ace/real/envs/conda-env/lib/python3.6/site-packages/confuse.py", line 919, in user_config_path
return os.path.join(self.config_dir(), CONFIG_FILENAME)
File "/tmp/conda-2ba635df-06ea-417e-ab82-07affb4e2ace/real/envs/conda-env/lib/python3.6/site-packages/confuse.py", line 985, in config_dir
os.makedirs(appdir)
File "/tmp/conda-2ba635df-06ea-417e-ab82-07affb4e2ace/real/envs/conda-env/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/tmp/conda-2ba635df-06ea-417e-ab82-07affb4e2ace/real/envs/conda-env/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/.config'
We work in a distributed cluster without have access to the filesystem. At the moment we use the last version that works for us that is 1.4.2. Could you please investigate and provide us another workaround?
Thanks

@Praneeshjai @lsidoro91 Is either of you in the position to test whether https://github.com/pandas-profiling/pandas-profiling/pull/405 resolves the issue?

@sbrugman I believe I have a similar issue that I just encountered when trying to run the profiling via AWS Glue Python Shell:
Traceback (most recent call last):
  File "/tmp/runscript.py", line 118, in <module>
    runpy.run_path(temp_file_path, run_name='__main__')
  File "/usr/local/lib/python3.6/runpy.py", line 263, in run_path
    pkg_name=pkg_name, script_name=fname)
  File "/usr/local/lib/python3.6/runpy.py", line 96, in _run_module_code
    mod_name, mod_spec, pkg_name, script_name)
  File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmp/glue-python-scripts-3gf4wz2w/csv_profiler.py", line 9, in <module>
  File "/glue/lib/installation/pandas_profiling/__init__.py", line 15, in <module>
    from pandas_profiling.model.messages import MessageType
  File "/glue/lib/installation/pandas_profiling/model/messages.py", line 12, in <module>
    from pandas_profiling.model.correlations import perform_check_correlation
  File "/glue/lib/installation/pandas_profiling/model/correlations.py", line 15, in <module>
    from pandas_profiling.config import config
  File "/glue/lib/installation/pandas_profiling/config.py", line 70, in <module>
    config = Config()
  File "/glue/lib/installation/pandas_profiling/config.py", line 20, in __init__
    self.config = confuse.Configuration("PandasProfiling", __name__)
  File "/glue/lib/installation/confuse.py", line 912, in __init__
    self.read()
  File "/glue/lib/installation/confuse.py", line 948, in read
    self._add_user_source()
  File "/glue/lib/installation/confuse.py", line 926, in _add_user_source
    filename = self.user_config_path()
  File "/glue/lib/installation/confuse.py", line 919, in user_config_path
    return os.path.join(self.config_dir(), CONFIG_FILENAME)
  File "/glue/lib/installation/confuse.py", line 985, in config_dir
    os.makedirs(appdir)
  File "/usr/local/lib/python3.6/os.py", line 210, in makedirs
    makedirs(head, mode, exist_ok)
  File "/usr/local/lib/python3.6/os.py", line 220, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.config'

I'm happy to try the fix if you can release a beta version to PyPI as Glue installs dependencies via setup.py.

@mlevit As @sbrugman  mentioned in https://github.com/beetbox/confuse/issues/70 rebuilding https://pypi.org/project/pandas-profiling/2.4.0/#files (.whl file) with read=False in config.py seems to work. Tested this on AWS Glue python shell (python3).

Great to hear @SudheerBondada. Does that mean the change can be merged @sbrugman ?

Thanks for the feedback guys. v2.6.0 contains the fix.


Library does not export include directory (needs bump of minimum CMake version to 3.0)

If it is possible to bump minimum CMake version 3.0, then it would be useful to have Easylogging++ to export its include directory via using target_include_directories( easyloggingpp PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include ) instead of plain include_directories. This makes usage of the library easier (no need to specify include directory in end-user project), especially in cases where several sub-projects in the same tree need to use Easylogging++, and also is in line with the current best practices from CMake.

Please feel free to create PR (from develop branch) i will accept it.

Done (#646)


change 'drop table' to 'drop temporary table'.

This allows amberdb_ro to make amber queries.
@scoen

It will break the tests – h2 doesn’t support it. Will need to include alternate code
From: Aaron Muller <notifications<EMAIL_ADDRESS>Reply-To: nla/amberdb <reply<EMAIL_ADDRESS>Date: Monday, 2 February 2015 1:06 pm
To: nla/amberdb <amberdb<EMAIL_ADDRESS>Cc: Shaun Coen <scoen<EMAIL_ADDRESS>Subject: [amberdb] change 'drop table' to 'drop temporary table'. (#270)
This allows amberdb_ro to make amber queries.
@scoenhttps://github.com/scoen

You can view, comment on, or merge this pull request online at:
https://github.com/nla/amberdb/pull/270
Commit Summary

change 'drop table' to 'drop temporary table'.

File Changes

M README.mdhttps://github.com/nla/amberdb/pull/270/files#diff-0 (2)
M pom.xmlhttps://github.com/nla/amberdb/pull/270/files#diff-1 (2)
M src/amberdb/graph/AmberEdgeQuery.javahttps://github.com/nla/amberdb/pull/270/files#diff-2 (4)
M src/amberdb/graph/AmberMultipartQuery.javahttps://github.com/nla/amberdb/pull/270/files#diff-3 (4)
M src/amberdb/graph/AmberQuery.javahttps://github.com/nla/amberdb/pull/270/files#diff-4 (4)
M src/amberdb/graph/AmberVertexQuery.javahttps://github.com/nla/amberdb/pull/270/files#diff-5 (2)
M src/amberdb/version/TransactionQuery.javahttps://github.com/nla/amberdb/pull/270/files#diff-6 (10)
M src/amberdb/version/VersionQuery.javahttps://github.com/nla/amberdb/pull/270/files#diff-7 (4)

Patch Links:

https://github.com/nla/amberdb/pull/270.patch
https://github.com/nla/amberdb/pull/270.diff

—
Reply to this email directly or view it on GitHubhttps://github.com/nla/amberdb/pull/270.


Turn ARTDevicePushDetails.state into an enum

According to PCP4 and the documentation for the "get details from a registered device" REST API operation, this property can only take one of three values: active, failing, failed.
(There’s a discrepancy between the two documents – failed is missing in one of them – which we should resolve before working on this. See https://github.com/ably/specification/issues/24.)
┆Issue is synchronized with this Jira Task by Unito

As stated here this would require an input from the backend team.


ci: add github action

Using very_good_workflows and pubviz.

This parsing error is documented here and here.

This is from times long gone. Closing.


RippleCalc deletes funded offers thinking they are unfunded

https://github.com/ripple/rippled/blob/develop/src/ripple_app/paths/RippleCalc.cpp#L2287-L2314

This is fixed in both the new and old payment code.


Opt-in for MFA requirement

Pupular gems with 180M+ downloads implicitly requires that all privileged operations by any of the owners require OTP.
At the moment of this commit, rufus-scheduler has 109M+ downloads, so this commit makes the gem more secure by requiring that all privileged operations by any of the owners require OTP.
Also, by explicitly setting rubygems_mfa_required metadata, the gem will show "NEW VERSIONS REQUIRE MFA" and "VERSION PUBLISHED WITH MFA" in the sidebar at https://github.com/jmettraux/rufus-scheduler
Ref:

https://blog.rubygems.org/2022/08/15/requiring-mfa-on-popular-gems.html
https://guides.rubygems.org/mfa-requirement-opt-in/

Thanks again!


Introduce type-based linking of requests and replies

This ensures that PollClient::request always matches the correct Request and Reply
This patch also fixes https://github.com/trussed-dev/trussed/issues/84 and replaces the From that used unreachable_unchecked with TryFrom.
The main additions are the traits:
pub trait RequestData: Into<Request> + TryFrom<Request, Error = crate::Error> {
    type CorrespondingReply: ReplyData<CorrespondingRequest = Self>;
}

pub trait ReplyData: Into<Reply> + TryFrom<Reply, Error = crate::Error> {
    type CorrespondingRequest: RequestData<CorrespondingReply = Self>;
}

And PollClient's request becomes
// old
fn request<T: From<Reply>>(&mut self, req: impl Into<Request>) -> ClientResult<'_, T, Self>;
 // new
fn request<Rq: RequestData>(
      &mut self,
      req: Rq,
) -> ClientResult<'_, Rq::CorrespondingReply, Self>;

This also showed that the reply type for the RemoveDir was incorrect (it returned RemoveDirAll) which actually triggered UB is mentionned in #84

I wonder if this checking could also be used on the backend side.

What do you think about dropping the Corresponding prefix?  Would be a bit easier to read.

It gets confusing to have multiple types named Request and Reply, but I agree it is a bit verbose. I initially added it because as I was dealing with the errors that came with the refactor it was confusing.
I removed it in79ccc04f8e07905ea5e9f9c02a04363158b114f7

I generally agree, but for associated types I think re-using existing names is fine (e. g. TryFrom::Error).

This is super cool, it always bugged me that these types were not matched on a type level.


After the latest VS Code update (1.94.0) vscode-textmate is no longer found by my extension

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.94.0 (user setup)
OS Version: Windows 11 Pro 64-bit 23H2 (OS Build 22631.4249)

Steps to Reproduce:

Update VS Code (also VS Code Insiders) to the latest version.
Install Blockman extension if it is not already installed.
See the activation log with F1 and then Developer: Toggle Developer Tools.

Blockman does not work at all now. It does not get activated at all.

mainThreadExtensionService.ts:107

Activating extension 'leodevbro.blockman' failed: Cannot find module 'c:\Users\leodevbroUser\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules.asar\vscode-textmate'
Require stack:
- c:\Users\leodevbroUser\.vscode\extensions\leodevbro.blockman-1.7.7\out\bracketAlgos\textMateLoader.js
- c:\Users\leodevbroUser\.vscode\extensions\leodevbro.blockman-1.7.7\out\bracketAlgos\settings.js
- c:\Users\leodevbroUser\.vscode\extensions\leodevbro.blockman-1.7.7\out\bracketAlgos\documentDecorationManager.js
- c:\Users\leodevbroUser\.vscode\extensions\leodevbro.blockman-1.7.7\out\extension.js
- c:\Users\leodevbroUser\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js.

This is the code of how Blockman tries to get vscode-textmate:
private getNodeModulePath(moduleName: string) {
  const nodeModulesFolder = vscode.env.uiKind === vscode.UIKind.Desktop ? "node_modules.asar" : "node_modules";
  return path.join(vscode.env.appRoot, nodeModulesFolder, moduleName);
}

const textmate = getNodeModulePath("vscode-textmate");

Now I see in my C:\Users\leodevbroUser\AppData\Local\Programs\Microsoft VS Code\resources\app folder that there is no longer a node_modules.asar folder, there is now a file node_modules.asar and a folder node_modules.asar.unpacked which looks strange.
Please help me, how can I get my extension working again?

I think I fixed it now with this commit on Blockman:
https://github.com/leodevbro/vscode-blockman/commit/f6ee335be12d485a2745985695c5eabc140d3d3d
Well, as I see, it was a simple thing, the latest VS Code version seems to have only "node_modules" folder not for its modules, so basically it seems easier to access some modules of VS Code.
New version of Blockman is v1.7.8 (2024-10-04 Tbilisi time).


common.MouseComponent needs a RightDragged variable from RMB dragging.

Dragged right now only picks up LMB drag events, not RMB dragging.
I.e., it should follow the convention of Clicked, RightClicked, Released, RightReleased etc.
// MouseComponent is the location for the MouseSystem to store its results;
// to be used / viewed by other Systems
type MouseComponent struct {
	// Clicked is true whenever the Mouse was clicked over
	// the entity space in this frame
	Clicked bool
	// Released is true whenever the left mouse button is released over the
	// entity space in this frame
	Released bool
	// Hovered is true whenever the Mouse is hovering
	// the entity space in this frame. This does not necessarily imply that
	// the mouse button was pressed down in your entity space.
	Hovered bool
	// Dragged is true whenever the entity space was clicked,
	// and then the mouse started moving (while holding)
	Dragged bool
	// RightClicked is true whenever the entity space was right-clicked
	// in this frame
	RightClicked bool
	// RightReleased is true whenever the right mouse button is released over
	// the entity space in this frame. This does not necessarily imply that
	// the mouse button was pressed down in your entity space.
	RightReleased bool
	// Enter is true whenever the Mouse entered the entity space in that frame,
	// but wasn't in that space during the previous frame
	Enter bool
	// Leave is true whenever the Mouse was in the space on the previous frame,
	// but now isn't
	Leave bool
	// Position of the mouse at any moment this is generally used
	// in conjunction with Track = true
	MouseX float32
	MouseY float32
	// Set manually this to true and your mouse component will track the mouse
	// and your entity will always be able to receive an updated mouse
	// component even if its space is not under the mouse cursor
	// WARNING: you MUST know why you want to use this because it will
	// have serious performance impacts if you have many entities with
	// a MouseComponent in tracking mode.
	// This is ideally used for a really small number of entities
	// that must really be aware of the mouse details event when the
	// mouse is not hovering them
	Track bool
	// Modifier is used to store the eventual modifiers that were pressed during
	// the same time the different click events occurred
	Modifier engo.Modifier

	// startedDragging is used internally to see if *this* is the object that is being dragged
	startedDragging bool
}

I'll see if I can put together a PR for this this week.

It was quite easy to fix: PR already submitted: #464


Master branch's CI is failed.

https://github.com/slack-scala-client/slack-scala-client/runs/223666690

Whatever the reason was, it seems to be no longer the case.


Rename directory code to exercises

Fixes: #456

Big change. slightly_smiling_face
I cannot possibly check if you missed something on gh, so I propose to merge, and you will forever be in our debt if you overlooked one. wink

I will carry this responsibility with honour!


Add support for tape

WIP https://github.com/jeznag/stryker-tape-runner

@jeznag in #176:
I've put a POC together https://github.com/jeznag/stryker-tape-runner/blob/master/src/TapeTestRunner.ts but am a bit confused by the TestFramework part. What do I have to do there? Can I leave that out?

The stryker-mocha-runner that you took as an example contains two parts: the TestRunner and the TestFramework. The TestRunner is responsible for making sure the tests are actually executed while the TestFramework can help by filtering the tests that are executed.
This filtering is done based on code coverage. Stryker is capable of instrumenting code using Istanbul, but in order to do that for every single it it needs to execute a bit of code before and after each test to know how the code coverage has changed. This is why a TestFramework has the methods beforeEach and afterEach which should return bits of code that should be executed before and after each test. This code is then combined and saved as a file so it will be used during testing. You can see that code here.
Now, what can you leave out? Everything. We can run without a TestFramework implementation because all it does is increase performance. So I would suggest you ignore the TestFramework for now and just focus on the TestRunner :)
@nicojs Do you have anything to add?

@simondel @nicojs Can you advise what I need to do for the TestFramework file?

Whoops. Wrong button. Thanks for reopening!

Ok thanks for clarifying. I added in some placeholder methods for the test framework. Looks like it will be a bit of effort to get it working with istanbul. I might leave off support for coverage for now.

Am testing it and am a bit stuck. Am running it on https://github.com/jeznag/empath-sentiment-analysis using babel-node to handle ES6
I'm getting this error:
[2016-12-31 20:10:57.890] [ERROR] IsolatedTestRunnerAdapter - (node:20160) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'coverage' of undefined

[2016-12-31 20:10:57.891] [ERROR] IsolatedTestRunnerAdapter - (node:20160) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@simondel have got it working now (I was just using the wrong status code to indicate completion).
Some questions:

Have you seen these warnings before? I thought it might be the tape object stream but I tried commenting that out and I still get the warning.

Noob question: with this config, no files get mutated. How should I do it if I only want a few files to be mutated?

files: [
      'test/tape/**/*.js',
      { pattern: 'src/**/*.js', included: false },
      { pattern: 'src/analyseSentiment.js', included: false, mutated: true },
      { pattern: 'src/sentimentWordList.js', included: false, mutated: false },
    ],

Can we include Ava.js support for this capability? I'd love to try it out in my code base.

@jeznag

We've had this before (https://github.com/stryker-mutator/stryker/issues/115) but we fixed it by adding included: false, which you're using. Any ideas @nicojs ?

The InputFileResolver can detect if you have duplicate files in your config and it will always use the first occurance it finds. In this case it will find src/analyseSentiment.js as a part of { pattern: 'src/**/*.js', included: false } and turn it into { pattern: 'src/analyseSentiment.js', included: false, mutated: false}. After that it will find your second definition of the file, with mutated: true but it will be ignored. Could you try moving { pattern: 'src/**/*.js', included: false } to the bottom of the file list?

@lirantal I'm not familiar with Ava.js. Is it a test runner and test framework in one?

Ava.js is a test runner, they took a lot from tape so they are very similar from syntax perspective and it has really grown: https://github.com/avajs/ava

@lirantal Sounds good! Could you open a new issue so we can discus it there?

Definitely, thanks Simon.

@simondel Have got the tape runner running nicely now + tests apart from the MaxEventListeners issue: https://github.com/jeznag/stryker-tape-runner
Want to review the code and consider bringing it into the stryker-mutator org?

Sounds great! I created a repository for you and gave you permissions. If you want to retain your history you could transfer ownership to move the repo. If you happen to lose access in the process, we'll make you admin again 👍

Sweet merged in your changes and pushed up the code to the new repo. Will close this now and monitor any issues that come through :)


No module named 'tensorrt'

Importing tensorrt(Python) and getting this error.
I'm working on windows10-64.
pycuda gets successfully installed.
Can you help me with proper documentation of making "import tensorrt as trt" works on windows?

Can we run on Windows machine??


fix(bridge-ui): return true if the token address is found on dest chain to send correct gas limit

@xiaodino please also review.


Bet with n possible outcomes and funds distributed proportinally

Is it possible to extend this protocol to a bet with n possible outcomes?
So instead of checking of Alice's and Bob's secrets A+B are an odd/even number, for n=11 it would check for example x = (A+B) MOD n:
x=0: all funds go to Bob (0/11 for Alice)
x=1: 9.09% funds go to Alice (1/11 for Alice)
...
x=10: 90% funds go to Alice (10/11 for Alice)
I know a client-side workaround would be to require n different funding transactions, but that would be

a usability nightmare (sending funds 11x from your wallet)
mathematically not the same type of bet, since this would be n times flipping a coin

Thanks

https://github.com/fyookball/ChainBet/blob/master/DICE_ROLL.md


[rom_ext] Do not honor boot service requests on deep sleep resume

Description
ROM_EXT should ignore and clear and boot service request on deep sleep resume. Owner firmware will not expect to boot from a different slot after deep sleep; this could cause multiple issue if we don't prevent it.

Are there other reasons besides LowPowerExit that you think should skip boot_svc request handling?
Ideally, we'd only handle messages in cases where we knew the user requested a reset specifically to invoke boot services.  However, I don't want to create a mechanism whereby an adversary could intentionally cause the ROM_EXT to skip processing.

We should probably avoid handling in the case of kRstmgrReasonPowerOn as well otherwise something is really wrong. Others seem okay to me

We should probably avoid handling in the case of kRstmgrReasonPowerOn as well otherwise something is really wrong. Others seem okay to me

That should already be handled by the fact that a POR re-initializes RETRAM, and thus, there can be no valid boot_svc message there.


Make multiple predicates per partition efficient

Partitioning by multiple predicates is very slow. The underlying Dgraph query uses multiple @filter(has(predicate)) filters, which is much slower than the has function in query(func: has(predicate)), which supports only a single predicate.
Find a Dgraph query that efficiently filters for a set of predicates. This allows to set the numbers of predicates per partition in PredicatePartitioner to values larger than 1. This would enable this partitioner to be used for large schemata. Further, this would make AlphaPartitioner and GroupPartitioner useful again.

Better query suggested by MichelDiz.


Added room timeout

It seems like maybe that upstream commit got included here?

It did; I'm not seeing conflicts w/ main though so we can marge this then pull in upstream?

It did; I'm not seeing conflicts w/ main though so we can marge this then pull in upstream?

Yeah in general I'm not personally a big fan of merge commits and it doesn't look like the upstream codebase is using them either, but I'm also trying not to be too dogmatic/neurotic/a PITA about it so I'm happy w/ whichever you'd prefer

oh I'm realizing this is also more complicated since this is just basically a built artifact from the main livekit repo :grimacing:
protobufs were a mistake

let's go w/ whatever is easiest here


New extension for ActivityResultManager

Thanks @TatyanaBazhanova for the PR, and sorry for the delay, I was just a bit busy with some stuff, I'll try to take a look this week.

Thanks @hichamboushaba for your comments, i fixed some comment and answered on comment about activityFlow.

Congrats on your first contribution @TatyanaBazhanova, and really good work.


Logo icon color mismatch in dark mode.

Please let me know the exact color I should change it to as it is the website logo.
Can be changed to #21bf73 or to a lighter color for better visibility

@s5566 please either use #FFCC4D, #DE3E44 or any other you find suitable. thanks

Hi,
I would love to work on this as a part of Hacktoberfest '21.
Thanks!

Fixed #76


[docs] improve

Improve the docs that are not there :smile:

Yep, will do.
But firstly I should finish my project.
Because if any docs will be published, I got tons of questions. But I'm not ready for this yet ;)

will soon complete this.. sorry for the delay


[BUG] Field names starting with $ cannot be recognized by @Data

Field names starting with $ cannot be recognized by @Data（or @Getter/@Setter on Class）
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class Model {
	String $ref;
	String name;
}

Lombok version：1.18.6
Platform：eclipse 2018-12 (4.10.0)（windows）

@FieldDefaults(level = AccessLevel.PRIVATE)  also doesn't recognize
But @Getter/@Setter works on the field

Lombok version：1.18.6
Lombok-plugins version：v0.23-2018.3
Platform：IntelliJ IDEA 2018.3.5 (Community Edition)

@FieldDefaults(level = AccessLevel.PRIVATE)  can be recognized
But @Getter/@Setter works on the field

That's not a bug, that's a feature: https://projectlombok.org/features/Data

By default, any variables that start with a $ symbol are excluded automatically. You can include them by specifying an explicit annotation (@Getter or @ToString, for example) and using the 'of' parameter.

That's not a bug, that's a feature: https://projectlombok.org/features/Data

By default, any variables that start with a $ symbol are excluded automatically. You can include them by specifying an explicit annotation (@getter or @tostring, for example) and using the 'of' parameter.

@Maaartinus  Thank you for your reply , so  @FieldDefaults(level = AccessLevel.PRIVATE)  can recognize field start with a $ symbol in IDEA, it's IDEA plugin's bug?


Append the default parameter "Add tags from file in workspace" in general plugin configuration

To be clear I'll explain the issue first.
Let's assume that we have a Github organization/Bitbucket organization folder where all Jenkins jobs are created automatically for every new repository with Jenkinsfile or repo branches. This setup is pretty popular for now. But how can we tag the builds for Datadog? For now there is no clear option for this. Every job has Datadog tagging parameters, but they couldn't be modified because the organization folder jobs are immutable. Also the tags couldn't be appended at any folder level.
Also here is the issue out of such setup. Even if we manually create Jenkins job, we have to always make sure that the "Add tags from file in workspace" option is filled and we can't inherit any default settings. Which sometimes seems pretty useful due to organisation standards (e.g. have a tags.dd file in every repo/project with tags declaration). And, if you want to migrate to Datadog - it means that you have to setup this parameter manually on all existing jobs (that's probably wrong, but all my attempts to do this through XML reconfig&reload and Groovy scripts were failed).
If we could append the option in "Manage Jenkins → Configure System → Datadog Plugin" the option to declare the default file in workspace and inherit this parameter for every job. This feature would make the tagging setup much easier.
Please, let me know if something isn't clear at this issue.

@cazorla19 Sorry for the slow reply. Your idea for adding a default/global workspace file path makes sense. We'll try to add this feature as soon as possible, meanwhile if you happen to work on this please submit a PR, thanks!


Nav 2017 CU 29 -  Web client bug- the application closes when searching in a page that has a duration field

Web client Bug.docx

Let's get the issue to a team who will fix and backport it, as this repository is only for issues related to the AL compiler and developer tools of the latest developer preview environment for Dynamics 365 Business Central. We suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.
To open a support case, you can:

Open a support request to CSS through the PartnerSource portal
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.

Partner source  - tehnical support is not working. Could you please, advice me where can I address the request for support?

Same problem happens also in Business Central.


Correct offence analysis

This fixes an issue with missing offence details from the OAsys sections endpoint by renaming a property

 missing Offence Details data


Provide a mechanism to link "test" binaries

I'm trying to check for the presence of a libc function from my build.rs script. This crate seems almost suitable for this purpose... except for the fact that it only builds a library. In order to check for the presence of the missing function, I actually need to link the code into a binary to discover the unresolved symbols.
More context in this thread: https://users.rust-lang.org/t/detecting-the-presence-of-a-system-function-at-build-time/37968
I'm filing this issue to discuss whether this feature would make sense in this crate. I can imagine a try_link function that attempts to build and link the given C source (and then I can just delete the resulting output). From the description, this crate seems focused on compiling a C library that is later linked into the Rust build... so this "link a test binary that's later discarded" doesn't seem to fit in spirit. But functionally, it should be rather simple to implement here.

Thanks for the report! There's a few other closed issues with feature requests like this, but I unfortunately don't have the time/energy to maintain all the intricacies of dealing with binaries, so I'm going to close this. I'm more than willing to help such a crate exist on crates.io and depend on the cc crate, and cc may need to expose more information for that to exist.


Retractable side bar

Hello. Is it possible to make the sidebar retractable?

Yes, its possible. Just do it.

@yuriprawucki1 The Sidebar component from shadcn - https://ui.shadcn.com/docs/components/sidebar might suit your need.


Support more target frameworks besides .NET 6

I attempted to implement it it #28, however didn't see and easy way to setup tests for .NET framework in GitHub Actions. If anyone needs this, feel free to continue from #28.

After #49 its not that simple to target lower than .NET 6 anymore, closing.

.NET Standard 2.0 target was added in #85, which should cover most modern target frameworks. Only .NET Core 3.1, .NET 5.0, .NET 6.0 and .NET 7.0 was tested though.


⚠ Samsung has degraded performance

In 0e6e3c7, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2391 ms

Resolved: Samsung performance has improved in a0c90c2.


Maintain Google Colab notebook internally

Right now, I'm currently maintaining the notebook on my Google Drive. This update just brings the notebook into the hosts repository so it can be maintained internally. This is simply to drop the third party (myself), and this should not bring any additional burden (of significance) to the maintenance of the repository in general.
To view the intended outcome of this update, please refer to the following commit:
https://github.com/ScriptTiger/hosts/tree/1cae8718f56f45661d0103847f7c291ef0fdd5e7
As this update includes links to the StevenBlack/hosts repository which will only exist after the update is applied, using a previous commit which includes links to the ScriptTiger/hosts repository is needed since those links already exist and can be tested now.
Features:
By opening the hosts.ipynb from the GitHub repository, GitHub recognizes the format and displays it appropriately.
By clicking the "open in colab" link from either the notebook itself or README, the notebook is directly opened by Google Colab without a third-party owner/host.
Issues related specifically to the notebook can be triaged internally by the maintainers of the hosts repository, as well as keeping full transparency of the notebook internal to the repository.

Thank you for this @ScriptTiger but I must decline this PR.
Closing.

No worries. We can revisit it later if it's a timing issue.

@ScriptTiger it's not a timing issue.  This PR is for a personal workflow that has no bearing here.


Add links property to CachedResponse

The links property of aiohttp's ClientResponse is missing from CachedResponse. This causes AttributeError: 'CachedResponse' object has no attribute 'links' exceptions when trying to use it. The information is still available directly through the Link header but for parity it would be nice to be made through the links property.
The aiohttp impl is complicated enough that it would be great to be able to use it directly, but since it's another MultiDict not sure how best to do that.

Sure. That nested data structure looks a bit messy, but it should be doable by storing it as nested tuples and re-converting it to MultiDictProxy with a property, similar to raw_headers.

Done!


Compatibility with Meteor 1.2

Same as mentioned here meteor-starter have problems with update:
https://github.com/yogiben/meteor-admin/issues/277
Update to release<EMAIL_ADDRESS>is impossible:
While selecting package versions:
error: Conflict: Constraint<EMAIL_ADDRESS>is not satisfied by less 2.5.0_3.
Constraints on package "less":
*<EMAIL_ADDRESS><- top level
*<EMAIL_ADDRESS><- yogiben:autoform-modals 0.3.8
*<EMAIL_ADDRESS><- yogiben:autoform-file 0.2.9
*<EMAIL_ADDRESS><- multiply:iron-router-progress 1.0.2
*<EMAIL_ADDRESS><- accounts-ui 1.1.6
*<EMAIL_ADDRESS><- accounts-ui-unstyled 1.1.8 <- accounts-ui 1.1.6
*<EMAIL_ADDRESS><- user-thumbs 0.0.8
*<EMAIL_ADDRESS><- comments 0.1.0
*<EMAIL_ADDRESS><- favorites 0.0.4
*<EMAIL_ADDRESS><- notifications 0.0.7
*<EMAIL_ADDRESS>|| 2.5.0 <- yogiben:admin 1.2.3

Conflict: Constraint<EMAIL_ADDRESS>is not satisfied by less 2.5.0_3.
Constraints on package "less":
*<EMAIL_ADDRESS><- top level
*<EMAIL_ADDRESS><- yogiben:autoform-modals 0.3.8
*<EMAIL_ADDRESS><- yogiben:autoform-file 0.2.9
*<EMAIL_ADDRESS><- multiply:iron-router-progress 1.0.2
*<EMAIL_ADDRESS><- accounts-ui 1.1.6
*<EMAIL_ADDRESS><- accounts-ui-unstyled 1.1.8 <- accounts-ui 1.1.6
*<EMAIL_ADDRESS><- user-thumbs 0.0.8
*<EMAIL_ADDRESS><- comments 0.1.0
*<EMAIL_ADDRESS><- favorites 0.0.4
*<EMAIL_ADDRESS><- notifications 0.0.7
*<EMAIL_ADDRESS>|| 2.5.0 <- yogiben:admin 1.2.3

This project is at the latest release which is compatible with your current package
constraints.
Your top-level dependencies are at their latest compatible versions.

The following top-level dependencies were not updated to the very latest version available:
 * multiply:iron-router-progress 1.0.1 (1.0.2 is available)
 * yogiben:autoform-file 0.2.9 (1.0.1 is available)
 * yogiben:autoform-modals 0.3.6 (0.3.8 is available)

Newer versions of the following indirect dependencies are available:
 * meteorhacks:meteorx 1.0.2 (1.3.1 is available)
 * percolate:velocityjs 1.1.0 (1.2.1_1 is available)
 * softwarerero:accounts-t9n 1.0.9 (1.1.4 is available)
To update one or more of these packages, pass their names to `meteor update`.

Some workarounds or planed updates? Thanks for help!

I find solution to fix it after run meteor update on<EMAIL_ADDRESS>( it don't want run server for dependecies colisions)

diff your .meteor/packages file with same file in repo and save somever packages you have added before to your project clone (utilities:avatar is last line in repo file by my)
BACKUP folder .meteor out from project folder (specially .meteor/local/db - Mongo database folder!!)
remove all from .meteor folder (except ./meteor/local/db folder) and copy content .meteor/* from meteor-starter repo (same folder)
add missing diffed packages back to .meteor/packages file
add missing package useraccounts:iron-routing
run:  meteor update --packages-only
now you can run meteor without problems

This is temporary solution we need still to update dependency packages.


Update checking fails on SimPad v2

My latest firmware is 20181206.
Update check ends with 'Check Update Failed'
When entering 'Boot Mode', the device does not get recognized by the software anymore until I reconnect the usb.
My Control Panel Version is v0.131. Also no response from the update button whatsoever.

Received.
Please update your control panel to v0.153 for firmware update
And... Control panel update feature is still unrealized... sry...

Done!
https://i.imgur.com/Nk24lff.png
Seems that I ran the wrong control panel all the time because I updated the cp by overwriting files in the same folder as cp but the cp executable was renamed at some point.


BAPP-473: Change unavailable name copy

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1


Resource max-age implementation

Does max-age is been used somehow, except as data field in resource? It seems, that it affects nothing when running coapreverseproxy.py example. Should max-age field be processed in self-written proxy server?

Hi,
the Max-Age option is used when cache is employed on proxies. Take a look to the new caching folder for that.


add examples of hashtable as value of Azure Powershell TemplateFileObject parameter

For Azure Powershell cmdlets that support the TemplateFileObject parameter, please add an example showing the construction of a params hashtable, in-script, as the value of the parameter
(non-exhaustive) examples of Azure Powershell cmdlets that support the TemplateFileObject parameter

New-AzResourceGroupDeployment
Test-AzResourceGroupDeployment

Inspiration:
https://gordon.byers.me/azure/templateparameterobject-parameter-azurermresourcegroupdeployment/
See also these issues which include the technique:
https://github.com/Azure/azure-powershell/issues/7980
#7980
https://github.com/Azure/azure-powershell/issues/1528
#1528

@HughDevlin Please move this issue to https://github.com/Azure/azure-docs-powershell-azuread/issues


FIT test for RackHD Redfish UpdateService API

jenkins: depends on https://github.com/RackHD/on-http/pull/610

BUILD RackHD #102 : FAILURE

BUILD RackHD #103 : FAILURE

jenkins: test this please

@hohene all set...

BUILD RackHD #104 : FAILURE

BUILD RackHD #105 : FAILURE

jenkins: test this please

BUILD RackHD #111 : FAILURE

jenkins: test this please


UnboundLocalError: local variable 'val' referenced before assignment

-s doesn't work.
val is only defined if -s is not true:
  if not args.is_string:
        val = normalize_val(args.val)

(virtualenv-3.6.8) <perfdash-web1:/opt/perfdash/perfdash.git/bin>$ sde -s logs foo foo.yaml
Traceback (most recent call last):
  File "/opt/perfdash/perfdash.git/virtualenv-3.6.8/bin/sde", line 8, in <module>
    sys.exit(main())
  File "/opt/perfdash/perfdash.git/virtualenv-3.6.8/lib64/python3.6/site-packages/sde/sde.py", line 114, in main
    edit_file(args.key, val, args.file, fmt, must_exist=args.must_exist)
UnboundLocalError: local variable 'val' referenced before assignment

https://github.com/dvershinin/sde/pull/5

Thank you very much.


Merge Branch-DOB with master (PR review changes)

Added most of Benjamin's PR review comments except changing the Date access modifier to private as it is to be consistent with the other field classes.

Codecov Report
Base: 70.60% // Head: 64.75% // Decreases project coverage by -5.84% :warning:

Coverage data is based on head (d91287d) compared to base (6f3c544).
Patch coverage: 25.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #62      +/-   ##
============================================
- Coverage     70.60%   64.75%   -5.85%
- Complexity      449      460      +11
============================================
  Files            76       86      +10
  Lines          1446     1643     +197
  Branches        155      174      +19
============================================
+ Hits           1021     1064      +43
- Misses          369      519     +150
- Partials         56       60       +4

Impacted Files
Coverage Δ

.../java/seedu/address/logic/commands/AddCommand.java
100.00% <ø> (ø)

...java/seedu/address/logic/commands/EditCommand.java
94.93% <ø> (ø)

...in/java/seedu/address/logic/parser/ParserUtil.java
70.00% <0.00%> (-10.77%)
:arrow_down:

.../java/seedu/address/storage/JsonAdaptedPerson.java
89.65% <25.00%> (+1.51%)
:arrow_up:

...n/java/seedu/address/model/person/DateOfBirth.java
57.89% <33.33%> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
80.00% <0.00%> (-20.00%)
:arrow_down:

...rc/main/java/seedu/address/model/ModelManager.java
83.60% <0.00%> (-16.40%)
:arrow_down:

src/main/java/seedu/address/model/AddressBook.java
88.88% <0.00%> (-3.71%)
:arrow_down:

...rc/main/java/seedu/address/logic/LogicManager.java
71.42% <0.00%> (-3.58%)
:arrow_down:

... and 15 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[feature]: External Accounts: Coin Control: add ability to spend a full UTXO

While implementing the new send_all flag on the sendCoins RPC added in https://github.com/lightningnetwork/lnd/pull/8955 to ZEUS (https://github.com/ZeusLN/zeus/pull/2416), we discovered that the functionality could not be used for UTXOs in external accounts.
Adding an external account outpoint to the sendCoins RPC will return:
unable to fetch+lock wallet utxos: unknown utxo: NewSubMap: missing key
There doesn't appear to be a way to 'send all' on the fundPsbt RPC
Related: https://github.com/lightningnetwork/lnd/issues/6949

How would you envisage the send_all flag on the fundPsbt RPC.
Something along the lines of
lncli wallet psbt fund --inputs='["<txid1>:<idx1>","<txid2>:<idx2>",...] --outputs='{"bcrt1qjrdns4f5zwkv29ln86plqzs092yd5fg6nsz8re"}' --send_all

?

How would you envisage the send_all flag on the fundPsbt RPC.
Something along the lines of
lncli wallet psbt fund --inputs='["<txid1>:<idx1>","<txid2>:<idx2>",...]' --outputs='{"bcrt1qjrdns4f5zwkv29ln86plqzs092yd5fg6nsz8re"}' --send_all

which would send the sum of inputs values to the output address.
Tx fees would need to be taken from the remaining wallet balance, or subtracted from the sum of inputs if the remaining wallet balance would be insufficient, while maintaining the reserve requirements.

something along these lines, though I know the RPC may be a bit trickier with how walletrpc.TxTemplate.OutputsEntry is currently defined


Expose vsnprintf to shared lib

This makes it much easier for languages that don't have direct access to a vsnprintf implementation to do something useful with the trace callback method.

You should just format string in language you use and then just pass it that way. Ideally higher-level abstraction would match whatever makes sense in language used, not trying to match C.

Unfortunately the format string you pass is specific to C, so you're forcing the higher level language to implement the C routine directly.

Yeah what I meant is in your language bindings you implement wrapper around CallbackI that has vsnprintf in C https://github.com/bkaradzic/bgfx/blob/master/src/bgfx.cpp#L67, and then you call your language's trace that doesn't have vaargs here:
https://github.com/bkaradzic/bgfx/blob/master/src/bgfx.cpp#L83

Yeah, that's what I'm trying to do: https://github.com/MikePopoloski/SharpBgfx/blob/master/SharpBgfx/Bgfx.cs#L922
The bindings aren't written in C, they're written straight in C#:
https://github.com/MikePopoloski/SharpBgfx/blob/master/SharpBgfx/NativeMethods.cs#L410
I can probably find some other DLL to import the vsnprintf function from though, it'll just have to vary on each platform it's deployed to, whereas having it in bgfx would have made it easy.

Ah you're using bgfx dll, just as is. I was thinking there are bindings on C side... Let me think about this.

Insanely necroing it but whoever is stumbled on C# callbacks with BGFX can use that to format vargs.
 public static class NativeUtils
    {
        [DllImport("msvcrt", CallingConvention = CallingConvention.Cdecl, EntryPoint = "vsnprintf")]
        private static extern int vsnprintfWindows(byte[] buffer, int size, string format, IntPtr args);

        [DllImport("libc", CallingConvention = CallingConvention.Cdecl, EntryPoint = "vsnprintf")]
        private static extern int vsnprintfLinux(byte[] buffer, int size, string format, IntPtr args);

        [DllImport("libSystem.dylib", CallingConvention = CallingConvention.Cdecl, EntryPoint = "vsnprintf")]
        private static extern int vsnprintfOSX(byte[] buffer, int size, string format, IntPtr args);

        public static int vsnprintf(byte[] buffer, int size, string format, IntPtr args)
        {
            if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
            {
                return vsnprintfWindows(buffer, size, format, args);
            }
            else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
            {
                return vsnprintfLinux(buffer, size, format, args);
            }
            else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
            {
                return vsnprintfOSX(buffer, size, format, args);
            }
            else
            {
                return -1;
            }
        }
}

Also @MikePopoloski your bindings (even though from 2018) helped me implement the right callbacks for current bgfx so thank you for that.


str ra rb rc

Tested Version
v0.0
Description
It compiles but shouldn't.
Steps
Compile and run assembler.exe.
Create a file named example.asm containing: str ra rb rc.
cmdline: assembler.exe example.asm example.bin.
Context
This test was done on 02/23/24 before the project deadline.
Actual Result (optional screenshot)
//
Security Criteria
3
Discovery/Resolve Date
02/23/24
Expected Result
It should send an error.
Possible Solution
//
Other
//

This was handled on a previous commit before the merge and the pull request of dev to main.


Ex Nihilo Sequentia Compatibility Issue

When an item pipe's destination is broken while items are in transit, it can corrupt nearby Ex Nihilo barrels in some way such that their recipes now produce Air instead of the intended item.
Restarting fixes the recipes.

Have you reported this to Ex Nihilo Sequentia? This doesn't seem like a Refined Pipes issue.

Yes.

Can you link me the issue?


Split like function

Does a function exist that allows splitting a string base off of a specific delimiter?

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

ID: 77c58a78-a567-e99a-9eb7-62dddd1b90b6
Version Independent ID: 680a79bc-11de-39fc-43e3-e07dc762db18
Content: Expressions - Azure Pipelines
Content Source: docs/pipelines/process/expressions.md
Product: devops
Technology: devops-cicd-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

@acheraime -- Adolphe, thank you for your question.  You may find answers here:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow

@juliakm -- Julia, please look into this potential documentation issue.

@acheraime The best way to do this is with a Bash or PowerShell script. Here's a Bash example that you may find helpful: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/expressions?view=azure-devops#i-want-to-do-something-that-is-not-supported-by-expressions-what-options-do-i-have-for-extending-pipelines-functionality

The answer from @juliakm is not usable if one would like to use each template expression with the values extracted from spliting a string contained in a variable.

Why was this closed?
 Even more, the way Azure Pipelines have been designed probably does not allow to pick a runtime generated variable as a source to modify the number of stages/jobs/steps to be run.
So, the best approach would be the one mentioned by @juliakm : pass the string to be split to a bash step and do whatever calculations there. My advice: use this pipeline as a dispatcher/parent for the repeated tasks. For example:
      # These variables are passed using `env:` or defined as a global pipe variable:
      #  - ORIGINAL_STRING: The string containing the concatenated values, probably generated by a previous step
      #  - CHILD_PIPELINE_ID: The ID of the child pipeline, which will process each looped value
      #  - OTHER_VARIABLE, OTHER_VARIABLE_2: Extra variables passed to the child pipeline

      # Note: Azure pipelines suck again: can't pass parameters (only string variables). Ensure the
      #       child pipeline does not even define them in the global `variables:` section, or their value
      #       will be overwritten.

      # Login into Azure Devops to call the child pipeline
      echo "$(System.AccessToken)" \
          | az devops login

      SEPARATOR=";" # Use the one you're more comfortable with
      PARTS=( $(echo "${ORIGINAL_STRING}" | tr "${SEPARATOR}" "\n") )

      for PART in "${PARTS[@]}"
      do
          # No other way to call several times another pipeline or task
          az pipelines run \
              --id "${CHILD_PIPELINE_ID}" \
              --variables \
                  "SOME_IMPORTANT_VARIABLE=${PART}" \
                  "OTHER_VARIABLE=${OTHER_VARIABLE}" \
                  "OTHER_VARIABLE_2=${OTHER_VARIABLE_2}"
      done


Azure app service manage delete slot

#10477

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

Based on the contributing.md, i'm supposed to put the label "Deploy"

I wanted to change the visibleRule of some input :
        "name": "Slot",
        "visibleRule": "Action = Delete Slot || (Action != Swap Slots && SpecifySlot = true)"

        "name": "ResourceGroupName",
        "visibleRule": "Action = Delete Slot || Action = Swap Slots || SpecifySlot = true"

        "name": "SpecifySlot",
        "visibleRule": "Action != Delete Slot && Action != Swap Slots"

But it seems that what i want to do for "Slot" is not working.
Could you advise on this ?

The checks are failing because when changes are made in common module, all tasks consuming it need to have there versions updated. For this case, you need to bump up versions for following tasks: AzureFileCopyV2,AzureFileCopyV3,AzureMonitorAlertsV0,AzureMysqlDeploymentV1,AzurePowerShellV4,AzureRmWebAppDeploymentV4


Fix normals of PrismMesh

Fixes #48774.
This also seems to be broken in 4.0 so I'm making a PR for master.

Thanks!

Cherry-picked for 3.4.

Cherry-picked for 3.3.1.


CMAKE_GENERATOR_TOOLSET is set to v144, which doesn't exist yet

Xmake Version
v2.8.7+HEAD.da279272a
Operating System Version and Architecture
Windows 11 10.0.22631.3155
Describe Bug
I found that _get_vs_toolset in modules/package/tools/cmake.lua is responsible, and its parsing of the version doesn't work correctly with Visual Studio 2022 Preview. I modified it to return v143 if it gets v144, but this is obviously a very temporary fix.
-- get vs toolset
function _get_vs_toolset(package)
    local toolset_ver = nil
    local vs_toolset = _get_msvc(package):config("vs_toolset") or config.get("vs_toolset")
    if vs_toolset then
        local verinfo = vs_toolset:split('%.')
        if #verinfo >= 2 then
            toolset_ver = "v" .. verinfo[1] .. (verinfo[2]:sub(1, 1) or "0")
            if toolset_ver == "v144" then
                toolset_ver = "v143"
            end
        end
    end
    return toolset_ver
end

Expected Behavior
It should properly understand what toolset to use. I'm not exactly sure how you would fix this, and it's possible Microsoft will make a v144 toolset in the near future, but until then this code doesn't work properly. It's also worth mentioning that passing --vs_toolset to xmake config doesn't impact what the CMake command uses, which is probably also worth looking into, and it would be a less fragile but less convenient fix to this issue.
Project Configuration
This isn't really relevant, the issue seems to be caused by using a preview version of Visual Studio 2022
Additional Information and Error Logs
**C:\Program Files\xmake\xmake.exe f -c --require=n -p windows -a x64 -m release -k static --vs=2022
checking for Microsoft Visual Studio (x64) version ... 2022
checking for Microsoft C/C++ Compiler (x64) version ... 19.40.33521
C:\Program Files\xmake\xmake.exe require -y -v -j 26 --debugdir=C:\Users\bramb\Downloads\assimp --force --shallow --build --extra={configs={shared=false},system=false} "assimp v5.3.1"
checking for unzip ... no
checking for 7z ... C:\Program Files\xmake\winenv\bin\7z
checking for git ... ok
checking for gzip ... no
git rev-parse HEAD
checking for cmake ... no
checking for Microsoft Visual Studio (x64) version ... 2022
checking for cmake ... no
checking for cmake ... no
checking for cmake ... C:\Program Files\CMake\bin\cmake
checking for xmake::zlib ... zlib v1.3.1
checking for xmake::minizip ... minizip v1.2.13
checking for ping ... ok
pinging the host(github.com) ... 27 ms
checking for xmake::zlib ... zlib v1.3.1
checking for xmake::minizip ... minizip v1.2.13
checking for cl.exe ... C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.40.33521\bin\HostX64\x64\cl.exe
checking for the c++ compiler (cxx) ... cl.exe
checking for the linker (ld) ... link.exe
checking for cmake ... C:\Program Files\CMake\bin\cmake
checking for pkgconf ... no
C:\Program Files\CMake\bin\cmake -DASSIMP_BUILD_SAMPLES=OFF -DASSIMP_BUILD_TESTS=OFF -DASSIMP_BUILD_DOCS=OFF -DASSIMP_BUILD_FRAMEWORK=OFF -DASSIMP_INSTALL_PDB=ON -DASSIMP_INJECT_DEBUG_POSTFIX=ON -DASSIMP_BUILD_ZLIB=OFF -DSYSTEM_IRRXML=ON -DASSIMP_WARNINGS_AS_ERRORS=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DASSIMP_DOUBLE_PRECISION=OFF -DASSIMP_NO_EXPORT=OFF -DASSIMP_ASAN=OFF -DASSIMP_UBSAN=OFF -DASSIMP_BUILD_ASSIMP_TOOLS=OFF -DZLIB_INCLUDE_DIR=C:\Users\bramb\AppData\Local\.xmake\packages\z\zlib\v1.3.1\d676b73b676c41cdae37b37fbf6c9cbd\include -DZLIB_LIBRARY=C:\Users\bramb\AppData\Local\.xmake\packages\z\zlib\v1.3.1\d676b73b676c41cdae37b37fbf6c9cbd\lib\zlib.lib -DCMAKE_INSTALL_PREFIX=C:\Users\bramb\AppData\Local\.xmake\packages\a\assimp\v5.3.1\de79f8655e024504b7fb71b0cd27c610 -DCMAKE_INSTALL_LIBDIR:PATH=lib -G "Visual Studio 17 2022" -A x64 -DCMAKE_GENERATOR_TOOLSET=v144 -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded "-DCMAKE_CXX_FLAGS_DEBUG=/MT /Zi /Ob0 /Od /RTC1" "-DCMAKE_CXX_FLAGS_RELEASE=/MT /O2 /Ob2 /DNDEBUG" "-DCMAKE_C_FLAGS_DEBUG=/MT /Zi /Ob0 /Od /RTC1" "-DCMAKE_C_FLAGS_RELEASE=/MT /O2 /Ob2 /DNDEBUG" -DCMAKE_COMPILE_PDB_OUTPUT_DIRECTORY=pdb "-DCMAKE_C_FLAGS=-IC:/Users/bramb/AppData/Local/.xmake/packages/m/minizip/v1.2.13/97492337f4434cbda1175027142662a3/include -IC:/Users/bramb/AppData/Local/.xmake/packages/m/minizip/v1.2.13/97492337f4434cbda1175027142662a3/include/minizip" "-DCMAKE_CXX_FLAGS=-IC:/Users/bramb/AppData/Local/.xmake/packages/m/minizip/v1.2.13/97492337f4434cbda1175027142662a3/include -IC:/Users/bramb/AppData/Local/.xmake/packages/m/minizip/v1.2.13/97492337f4434cbda1175027142662a3/include/minizip" "-DCMAKE_EXE_LINKER_FLAGS=-libpath:C:/Users/bramb/AppData/Local/.xmake/packages/m/minizip/v1.2.13/97492337f4434cbda1175027142662a3/lib minizip.lib" "-DCMAKE_SHARED_LINKER_FLAGS=-libpath:C:/Users/bramb/AppData/Local/.xmake/packages/m/minizip/v1.2.13/97492337f4434cbda1175027142662a3/lib minizip.lib" -DCMAKE_POSITION_INDEPENDENT_CODE=ON C:\Users\bramb\Downloads\assimp
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
CMake Error at CMakeLists.txt:58 (PROJECT):
  Failed to run MSBuild command:

    C:/Program Files/Microsoft Visual Studio/2022/Preview/MSBuild/Current/Bin/amd64/MSBuild.exe

  to get the value of VCTargetsPath:

    MSBuild version 17.10.0-preview-24081-01+97651a25d for .NET Framework
    Build started 26.02.2024 8:36:10.

    Project "C:\Users\bramb\Downloads\assimp\build_de79f865\CMakeFiles\3.28.3\VCTargetsPath.vcxproj" on node 1 (default targets).
    C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(457,5): error MSB8020: The build tools for v144 (Platform Toolset = 'v144') cannot be found. To build using the v144 build tools, please install v144 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\bramb\Downloads\assimp\build_de79f865\CMakeFiles\3.28.3\VCTargetsPath.vcxproj]
    Done Building Project "C:\Users\bramb\Downloads\assimp\build_de79f865\CMakeFiles\3.28.3\VCTargetsPath.vcxproj" (default targets) -- FAILED.

    Build FAILED.

    "C:\Users\bramb\Downloads\assimp\build_de79f865\CMakeFiles\3.28.3\VCTargetsPath.vcxproj" (default target) (1) ->
    (PrepareForBuild target) ->
      C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(457,5): error MSB8020: The build tools for v144 (Platform Toolset = 'v144') cannot be found. To build using the v144 build tools, please install v144 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\bramb\Downloads\assimp\build_de79f865\CMakeFiles\3.28.3\VCTargetsPath.vcxproj]

        0 Warning(s)
        1 Error(s)

    Time Elapsed 00:00:00.08

  Exit code: 1

-- Configuring incomplete, errors occurred!
error: execv(C:\Program Files\CMake\bin\cmake -DASSIMP_BUILD_SAMPLES=OFF -DASSIMP_BUILD_TESTS=OFF -DASSIMP_BUILD_DOCS=OFF -DASSIMP_BUILD_FRAMEWORK=OFF -DASSIMP_INSTALL_PDB=ON -DASSIMP_INJECT_DEBUG_POSTFIX=ON -DASSIMP_BUILD_ZLIB=OFF -DSYSTEM_IRRXML=ON -DASSIMP_WARNINGS_AS_ERRORS=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DASSIMP_DOUBLE_PRECISION=OFF -DASSIMP_NO_EXPORT=OFF -DASSIMP_ASAN=OFF -DASSIMP_UBSAN=OFF -DASSIMP_BUILD_ASSIMP_TOOLS=OFF -DZLIB_INCLUDE_DIR=C:\Users\bramb\AppData\Local\.xmake\packages\z\zlib\v1.3.1\d676b73b676c41cdae37b37fbf6c9cbd\include -DZLIB_LIBRARY=C:\Users\bramb\AppData\Local\.xmake\packages\z\zlib\v1.3.1\d676b73b676c41cdae37b37fbf6c9cbd\lib\zlib.lib -DCMAKE_INSTALL_PREFIX=C:\Users\bramb\AppData\Local\.xmake\packages\a\assimp\v5.3.1\de79f8655e024504b7fb71b0cd27c610 -DCMAKE_INSTALL_LIBDIR:PATH=lib -G "Visual Studio 17 2022" -A x64 -DCMAKE_GENERATOR_TOOLSET=v144 -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded "-DCMAKE_CXX_FLAGS_DEBUG=/MT /Zi /Ob0 /Od /RTC1" "-DCMAKE_CXX_FLAGS_RELEASE=/MT /O2 /Ob2 /DNDEBUG" "-DCMAKE_C_FLAGS_DEBUG=/MT /Zi /Ob0 /Od /RTC1" "-DCMAKE_C_FLAGS_RELEASE=/MT /O2 /Ob2 /DNDEBUG" -DCMAKE_COMPILE_PDB_OUTPUT_DIRECTORY=pdb "-DCMAKE_C_FLAGS=-IC:/Users/bramb/AppData/Local/.xmake/packages/m/minizip/v1.2.13/97492337f4434cbda1175027142662a3/include -IC:/Users/bramb/AppData/Local/.xmake/packages/m/minizip/v1.2.13/97492337f4434cbda1175027142662a3/include/minizip" "-DCMAKE_CXX_FLAGS=-IC:/Users/bramb/AppData/Local/.xmake/packages/m/minizip/v1.2.13/97492337f4434cbda1175027142662a3/include -IC:/Users/bramb/AppData/Local/.xmake/packages/m/minizip/v1.2.13/97492337f4434cbda1175027142662a3/include/minizip" "-DCMAKE_EXE_LINKER_FLAGS=-libpath:C:/Users/bramb/AppData/Local/.xmake/packages/m/minizip/v1.2.13/97492337f4434cbda1175027142662a3/lib minizip.lib" "-DCMAKE_SHARED_LINKER_FLAGS=-libpath:C:/Users/bramb/AppData/Local/.xmake/packages/m/minizip/v1.2.13/97492337f4434cbda1175027142662a3/lib minizip.lib" -DCMAKE_POSITION_INDEPENDENT_CODE=ON C:\Users\bramb\Downloads\assimp) failed(1)
  => install assimp v5.3.1 .. failed
error: install failed!
error: execv(C:\Program Files\xmake\xmake.exe require -y -v -j 26 --debugdir=C:\Users\bramb\Downloads\assimp --force --shallow --build --extra={configs={shared=false},system=false} "assimp v5.3.1") failed(-1)
error: execv(xrepo.bat install -y --shallow -v -p windows -a x64 -m release -k static -j 26 --vs=2022 -d . "assimp v5.3.1") failed(-1)
**

It shouldn't be hardcoded, but v144 doesn't exist. The latest toolset is v143, but the code that parses the version number doesn't work for this version..

but we get v144 from vs/vcvarsall.bat. we cannot modify it.
you can run xmake l detect.sdks.find_vstudio and show output.

You are using the Visual Studio preview which includes the MSVC preview (v144). Cmake doesn't support the Visual Studio preview, so it won't recognise the compiler.

You are using the Visual Studio preview which includes the MSVC preview (v144). Cmake doesn't support the Visual Studio preview, so it won't recognise the compiler.

So I think this should be a cmake issue, and you can wait for cmake to support it instead of modifying the version in tools/cmake.lua

I don't know which version of cmake supports v144, I can only assume at this point that it's not supported in any version prior to 3.29.0 and let it using v143
https://github.com/xmake-io/xmake/pull/4800

Relevant commit: https://gitlab.kitware.com/cmake/cmake/-/commit/d256581bb08799741f9a5221396a5b38b44b3f54

Relevant commit: https://gitlab.kitware.com/cmake/cmake/-/commit/d256581bb08799741f9a5221396a5b38b44b3f54

thanks

try xmake update -s dev


Move user name from title to tooltip

We should also use fewer different font styles. This gets rid of one.
Before:

After:

Motivation besides reducing number of font styles: imo page headers were reading like the page contents (not the data) were custom to the user, which isn't the case. "Analytics for <user>" doesn't make sense to me. Something like "Analytics for <selected asset>" would have been better. One that made me cringe in particular was "Your account for <user>".
I now made sure that all menu items have a caption in collapsed menus (on small screens), which is actually a small improvement by itself (before, the menu items for user account and documentation were only showing an icon).
Before:

After:


Restrict editing key bindings to writable editor

Hey there, great extensions.
I recommend binding editing commands only for writable editors. VSCode's default bindings do exactly that.

Whoops. Forgot about these. I'll make sure to bring these fixes along when I take care of #27 and I'll probably remove the example from the readme altogether. Thanks!


Request: Index Removal

Wanted to mention that there are indexes that are not used that are using space . Use this SQL to find indexes that are not being used. Most are small and no big deal, but I'd recommend that index positions_ll_to_earth_latitude__longitude_index is removed as there is no usage and it adds significantly to the table size which can end up being detrimental to overall query performance.

tablename
indexname
num_rows
table_size
index_size
unique
number_of_scans
tuples_read
tuples_fetched

positions
positions_ll_to_earth_latitude__longitude_index
340042
44 MB
42 MB
N
0
0
0

SELECT
    t.tablename,
    indexname,
    c.reltuples AS num_rows,
    pg_size_pretty(pg_relation_size(quote_ident(t.tablename)::text)) AS table_size,
    pg_size_pretty(pg_relation_size(quote_ident(indexrelname)::text)) AS index_size,
    CASE WHEN indisunique THEN 'Y'
       ELSE 'N'
    END AS UNIQUE,
    idx_scan AS number_of_scans,
    idx_tup_read AS tuples_read,
    idx_tup_fetch AS tuples_fetched
FROM pg_tables t
LEFT OUTER JOIN pg_class c ON t.tablename=c.relname
LEFT OUTER JOIN
    ( SELECT c.relname AS ctablename, ipg.relname AS indexname, x.indnatts AS number_of_columns, idx_scan, idx_tup_read, idx_tup_fetch, indexrelname, indisunique FROM pg_index x
           JOIN pg_class c ON c.oid = x.indrelid
           JOIN pg_class ipg ON ipg.oid = x.indexrelid
           JOIN pg_stat_all_indexes psai ON x.indexrelid = psai.indexrelid )
    AS foo
    ON t.tablename = foo.ctablename
WHERE t.schemaname='public'
AND idx_scan = 0
ORDER BY pg_relation_size(quote_ident(indexrelname)::TEXT) desc

Thanks for pointing that out. I should have noticed these unused indexes, but apparently deleted both "ll_to_earth" indexes at some point. Therefore, my production database didn't have them at all.


Providing CMSSW version info to ElasticSearch

Doing analysis in ElasticSearch it is very useful to have the CMSSW version that was used by the job. I'd like to ask that this information is made available for exporting to ElasticSearch.

@amaltaro, Alan which code is putting this information?

I think this is part of the htcondor monitoring. Is it enough to add a new job classad or we have to do something @sciaba ? It so, then it has to be a comma separated string (or a list...) since there are jobs running multiple CMSSW releases.

Good question. A list of releases would be good but one would need to know something about what CMSSW did each time it ran. Let me discuss it with Brian at the earliest opportunity.

Seems like an oversight that this is not already available from CMSSW via a ChirpCMSSW_cmsRunN_Param fields. I would open a CMSSW ticket for it.
Otherwise please don' add more classadds, just chirp it directly from the CMSSW runtime executor, that knows what CMSSW version it's executing.
That way you get per step information only, but it's easy enough to search for that as long as you know the naming conventions and per step CMSSW version will be needed anyways at some point.

That would be perfect.

@bbockelm as we discussed yesterday. What WMAgent has to provide is a list of CMSSW releases in the job classad, correct?

Isn't it more important that CMSSW provides this information so you can match per step parameters to the CMSSW version ?

Hi Dirk,
To first order, it is a bit of a toss-up whether done in the agent or CMSSW.  I think the agent is the right place though because:

If done in CMSSW, we'd only get the information for future releases.  Implementing in agent would work today (already done in CRAB).
If done by the agent, we'd get this information prior to job starting up (someday could be used for matchmaking in condor) or for steps that didn't run (because of job failure in an early step).

I suppose there's a reasonably good argument that we should do it in both places (think: CMSSW runs in other places, not just WMAgent).  But I think it really should be in the agent for Andrea's use case.
Brian

@amaltaro - can we pull this one back up from the dead?  Is it relatively simple to fix?

It should be fairly simple to implement it. We just have to decide how to publish this information for multi-steps jobs (I assume a comma separated ordered string), e.g.:

step1 on 911, step2 on 911 and step3 on 900 --> "CMSSW_9_1_1,CMSSW_9_1_1,CMSSW_9_0_0"
step1 on 800 and step2 on 800 --> "CMSSW_8_0_0,CMSSW_8_0_0"

Does it sound good? How about the scramArchs? Do we actually care about them?

How can one know the nature of the steps? Is it always obvious what stepN is? If There is no way to know what CMSSW was doing on a particular step, the information is almost useless.

HTCondor classads don't carry information step-wise, instead they contain information about a job/task as a whole. You'd probably need to correlate a job information with the ReqMgr request information, unless CMSSW provides some of that meta data already via condor_chirp...

I hope it does, and if not it should (and the same for the CMSSW version as well, as Dirk had suggested). Correlating information from different sources is often unwieldy.
In general we should find a sound solution for expressing the information about the steps, considering that multi-step jobs are more and more common. This goes beyond the scope of this ticket, though.

@amaltaro - we don't really care about the SCRAM arch because we get the runtime OS information from other sources.
Nowhere in CMS do we define what a DIGI job is: that's been a long-standing problem in all our monitoring, but we can't really fix this in this ticket.


docs: fix broken links

Fix: #2756

@johnnyaug I'm just not sure about the docs/setup/storage/blob.md - not the link is the issue, but actual just to this step.


⚠ Spryr has degraded performance

In 5b32896, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4798 ms

Resolved: Spryr performance has improved in 491512f after 9 minutes.


Landing URL, Service Name & Final Testing of Monitoring Feature

https://github.com/unity-sds/unity-monorepo/tree/main/schemas/health-service'\
https://github.com/unity-sds/unity-sps/issues/127

The JSON file format has been updated to the new specs. I have updated the Lambda function on the unity/dev MC, so changes are now live. I have yet to test the shared service endpoints since the SSM parameter values need to be changed to the new format, but it should seamlessly work once those are updated to the correct format.

{
    "services": [
        {
            "componentName": "Airflow API",
            "ssmKey": "/unity/unity/dev/component/airflow-api",
            "healthCheckUrl": "http://k8s-airflow-airflowi-c40bad68c9-1900721674.us-west-2.elb.amazonaws.com:5000/api/v1/health",
            "landingPageUrl": "http://k8s-airflow-airflowi-c40bad68c9-1900721674.us-west-2.elb.amazonaws.com:5000/api/v1",
            "healthChecks": [
                {
                    "status": "HEALTHY",
                    "httpResponseCode": "200",
                    "date": "2024-07-18T16:49:08.459762"
                }
            ]
        },
        {
            "componentName": "Airflow UI",
            "ssmKey": "/unity/unity/dev/component/airflow-ui",
            "healthCheckUrl": "http://k8s-airflow-airflowi-c40bad68c9-1900721674.us-west-2.elb.amazonaws.com:5000/health",
            "landingPageUrl": "http://k8s-airflow-airflowi-c40bad68c9-1900721674.us-west-2.elb.amazonaws.com:5000/",
            "healthChecks": [
                {
                    "status": "HEALTHY",
                    "httpResponseCode": "200",
                    "date": "2024-07-18T16:49:08.472154"
                }
            ]
        },
        {
            "componentName": "hargitay test fail",
            "ssmKey": "/unity/unity/dev/component/hargitay/fail",
            "healthCheckUrl": "https://www.google.com/account/about/fail",
            "landingPageUrl": "https://www.google.com/account/about/",
            "healthChecks": [
                {
                    "status": "UNHEALTHY",
                    "httpResponseCode": "404",
                    "date": "2024-07-18T16:49:08.962610"
                }
            ]
        },
        {
            "componentName": "Management Console",
            "ssmKey": "/unity/unity/dev/component/management-console",
            "healthCheckUrl": "http://unity-dev-httpd-alb-285256043.us-west-2.elb.amazonaws.com:8080/management/api/health_checks",
            "landingPageUrl": "http://unity-dev-httpd-alb-285256043.us-west-2.elb.amazonaws.com:8080/management/ui",
            "healthChecks": [
                {
                    "status": "HEALTHY",
                    "httpResponseCode": "200",
                    "date": "2024-07-18T16:49:09.151228"
                }
            ]
        },
        {
            "componentName": "OGC API",
            "ssmKey": "/unity/unity/dev/component/ogc-api",
            "healthCheckUrl": "http://k8s-airflow-ogcproce-5b03c67e8a-1762192172.us-west-2.elb.amazonaws.com:5001/health",
            "landingPageUrl": "http://k8s-airflow-ogcproce-5b03c67e8a-1762192172.us-west-2.elb.amazonaws.com:5001/",
            "healthChecks": [
                {
                    "status": "HEALTHY",
                    "httpResponseCode": "200",
                    "date": "2024-07-18T16:49:09.185832"
                }
            ]
        }
    ]
}

This is done


HDDS-2503. Close FlushOptions in RDBStore

What changes were proposed in this pull request?
~Close FlushOptions in RDBStore after use~ (already done in #161).  ~Also~ fix other code issues reported by Sonar:

Use <> in instantiation
Use isEmpty()
Use HashMap, not Hashtable
Rename generic arguments to single-letter
Handle or log exception, not both

https://issues.apache.org/jira/browse/HDDS-2503
How was this patch tested?
Unit test (TestRDBStore), checkstyle.

@adoroszlai Some of the changes are already done in https://github.com/apache/hadoop-ozone/pull/161. Can we remove them in this PR?

Thanks @avijayanhwx for pointing out the other PR, somehow I missed it.

Thanks @dineshchitlangia for reviewing and merging it.


Update API URL to compatible with the latest version of ServerChan

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:

[x] I have read and understand the pull request rules.

Description
Update ServerChan server api url to compatiblewith the latest version
Type of change
Please delete any options that are not relevant.

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas (including JSDoc for methods)
[x] My changes generates no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

Thank for the follow up ♥


Click to send to contact

Right now there is no way of sending to a contact other than copying the address, then manually pasting it into the send screen.
I think the best solution is binding clicks on the contacts to automatically go to the send screen, with the recipients details already in the input field, and perhaps an indicator that you're "sending to contact X", which should also pop up whenever you enter a contacts address manually into the input field.

Partially solved by 1b8d7148b26b927391cf58b0885763a7c0d19eff
It remains to add an indicator that you're sending to a contact whenever a contacts address is present in the address input field


Problem creating a loop that starts and ends at the same point using cubicCurveToPoint

In the number-line-operation sim, I needed a shape where a loop started and ended at the same point on a number line.  The idea was to represent an operation with a value of zero.  Here's a picture:

I was able to get this to work using cubicCurveToPoint, but I needed to add a small "tweak factor" so that the start and end points weren't exactly the same.  Otherwise, the shape looked wrong.  Here's a screenshot:

Is this a bug?  It seems like it to me, but maybe there is some mathematical reason why a cubic curve can't start and end in the same place.
I've added a TODO item in the code where this shape is created, please see NumberLineOperationNode, line 508 as of this writing.

Looks like a bug for sure, presumably with the degeneracy detection.
Reproducing Shape turns into 4 line segments:
window.shape = new kite.Shape().moveTo(
  553.2, 309
).cubicCurveTo(
  538.2, 271.5,
  568.2, 271.5,
  553.2, 309
);

Looks like a bug for sure, presumably with the degeneracy detection.
Reproducing Shape turns into 4 line segments:
window.shape = new kite.Shape().moveTo(
  553.2, 309
).cubicCurveTo(
  538.2, 271.5,
  568.2, 271.5,
  553.2, 309
);

Yep, I was able to remove the workaround code and the shape looks find now.
@jonathanolson - I think you can probably close this, but I wasn't sure if there was anything else that you wanted to verify.  I looked at the commit, and it roughly makes sense to me, but I don't have enough expertise in collinear cubic degeneracy to be able to truly evaluate it.

Sounds good, closing!


Map is missing São Tomé and Príncipe

Hello,
I am trying to highlight different countries on the world map using tmap and I noticed that São Tomé and Príncipe in Africa is not listed. How can I add this so I can work on my project?
Many thanks

Hey thanks for the question. Without more information we can’t help you. Feel free to add more descriptive information about how we can see the same issue you’re seeing and we’ll try and help - it sounds like you just need to as some data somewhere but without more details we can’t tell where or how.
Closing for now.


Is it possible to disable "swipe" to forward/back?

Hello,
I'm working on a little app to display videos in carousel, but currently, when I want to swipe to change my carouselPage, YoutubePlayer try to go forward/back when I swipe.

Is it possible to disable this feature?
Thanks

flags: YoutubePlayerFlags(
   autoPlay: false,
   mute: true,
   disableDragSeek: true // Add this line
),

disableDragSeek also disable backdrop shadow, when press on the view, no grey shadow appear. Is there any way to disable swipe feature but still keep the backdrop shadow???


Fix issue with percentage sliders

Fixes https://github.com/jbx-protocol/juice-interface/issues/91.
Using the InputNumber input of NumberSlider caused a bug where only the first digit of the input would be saved.
It turns out Form.Item intercepts change events from nested inputs. If the input element isn't the direct child of Form.Item, bad things happen! Even though we are handling onChange in NumberSlider, it appears Form.Item overrides this at some point.
Removing the name prop from Form.Item fixes the bug by delegating this responsibility to NumberSlider's onChange event.
Accessibility is unaffected by this change; the name prop doesn't add name attribute to the input field.
Demo
https://user-images.githubusercontent.com/94939382/143429149-10e4ac43-1098-48a6-b732-eaa9695c6e45.mp4

Hey there @peripheralist, could you please review this PR? 🙇

Nice work figuring this out! happy to merge this as it is, but any chance you have a lead on how we can remove the dependency on onChange here?
Ideally, the form input should update the form value automatically, and should rerender without needing to rely on a state variable (this is what the Form.item shouldUpdate property is meant to be for, but it doesn't seem to work as expected).
An example of what I'm talking about is the ProjectPayoutMods file you edited. onChange manually updates the form value and a state variable, and the state variable is only used to ensure that the component re-renders on change

@peripheralist thanks for the review!

Ideally, the form input should update the form value automatically, and should rerender without needing to rely on a state variable (this is what the Form.item shouldUpdate property is meant to be for, but it doesn't seem to work as expected).

As far as I can tell, Form.Item is intended be the direct parent of form fields. For example, this works:
<Form.Item
  name="percent"
  label="Percent"
  rules={[{ required: true }]}
>
  <InputNumber
    formatter={(val?: string | number | undefined) => {
      let _val = val?.toString() ?? '0'
      const decimals = 2

      if (
        _val.includes('.') &&
        _val.split('.')[1].length > decimals
      ) {
        _val = parseFloat(_val).toFixed(decimals)
      }

      return `${_val ?? ''}%`
    }}
    parser={(val?: string) =>
      parseFloat(val?.replace('%', '') ?? '0')
    }
  />
  </Form.Item>

But, as soon as we wrap InputNumber in a <span>, it breaks:
<Form.Item
  name="percent"
  label="Percent"
  rules={[{ required: true }]}
>
  <span>
    <InputNumber
      formatter={(val?: string | number | undefined) => {
        let _val = val?.toString() ?? '0'
        const decimals = 2

        if (
          _val.includes('.') &&
          _val.split('.')[1].length > decimals
        ) {
          _val = parseFloat(_val).toFixed(decimals)
        }

        return `${_val ?? ''}%`
      }}
      parser={(val?: string) =>
        parseFloat(val?.replace('%', '') ?? '0')
      }
    />
  </span>
</Form.Item>

So in this particular case, where we kinda can't have NumberInput be the direct child of Form.Item, I'm not sure we are able to remove our dependency on onChange 🤔 .
As for shouldUpdate, agreed it doesn't appear to be working as expected, but it's unclear to me why we need this. Is the intention to re-render the NumberSlider whenever another form field changes?
I only have 1 day of Antd experience though, so take my digging as a grain of salt 😊

@aeolianeth Yep, that's my understanding too. Antd has lots of little nuanced rules, still figuring them out haha
In the ProjectPayoutMods form item, shouldUpdate is intended to allow the rendered percentage (inline with the input) to update when the form value updates. Although since we're using the onChange callback shouldUpdate becomes redundant (even if it worked as expected). Looks like it was added to ProjectTicketMods by mistake, doesn't serve any purpose there.
Can you go ahead and remove the shouldUpdate in both places? Then let's merge this in. We can work towards deprecating the onChange + state variable pattern later, but it works for now 🤷

Can you go ahead and remove the shouldUpdate in both places? Then let's merge this in. We can work towards deprecating the onChange + state variable pattern later, but it works for now 🤷

@peripheralist sounds good to me!
shouldUpdate removed. Back to you 🏓

nice, thanks! 🙏


rename to angular-translator

Change the name to angular-translator because angular2 is just a version name and now they have 4 so we need to support this too.
Please note that everything will change:

the repository: https://github.com/tflori/angular-translator
the npm package: https://www.npmjs.com/package/angular-translator
the bundle file: bundles/angular-translator.js

You will have to update all of your ts files from:
import { * } from "angular2-translator";

to
import { * } from "angular-translator";

solved with commit https://github.com/tflori/angular-translator/commit/f11789e6c50bb8532e37e53c1348878e00b9f7b2


Bug on PHP 8 - socket_create & is_resource

"monolog/monolog": "^2.0",
"version": "2.1.1"
<?php

$socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
if (!is_resource($socket)) {
	echo socket_strerror(socket_last_error($socket))."\n";
	echo "Not is_resource"."\n";
}

var_dump($socket);

If i run this on windows&Debian on PHP 7.4, I get this result :
$ php socket.php
resource(4) of type (Socket)
If i run the same script on windows&Debian on PHP 8.0, I get this result :
$ ../php-8.0.0-Win32-vs16-x64/php.exe socket.php
Success
Not is_resource
object(Socket)#1 (0) {
}
I wrote this small PHP line because is_resource is use on UdpSocket :
https://github.com/Seldaek/monolog/blob/master/src/Monolog/Handler/SyslogUdp/UdpSocket.php

I think that all the is_resource($this->socket) in this class must become is_resource($this->socket) || $this->socket instanceof \Socket instead, to account from the fact that PHP 8.0 has migrated the socket extension from resources to objects.

I think that all the is_resource($this->socket) in this class must become is_resource($this->socket) || $this->socket instanceof \Socket instead, to account from the fact that PHP 8.0 has migrated the socket extension from resources to objects.

This works for me in PHP 7.4 & PHP 8.0

    public function close(): void
    {
        if ((is_resource($this->socket) || $this->socket instanceof \Socket)) {
            socket_close($this->socket);
            $this->socket = null;
        }
    }

    protected function send(string $chunk): void
    {
        if (!(is_resource($this->socket) || $this->socket instanceof \Socket)) {
            throw new \RuntimeException('The UdpSocket to '.$this->ip.':'.$this->port.' has been closed and can not be written to anymore');
        }
        socket_sendto($this->socket, $chunk, strlen($chunk), $flags = 0, $this->ip, $this->port);
    }

even better solution: compare to false which is the error return value in all PHP versions

Fixed in https://github.com/Seldaek/monolog/commit/fd305da67bdbda519979e8de52599376788d57f1

It looks like there's a few other uses of is_resource scattered around (see https://github.com/Seldaek/monolog/search?q=is_resource). While not all resources have been migrated in 8.0, a longer term goal (maybe even in 8.1) is for that to be done - https://github.com/php/php-tasks/issues/6

It looks like there's a few other uses of is_resource scattered around (see https://github.com/Seldaek/monolog/search?q=is_resource). While not all resources have been migrated in 8.0, a longer term goal (maybe even in 8.1) is for that to be done - https://github.com/php/php-tasks/issues/6

@reedy sure, but the file handle is not migrated to an object yet, so there is nothing to migrate yet. Monolog can adapt to the new PHP API only once it is defined.

@reedy sure, but the file handle is not migrated to an object yet, so there is nothing to migrate yet. Monolog can adapt to the new PHP API only once it is defined.


fix:  accumulation contract min limit checks

changes

Add minimum amount, grids and percent change checks in invest fn
Remove test swap fn from prod accumulation contract
Add separate acc. contract for testing

LGTM , merging @AamirAlam @tahirahmadin


Feature/cli

Add command line interface to ebs. Called from the terminal by running
run_ebs <parameter> -c 'path/to/parameters.yml'
i.e.
run_ebs contrast -c 'path/to/parameters.yml'
This includes a setup.py script to configure the CLI by running
python setup.py install
Within this PR is also some file management, namely moving the wfe, wfsc, and sensitivity factors to their own csv files for easier interfacing with other groups and keeping only one example_pp.json file that the csv data gets appended to.

I cannot get pytest to work anymore, but otherwise great.  Could you fix the pytest issue?  Thanks!

I cannot get pytest to work anymore, but otherwise great. Could you fix the pytest issue? Thanks!

With the most recent push, the test_ebs.py script runs successfully and passes all checks


Update trainer.py

Change I needed to make, to get training script to run.

Thanks for your debugging!


Using All available CPU for camera face detection

Hi,
For camera face detection look slow (faster mod is low for accuracy) .
It is using only one cpu .
How we are going to improve speed for realtime camera detection...?
Thx

Any idea how we can say to dlib :) to use all available CPU . ?

Please see some of the closed issues that discuss this like #151

Is this a Dlib issue to speeding up camera face detection (look like most of the cpu spend here)?
or it has to be a single cpu for face detection ?


Adds script to install extra depencies required

Bash script to add the dependencies from the README to have everything up and running in a single click, to be used quickly in any new computer.
It's not much, but can save time and hassles finding and installing the libs.

As the commits show, I also edited the README to add a working (real) example, and a fix for the issue AttributeError: 'NoneType' object has no attribute 'get_text' #4


Use static runtime for hooks

Preconditions:
Installed GVFS
OS without VS runtime.
Repro steps:

Clone repo by GVFS
Unmount repo
Run git status for repo root

Expected result:
Message "The repo does not appear to be mounted. Use 'gvfs status' to check."
Actual result:
"Application was unable to start correctly (0xC000CE01)"
Explanation:
Hooks from .git/hooks try to find runtime libs in next order:

.git/hooks
current directory
...

When hook application tries to load runtime from current directory it gets "Device not ready" error and stops execution.
To fix this problem we should link hooks with static VS runtime.

Hey @nikola-sh , thanks for the contribution! Have you measured the performance impact of this change?

Hey @jrbriggs!
I didn't measure impact, but I can. What scenarios should I test?

@nikola-sh I'd suggest measuring the process startup time before and after the change. I don't anticipate a major difference here, but I'd like to double-check. Thanks!

@jrbriggs I have executed hooks 1000 times in a cycle without arguments and with disabled stdin, stdout, stderr.
Here are the results:
Static runtime:
GitHooksLoader
261632 bytes
1000 executions: 6030 ms
GVFS.PostIndexChangedHook
140288 bytes
1000 executions: 8612 ms
GVFS.ReadObjectHook
147456 bytes
1000 executions: 8763 ms
GVFS.VirtualFileSystemHook
138240 bytes
1000 executions: 8426 ms
Shared runtime:
GitHooksLoader
34816 bytes
1000 executions: 6211 ms
GVFS.PostIndexChangedHook
22528 bytes
1000 executions: 8750 ms
GVFS.ReadObjectHook
24576 bytes
1000 executions: 8692 ms
GVFS.VirtualFileSystemHook
22528 bytes
1000 executions: 8770 ms

@jrbriggs May I ask you to look at this PR?

@wilbaker Take a look at this PR pls

If we're now linking the hooks to the static VC runtime library, do we need to include the DLLs in the installer anymore?
https://github.com/microsoft/VFSForGit/blob/2a816de5f57df1886c193fdf7d89a126b89b0d02/GVFS/GVFS.Installer.Windows/Setup.iss#L117-L121

If we're now linking the hooks to the static VC runtime library, do we need to include the DLLs in the installer anymore?

That's a good question, I am not sure if they're required by the Managed ProjFS dll (C++/CLI).

If we're now linking the hooks to the static VC runtime library, do we need to include the DLLs in the installer anymore?

That's a good question, I am not sure if they're required by the Managed ProjFS dll (C++/CLI).

@mjcheetham @wilbaker ProjectedFSLib.Managed.dll depends on vcruntime140.dll and MSVCP140.DLL

ProjectedFSLib.Managed.dll depends on vcruntime140.dll and MSVCP140.DLL

@nikola-sh thanks for confirming!
@jrbriggs, @mjcheetham any objections to merging in this PR?

ProjectedFSLib.Managed.dll depends on vcruntime140.dll and MSVCP140.DLL

@nikola-sh thanks for confirming!
@jrbriggs, @mjcheetham any objections to merging in this PR?

@wilbaker looks OK to me!

/azp run PR - Windows - Functional Tests (Sparse Mode)

@nikola-sh thanks for the contribution!


chore: bdd-nh-1581612615 to 0.0.1

chore: Promote bdd-nh-1581612615 to version 0.0.1

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

Needs approval from an approver in each of these files:

OWNERS

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