Enable Virtual Environments in testing

The test cases of "make check" can fail over time due to upstream changes when explicit versions are not captured.  This is important for official releases (release/rocm-rel-5.x).   The Develop and Master branch should keep up with latest possible to catch issues but need to fix upstream dependencies once in to release branches.   An example of this is Protobuf dropping support for Python3.6.  Our rocm-rel-5.2 stream now doesn't build all of it's CI because Protobuf was allowed to float.  So unit tests now fail on OS' that have python3.6
I'd like to see our build support Virtual Environments to easily pin python packages at to specific configurations

The virtual environments need to be setup as a test command, but needs to run before the python onnx tests. Its probably best to use ctest's fixtures to do this(although we dont need a cleanup) to ensure it will always set up the virtual env first. We can probably add a function to setup a virtualenv fixture like this:
function(add_py_venv_fixture(FIXTURE_NAME VIRTUAL_ENV_DIR REQUIREMENTS_FILE)
...
endfunction()

Then add_py_test we would use the fixture and run the python in the virtual env.
Here is a blog about ctest's fixtures:
https://crascit.com/2016/10/18/test-fixtures-with-cmake-ctest/

Draft PR is up for feedback: https://github.com/ROCmSoftwarePlatform/AMDMIGraphX/pull/2191

During discussions with Paul, he suggested to disable Python 2.7 in test/PythonModules.cmake. The motivation for this change is that it would help us to use venv instead of virtualenv. venv is part of the Python standard library whereas virtualenv is a third-party tool. venv is availabe in Python 3.3 and later versions.
PR for disabling Python 2.7: https://github.com/ROCmSoftwarePlatform/AMDMIGraphX/pull/2204

Reopened as changes in the other PR for virtual env, once it is ready, need to be merged in as well.

Addressed review comments on the draft PR. It is up for review again. In the meanwhile, I am testing things out on sles docker container.

Discussed the duplication of test names issue and why I was setting up virtual env for different Python versions with Paul on Friday. He suggested to check for existence of tests before setting up virtual env to avoid the unique name issue. I have made the changes and put up a PR for review.
I have also added a separate reuirements.txt file for sles.

Regarding the requirements file for the virtual env for ubuntu and sles, we discussed in office hours that we would ideally like to keep one requirements file.
In the testing for the required packages, I saw two test cases failing:
test_py_3.6_gpu_async
test_py_3.6_backend

1. test_py_3.6_gpu_async complains about a missing shared library libamdhip64.so.
This library can be found at /opt/rocm/lib on sles. In /etc/ld.so.conf.d/rocm.conf, I see /opt/rocm/lib being specified.
Also, in /etc/ld.so.conf we have:
/usr/local/lib64
/usr/local/lib
include /etc/ld.so.conf.d/*.conf

It should pick up the library but not sure why it is not picking that up. I was able to make the test case pass by specifying the full path to the library in the test case.
2. test_py_3.6_backend complained about missing onnx and pytest packages initially. After installing those packages (onnx==1.10.2, pytest==6.0.1), it errors out because it cannot download the models:
Start downloading model bvlc_alexnet from https://s3.amazonaws.com/download.onnx/models/opset_9/bvlc_alexnet.tar.gz
Failed to prepare data for model bvlc_alexnet: HTTP Error 403: Forbidden

To fix this I installed a more recent version of onnx==1.14.1. This gives error because future feature annotations is not defined in python3.6. They are available from python3.7:
  File "/usr/lib64/python3.6/site-packages/onnx/backend/test/runner/__init__.py", line 5
    from __future__ import annotations
    ^
SyntaxError: future feature annotations is not defined

If I try to install an older version of onnx==1.13.1, I hit the error ERROR: No matching distribution found for protobuf<4,>=3.20.2 since I had installed protobuf==4.0.0rc1. If I install protobuf==3.19.6 and try to install onnx==1.13.1, I get ERROR: Could not find a version that satisfies the requirement protobuf<4,>=3.20.2 (from onnx).
If I try to install protobuf==3.20.2, I get the following error:
ERROR: Could not find a version that satisfies the requirement protobuf==3.20.2 (from versions: 2.0.0b0, 2.0.3, 2.3.0, 2.4.1, 2.5.0, 2.6.0, 2.6.1, 3.0.0a2, 3.0.0a3, 3.0.0b1, 3.0.0b1.post1, 3.0.0b1.post2, 3.0.0b2, 3.0.0b2.post1, 3.0.0b2.post2, 3.0.0b3, 3.0.0b4, 3.0.0, 3.1.0, 3.1.0.post1, 3.2.0rc1, 3.2.0rc1.post1, 3.2.0rc2, 3.2.0, 3.3.0, 3.4.0, 3.5.0.post1, 3.5.1, 3.5.2, 3.5.2.post1, 3.6.0, 3.6.1, 3.7.0rc2, 3.7.0rc3, 3.7.0, 3.7.1, 3.8.0rc1, 3.8.0, 3.9.0rc1, 3.9.0, 3.9.1, 3.9.2, 3.10.0rc1, 3.10.0, 3.11.0rc1, 3.11.0rc2, 3.11.0, 3.11.1, 3.11.2, 3.11.3, 3.12.0rc1, 3.12.0rc2, 3.12.0, 3.12.1, 3.12.2, 3.12.4, 3.13.0rc3, 3.13.0, 3.14.0rc1, 3.14.0rc2, 3.14.0rc3, 3.14.0, 3.15.0rc1, 3.15.0rc2, 3.15.0, 3.15.1, 3.15.2, 3.15.3, 3.15.4, 3.15.5, 3.15.6, 3.15.7, 3.15.8, 3.16.0rc1, 3.16.0rc2, 3.16.0, 3.17.0rc1, 3.17.0rc2, 3.17.0, 3.17.1, 3.17.2, 3.17.3, 3.18.0rc1, 3.18.0rc2, 3.18.0, 3.18.1, 3.18.3, 3.19.0rc1, 3.19.0rc2, 3.19.0, 3.19.1, 3.19.2, 3.19.3, 3.19.4, 3.19.5, 3.19.6, 4.0.0rc1, 4.0.0rc2, 4.21.0rc1, 4.21.0rc2, 4.21.0)
ERROR: No matching distribution found for protobuf==3.20.2

TLDR: I cannot get the required version of protobuf to install that will support onnx version clsoe to onnx 1.14.1.

Updates for the above 2 issues:

Missing shared library issue is solved by specifying the full path to the library. This is tracked under https://github.com/ROCmSoftwarePlatform/AMDMIGraphX/issues/2263

I got feedback from the team to try an older version of onnx that could satisfy other dependencies for python3.6. The oldest version I can use for onnx is 1.13.1 because the URL for the real models was fix in that release via Update URL for real models from ONNX Runtime https://github.com/onnx/onnx/pull/4865.
When trying to install onnx 1.13.1, it complains about an incompatible version of protobuf:

ERROR: Could not find a version that satisfies the requirement protobuf<4,>=3.20.2 (from onnx==1.13.1) (from versions: 2.0.0b0, 2.0.3, 2.3.0, 2.4.1, 2.5.0, 2.6.0, 2.6.1, 3.0.0a2, 3.0.0a3, 3.0.0b1, 3.0.0b1.post1, 3.0.0b1.post2, 3.0.0b2, 3.0.0b2.post1, 3.0.0b2.post2, 3.0.0b3, 3.0.0b4, 3.0.0, 3.1.0, 3.1.0.post1, 3.2.0rc1, 3.2.0rc1.post1, 3.2.0rc2, 3.2.0, 3.3.0, 3.4.0, 3.5.0.post1, 3.5.1, 3.5.2, 3.5.2.post1, 3.6.0, 3.6.1, 3.7.0rc2, 3.7.0rc3, 3.7.0, 3.7.1, 3.8.0rc1, 3.8.0, 3.9.0rc1, 3.9.0, 3.9.1, 3.9.2, 3.10.0rc1, 3.10.0, 3.11.0rc1, 3.11.0rc2, 3.11.0, 3.11.1, 3.11.2, 3.11.3, 3.12.0rc1, 3.12.0rc2, 3.12.0, 3.12.1, 3.12.2, 3.12.4, 3.13.0rc3, 3.13.0, 3.14.0rc1, 3.14.0rc2, 3.14.0rc3, 3.14.0, 3.15.0rc1, 3.15.0rc2, 3.15.0, 3.15.1, 3.15.2, 3.15.3, 3.15.4, 3.15.5, 3.15.6, 3.15.7, 3.15.8, 3.16.0rc1, 3.16.0rc2, 3.16.0, 3.17.0rc1, 3.17.0rc2, 3.17.0, 3.17.1, 3.17.2, 3.17.3, 3.18.0rc1, 3.18.0rc2, 3.18.0, 3.18.1, 3.18.3, 3.19.0rc1, 3.19.0rc2, 3.19.0, 3.19.1, 3.19.2, 3.19.3, 3.19.4, 3.19.5, 3.19.6, 4.0.0rc1, 4.0.0rc2, 4.21.0rc1, 4.21.0rc2, 4.21.0)
ERROR: No matching distribution found for protobuf<4,>=3.20.2 (from onnx==1.13.1)

There is no version of protobuf for python3.6 that satisfies the requirement protobuf<4,>=3.20.2. Looks like we would have to disable this test for sles using python3.6.

I will proceed to make changes to the requirements file setup so we can use two requirements files for onnx versions for ubuntu and sles, and use one requirements file for all other packages.

Updated PR to add support for version specific python requirement files.

I had put up the PR with requirement files for python specific versions, a couple of days.
I got feedback on it yesterday and I have addressed the comments.
The new PR sets up different virtual envs for onnx backend and other tests. It also disables running onnx backend tests for python 3.6. The requirement file for backend onnx test has been separated. The PR with these changes is up for review again.

Re-opening as the main PR needs to be merged in.

This PR removed the try-except clause for importing numpy tests because the tests would silently exit if numpy was not found. It is preferable to have the tests fail if the numpy requirement is not satisfied, rather than silently exiting.


add option to only generate a new file if the source is newer

While on it, I'd suggest to extend the handling of generic profiles: If the project is generic, and would thereby be overwritten by other profiles called generic, append a sanitized target to it.
generic in x86/64 should become generic_x86-64 etc. That reflects the changes of https://github.com/openwrt/openwrt/pull/3082 and is thereby compatible with older releases like 19.07.x

Doesn't this only affect the displayed target? I do not understand how this hides / overwrites entries in the collect.py script. Anyway, this should go into another issue.

The build date is not from the last modified date of the overview.json anymore, making this change irrelevant.


fix a few golint errors

ping @tonistiigi @aluzzardi

LGTM

LGTM

LGTM

@vieux That dot removal broke a test

LGTM

00:52:55 FAIL: docker_cli_help_test.go:145: DockerSuite.TestHelpExitCodesHelpOutput
00:52:55
00:52:55 docker_cli_help_test.go:199:
00:52:55     c.Assert(stderr, checker.Equals, "docker: 'BadCmd' is not a docker command.\nSee 'docker --help'.\n", check.Commentf("Unexcepted output for 'docker badCmd'\n"))
00:52:55 ... obtained string = "" +
00:52:55 ...     "docker: 'BadCmd' is not a docker command.\n" +
00:52:55 ...     "See 'docker --help'\n"
00:52:55 ... expected string = "" +
00:52:55 ...     "docker: 'BadCmd' is not a docker command.\n" +
00:52:55 ...     "See 'docker --help'.\n"
00:52:55 ... Unexcepted output for 'docker badCmd'

@aluzzardi PTAL

LGTM

LGTM


Using llmware models with Ollama Modelfile

Hi there,
I am trying to use slim models from llmware such as 'slim-sql-tool' with Ollama. but I need to create a prompt template in Modelfile and I was wondering what would it be look like. In your HF config.json it says:
"prompt_format": " {table_schema} \n {question} \n:"
Would mind clarifying what would be the exact TEMPLATE for modelfile?
One example will make it clear with other models too.
Thanks,
M.

@mallahyari I am user of Ollama too, you may refer to my solution for LocalAI at https://github.com/limcheekin/llmware/blob/main/examples/Models/using-localai-slim-models.py.
This is not an optimal solution, but it is what I found and workable solution at the moment.
Appreciate if you could share a better solution here for Ollama.
Hopefully we will hear from llmware team soon regarding this matter.

@limcheekin & @mallahyari - thanks for raising this - the general prompt format for a SLIM model looks like this:
full_prompt = ": " + {{context}} + "\n" + "<{}> {} </{}>".format(function, params, function) + "\n:"
context = the core text passage (or in the case of a SQL model, this will be the sql table schema)
function =  (e.g., "classify") is provided in the model configs for the model - both in the llmware/model_configs.py model card, and in the Huggingface repo config.json file.
params = vary by model, some do not require/optional, while others look at the params as the 'input' into the function, e.g., in the case of SQL model, this is the query, or in the case of a slim-extract model, it would be the extraction key (e.g., "revenue growth")
For the SQL model, in particular, you can simplify the prompt even further, as suggested above:
prompt = ": " + {{sql_table_schema}} + "\n" + {{natural language query}} + "\n" + ":"
Hope this answers the question - welcome more dialog and discussion on this topic - we would be delighted to collaborate on better packaging of the SLIM prompt templates into Ollama ModelFiles - let me know!   :)

@doberst @limcheekin Thank you the responses. Let me clarify my problem. I am trying to use llmware SLIM models in Ollama (without using llmware library) for a project. After I download the GGUF model from HF, I need to create a "Modelfile" to be able to add it to my ollama list. in the Modelfile I have something like this:
FROM /Downloads/slim-sql.gguf
TEMPLATE """
: {{ .Prompt }} :
"""
This TEMPLATE must be the correct chat prompt template, otherwise, the model generations will be meaningless. I tried different thing based on your HF, but nothing didnt work including above template format. I was wondering what the correct TEMPLATE is?
Thank you,
M.

@mallahyari I get you. That's exactly my use case, I'm using the SLIM models in LocalAI without using llmware library. I'm currently defining model yaml file of LocalAI for each SLIM model, for example slim-sentiment-tool.yaml.
@doberst Thanks for your support. I updated the using-localai-slim-models.py example on how to use the SLIM models in LocalAI with llmware library, appreciate your review and feedback if there's better way.

@limcheekin Thank you for the code sample. I am going to try it out and see whether this format works with Ollama or not.
@doberst That would be great if there is some info/guide how to use llmware SLIM models with ollama especially the prompt template format.

@mallahyari Any update? Do you need any help?

@limcheekin I haven't been able to try it due to being super busy! When I do, will let you know. :)


session: allow user to isolate pac script and proxy bypass rules

Fixes #4032
Previously single proxy types where considered as PAC urls. Since there is no way to differentiate where a single proxy rule is a pac url or a proxy rule, we require the user to specify them now.

This is going to be a breaking change, can you make the code fallback to previous logic when a String is provided?

In the docs we should mention what would happen when both pacScript and proxyRules are provided.

@zcbenz fixed, thanks!

:+1:


SVG thumbnail, White SVG on a transparent background instead of white background

Description of the new feature / enhancement
in File explorer add-ons -> icon preview -> .svg thumbnails
make the thumbnail transparent or simi-transparent, so white svg would be displayed properly.
Scenario when this would be used?
it's important when we have many svg files as a result of a mass export from ex: Figma, and we want to know which is which, most of the times an svg would be white.
Supporting information
Maybe if it's going to make the thumbnail size bigger, that it would be an opt-in feature (a checkbox to enable it)

/dup #2516


Major update to eslint 9.x

📦 Published PR as canary version: 5.0.0--canary.6.3218a3c.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

:rocket: PR was released in v5.0.0 :rocket:


Undefined array key "request"

when I just installed it and did what was done in README.md then I checked it and the error immediately occurred. Oh BTW I use the 1.0 version.

After some searching I think the error lines are https://github.com/chrysanthos/pulse-requests/blob/83ee911927617162b3c98366bec233dffb45db8f/src/Livewire/Requests.php#L26 and https://github.com/chrysanthos/pulse-requests/blob/83ee911927617162b3c98366bec233dffb45db8f/src/Livewire/Requests.php#L22
Because the "request" prop is not in "requests" collection I think.
But I'm not sure what to do, because I don't know how the Laravel Pulse card works.

Hey @JastinXyz, I just released version 1.0.5 which fixes this. Let me know if it works for you too.


Unable to perform SCIM operations on SCIM claims with wso2 identity mapped claims

When the local mapped claims of SCIM claims are WSO2 identity claims , it is not treated as a local wso2 claim by the userstore manager.

Fixed with #81


Added stage build-snapshot-linux-x64-tar which will build the entire manifest, uploads to nexus, but without uploadMinSnapshotsToS3.
Added componentName: "OpenSearch" to stages build-os-snapshot-linux-x64-tar build-os-snapshot-linux-arm64-tar build-os-snapshot-macos-x64-tar and build-os-snapshot-windows-x64-zip, along with uploadMinSnapshotsToS3 to only build OpenSearch and upload the min
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/2716
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #2717 (82a6176) into main (1d84633) will decrease coverage by 0.33%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2717      +/-   ##
==========================================
- Coverage   94.10%   93.77%   -0.34%
==========================================
  Files         156      156
  Lines        4208     4208
==========================================
- Hits         3960     3946      -14
- Misses        248      262      +14

Impacted Files
Coverage Δ

src/system/temporary_directory.py
64.44% <0.00%> (-28.89%)
:arrow_down:

src/system/os.py
93.75% <0.00%> (-6.25%)
:arrow_down:

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

Somehow the file change diff is not showing properly, please check https://github.com/opensearch-project/opensearch-build/blob/82a617664524c0beba74e4365f637ad2c239f681/jenkins/opensearch/distribution-build.jenkinsfile

Rebase on main @prudhvigodithi github is a bit huccup today some comments are not showing as well.

I am unable to recollect the reason for building snapshots apart from publishing on maven. If there is anything else we might need for all platforms. Minor comment added to make it easy for community/users to read the stage.
cc: @dblock

The more generic issue is https://github.com/opensearch-project/opensearch-build/issues/2716, note that other components publish maven snapshots too.


Confusing Tutorial  documentation re Ctrl-Enter

Description
Ctrl-Enter* executes the current cell (menu entry Run ‣ Run cell). A cell is defined as the code between two lines which start with the characters #%%, # %% or # ."
? what does the "*" mean?
? what is "current cell" I assume the one the cursor is in but this is not formally defined.
? what is a ""?
? why does this work on a simple line of code e.g. hello() which is not a cell as defined?
Versions

Spyder version: 3.3.2
Python version: 3.7.1
Qt version: 5.9.6
PyQt5 version: 5.9.2
Operating System: Windows 10

Dependencies
pyflakes >=0.6.0  :  2.0.0 (OK)
pycodestyle >=2.3 :  2.4.0 (OK)
pygments >=2.0    :  2.3.1 (OK)
sphinx >=0.6.6    :  1.8.2 (OK)
rope >=0.9.4      :  0.11.0 (OK)
jedi >=0.9.0      :  0.13.2 (OK)
nbconvert >=4.0   :  5.4.0 (OK)
pandas >=0.13.1   :  0.23.4 (OK)
numpy >=1.7       :  1.15.4 (OK)
sympy >=0.7.3     :  1.3 (OK)
cython >=0.21     :  0.29.2 (OK)
qtconsole >=4.2.0 :  4.4.3 (OK)
IPython >=4.0     :  7.2.0 (OK)
matplotlib >=2.0.0:  3.0.2 (OK)
pylint >=0.25     :  2.2.2 (OK)

2 references to <codecell> (end of lines 1 6) did not show apparently due to being treated as tags. I was typing this in the Spyder Issue reporter where no instructions are given that alone is a problem.

I found the answer to what does the "*" mean? "those marked with * can be customized". Again confusing as * normally refers to footnotes, where I looked.


Proposal: Support for Windows Forms apps for all kinds of apps on all editions of Windows

I really want the next version of windows forms for modern devices with easier event driven coding and UX drag and drop UI

To answer your original question, you'll be able to use Project Reunion functionality in all applications. That includes Windows Forms, WPF, UWP-XAML, WinUI 3.0, custom rendering, Electron, and more.
I retitled this question as a "can we get Windows Forms to work in UWPs as well?" The core issues are Windows Forms' reliance on HWNDs and precise coordinate positioning, while modern apps on many editions use CoreWindow and relative coordinate spaces.  We certainly recognize the sheer volume of WinForms/WPF apps out in the world on Windows and want to get them a path to move forward as well using technology from Project Reunion.
For now, please check out WinUI 3.0 for a modern markup-oriented UX that works across lots of different kinds of apps and Windows editions.

I wish UWP and new tech like xamrin worked like Windows forms, it was so
easy to make a simple app and go complex too
On Mon, Jun 29, 2020 at 9:44 AM Jon Wiswall<EMAIL_ADDRESS>wrote:

To answer your original question, you'll be able to use Project Reunion
functionality in all applications. That includes Windows Forms, WPF,
UWP-XAML, WinUI 3.0, custom rendering, Electron, and more.
I retitled this question as a "can we get Windows Forms to work in UWPs as
well?" The core issues are Windows Forms' reliance on HWNDs and precise
coordinate positioning, while modern apps on many editions use CoreWindow
and relative coordinate spaces. We certainly recognize the sheer volume of
WinForms/WPF apps out in the world on Windows and want to get them a path
to move forward as well using technology from Project Reunion.
For now, please check out WinUI 3.0
https://docs.microsoft.com/en-us/windows/apps/winui/winui3/ for a
modern markup-oriented UX that works across lots of different kinds of apps
and Windows editions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/ProjectReunion/issues/91#issuecomment-650901425,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIRXJSAZM2QH5Q5X2E5RKTDRZAL3JANCNFSM4OIHKZRQ
.

I am overwhelmed with too much options, here , xamarin, winui, .net 6 maui, WPF windows forms and too much

I don't see this being possible because that would mean support for IoT and XBox. I know that XBox can't run Windows Forms and it should probably stay that way.

There are 50,000 flutter apps in both the iOS and Android store. What you saw was your own ignorance (not meant as an insult) of the technology. It works VERY well for iOS, Android and now macOS (with the majority of those apps getting ported to macOS almost immediately giving macOS the major win that Windows needs right now)
Web is about to go mainline and works very well too. As of June 25th you can write for iOS, Android, macOS and Web from one environment by simply learning Dart. (And yes, it supports essentially everything that Xamarin Forms does but with a pixel perfect renderer on all platforms)
The weaknesses of flutter are:
Some plugins haven't yet been ported to Web. They're coming quickly however.
Dart is not nearly the language that C# is.
Flutter doesn't have the Xamarin eco-system for Simulators, and compile to store etc. that Xamarin does.
Windows support is still lacking.
Linux support is still lacking.
There literally are no other downsides. I've built the same app in Xamarin and flutter and the flutter app looks way better, functions way better and is more stable. The development environment though limited is also way more stable.
#1 is just a time thing.
#2 The flutter rendering engine is C++ code and ANY language can be hooked to it. @SteveSandersonMS did a POC of Blazor running against flutter. That work needs to be taken seriously and made into a full project. There's 0 reason why C# can't be used with flutter and it would give flutter a vastly better development experience.
#3 All of Xamarin tools could come over easily with the remote simulators etc. This is just a decision by MS. If you recall they had these working for Cordova before they dumped cordova support in VS.net. So it's already there and could easily be extended and publish to the stores is already there and just needs the blazor tooling.
#4 This is on MS. Google has asked in a blog post for help from Microsoft. Microsoft has provided support for Duo in Flutter recently. If MS added Windows support and the ability to write plugins in C# UWP instead of having to use win32 and C++ Flutter's Windows ecosystem would flurish quickly because of the massively larger developer pool.
#5. Not sure this even matters.
I'm a Microsoft guy. I love C#. It's by far the best development language made. XAML is another story but I'm going to ignore it for now. I would much rather never have touched Dart. It's a lame language that google created to compete with C# and Typescript and prove that they could make it more simple and in the process made most things more difficult.
I would very much love to see Microsoft succeed. But their current approach of project reunion is a fool's errand. With the exception of games and some highly specialized tools that require realtime responsiveness/low level hardware, Windows development on its current track is an ever shrinking market and reunion doesn't change that or give MS any new opportunities to expand that. Windows has quickly become a web browser with Office. Office is literally the only reason why most companies haven't switched to chromebooks or linux on desktops. Maui is just more of the same Xamarin that has proven to be a complete flop. Xamarin forms in specific is a mess. It's so bad that in 2019 they went 3 months without a build of visual studio that could
compile to all 3 stores at the same time because of bugs. Exactly 3 people even watched the bug reports. Changing the name and providing a syntax more similar to Flutter without the rendering engine that flutter provides is a pointless waste of resources because it still won't be used.
By adopting the flutter rendering engine and bolting on C# like dart is right now and then providing all of the tools necessary so that a dev never needs to own a Mac Microsoft has the opportunity to win BIGLY. And they have the opportunity to have their competitor do work for them. That means Duo and Neo get an app ecosystem and become relevant, and it means that Windows app development has a chance again.


get release permissions for the ssh slaves plugin

Description
Add permissions to Ivan Fernandez on the SSH Slaves Plugin repository.
Git repo: https://github.com/jenkinsci/ssh-slaves-plugin
CC: @oleg-nenashev
Submitter checklist for changing permissions

Always

[X] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[X] Make sure the file is created in permissions/ directory
[X] artifactId (pom.xml) is used for name (permissions YAML file).
[X] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[X] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[X] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[X] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[X] All newly added users have logged in to Artifactory at least once

Also https://github.com/jenkinsci/ssh-slaves-plugin/pull/85


[Issue 84] Addiing Home Page Desktop Styles

This PR adds styles for the home page at desktop screen sizes. It also updates the screen breakpoints and adds some extra elements to support grid layout.
Closes #84

:tada: This PR is included in version 1.3.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


:construction: Display an end point to show when the last time slot e…

Per issue #128
In progress because I'm unsure this is the best design, because it changed some good timeline table cell view signatures.

Also need to change the call in some other places 😮

This should probably be rebased or redone (cherry picked) on a new branch.


T4 pb 12150

Description
adding ECU CMOS Battery condition monitoring node.
if codition variable CMAKE_ECU_PLATFORM is "adlink",  this node is enable.
Otherwise it will be disabled.
Related links
Tests performed
Notes for reviewers
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers

[ ] The PR reviewers must check the checkboxes below before approval.
[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ]  The PR is ready for merge.
After all checkboxes are checked, anyone who has write access can merge the PR.

@nobuotakamasa @ito-san Could you update the status of this PR? If it's not necessary anymore, please close it.

@nobuotakamasa @ito-san Could you update the status of this PR? If it's not necessary anymore, please close it.

There is a similar PR(https://github.com/autowarefoundation/autoware.universe/pull/1447) and I believe all of these PRs should be closed.
@nobuotakamasa
May I close these PRs or would you please close it?


Choose which shortcuts shown in quick access

Description of the new feature / enhancement
To choose which shortcuts are shown in the window that opens when PowerToys gets opened through the taskbar.

Scenario when this would be used?
It's easier to open/see the shortcut.
Yours faithfully,
Tesletix :)
Supporting information
No response

/dup of #19541

Following the trail back to the very start (several messages) says closed.   Closed means, nice to have, but no? ... finished and working?  ...  under developement?

/dup of #19541

How is this a duplicate issue? The quick access popup you get when clicking the PowerToys icon on the taskbar is not the same as opening the Shortcut Guide module, or am I misunderstanding something here?
Would be nice to be able to choose which apps are visible in that quick access popup

Ah my apologies, I must have misread the other issue. I'll reopen this one, thanks for bringing it to my attention!

It would seem obvious that the user should be able to determine what items should be included in the quick access menu. When will this feature become available?

/dup https://github.com/microsoft/PowerToys/issues/24283


"listener not found" in console when using Leaflet 1.8.0

See https://jsfiddle.net/qo1hj6dz/1/ for a JSFiddle. This uses Leaflet 1.8.0, calls enableDraw('Rectangle'), and adds a toolbar with some of the controls.
There's no apparent effect on user-facing functionality, but there are console warnings of "listener not found" in the following situations:

When the cursor first enters the map on initial run (connected to the enableDraw('Rectangle'), I believe)
When the second marker of the rectangle is placed, finishing the rectangle
4 times when clicking the "Edit Layers" control when a rectangle exists on the page
2 times every time a marker is moved to a new location in edit mode

Thanks for the great plugin! I hope this is useful in debugging the issue!

@maxfelsher Did you get a solution for this. As i am also facing the exact issue.

@Falke-Design @codeofsumit Can anyone help on this issue?

Yes we are on it. But it is only a warning not a really issue.

Yes we are on it. But it is only a warning not a really issue.

When can we expect for a future release, as need to remove the warnings from console.

Earliest with the Leaflet 1.8.1 release, because then the required functions to prevent this warning are available

Will be fixed with the next Leaflet Version https://github.com/Leaflet/Leaflet/pull/8234


Registration type for Coops is not translating correctly

Example Record: https://orgbook.gov.bc.ca/entity/CP1002773

Fixed, tested in test.

Verified in prod.


Remove EVENT_INTERVAL

L: latency (operation time)
E: event interval
B: batch size
T: total batch time

T = (B * L) + ((B - 1) * E)

With this we can compute:

latency:

L = (T - ((B  - 1) * E)) / B

throughput:

B / T

What we were logging was T (since ?EVENT_INTERVAL = 0).
So we need to change the log-processing script to compute latency correctly.

This should go into unstable, and no master.


Add a sas-definition for a container sas-token

Please add an example for creating a Sas definition based on a container Sas token template.

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

ID: ffb4f675-e758-034e-eb29-7feb1d26ba40
Version Independent ID: 29bc7e09-ef46-df68-7fbe-3d2c641134e0
Content: az keyvault storage sas-definition
Content Source: latest/docs-ref-autogen/ext/keyvault-preview/keyvault/storage/sas-definition.yml
Service: key-vault
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@jiasli Can you have a look at this issue?


Renamed gamemodes with too long of a name

knockOffDynamic -> KODynamic
knockOffWander -> KOWander
knockOffRandom -> KORandom
It looked bad on the controller

Not sure if this got unchecked in the last comments:
Also what is the purpose of renaming the classes? If it shows up as too long of a name on the controller maybe another fix would be to add a variable that holds the name of the gamemode. Seems over the top that you would have to rename the classes


CHANGELOG: add compare links to each release

This PR adds links on the version name of each release, linking to the GitHub compare view of this release vs the previous one.

inspired by Keep a Changelog

Coverage remained the same at 93.508% when pulling 2b042eacb7429194d30063c2c192909ff6d46561 on olleolleolle:fix/link-changelog-compare into 1c65b281ba7c88ce0a240d76106a8aed51f8d50f on lsegal:master.

This is great! Thank you!

Thank you for keeping this project so lively.


pull request for e2e test at 11/29/2016 11:26:04

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


License

Hi @rsyring
I'm working on rearranging some parts of the repository.
A missing part is an explicit license.
I saw that in 'setup.py' you indicate BSD.
It has some variations, the most recommended in GitHub is MIT.
Which one do I add to the repository? MIT or BSD 2/3-clause?

@la-costa Let's go with the 3-clause BSD.  Thanks for asking.

License added in #17


[BLAS] Fix the BLAS domain when using hipSYCL

Description
in PR #167 the hipSYCL BLAS domain was broken due to an unintentional, presumably search and replace, error. This PR fixes that error.
All Submissions

[x] Do all unit tests pass locally? Attach a log.
[x] Have you formatted the code using clang-format?

2022-04-25-fix-hipsycl-cublas-test.txt
I had some issues with ctest with the rocBLAS platform, however with gtest directly everything passes:
2022-04-25-hipsycl-rocblas-rt-test.txt
2022-04-25-hipsycl-rocblas-ct-test.txt

@sbalint98 Can we use this PR to fix MKLCPU backend with hipSYCL? Can you remove the unrelated changes please?


Special characters in strings are not being highlighted

Top string is highlighted correctly (and actually good according to my syntax file) (seems tree-sitter or t-s-d dies on warning lines)
Bottom string is highlighted via tree-sitter-d and it does not show \" correctly (and also does not respect syntax file)

(If you're curious, the reason we don't do an grammatical check on the interior strings is that D's use of multiline strings means that you really need to assess this at lexing time, rather than during grammar parsing.  I've chosen, for better or worse, to treat the strings as single grammatical objects as a result of lexing phase.  Which means that they don't get treatment like what you're asking for.)
Fixing this is certainly possible, but it will be not particularly trivial, and might rather substantially slow down the grammar, and add a lot of bloat to what is already the most complex tree-sitter grammar in existence.  I'll need to think about whether it's something important enough to do.)

Good news... I have a change coming that will give you this!

As of right now in master, the necessary grammar bits are present,  I have to update queries, and then I'll close this bug.

Queries for nova, the main basic highlighter  are done, and I've posted a PR to update Zed.dev.
This probably won't help you with neovim, but the maintainer of that plugin will need to update accordingly.  I am happy to provide guidance to that person if needed.
In the meantime I am closing this bug.  You may want to file another bug against neovim to pick up the updates.

Treesitter plugin for neovim uses upstream of default (or specified) branch of language repo, so, everything is technically already should be updated, I'll check if it works a bit later


Add support for aliases

It doesn't seem that field name aliases are supported?  For example, if my avro definition has a field defined as:
{
         "name": "plain_field",
         "type": [
           "null",
           "double"
         ],
         "doc": "Any field",
         "default": null,
         "aliases": [
           "alias_for_that_field"
         ]
}

the resulting class does have a getPlainField() but does not have a getAliasForThatField() method.

the resulting class does have a getPlainField() but does not have a getAliasForThatField() method.

That is not how aliases work. It accepts incoming data that has a field alias_for_that_field instead of plain_field.


Allow position of legend to be set with coordinate tuple as in Bokeh

Bokeh: https://bokeh.pydata.org/en/latest/docs/user_guide/styling.html#location
Legend positions can be set by position names but also by: a (x, y) tuple indicating an absolute location in screen coordinates (pixels from the bottom-left corner).
Holoviews supports the named-positions but not the coordinates.

Incidentally, I can't find out how to change the position of a legend (even with just the position name) anywhere in the Holoviews documentation. Legends could be documented better, IMHO.

Agreed, I believe there should be a section about legends in the Customizing Plots user guide. A PR to add that would be greatly appreciated, it should also cover the legend_offset parameter which does allow adjusting the legend in screen space.

I'd be happy to submit a PR, but I don't know how legends work. A bit of a catch-22 😅

For those landing here after googling for this, the position of the legend can be set with .opts(legend_position='top_left') for example.


The Complex Filters Support for The SCIM 2.0 API

Is your suggestion related to an experience ? Please describe.
Currently the complex filters (queries with AND, OR, NOT operators) are not supported in filter parameters for SCIM 2.0 API requests. These complex queries are very useful to perform many data retrieval tasks (ex-: to retrieve roles management roles in application domain, we need to perform a filter: 'displayName+sw+Application/+and+displayName+ew+manager').
Currently it gives the following response:
{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:Error"
    ],
    "detail": "Complex filters are not supported yet",
    "status": "501"
}

Describe the improvement
Facilitate complex filters with AND, OR, NOT operators in SCIM 2.0 API.

AND operation is supported https://github.com/wso2-extensions/identity-inbound-provisioning-scim2/blob/5d8e8482396ba084faebee30657f030511e47b2f/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java#L2119
Only OR and NOT are the filters that not supported yet

We came across this requirement when we wanted to show a list of users in a SPA (medical aid project). We have a list of ID we keep in the data base associated with each resource. We want to get a list of display names. Our query will look like Users?filter=id eq 23 or id eq 34 or id eq 24.
(I think an alternative way is to model the resource in IS as well then this will be filtering by permission, but this is not available yet)

Is there any work in progress about "or " and "not" operators ?
It would be very useful in our environment.
Thanks !

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

Reopening this issue as there has been a requirement to support 'NOT' operation related to the Idle Account Suspension feature.


UTXO Consolidation: One Tap

Task Description
We would like to provide the user with a single-tap(at max a couple) option to consolidate their UTXOs.
Consolidation could be based on:

Amount(consolidate similar ones, outputs one UTXO)
Labels(consolidate UTXOs by label, outputs n UTXOS, where n is the number of labels)

Note: The user can individually pick UTXOs and consolidate them from the send flow already, so this option is just going to be a quick way to consolidate without many steps.
The fee insight ties into it as it provides the user with consolidation CTA when the fee is lower. @cakesoft-shyam

https://xd.adobe.com/view/f1543c84-c25a-4ad6-81ca-1e0c540e956e-a407/screen/4aa3a4be-2f4f-47da-8dc1-1a005ca030c4/specs/

Have put in the text @summikhan11

Here's a flow for UTXO Consolidation - by number/amount and by Labels
Section link:
https://www.figma.com/design/m5eMFTKD391AiJAXaEzgxB/Bitcoin-Keeper?node-id=5350-10249&t=IehX2qKzBkMfq4Gy-1
S.S.

Updated the UX a Bit on amount selection of UTXOs, here iss the link:
Section:
https://www.figma.com/design/m5eMFTKD391AiJAXaEzgxB/Bitcoin-Keeper?node-id=5350-10249&t=udEvSEySdLMeJyAM-1
s.s


Ensure compatibility with master/0.14.0

Getting the following error from 0.14.0-dev.367+a57479afc:
/tmp/zigar-build/call-sprintf-2f7a5368/build.zig:32:7: error: no field or member function named 'addCopyFileToSource' in 'Build.Step.WriteFile'
/home/cleong/.zvm/master/lib/std/Build/Step/WriteFile.zig:1:1: note: struct declared here

Change made doesn't seem to work correctly.


vim .swp files in repo

It looks like you forgot to .gitignore *.swp and you have some left in the repo.
~/medifor# find . -name '*.swp'
./python/medifor/v1/.setup.py.swp
./python/medifor/v1/.analyticservice.py.swp
./python/medifor/v1/.mediforclient.py.swp

It's mucking with some editors so you should probably remove them.
File python/medifor/v1 is being edited (by nicholasburnett with VIM 8.0, PID 30752); continue?

#14 fixed


Add params, query and fragment when redirecting to a language or default route

Fix an issue in the Grav lang redirect. E.g. I call /order/id:order-20160320-202557-668641/token:2mgb4D27S3, if multilang is ON, and the lang is prefixed, Grav loads the page /en/order/, losing all the parameters and additional URL segments

One thing we could do to optimize.  Rather than check if $url == '/' just ltrim($url, '/')


Issues with mocking a method to throw an exception

Hi,
I found two annoying issues when mocking a method to throw an exception:

When doing the following, the exception is thrown but "called" will stay false:
bool called = false;
mock.When(x => x.SomeMethod()).Do(() => called = true).Throw()
try { mock.SomeMethod(); }
catch { }
When throwing an exception in the Do action, it will be wrapped under a TargetInvocationException:
mock.When(x => x.SomeMethod()).Do(() => throw new MyException())
try { mock.SomeMethod(); }
catch (MyException) { /* Will never go there. */ }
catch (TargetInvocationException) { /* Will go there instead. */ }

Thanks for all the nice work!

Thanks for the report @Medality. Just wanted to note that I will certainly look into these issues, but not until #31 is unblocked and done.

Sorry it took so long @Medality, and you were spot on in both cases. I've fixed this in #41.


Sample cfn Function does not work - unsupported protocol scheme

Using the following function and calling test through the was console
package main

import (
    "context"

    "github.com/aws/aws-lambda-go/cfn"
    "github.com/aws/aws-lambda-go/lambda"
)

func echoResource(ctx context.Context, event cfn.Event) (physicalResourceID string, data map[string]interface{}, err error) {
    v, _ := event.ResourceProperties["Echo"].(string)

    data = map[string]interface{} {
        "Echo": v,
    }

    return
}

func main() {
	lambda.Start(cfn.LambdaWrap(echoResource))
}

I get the following error.
{
  "errorMessage": "Put : unsupported protocol scheme \"\"",
  "errorType": "Error"
}

All I'd like to do is log my cfn events. Are there docs on how to do this in a way that work?

Wrong trigger. My bad.


Feature/taylor/shroud 0.13.0

Update devtools to use Shroud 0.13.0

This PR is a devtool update
It does the following:

Part of #1258
Removes Shroud as part of the build_devtools.py scripts. Instead it uses a version installed at /collab/usr/gapps/shroud/public/$SYS_TYPE.
Changes the host-configs files to use this version.
Adds py-shroud/package.py file. This should be upstreamed into spack.

A future PR will regenerate the Fortran and C wrappers using this version.
The current hash of spack used in scripts/spack/devtools.json only supplies 0.12.1, while we were requesting 0.12.2.

The test failed with 1801.136s: job.exception type=timeout severity=0 resource allocation expired. what's the next step?

The test failed with 1801.136s: job.exception type=timeout severity=0 resource allocation expired. what's the next step?

I'm retrying that job. There's a known system issue w/ that configuration.


A library augmentation can not be an entry point

See https://github.com/dart-lang/language/issues/3642 for the background discussion.
This issue tracks the implementation of a startup time error which is emitted by the CFE when an execution of a Dart program is requested and the given entry point (the file that "is" the program) is an library augmentation. For example:
// --- Library 'main.dart'.
import augment 'augment.dart';
...
void main() {}

// --- Library augmentation 'augment.dart'.
augment library 'main.dart';
...

With these Dart source files, it is a startup time error to execute the program using a command like dart augment.dart because augment.dart is a library augmentation. However, dart main.dart is fine.
Note that the declaration of the top-level function main could occur in the library or in the library augmentation, and that would not make a difference (the library main.dart will export main in either case, and using augment.dart as an entry point is an error in either case).

@johnniwinther, could you select a priority for this issue?


Clear notifications

Can't clear notifications If they are from Yesterday. I have a video on it If u want.

@weggethegamer Thank you for reporting, and sorry you're having issues.  I have fixed this issue in alpha 5, which will hopefully be out tomorrow.

Thx!
The problem with alpha 5 is that the apps have a black mask around them
that i can't seem to disable.
Do u know why?
On Sat, Nov 18, 2017 at 10:37 AM, Dana Buehre<EMAIL_ADDRESS>wrote:

Closed #1 https://github.com/CreatureSurvive/consolidation/issues/1.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CreatureSurvive/consolidation/issues/1#event-1348332499,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Af9TuWBKKiQA-FRL1Hi9Uh-N99y2RlN6ks5s3qVYgaJpZM4QXi4o
.


Shorter format for matching

Why use
awk '{if (index($3, "earth") != 0) print $3}' volcano_observations.dat
earthquakes

when you can use
awk '$3 ~ /earth/ {print $3}' volcano_observations.dat

Same with this one: why use
awk '{if (NR > 1 && index($3, "e") != 0) print $0}' volcano_observations.dat

when this suffices:
awk 'NR >1 && $3 ~ /e/' volcano_observations.dat

Is it for educational purposes, because the long version is easier to understand than the short version?

Interesting point! I think the longer version is easier to read, but I admit that's just an opinion. The lesson worked well as is; maybe it's best for beginners to be a bit more explicit? Too much regex too early can be really daunting. What do you think?

I just found out one could also use
awk 'NR >1 && $3 ~ "e"' volcano_observations.dat

which has less of a regex feel, so is perhaps more natural, and has the benefit of shortness and being easy to read.

since we've switched to a subrepo format for lessons, content issues are best opened in the respective lesson repositories.


map-wrapper monday first day

Is your feature request related to a problem?
Requires the ability to display a heat map from Monday
Describe the solution you'd like
The switch in the menu that changes the first day is Monday\Sunday
Additional context

@boojack   In many countries of the world, the day of the week starts on Monday, you need to make a setting that allows you to change the order of the days of the week on the thermal map or link it to localization.
It would greatly improve the perception!


Substrings only match at beginning of word

I don't know if this is on purpose, but substrings only match at the beginning of a word.
Searching for "ant" will find "antilope" or "ants" but not "giant" or "replicant".

If anyone finds there way here...I ended up adding more tokens in the datumTokenizer function.

'datum.name' is contrived.  If you are providing a data source of objects, you'll want to use whatever field is appropriate here.  If it is just a string, then you should just use 'datum'

datumTokenizer: function(datum) {
  var name = datum.name;
  var tokens = [name].concat(Bloodhound.tokenizers.nonword(name));

  for(var i = 1, l = name.length; i < l; i++) {
    var char = name.charAt(i);

    if(_.trim(char) !== ''
      && char === char.toUpperCase()) {
      tokens.push(name.slice(i));
    }
  }

  return tokens;
}

@sturdynut
This repo seems abandoned.. some kind souls continue maintaing it here: https://github.com/corejavascript/typeahead.js
I'd say the useful thing to do is sending pull request there.

@namtab00 - Thanks!  Good to know...:)


Firefox error's stack trace is unable to read Source Maps when output code is minified

Hey,
I stumbled upon the very strange issue when debugging one of our SDK issues (ref and some more details: https://github.com/getsentry/raven-js/issues/1256).
When this simple code is passed through the Webpack with UglifyJsPlugin, Firefox is unable to correctly read the source map for the bundled code.

However, when it's not uglified, source maps work just fine

I successfully boiled down the issue to this minimal setup:
// index.js
var foo = {};
foo.wat();

webpack.config.js
"use strict";
const webpack = require("webpack");
const path = require("path");

module.exports = {
  devtool: "source-map",
  entry: ["./index.js"],
  output: {
    path: path.join(__dirname, "build"),
    filename: "index.js"
  },
  plugins: [
    new webpack.optimize.UglifyJsPlugin({
      sourceMap: true
    })
  ]
};

index.html
<script src="build/index.js"></script>

Chrome v64
Firefox v59
Webpack v2.6.1

Cheers!

@kamilogorek you use old webpack(2 version) and old version of uglify plugin. They very buggy. Only way - update to minimum 3 version and use latest version of uglify plugin. Sorry.

@kamilogorek can you create minimum reproducible test repo?

@evilebottnawi I posted it at the very top, there's nothing else you need to repro it other than this config and index,js/html files. I can create it tomorrow if you need, as I'm not on my laptop right now.

It's behaving as expected - foo is optimized away:
$ echo '(function(){ var foo = {}; foo.wat(); })();' | bin/uglifyjs -mc | node
[stdin]:1
({}).wat();
     ^
TypeError: (intermediate value).wat is not a function

See: Source Maps and Debugging

@kzc thanks! @kamilogorek please read comment above :+1:

I'm aware of this, tested it myself. It still breaks Firefox source map resolution somehow. I guess I'll just fill an issue there, as it may be FF issue instead.

@kamilogorek feel free to feedback and add link on firefox issue for tracking

@evilebottnawi FYI https://bugzilla.mozilla.org/show_bug.cgi?id=1447949

@kamilogorek Thanks!

@kamilogorek Regarding https://bugzilla.mozilla.org/show_bug.cgi?id=1447949 consider attaching the minified bundle file and corresponding source map file to that bugzilla ticket to increase the odds of getting it examined.
Here's a possible workaround... Can you patch your local copy of uglify-es in node_modules used by<EMAIL_ADDRESS>re-run your webpack@4 config, and report your findings on Firefox?
--- a/lib/output.js
+++ b/lib/output.js
@@ -1902,6 +1902,9 @@ function OutputStream(options) {
     DEFMAP(AST_Finally, basic_sourcemap_gen);
     DEFMAP(AST_Definitions, basic_sourcemap_gen);
     DEFMAP(AST_Constant, basic_sourcemap_gen);
+    DEFMAP(AST_Class, basic_sourcemap_gen);
+    DEFMAP(AST_Array, basic_sourcemap_gen);
+    DEFMAP(AST_Object, basic_sourcemap_gen);
     DEFMAP(AST_ObjectSetter, function(self, output){
         output.add_mapping(self.start, self.key.name);
     });

If it works create a ticket in https://github.com/mishoo/UglifyJS2 with a link to this post.

@kzc nice finding. It partially works.
I had to patch uglify-js not uglify-es that's one thing, and the second one is that Firefox now correctly points to index.js, but to the first line, which is var obj = {}, not second one obj.wat() as it should (it works fine in other browsers after the patch)
It's still a large progress though! :)

had to patch uglify-js not uglify-es

That indicates you're using webpack@3 with<EMAIL_ADDRESS>Try running webpack@4 using<EMAIL_ADDRESS>/uglify-es.

Firefox now correctly points to index.js, but to the first line, which is var obj = {}, not second one obj.wat() as it should (it works fine in other browsers after the patch)

The rest is up to Mozilla to deal with then.

That indicates you're using webpack@3 with<EMAIL_ADDRESS>
I forgot to check which version of webpack I used, but I definitely used built-in uglify-js, not a separate uglifyjs-webpack-plugin.
It's not possible to patch<EMAIL_ADDRESS>like this, as it doesn't have AST_Class and it'll throw an exception :)
Patching uglify-es works just fine as well @kzc
Issue: https://github.com/mishoo/UglifyJS2/issues/3023


Add missing linkage of geovars.yaml for RTPP application

Previously the geovars.yaml file became a requirement for all mpas-jedi applications.  I was not using the the RTPP application for some time, because the LeaveOneOut approach for EDA was sufficient.  Now I need to run some RTPP situations for producing new figures, and found that geovars.yaml is never linked into the inflation application work directory.  Here the linking step is added.

JJ,
The merge to development branch is complete.
To finish the process on git,
do we need to push the final button and safely delete this the
bugfix/RTPP-geovars branch  ?
Yonggang

Yonggang Yu
Software Engineer
MMM | Mesoscale & Microscale Meteorology
NCAR, Boulder
Email:  @.***

On Thu, Jul 8, 2021 at 11:33 AM Zhiquan (Jake) Liu @.***>
wrote:

@.**** approved this pull request.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/NCAR/MPAS-Workflow/pull/15#pullrequestreview-702332807,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIVBWOAYD5ASSSSPBO35UCDTWXOQLANCNFSM5ABFODIA
.

@metdyn, yes you can delete the branch now.  Thank you for asking.  That is our general practice after merging a PR in order to reduce the clutter in the repo.  We do the same for mpas-jedi and MPAS-Model.  If the PR includes more than one commit, we always do a "squash and merge".  This PR only had one commit though.


Create a helicopters of DC section

https://wamu.org/wp-content/uploads/2017/08/Washington-Inset-HEL-10.png
http://aeronav.faa.gov/content/aeronav/heli_files/PDFs/Balt_Wash_Heli_10_P.pdf
Hat tip to WAMU for a story that linked to the map - https://wamu.org/story/17/08/29/no-washingtonians-arent-helicopters-flying-since-trump-became-president/

done with www.helicoptersofdc.com


Add Instant Rebind Strategy

Codecov Report

Merging #130 (95eefe0) into master (74da558) will decrease coverage by 23.63%.
The diff coverage is 95.06%.

@@             Coverage Diff             @@
##           master     #130       +/-   ##
===========================================
- Coverage   86.33%   62.69%   -23.64%
===========================================
  Files          50       53        +3
  Lines        3241     3447      +206
  Branches      503      519       +16
===========================================
- Hits         2798     2161      -637
- Misses        443     1286      +843

Impacted Files
Coverage Δ

contracts/IndicesSupplyRedeemZap.sol
64.83% <0.00%> (ø)

...s/weight-strategies/MCapWeightStrategyRebinder.sol
0.00% <0.00%> (ø)

...tracts/weight-strategies/InstantRebindStrategy.sol
97.45% <97.45%> (ø)

contracts/PowerIndexPoolController.sol
54.68% <100.00%> (-14.55%)
:arrow_down:

...ontracts/weight-strategies/WeightValueAbstract.sol
83.63% <100.00%> (ø)

...ontracts/weight-strategies/WeightValueStrategy.sol
95.71% <100.00%> (+10.66%)
:arrow_up:

...tracts/weight-strategies/blocks/PoolManagement.sol
100.00% <100.00%> (ø)

contracts/Reservoir.sol
0.00% <0.00%> (-100.00%)
:arrow_down:

contracts/PiptController.sol
0.00% <0.00%> (-100.00%)
:arrow_down:

contracts/PermanentVotingPowerV1.sol
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 25 more

Continue to review full report at Codecov.

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


minor error in litemort_eda file

I think the there is an error in the LiteMORT_EDA file. At line 20, I believe there is a missing "==".

Yes,thank you.


Update peserta-universitas.md

:cop: Technically speaking, as "fitriani1021" is your Project Euler username, and your GitHub Pages website does mention it, this is OK.

thanks for the notiffication.
i just fix it ^^
2016-10-19 21:39 GMT+07:00 John Vandenberg<EMAIL_ADDRESS>
Merged #214 https://github.com/BesutKode/BesutKode.github.io/pull/214.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BesutKode/BesutKode.github.io/pull/214#event-829163831,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV2G9SBkV6XeFD9gpk2msFEAXmBvV1srks5q1iuZgaJpZM4KbCKc
.


Localization issue Upon Exit

Thanks for the coding you have designed. Really helpful. But the issue that I am facing is my changed language is again set to default upon application exit.
Can you please help me to direct from here?
Thanks in advance.
Thanks
aViAkNeL

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

ID: 661223d7-0e8a-721b-0045-35ce981421ca
Version Independent ID: 1b084f04-91b3-0d7e-7a9f-c296c978ec14
Content: Android Localization - Xamarin
Content Source: docs/android/app-fundamentals/localization.md
Product: xamarin
GitHub Login: @mgmclemore
Microsoft Alias: mamcle

Hello @aviaknel, by default Android will attempt to load resources depending on the system language that is set on the phone. Are you trying to have the app start with a language that is different from the system language?

If I may chime in: what you're describing is how Android was designed. Each time an app starts up, Android will load resources that are appropriate for the locale.  However, it is possible to programmatically change the locale that the app will use.
I haven't tried this myself, but perhaps this post, How to change the language on Android at runtime and don’t go mad
, will help you out (note that you might need to convert from Java to C#).

Hi Tom,
I have already been through the link you shared but that did not meet
my requirement.
What I have done in my project is: I have designed an app with
multilanguage functionality. My primary language is English as per my
device. I have added two more languages viz French and Japanese. Everything
is working as expected. During Runtime, I can change the language but the
problem is when I exit the app again all changes are set to default.
My concern is how to fix the code so that it will start with the language I
set before exiting the app.
Best Regards
aViAkNeL
On Wed, Jul 25, 2018 at 6:36 PM Tom Opgenorth<EMAIL_ADDRESS>wrote:

If I may chime in: what you're describing is how Android was designed.
Each time an app starts up, Android will load resources that are
appropriate for the locale. However, it is possible to programmatically
change the locale that the app will use.
I haven't tried this myself, but perhaps this post, How to change the
language on Android at runtime and don’t go mad
https://proandroiddev.com/change-language-programmatically-at-runtime-on-android-5e6bc15c758,
will help you out (note that you might need to convert from Java to C#).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/xamarin-docs/issues/577#issuecomment-407747601,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AnuCaSvT0n7XxnJtNooaSPGJVnBnNSQYks5uKG1XgaJpZM4VdU2r
.

Hi @aviaknel, unfortunately, that scenario is beyond the scope of the Localization topic (which is intended for the usual case of Android finding and loading resources that correspond to the system locale). As the post linked above points out, programmatically changing to a locale that is different from the system locale can be done but is tricky and is dependent on Android version. Your best bet for getting help with implementing this is to post your question to the Developer Community forum.


fix for fileno

Fixes https://github.com/Textualize/rich/issues/2668

Codecov Report
Base: 98.39% // Head: 94.94% // Decreases project coverage by -3.45% :warning:

Coverage data is based on head (c3a2450) compared to base (090523e).
Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2683      +/-   ##
==========================================
- Coverage   98.39%   94.94%   -3.46%
==========================================
  Files          64       64
  Lines        6805     6767      -38
==========================================
- Hits         6696     6425     -271
- Misses        109      342     +233

Flag
Coverage Δ

unittests
94.94% <50.00%> (-3.46%)
:arrow_down:

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

Impacted Files
Coverage Δ

rich/file_proxy.py
97.50% <50.00%> (-2.50%)
:arrow_down:

rich/_windows_renderer.py
0.00% <0.00%> (-100.00%)
:arrow_down:

rich/_win32_console.py
3.01% <0.00%> (-86.94%)
:arrow_down:

rich/console.py
96.49% <0.00%> (-1.52%)
:arrow_down:

rich/progress.py
92.64% <0.00%> (-0.16%)
:arrow_down:

rich/text.py
99.48% <0.00%> (-0.01%)
:arrow_down:

rich/color.py
100.00% <0.00%> (ø)

rich/markup.py
100.00% <0.00%> (ø)

rich/measure.py
100.00% <0.00%> (ø)

rich/spinner.py
100.00% <0.00%> (ø)

... and 1 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.


"Save Project Data as Prawn Data file..." does not yield SQ2.50-readable Prawn XML

I have an interest in processing the Prawn XML file used in the Squid3 Demo Project, in SQUID 2.50. (Essentially because I want to verify that Squid3's arithmetic for varied Nscans inside a single Prawn XML file is working correctly.)
So I opened the Demo Project, visited the Data menu, selected "Save Project Data as Prawn Data file..." and saved the XML file. But when I attempt to parse (or even "condense") that file in SQUID 2.50, it fails. And I am assuming that in theory, it should not fail (if that's wrong, please let me know!).
It's very likely that this is SQUID 2.50's fault: I suspect that Ludwig's parser essentially treats the XML as a text-file (which is not the way you're supposed to do it, I know). Maybe the version Saved by Squid3 is different to the primary file generated by the SHRIMP control software in some way that is functionally insignificant in XML terms, but which would break text-style parsing?
I'll try to do some tests (comparing initial Prawn XML with that exported by Squid3) using a Prawn XML I already have, but if you have a better idea, please add it here...

Ken's 2.5  can't deal with unknown tags. Poxi has the same problem.

Ken's 2.5  can't deal with unknown tags. Poxi has the same problem.

Yes, but I was interested in the case where I take a Prawn XML file generated by the SHRIMP control, software (which SQUID 2.50 obviously reads), bring it into a Squid3 Project, then do "Save Project Data as Prawn Data file...". Conceptually, I would expect Squid3 to give back a functionally unmodified XML file which SQUID 2.50 can still read.
Right now, it does not. However, I have now stepped through the VBA code that deals with Prawn XML parsing, hoping that I could find and fix the parsing errors sequentially (and that there would be a small number of them!). And once I got the hang of diagnosing the VBA crash-outs, it worked pretty well.
Here are the three Prawn XML files:

01 is the original produced by the SHRIMP control software.
02 is the file written by Squid3, after adding 01 to a Squid3 Project and then selecting "Save Project Data as Prawn Data file..." from the Data menu, and which cannot be parsed by SQUID 2.50.
03 is a version of 02, which I edited in Notepad++ to address its incompatibilities with Ludwig's VBA code, and which can be parsed by SQUID 2.50.

836_1_PrawnXMLs_Original+Squid3+Sq3RepairedNotepad.zip
The good news is that I only had to fix 3 types of "error" (in the sense of SQUID 2.50 parsing) in the Squid3-saved Prawn XML, before it became SQUID 2.50-readable. And I was able to address all three in Notepad++, so they're not complicated. My hope is that we can address these on the Squid3 side, because there is no "cost" on that side. I am not keen on editing the SQUID 2.50 code to accept the Squid3-generated XMLs: at best it would be messy, at worst I'd be very nervous about unintended consequences.
Essentially the SQUID 2.50-related issue is the one I flagged in the original post: the XML is being read as text (and the tags are being trimmed using Ludwig's text-editing functions, which are dangerous, and which I don't want to mess with). The issues and my solutions:

Indents: Squid3-saved Prawn XML files feature lots of pretty indenting when opened in Notepad++, handled by sets of quadruple-spaces (see image below). But these are absent from the original Prawn XML files (and thus not handled by Ludwig's text-searchers and text-trimmers), plus these space-sets also add about 25% to the file size. I performed a Find-and-Replace in Notepad++, where Find = 4 consecutive white spaces and Replace = . This did the trick with respect to eliminating this start-of-line of error in the file-parsing, but it is possible that there were other (non-indent related) sets of quadruple-spaces elsewhere in the Prawn XML file which I should have retained but did not. I hope the Squid3-based solution can simply remove the indents.

End-of line formatting for rows containing values: Unfortunately, Ludwig has explicitly coded a white space in his end-of-line character-array for rows containing values, and the Squid3-saved Prawn XML files lack that white space. It is best described by example: the Squid3-saved file contains 76,437 occurrences of the 3-character sequence "slash greater-than linefeed", each of which is preceded by a double-quote (verified by Finding the 4-character sequence "double-quote slash greater-than linefeed", which also has 76,437 occurrences). The fix required for SQUID 2.50 parsing is to replace this 4-character sequence with the 5-character sequence "double-quote WHITE-SPACE slash greater-than linefeed". See image below. Hopefully it's trivial to add to the Squid3 side.

Start-of-file Comment: It turns out that SQUID 2.50 requires the Prawn XML to contain a line like Line 2 of the original file (see image below). Ludwig's parser expressly seeks the leading pair of characters ("less-than exclamation-mark") as a trigger to read and store the line, trim off the flanking hyphens etc., store the text as "XML file type", and write the result in cell C1 of the SQUID 2.50 condensed datasheet. Obviously none of this matters on the Squid3 side, and Squid3-saved XMLs do not currently contain this line. Unfortunately, if it is not present in the first few lines of the Prawn XML file, Ludwig's row-counter loses itself, and file-parsing fails. Obviously this is sub-optimal on the SQUID 2.50 side, but I am reluctant to edit that code. Plus the fix on the Squid3 side is simple: write Line 2 of the original file as a static Line 2 in Squid3-saved Prawn XML files. The static text could even be (universally) modified to read "" or similar, which might be a useful little piece of provenance information for anyone taking these Squid3-saved Prawn XML files back to SQUID 2.50.

Yes, but I was interested in the case where I take a Prawn XML file generated by the SHRIMP control, software (which SQUID 2.50 obviously reads), bring it into a Squid3 Project, then do "Save Project Data as Prawn Data file...". Conceptually, I would expect Squid3 to give back a functionally unmodified XML file which SQUID 2.50 can still read.
Right now, it does not. However, I have now stepped through the VBA code that deals with Prawn XML parsing, hoping that I could find and fix the parsing errors sequentially (and that there would be a small number of them!). And once I got the hang of diagnosing the VBA crash-outs, it worked pretty well.
Here are the three Prawn XML files:

01 is the original produced by the SHRIMP control software.
02 is the file written by Squid3, after adding 01 to a Squid3 Project and then selecting "Save Project Data as Prawn Data file..." from the Data menu, and which cannot be parsed by SQUID 2.50.
03 is a version of 02, which I edited in Notepad++ to address its incompatibilities with Ludwig's VBA code, and which can be parsed by SQUID 2.50.

836_1_PrawnXMLs_Original+Squid3+Sq3RepairedNotepad.zip
The good news is that I only had to fix 3 types of "error" (in the sense of SQUID 2.50 parsing) in the Squid3-saved Prawn XML, before it became SQUID 2.50-readable. And I was able to address all three in Notepad++, so they're not complicated. My hope is that we can address these on the Squid3 side, because there is no "cost" on that side. I am not keen on editing the SQUID 2.50 code to accept the Squid3-generated XMLs: at best it would be messy, at worst I'd be very nervous about unintended consequences.
Essentially the SQUID 2.50-related issue is the one I flagged in the original post: the XML is being read as text (and the tags are being trimmed using Ludwig's text-editing functions, which are dangerous, and which I don't want to mess with). The issues and my solutions:

Indents: Squid3-saved Prawn XML files feature lots of pretty indenting when opened in Notepad++, handled by sets of quadruple-spaces (see image below). But these are absent from the original Prawn XML files (and thus not handled by Ludwig's text-searchers and text-trimmers), plus these space-sets also add about 25% to the file size. I performed a Find-and-Replace in Notepad++, where Find = 4 consecutive white spaces and Replace = . This did the trick with respect to eliminating this start-of-line of error in the file-parsing, but it is possible that there were other (non-indent related) sets of quadruple-spaces elsewhere in the Prawn XML file which I should have retained but did not. I hope the Squid3-based solution can simply remove the indents.

End-of line formatting for rows containing values: Unfortunately, Ludwig has explicitly coded a white space in his end-of-line character-array for rows containing values, and the Squid3-saved Prawn XML files lack that white space. It is best described by example: the Squid3-saved file contains 76,437 occurrences of the 3-character sequence "slash greater-than linefeed", each of which is preceded by a double-quote (verified by Finding the 4-character sequence "double-quote slash greater-than linefeed", which also has 76,437 occurrences). The fix required for SQUID 2.50 parsing is to replace this 4-character sequence with the 5-character sequence "double-quote WHITE-SPACE slash greater-than linefeed". See image below. Hopefully it's trivial to add to the Squid3 side.

Start-of-file Comment: It turns out that SQUID 2.50 requires the Prawn XML to contain a line like Line 2 of the original file (see image below). Ludwig's parser expressly seeks the leading pair of characters ("less-than exclamation-mark") as a trigger to read and store the line, trim off the flanking hyphens etc., store the text as "XML file type", and write the result in cell C1 of the SQUID 2.50 condensed datasheet. Obviously none of this matters on the Squid3 side, and Squid3-saved XMLs do not currently contain this line. Unfortunately, if it is not present in the first few lines of the Prawn XML file, Ludwig's row-counter loses itself, and file-parsing fails. Obviously this is sub-optimal on the SQUID 2.50 side, but I am reluctant to edit that code. Plus the fix on the Squid3 side is simple: write Line 2 of the original file as a static Line 2 in Squid3-saved Prawn XML files. The static text could even be (universally) modified to read "" or similar, which might be a useful little piece of provenance information for anyone taking these Squid3-saved Prawn XML files back to SQUID 2.50.

The whole point of less-than exclamation point is that it indicates a comment which xml parsers should ignore. If Ken deliberately makes his code do the opposite of what it is supposed to, God help us all.

The whole point of less-than exclamation point is that it indicates a comment which xml parsers should ignore. If Ken deliberately makes his code do the opposite of what it is supposed to, God help us all.

Well, quite... I have wondered whether Ken did it deliberately, to make sure he was parsing a genuine SHRIMP SW-generated Prawn XML, rather than imitations of unknown origin (like we're trying to build in Squid3!). That last issue is easy enough to step around in the SQUID 2.50 code, in a "do no harm" way, and I will add the line of code to do that.
The other two are more scary, because any SQUID 2.50 code change that accommodates Squid3-generated XML must obviously not compromise current functionality in reading SHRIMP SW-generated ones. Not easy, unless I add code to SQUID 2.50 that explicitly seeks to identify Squid3-generated XML files and treat them differently. I'm not keen to do that - seems like a retrograde step, even if I get it right.
I am hoping it is easier to accommodate both of those changes to XML on the Squid3 side, assuming that Squid3 users are not all that concerned about exactly what their XML files look like in a text-editor... Jim @bowring , your thoughts?

Well, quite... I have wondered whether Ken did it deliberately, to make sure he was parsing a genuine SHRIMP SW-generated Prawn XML, rather than imitations of unknown origin (like we're trying to build in Squid3!). That last issue is easy enough to step around in the SQUID 2.50 code, in a "do no harm" way, and I will add the line of code to do that.
The other two are more scary, because any SQUID 2.50 code change that accommodates Squid3-generated XML must obviously not compromise current functionality in reading SHRIMP SW-generated ones. Not easy, unless I add code to SQUID 2.50 that explicitly seeks to identify Squid3-generated XML files and treat them differently. I'm not keen to do that - seems like a retrograde step, even if I get it right.
I am hoping it is easier to accommodate both of those changes to XML on the Squid3 side, assuming that Squid3 users are not all that concerned about exactly what their XML files look like in a text-editor... Jim @bowring , your thoughts?

Does <! Bite me Ken !> work?
On Sat, 30 Jan 2021, 11:32 am sbodorkos<EMAIL_ADDRESS>wrote:

Well, quite... I have wondered whether Ken did it deliberately, to make
sure he was parsing a genuine SHRIMP SW-generated Prawn XML, rather than
imitations of unknown origin (like we're trying to build in Squid3!). That
last issue is easy enough to step around in the SQUID 2.50 code, in a "do
no harm" way, and I will add the line of code to do that.
The other two are more scary, because any SQUID 2.50 code change that
accommodates Squid3-generated XML must obviously not compromise current
functionality in reading SHRIMP SW-generated ones. Not easy, unless I add
code to SQUID 2.50 that explicitly seeks to identify Squid3-generated XML
files and treat them differently. I'm not keen to do that - seems like a
retrograde step, even if I get it right.
I am hoping it is easier to accommodate both of those changes to XML on
the Squid3 side, assuming that Squid3 users are not all that concerned
about exactly what their XML files look like in a text-editor... Jim
@bowring https://github.com/bowring , your thoughts?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/CIRDLES/Squid/issues/574#issuecomment-770119970, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXDTB4XQZX5DK3M5BOGFT3S4NHR5ANCNFSM4WYDMWBQ
.

Does <! Bite me Ken !> work?
On Sat, 30 Jan 2021, 11:32 am sbodorkos<EMAIL_ADDRESS>wrote:

Well, quite... I have wondered whether Ken did it deliberately, to make
sure he was parsing a genuine SHRIMP SW-generated Prawn XML, rather than
imitations of unknown origin (like we're trying to build in Squid3!). That
last issue is easy enough to step around in the SQUID 2.50 code, in a "do
no harm" way, and I will add the line of code to do that.
The other two are more scary, because any SQUID 2.50 code change that
accommodates Squid3-generated XML must obviously not compromise current
functionality in reading SHRIMP SW-generated ones. Not easy, unless I add
code to SQUID 2.50 that explicitly seeks to identify Squid3-generated XML
files and treat them differently. I'm not keen to do that - seems like a
retrograde step, even if I get it right.
I am hoping it is easier to accommodate both of those changes to XML on
the Squid3 side, assuming that Squid3 users are not all that concerned
about exactly what their XML files look like in a text-editor... Jim
@bowring https://github.com/bowring , your thoughts?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/CIRDLES/Squid/issues/574#issuecomment-770119970, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXDTB4XQZX5DK3M5BOGFT3S4NHR5ANCNFSM4WYDMWBQ
.

Squid3 in v 1.7.1 will output prawn xml files with the three changes requested by @sbodorkos and will then be compatible with both Squid25 and Squid3 for reading, pending confirmation tests by @sbodorkos, as I don't have Squid25.

Squid3 in v 1.7.1 will output prawn xml files with the three changes requested by @sbodorkos and will then be compatible with both Squid25 and Squid3 for reading, pending confirmation tests by @sbodorkos, as I don't have Squid25.

@sbodorkos - attached is zip of revised output - test it with Squid25.  Note I added a second comment per your provenance suggestion that may break it for Squid25.  If not, we could make it even more informative.:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- SHRIMP SW PRAWN Data File -->
<!-- SQUID3-generated PRAWN Data File -->
...

Thanks!
ILC I_1_2012_FEB_08_10.38-REV.xml.zip

@sbodorkos - attached is zip of revised output - test it with Squid25.  Note I added a second comment per your provenance suggestion that may break it for Squid25.  If not, we could make it even more informative.:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- SHRIMP SW PRAWN Data File -->
<!-- SQUID3-generated PRAWN Data File -->
...

Thanks!
ILC I_1_2012_FEB_08_10.38-REV.xml.zip

Thanks Jim @bowring , when I unzipped and ran that XML unmodified (i.e. with both Comments in place, lines 2 and 3) through SQUID 2.50's "condenser", this is what I got:

Looks perfect. It also looks like Ken's text-trimmers are not unduly dependent on the length of the string being read for storage and display at C1, so feel free to add extra info if you wish.
But otherwise, I think our work here is done!

Thanks Jim @bowring , when I unzipped and ran that XML unmodified (i.e. with both Comments in place, lines 2 and 3) through SQUID 2.50's "condenser", this is what I got:

Looks perfect. It also looks like Ken's text-trimmers are not unduly dependent on the length of the string being read for storage and display at C1, so feel free to add extra info if you wish.
But otherwise, I think our work here is done!


Implement FromRequestParts<()>

I believe axum provides a helper method req.extract() that automatically uses FromRequestParts<()> in cases where you don't need a state to parse the request. Is this something we can implement for WebSocketUpgrade as well?
Would be happy to put a PR if you're open to this

Okay it looks like it does. I think I made a mistake while setting my generic bounds. Sorry for the noise!


Typing inconsistency in PowerToys Settings' Mouse Utilities tab

Microsoft PowerToys version
0.68.1
Utility with translation issue
Welcome / PowerToys Tour window
🌐 Language affected
English
❌ Actual phrase(s)
Mouse uitlities

✔ Expected phrase(s)
Mouse Utilities
ℹ Why is the current translation wrong
The phrase Mouse utiltites doesn't match the writing format of the rest of the tabs (Each word starts with a capital letter).

this is actually intentional

thanks for the feedback


http://localhost:7777/ipython_call rejected conection

im extra virgin in programming haha and using on thonny, the thing is, the program open a browser windows and then, dont show how is supposed to, i even make:
0. my private ip dmz, turn down smartscreen (windows)
1 .antivirus defender on all his options
2. make exclusions for firewall, deactivated the firewall, changed the port to various numbers
3. open manually the ports on router, i mean, how unsecure my notebook is supposed to be?!
hahaha

packages in thonny:
0.
1.

the bottom of this, is that im trying to understand this code:
def tri_recursion(k):
  if(k>0):
    result = k+tri_recursion(k-2)
    print(result)
  else:
    result = 0
  return result

print("\n\nRecursion Example Results")
tri_recursion(6)

any help will be greatly appreciated,
even links with google searches, I'm so lost haha

You shouldn't have to change any security settings. The server is probably having trouble starting up and Thonny doesn't show server logs AFAIK. Try running birdseye or python -m birdseye in a command prompt outside Thonny, you may need to pip install birdseye first (I'm not sure if/how Thonny affects the system interpreter). Hopefully we can see some information to debug with then.

hey! from cmd works, normal python installation, back to normal security settings, thonny uses his bundled portable python enviroment as i understand Thank you for the commands !!!

Glad it works. Can you open an issue with Thonny? We should probably be figuring out a way to see those server logs in Thonny and fix whatever problem is there.


Online Prediction Accuracy

Regarding the paper titled “Back to the basics: Bayesian extensions of IRT outperform neural networks for proficiency estimation”, I am interested in the online prediction accuracy metric of evaluation.
Couple questions (in relation to the 1PL IRT model):

In this metric, students are split into training and testing populations. In a real life scenario, the initial training population used to determine item-level parameters would not always be available, especially in a flashcard application, where predictions are required immediately without any prior item-level parameter estimation.

In such a situation, is an IRT model unsuitable? Must the IRT model have initial data to work with, before making predictions; or can the model be continuously trained from the start? If so, what would be the default parameters to start with?

When you say the students are split into training and testing populations, what is the ratio between the populations? 70/30? 60/40?

Thanks so much for your time, looking forward to your response.

To your first question, having no data about a situation is always tricky. How you solve this depends greatly on your application and how you perceive the costs of being wrong. Concepts you might find interesting to study related to this problem are the exploration-exploitation tradeoff and zero shot learning. Also, there is specific literature around IRT and flashcard applications, as well as large data sets available from flashcard applications to try out any ideas you might have retrospectively.
To your second question, the parameters for splitting schemes used in the paper appear in the README of the repo. We used a five-fold scheme, and reported the average of our metrics.

Thanks for the clarification; just a few follow up questions:

What are your thoughts on training a model with pre-existing data? For instance, DKT/logistic models do not require any student/item specific parameters, hence, the model could be trained with data collected elsewhere, and then implemented in an application to make immediate, accurate predictions.

For a model that does not require item or student parameters, would this be appropriate? What are the benefits of using data from the same students/items to train general weights? A model trained on dataset A could then be tested on datasets B and C, just like a real flashcard scenario; what are your thoughts on this?

When trying to evaluate an IRT model through online prediction accuracy, after determining all item parameters, is the ability parameter updated through retraining the model with ALL the data collected thus far (all the students + training data), or just the students’ INDIVIDUAL data? In other words, what data is used to train the student-level parameters?

Thanks again, looking forward to your response.


Rebuild dependencies when Swift version changed

#60 introduced a bug that causes dependencies not to be rebuilt or downloaded from cache although the Swift version changed.
To fix this, the Swift versions in the cached manifest should be parsed and compared against the current Swift version. If there's a difference, Accio shouldn't return saying Found all required build products specified in resolved manifest in cache – skipping checkout & integration process ...

Are you sure that we have this bug? Cause in this line there is an early return in case that any of the required frameworks is not cached yet and given that we use the current Swift version here when building the cache path. If anything I think that solving #62 will also fix this, then.

@Dschee I'm also experiencing this when running Accio with the changes from #62, so it's not solved via that PR.
I looked up the code and found the issue. It is with the cacheFileSubPath of CachedFrameworkProduct, implemented as follows:
struct CachedFrameworkProduct: Codable {
    let swiftVersion: String
    let libraryName: String
    let commitHash: String
    let platform: String

    var cacheFileSubPath: String {
        return "\(swiftVersion)/\(libraryName)/\(commitHash)/\(platform).zip"
    }
}

As the swiftVersion is actually stored in the Manifest json, it's this cached Swift version that is used to copy the framework and check for the existence of the files (therefore not triggering the check you referenced). It should instead use the current Swift version, as the Package may have been resolved with Swift 5.0.1, while the user is now running Swift 5.1.
Is it needed to store a resolved manifest json for each Swift version? (like, is it possible that the resolving result is different for different Swift versions?) In that case, we shouldn't store the swiftVersion in the manifest json, but rather include it in the file name.
Otherwise, I propose to just drop the swiftVersion property from the CachedFrameworkProduct and use the current Swift version for path calculation instead.


Prometheus SNMP setup cannot be ported

Issue description
Either the example of the snmp-exporter people (https://github.com/prometheus/snmp_exporter) is wrong, or it cannot be expressed with the current module (which requires the source_labels attribute to be set).
scrape_configs:
  - job_name: 'snmp'
    static_configs:
      - targets:
        - <IP_ADDRESS>  # SNMP device.
    metrics_path: /snmp
    params:
      module: [if_mib]
    relabel_configs:
      - source_labels: [__address__]
        target_label: __param_target
      - source_labels: [__param_target]
        target_label: instance
      - target_label: __address__
        replacement: <IP_ADDRESS>:9116  # The SNMP exporter's real hostname:port.

It appears that one needs snmpd to be installed for example, which is not even available on NixOS.

Can you expand on what's not working, or what the desired setup is? I've been using the the snmp exporter for a while. The scrape_configs example in the snmp_exporter project can be fairly directly ported to services.prometheus.scrapeConfigs:
  services.prometheus = {
    scrapeConfigs = [
      {
        job_name = "snmp";
        metrics_path = "/snmp";
        params = { module = [ "if_mib" ]; };
        relabel_configs = [
          { source_labels = ["__address__"];    target_label = "__param_target"; }
          { source_labels = ["__param_target"]; target_label = "instance"; }
          { source_labels = []; target_label = "__address__"; replacement = "localhost:9116"; }
        ];
        static_configs = [{
          targets = ["switch.example.com"];
        }];
      }
    ];
  };

The exporter itself requires almost no configuration:
  services.prometheus.exporters.snmp = {
    enable = true;
    configuration = null;
    configurationPath = "${pkgs.prometheus-snmp-exporter.src}/snmp.yml";
  };

The exporter returns the results of scraping a remote host
$ curl -s 'http://localhost:9116/snmp?module=if_mib&target=switch.example.com' | grep ifName | head -4
# HELP ifName The textual name of the interface - <IP_ADDRESS>.<IP_ADDRESS>.1.1.1
# TYPE ifName gauge
ifName{ifIndex="1",ifName="g1"} 1
ifName{ifIndex="13",ifName="cpu"} 1

And prometheus is including those metrics
$ curl -s 'http://prometheus.example.com:9090/api/v1/query?query=COUNT(ifName)%20by%20(instance)' | gron | grep -e 'value\[1\]' -e instance
json.data.result[0].metric.instance = "switch.example.com";
json.data.result[0].value[1] = "13";

@thefloweringash In your example, you set source_labels = [];. In the upstream example it is not set at all. That's a deviation from upstream.
Now, I do believe that it might work if one actually has an SNMP implementation, but I wanted to use Prometheus to keep track of bandwidth throughput/second over time (to compute max, average, etc.).
So, there are two issues. One of the is the small deviation from upstream in the module configuration. The other is how to get an SNMP implementation on my NixOS system (or otherwise some method to accomplish the goal described earlier (I don't care about SNMP)).

In your example, you set source_labels = [];. In the upstream example it is not set at all

I see it configured exactly the same in the upstream landing page, your copy-pasted example, and my example config.
I think for tracking network devices on a linux, you want the node exporter's "netdev" collector and a prometheus query like rate(node_network_receive_bytes_total[5m]).

@thefloweringash Note the last element of the relabel_configs and observe that the source_label is not defined there.

@thefloweringash Thanks for the query.

@thefloweringash Note the last element of the relabel_configs and observe that the source_label is not defined there.

Indeed, apologies for being slow on the uptake there.

I discussed that during the weekend with @WilliButz. We believe requiring assigning an empty list ([]) to be a bug..
It is counter-intuitive but semantically seems to be the same. The re-exported Prometheus configuration doesn't list the attribute if it is set like this.

Shouldn't we instead make it a nullOr (listOf str) and default to null
while checking for null further down the file?
On Tue, 20 Nov 2018, 17:12 WilliButz<EMAIL_ADDRESS>wrote:

@andir https://github.com/andir with that in mind, to avoid having the
users explicitly set source_labels = []; for their relabel_configs we
could add it as the default in the prometheus module:
--- a/nixos/modules/services/monitoring/prometheus/default.nix+++ b/nixos/modules/services/monitoring/prometheus/default.nix@@ -318,6 +318,7 @@ let
options = {
source_labels = mkOption {
type = types.listOf types.str;+        default = [];
description = ''
The source labels select values from existing labels. Their content
is concatenated using the configured separator and matched against
Not sure if we wan't to do this though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/issues/50519#issuecomment-440330411,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAm_dKSkqJnFcaBWmueBsFSNV00-44wVks5uxCoAgaJpZM4YnnPO
.


[FLINK-13207][ml] Add the algorithm of Fast Fourier Transformation(FFT)

What is the purpose of the change
Add 2 common used algorithms of Fast Fourier Transformation(FFT)

Cooley-Tukey algorithm, high performance, but only supports length of power-of-2.
Chirp-Z algorithm, can perform FFT with any length.

Brief change log

add Cooley-Tukey algorithm
add Chirp-Z algorithm
add unit tests

Verifying this change
This change added tests and can be verified as follows:

run test case pass

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (JavaDocs)

Hi @xuyang1706, thanks for your PR.
Could you explain the goal of the PR, please? I do not see any logic related to Flink API, also I do not see how your implementations of FFT will be work in Flink.
I suppose FFT should be related to Flink ML API directly, for example, FFT can implement https://github.com/apache/flink/blob/master/flink-ml-parent/flink-ml-api/src/main/java/org/apache/flink/ml/api/core/Transformer.java

This is internal functions for the DCT algorithm. DCT need the implementation of Transformer,  will be summited later.

Thanks for the contribution @xuyang1706 . I left a few comments with more higher level questions.
Regarding the placement. I think this should be considered as a transform since FFT is a transform itself. even if DCT is another transform that utilizes this algorithm. what do you think?

Thanks for your advices @walterddr . I have refined the code. Yes, there is DCT-Transformer using this FFT class. For the FFT transform real number to complex number, but the common ML algorithms are dealing with real number only, we have no plan to submit FFT-Transformer recently.

Thanks @xuyang1706 for the explanation. I would like to withdraw my previous comment: yeah you are right most of the ML algorithms are real-number-based and having a FFT transform interface doesn't make much sense.

Thanks for your kindly advice @walterddr . Yes, the package path common.utils is not suitable for FFT, I have changed the path.


Urlresolver on Specto.

Hi Mrknow.....i would like to ask, how difficult is it to integrate urlresolver in specto instead of its own resolvers? That would make future specto development much easier! I can help a bit with coding!

Work on it in early July

If you need any help or testing, just let me know my friend! And THANKS for all!

Lambda is currently working on a new Kodi add-on and wanted URLResolver to be the universal method for opening streams, so he changed over 143 sources files and 7000 lines of code to optimize and make URLResolver better:
URLResolver Kodi newest changes:
Every resolver has been reviewed and fixed, as needed
Every defunct resolver has been removed
Five new resolvers have been added
Simply-Debrid is now supported
Google’s ReCaptcha Version 2 is now supported (“I’m not a robot” checkboxes)
New method of simplifying ReCaptcha has been added
FilePup’s resolver has been updated to a hoster supported method (meaning less frequent breakage)
Simplification across the board to make adding resolvers easier

You probably already have the latest Kodi URLResolver update already, so you can go and enjoy the changes lambda has made!
You can view URLResolver settings and set things like priority and premium accounts up by navigating to SYSTEM > Add-ons > SYSTEM > Dependencies > URLResolver > Configure.

Nice! Looking forward to it. :).
I had thought of the very same thing a month or two ago, but figured that would be a major undertaking...which I'm sure it will be.
Later...


specs-go/config: Use a pointer for Process.ConsoleSize

Avoid injecting "consoleSize":{"height":0,"width":0} when serializing with Go's stock JSON serializer.  Using a pointer for this optional struct property works around golang/go#11939.
Spun off from #759.

LGTM

LGTM


Make pagination transparent and add project filtering

This abstracts the pagination logic away from the user, while still giving the possibility to run the migration on a per-project base instead of "all at once" (which remains the default).

nice one, thank you.


Foreigner gem removed for rails 4.2.x

Foreigner gem removed for rails 4.2.x

This PR causes failures in the build:
/home/travis/build/mailboxer/mailboxer/lib/mailboxer/engine.rb:2:in `require': cannot load such file -- foreigner (LoadError)

I think this is effectively closed by #359


Add a readme to clarify Quick Repair is required

We thought the button was broken, but we just needed to run Quick
Repair.

@mmarum-sugarcrm see new commits that reflect your suggestions