I don't know how to use ffpass

Hello! I have tried to figure out how to use this for 5 hours now, and I'm so lost. I have a MacBook Pro, running MacOS Mojave. I have managed to create a .CSV file with all the passwords, exported from chrome with all the passwords. But I don't know how to get them in to Firefox. I don't even know if I should use Terminal or Xcode or whatever. I have installed Python3, and have an app called IDLE and Python Launcher, is that one of the apps I should use?

Open the terminal (the app with a black icon). In the next steps, whenever you see text like this, type it in the terminal window.
python3 -m pip install ffpass and hit ENTER
ffpass import -f , then drag and drop the csv file from Finder and hit Enter

It should work, tell me if you have any problem.

Thank you so much.

@kasperaamodt so, did it work?

Yes!

Awesome!

ffpass import: error: the following arguments are required: -d/--directory/--dir
how do I solve this?

Never mind, I added --dir + Firefox profile from finder to the end of the command line and it worked.

Hello, i also dont know how it works. I start Python type in pip install ffpass and get the message
File "stdin", line 1
pip install ffpass
^
Syntax Error: invalid syntax
What i can do?

You should launch that command in a terminal, not in Python.

Terminal? CMD? I tried. I gave python in and this comes
C:\Users\01>python
C:\Users\01>python
Python 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 01:54:44) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

pip install ffpass
File "", line 1
pip install ffpass
^

Just type "pip install ffpass" in the terminal.

"ffpass -d C:\Users\MYPC\AppData\Roaming\Mozilla\Firefox\Profiles\korwo2.default export > passwords.csv"
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 12-13: truncated \UXXXXXXXX escape

That's a classical error: https://stackoverflow.com/a/1347854/5133167

No more Errors yet but i cant find the file passwords.csv

It should be in the current directory (probably C:\Users\01)

Not there. I'm using the search tool Everything if you know it. Nowhere is a file with the name password.csv. What i'm doing wrong?

Just replace > password.csv with the full path of the target file. I cannot help you much more, your issue is not related to ffpass.

This is the full string now
"ffpass -d C:\Users\01\AppData\Roaming\Mozilla\Firefox\Profiles\vzcnbzh2.default export > passwords.csv"
I copied the folder to C:\
"ffpass -d C:\vzcnbzh2.default export > passwords.csv"
But the same. No csv file
Because i'm doing this all is i wanted to update Firefox from 72 to 73 but i can't. After i installed Firefox 73, all my Passes are gone. So i wanted to export my passes out of 72 and re-import it to 73. Copy key4.db and logins.json from 72 to 73 not working as well. My passwords have a Master Password. I can't change it. I couldnt find any tool that can import, only export.

note: you can put code into backticks "`"
What about ffpass -d C:\\Users\\01\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\vzcnbzh2.default export > C:\\Users\\01\\passwords.csv ?

Nothing. I give up...

I tried it with Firefox Portable
"pip install ffpass"
"ffpass -d C:\FirefoxPortable\Data\profile export > passwords.csv"
The same. I have the feeling something is wrong with Python?!

Im coming closer. I typed the whole time python in CMD. Now i typed just
ffpass -d C:\Users\01\AppData\Roaming\Mozilla\Firefox\Profiles\vzcnbzh2.default export > passwords.csv
and ive got a passwords file but its empty and error message in cmd is
C:\Users\01>ffpass -d C:\Users\01\AppData\Roaming\Mozilla\Firefox\Profiles\vzcnbzh2.default export > passwords.csv
usage: ffpass [-h] {export,import} ...
ffpass: error: argument mode: invalid choice: 'C:\Users\01\AppData\Roaming\Mozilla\Firefox\Profiles\vzcnbzh2.default' (choose from 'export', 'import')

Okay next problem lol. Import not working
C:\Users\01>ffpass import --from passwords.csv -d "C:\Users\01\AppData\Roaming\Mozilla\Firefox\Profiles\vzcnbzh2.default"
Firefox password database is empty. Please create it from Firefox.

So. I installed new Firefox 73 and deleted all old Profile Folders.
Now this
C:\Users\01>ffpass import < passwords.csv -d "C:\Users\01\AppData\Roaming\Mozilla\Firefox\Profiles\iaz2r3kb.default-release"
Traceback (most recent call last):
File "c:\python38\lib\runpy.py", line 192, in run_module_as_main
return run_code(code, main_globals, None,
File "c:\python38\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Python38\Scripts\ffpass.exe_main.py", line 7, in
File "c:\python38\lib\site-packages\ffpass_init.py", line 354, in main
args.func(args)
File "c:\python38\lib\site-packages\ffpass_init.py", line 278, in main_import
key = getKey(args.directory)
File "c:\python38\lib\site-packages\ffpass_init_.py", line 74, in getKey
entrySalt = decodedItem2[0][1][0].asOctets()
AttributeError: 'Sequence' object has no attribute 'asOctets'
???

Glad it worked!
This is a known bug https://github.com/louisabraham/ffpass/issues/49 that might or not be fixed in the future. The cause is that FF changed the way they store passwords.

I went back to 72, imported the Passwords, updated to 73 and now i have finally the Passwords there.

Hey, my problem is i have never used python before. I managed to
pip install ffpass
but then when i try using ffpass import < export.csv
it just says that it can't find it or that it's misspelled.


OSX Safari scrollbar invisible

I've been trying to debug this with no luck. Baron works great on every browser except Safari on OSX for my build. The _scrollbar class doesn't get appended to the HTML tag, so the scrollbar is invisible. I've tried css-guru:true and it didn't help either. Any idea what could be causing this? I think it may have to do with overflow hidden properties, but it works perfectly fine on Chrome and Firefox OSX. I've tried changing these properties but haven't gotten it to work yet.
Root = "html"
Scroller= "body"
Here's my / SCSS / JS:
	 baron({ 		position: 'absolute', 		cssGuru:true,         root: '.baron',         scroller: '.baron__scroller',         bar: '.baron__bar',         scrollingCls: '_scrolling',         draggingCls: '_dragging'             });
html {
overflow: hidden;
}
body {
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
.baron {
height: 100%;
}
.baron__clipper {
position: relative;
overflow: hidden;
}
.baron__scroller {
overflow-y: scroll;
-ms-overflow-style: none;
-moz-box-sizing: border-box;
box-sizing: border-box;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
/* remove line to customize scrollbar in iOs */
&::-webkit-scrollbar {
width: 0;
height: 0;
}
}
.baron__track {
display: none;
position: absolute;
top: 0;
right: 0;
bottom: 0;
}
.baron._scrollbar .baron__track {
display: block;
}
.baron__free {
position: absolute;
top: 0;
bottom: 0;
right: 0;
}
.baron__bar {
display: none;
position: absolute;
right: 0;
z-index: 3;
width: 10px;
background: black;
opacity: .4;
@include transition(opacity);
&:hover {
opacity: .7;
&:active {
opacity: .7;
}
}
}
.baron {
&._scrollbar .baron__bar {
display: block;
visibility: visible;
pointer-events: auto;
}
}
.baron__control {
display: none;
}

Demo page works fine for me in Mac safari.
Are you sure the same example works fine in Chrome, and did not work in Safari? _scrollbar  must be added when scrolling is possible.
Also, there may be some problems with MorphDOM – do you use that library?
If nothing helps, please, make jsfiddle example which works in Chrome, but not in Safari.

Right, I know the demo page works fine in Safari. It's something specific to my build. And yes it works in Chrome, but not Safari (latest versions of both).
I'm not loading MorphDOM separately. Just Baron. Should I be? I'll set up a codepen today for you to see. Thank you.

Here's the codepen. I tried to remove as much library code and unnecessary stuff for the demo, but might not have gotten it all out. Thanks again for your help.
http://codepen.io/anon/pen/VaoXmr

@Diokuz Any luck? I appreciate the help.

Well, in your codepen example baron didnt work at all. Because there is no baron__scroller or baron__track html element.

No, it works for me. I append those with jquery only if a scrollbar is detected. I tried removing that code and adding it to the HTML to simplify things (because there might have been an issue with my code), but it didn't seem to change anything.
It's probably not getting appended because you have already have 'overflow' scrollbars (thus, it's not running the script to initialize baron or append the HTML). Let me tweak it so it runs no matter what (or you can turn on scrollbars in your system preferences (under General, always show scrollbars, on OSX).

Okay, I commented out the conditional that checks for a scrollbar width, so now it should run even on browsers with transparent scrollbars (confirmed). The Baron code starts at line 1502 in the JS and in line 19 on the CSS.

Thats really interesting! It is a browser bug (???). Body has wrong scrollHeight (just +15 px above its clientHeight) and scrollTop (always zero) values.
I need more time to catch that.
You can try to make scroller inside a body: two more divs inside the body.
Its worked for me:

Lorem ipsum ...

I think this is it https://bugs.chromium.org/p/chromium/issues/detail?id=34224

Oh man! Well, thanks for looking into it. I tried adding the two divs (both on my code, and the codepen) and it didn't seem to work properly. If you could fork it and show me how it should be done? Maybe I have conflicting CSS or something. And ideally, it would work on the body, as we have scroll events that are tied to them :(
Hope you can resolve it! I like Baron over other scripts because it seems to work well in most conditions, with this one exception, of course.

Here working codepen: http://codepen.io/Diokuz/pen/vKEBQO

fixed in<EMAIL_ADDRESS>


Discord web issue

The online status is not rounded but a rectangle in web version.

Use Vencord/Vesktop hardware acceleration if you need more performances

Oook I'll try


Add EnginesPlus.netkan

Currently awaiting a response on which license the mod is under.
Forum thread indicates CC-BY-ND-4.0 but CC-BY-NC-SA-4.0 is the license in the archive.

License issue cleared up.

Tested manually, merging. Thanks.


Added Calendar

Worked on Issue Number : #315
Issue Type: Feature request.
Issue Solved By Adding the Feature.

Ok sir please check and tell me @heet-kumar

😅😅😅🥹🥹

@heet-kumar any updates?


Poor tracking

I connect to the pc fine, get a good image, barely any latency, everything is smooth. The tracking lags by quite a bit though. The controllers sort of smoothly follow my movements. Beat saber is unplayable. Here are my pc specs just in case:
Windows 10 Pro 64-bit
Intel Core i5 4670K @ 3.40GHz
8,00GB Dual-Channel DDR3 @ 666MHz
2047MB NVIDIA GeForce GTX 750 Ti
I know the computer is on the lower end, but beat saber achieves a perfect 72fps for me.
Edit: setting the refresh rate higher significantly improved tracking.

hello what version of ALVR are you using ?


Confusing setting A incompatible with setting B warning

> uvx ruff -v format --preview tests/unit/test_proxy.py
[2024-11-28][09:57:06][ruff::resolve][DEBUG] Using configuration file (via parent) at: /code/python-libjuju/pyproject.toml
warning: `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible. Ignoring `one-blank-line-before-class`.
warning: `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible. Ignoring `multi-line-summary-second-line`.
[2024-11-28][09:57:06][ruff::commands::format][DEBUG] format_path; path=/code/python-libjuju/tests/unit/test_proxy.py
[2024-11-28][09:57:06][ruff::commands::format][DEBUG] Formatted 1 files in 662.75µs
1 file left unchanged

The thing is, my repo doesn't mention any of one-blank-line-before-class, no-blank-line-before-class, D203, D211...
The warnings are gone if I remove the pyproject.toml entirely, or if I remove the "D" from [tool.ruff.lint] select = [...]
Could it be that selecting D selects all Dnnn flags and there are incompatible flags in that set?
Could this be improved?

Config: https://github.com/juju/python-libjuju/blob/main/pyproject.toml

Could it be that selecting D selects all Dnnn flags and there are incompatible flags in that set?

Yes, that's correct. Including "D" selects the entire category which will include all the rules that falls under that category which includes "Dxxx" rule codes.

I wish ruff would only include the setting that takes effect out of the two.
In the meantime, is there a syntax to "include all D, but exclude specific D123" ?

In the meantime, is there a syntax to "include all D, but exclude specific D123" ?

Yes, you can use the lint.ignore setting for that:
[tool.ruff.lint]
extend-select = ["D"]
ignore = ["D123"]

Additionally, you might be interested in this list: https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules

There's a few mirror conflicting rules (the only ones I can think off are in D, namely D203 vs D211 and D212 vs D213) that would be better off as configs.

This is not very... user-friendly, I guess or make the drop-in replacement for tools X,Y,Z a bit of a stretch.
I'm happy to use the work-around, and thank you for the amazing tool!


Config blocks for dependencies of lazy loaded modules are triggered in the wrong order?

Plunkr: http://plnkr.co/edit/calGSdZMXDiNwNipstYO?p=preview
Problem: If you try to click the link for lazy.foo, it will not work because the lazy.foo state is registered before the parent state lazy.
If _lazyModule.js was not lazy loaded, it would correctly register the states where lazy was registered before lazy.foo. I've tried using the global configuration of serie, but it doesn't appear it applies to the running of the config blocks.

+1


Remove workflow path filtering

WHY are these changes introduced?
We were skipping CI when the PR only contained changes in *.md files, but now the workflow is required to merge.
Example PR: https://github.com/Shopify/cli/pull/2785
GitHub note found by @alvaro-shopify:

WHAT is this pull request doing?
Always run CI, no matter the changes
How to test your changes?
Merge and create a PR with a single change in README.md 🤷
Measuring impact
How do we know this change was effective? Please choose one:

[x] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
[ ] Existing analytics will cater for this addition
[ ] PR includes analytics changes to measure impact

Checklist

[x] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[x] I've considered possible documentation changes
[x] I've made sure that any changes to dev or deploy have been reflected in the internal flowchart.

🎩 Checked that it works in https://github.com/Shopify/cli/pull/2795


How to remove different shades of green to black & white

I have the following image and the code I am using to try and convert this image to black and white for pytesseract processing.  The problem that I am having is that the darker shade greens are not able to be processed while the 2 lighter shade greens are good.  Is there anyway to fix this?
    img = cv2.imread(img, cv2.IMREAD_GRAYSCALE)
    # gaus = cv2.adaptiveThreshold(img_gray, 255,cv2.ADAPTIVE_THRESH_MEAN_C, cv2.THRESH_BINARY, 35,100)
    gaus = cv2.threshold(img, 100, 255, cv2.THRESH_BINARY_INV + cv2.THRESH_OTSU)[1]
    gaus = cv2.resize(gaus, (0, 0), fx=1.5, fy=1.5)  # scale image 1.25X
    gaus = cv2.bitwise_not(gaus)
    config = '-l eng --psm 6'
    text = pyt.image_to_data(gaus, config=config, output_type=Output.DICT)

Please use our forum for asking questions.


Refactor parseJavaTemplates to its own file

Rather than keeping it in parseScriptTemplates.ts

@EricJizbaMSFT Let's first discuss the design before implementation.
Currently, the template parsers are all function based. Do you think we need to change it to class-based and extend to several different parsers to avoid duplicated code?

I don't see the benefit of a class in this case. I say you just move Java-specific code to parseJavaTemplates and export anything you need from parseScriptTemplates.

I see.


Add new configuration "enableEnhancedTyping" to control registering of "type" command

This further fixes problems when having a VIM extension (at least vscodevim)
enabled, by not calling overrideCommand('type', commands.onEnter.handle) when
enableEnhancedTyping is set to false.
The problem is dependent on the order in which extensions are activated, if
rust-analyzer is activated before vscodevim, rust-analyzer will register the
type command, and when vscodevim finally attempts to activate, it will fail
to register the command. This causes vscodevim to stop working properly.
This setting allows users to disable the registerCommand type in
rust-analyzer, allowing vscodevim to work. The setting defaults to true.
Currently changing the setting requires reloading of the window.

bors r+
Thanks!


[nghttp2] Disable all the dependencies to fix configure error

When one dependency CUNIT is found, nghttp2 will genreate the static library which output name is same with the dynamic library, which caused this issue.
Disable all the dependencies since this port has no dependency declaration yet.
Related:https://github.com/microsoft/vcpkg/pull/28084

@JavierMatosD fast track this one to fix the ci baseline.


COM-435 create non empty validation for multi select

https://coveord.atlassian.net/browse/COM-435
Proposed Changes
Created a validation for non empty multi select
Acceptance Criteria

[x] The proposed changes are covered by unit tests
[x] The potential breaking changes are clearly identified
[x] README.md is adjusted to reflect the proposed changes (if relevant)

You could also add the component in the Multi Select Examples ?


deepl: package is upgrading and downgrading again and again

Bug Report
Package Name: deepl
Current Behaviour

the package is changing between the newest 2 versions.
Expected Behaviour

Additional context/output

Possible Solution

This is due to A-B test or CDN problem, and unfortunately there is no way to solve it.


Python: allow to modify openlineage.* logging levels via environment variables

Problem
For some users it is impossible to programatically set Python logging levels.
Solution
Add OPENLINEAGE_{CLIENT/AIRFLOW/DBT}_LOGGING environment variables that can set according module logging levels.
This PR also cleans up some logging calls in openlineage-airflow.
One-line summary:
Allow to modify openlineage.* logging levels via environment variables
Checklist

[x] You've signed-off your work
[x] Your pull request title follows our guidelines
[x] Your changes are accompanied by tests (if relevant)
[x] Your change contains a small diff and is self-contained
[x] You've updated any relevant documentation (if relevant)
[x] Your comment includes a one-liner for the changelog about the specific purpose of the change (if necessary)
[ ] You've versioned the core OpenLineage model or facets according to SchemaVer (if relevant)
[ ] You've added a header to source files (if relevant)

SPDX-License-Identifier: Apache-2.0
Copyright 2018-2023 contributors to the OpenLineage project

Codecov Report

Merging #1974 (76278b2) into main (bc1f525) will increase coverage by 2.32%.
The diff coverage is 76.47%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff              @@
##               main    #1974      +/-   ##
============================================
+ Coverage     81.68%   84.01%   +2.32%
============================================
  Files            88       59      -29
  Lines          3681     3259     -422
  Branches         29        0      -29
============================================
- Hits           3007     2738     -269
+ Misses          638      521     -117
+ Partials         36        0      -36

Impacted Files
Coverage Δ

...nlineage/airflow/extractors/dbt_cloud_extractor.py
77.20% <0.00%> (-0.34%)
:arrow_down:

...ow/openlineage/airflow/extractors/gcs_extractor.py
92.30% <ø> (-1.03%)
:arrow_down:

...low/openlineage/airflow/extractors/s3_extractor.py
95.45% <ø> (-0.38%)
:arrow_down:

...lineage/airflow/extractors/sagemaker_extractors.py
73.19% <72.72%> (-0.81%)
:arrow_down:

integration/airflow/openlineage/airflow/adapter.py
83.33% <100.00%> (+0.53%)
:arrow_up:

...ntegration/airflow/openlineage/airflow/listener.py
71.71% <100.00%> (ø)

...ommon/openlineage/common/provider/dbt/processor.py
91.20% <100.00%> (-0.03%)
:arrow_down:

... and 29 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Please add this to yaml file config as well

Please add this to yaml file config as well

I'll open separate PR for this.


Python Dependency issue: Issues installing opencv

Hello.
I'm having issues installing opencv. I'm publishing my function through the CLI using the following command:
func azure functionapp publish testPSA2 --build-native-deps

The publishing is not a problem and it worked just fine a couple of months ago, but when I got back to the project to make some changes I get the following error when running the function:
2019-05-07T08:11:27.146 [Error] Executed 'Functions.processImageEvent' (Failed, Id=316890eb-95ed-4eda-8ed4-b1136a758b1c)
Result: Failure
Exception: ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
Stack:   File "/home/site/wwwroot/worker_venv/lib/python3.6/site-packages/azure/functions_worker/dispatcher.py", line 203, in _handle__function_load_request
    func_request.metadata.entry_point)
  File "/home/site/wwwroot/worker_venv/lib/python3.6/site-packages/azure/functions_worker/loader.py", line 66, in load_function
    mod = importlib.import_module(fullmodname)
  File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/site/wwwroot/processImageEvent/__init__.py", line 3, in <module>
    import cv2
  File "/home/site/wwwroot/worker_venv/lib/python3.6/site-packages/cv2/__init__.py", line 3, in <module>
    from .cv2 import *

My requirements.txt looks the following:
asn1crypto==0.24.0
azure-common==1.1.17
azure-cosmosdb-nspkg==2.0.2
azure-cosmosdb-table==1.0.5
azure-functions==1.0.0a5
azure-functions-worker==1.0.0a6
azure-nspkg==3.0.2
azure-storage-blob==1.4.0
azure-storage-common==1.4.0
certifi==2018.11.29
cffi==1.11.5
chardet==3.0.4
cryptography==2.5
grpcio==1.14.2
grpcio-tools==1.14.2
idna==2.8
numpy==1.15.4
opencv-python==<IP_ADDRESS>
protobuf==3.6.1
pycparser==2.19
python-dateutil==2.7.5
requests==2.21.0
scipy==1.2.0
six==1.12.0
urllib3==1.24.1

I have posted a similar issue here, deploying jobs to a GPU cluster using Azure ML SDK:
https://github.com/Azure/MachineLearningNotebooks/issues/252#issuecomment-478838718
Have anyone encountered a fix? if so please let me know. The opencv package is critical to a lot of my algorithms.
Best Regards
Niels

@ahmelsayed, do we have this particular dependency (libgthread) in our Docker image? If not, would we able to add it?

#493 is related and that particular issue can be solved by installing gcc.

Hi Team
Would be great to have this fixed! Any timeline available?
Henk

I also need OpenCV working.

I'm having the same issue working with azure webapp deploying in a Linux environment, Is there any update?

Has there been a soultion to this error yet?

Any information would be nice. @InternDan

Haven't found a solution yet, sorry guys. I ended up building a full blown API instead.

Any timelines, as we too experiencing the same issues.
Ended up hosting as API in IaaS VM, the olden days of resolution!

Maybe, you need to use a custom container which installation of libopencv-dev is described in the dockerfile.

I ended up using the API option aswell , tried the docker solution but it has its own problems
Get Outlook for Androidhttps://aka.ms/ghei36

From: horihiro<EMAIL_ADDRESS>Sent: Saturday, September 28, 2019 10:37:13 AM
To: Azure/azure-functions-python-worker<EMAIL_ADDRESS>Cc: Aidan Doherty<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [Azure/azure-functions-python-worker] Python Dependency issue: Issues installing opencv (#497)
Maybe, you need to use a custom container which installation of libopencv-dev is described in the dockerfile.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-functions-python-worker/issues/497?email_source=notifications&email_token=AKKCZUJJEMSBE4XYGN7L2E3QL4QUTA5CNFSM4IGSFWBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD72U7TA#issuecomment-536170444, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKKCZUOJS5HTNLGN7LOHWY3QL4QUTANCNFSM4IGSFWBA.

Hi - running OpenCV for one of our partner's solutions in Azure functions and they are also blocked due to this scenario. Is there is a solution to run OpenCV in Python Azure Functions please?
Appreciate guidance.

I'm in the same boat. Can we realistically hope for a resolution soon?

Hi guys,
I found a solution by using a Docker Image with pre installed opencv in Function App.
I created a public docker image (https://cloud.docker.com/repository/docker/pmoneda/azure-functions-python-opencv) that extends default image from FunctionApps
My Dockerfile that I use to build this image is here
https://gist.github.com/PMoneda/24ca29bc7599cd4808ae98e6e3ac2489

MY unofficial temporal workaround is followings and the sample is here:

Copy SO libraries to your Azure Functions projects
In the sample, you can copy libglib-2.0.so.0 and libgthread-2.0.so.0, which are required SO libraries for opencv-python-headless, by executing retrieve_so.sh
Change your code (it's not cool 👎 )
Instead of import cv2, use following code.

import ctypes
import importlib

ctypes.CDLL('/PATH/TO/libglib-2.0.so.0')
ctypes.CDLL('/PATH/TO/libgthread-2.0.so.0')

cv2 = importlib.import_module('cv2')

Deploy your package including above code and the copied SO libraries by azure-functions-core-tools.

By this workaround, I confirmed that only following function can be used in the sample __init__.py.

cv2.imread
cv2.cvtColor
cv2.imwrite

Just wanted to sent an update that we are working on adding the libraries needed for OpenCV. We hope to add the libraries in the next 3-4 weeks if not earlier unless we find some unforeseen issue.

Hello!
I think I have the same problem. And I also need that very urgently!!
@anirudhgarg I do not use docker containers - will your solution will help me, too?
Here is my exception when the line "import cv2" is reached:
Exception type: Microsoft.Azure.WebJobs.Host.FunctionInvocationException

Exception message:
Exception message: Exception while executing function: Functions.Test02FuncBlobTr <--- Result: Failure
Exception: ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
Stack: File "/usr/local/lib/python3.6/site-packages/azure_functions_worker/dispatcher.py", line 309,
in _handle__invocation_request self.__run_sync_func, invocation_id, fi.func, args) File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56,
in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.6/site-packages/azure_functions_worker/dispatcher.py", line 426,
in __run_sync_func return func(**params) File "/home/site/wwwroot/Test02FuncBlobTr/__init__.py", line 34,
in main import cv2 File "/home/site/wwwroot/.python_packages/lib/python3.6/site-packages/cv2/__init__.py", line 3,
in <module> from .cv2 import *

Category: Function.Test02FuncBlobTr

LogLevel: Error

Hopefully there is a solution very soon!!!

@HoLue
could you please try this if you cannot use custom container?
https://github.com/horihiro/azure-functions-python-opencv-example
I would appreciate your feedback.

@horihiro Thanks for the fast answer - my local system is a Windows system. Before I will try, just my short question: Is there a chance that it may work?

Yes.
But you need to install docker for windows and WSL with docker cli in order to get required files.

We have just deployed the following packages: libglib2.0-0; libsm6; libxext6; libxrender-dev and I have just confirmed including the opencv-python module now works. @horihiro @holue @themaxx75 @nkma1989 - all please confirm as well. Remember to include opencv-python in your requirements.txt /cc @ahmelsayed @kulkarnisonia16 @maiqbal11 @anthonychu Will close this out if some one else can confirm

Thanks @anirudhgarg
I confirmed that opencv-python-headless which needs less libraries than opencv-python works on python function app of consumption plan so it seems that libgthread-2.0.so.0 and libglib-2.0.so.0 are installed.

@anirudhgarg Thanks!!! It works for me!!

Thanks @HoLue and @horihiro for confirming. I am going to close this issue out and really appreciate you folks engaging and letting us know about this.

It doesn't seem to work on Azure App Service. Still getting the same error.
"ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory"

@RahulNET For a Flask app on App Service, you should be workaround it by deploying your app in a container with the dependencies installed.

@RahulNET For a Flask app on App Service, you should be workaround it by deploying your app in a container with the dependencies installed.

thanks anthonychu!  Do you mean Docker container?  otherwise, I tried with App Service for Linux and installed dependencies through "requirements.txt". However, OpenCV is having issues as mentioned above.

Hi @RahulNET
The problem you are facing is out of scope of Azure Functions.
The following issue's comment may help you.
https://github.com/horihiro/azure-functions-python-opencv-example/issues/2#issuecomment-565718690
# but the repository which the above issue was filed into is not also related to App Service directly.

It doesn't seem to work on Azure App Service. Still getting the same error.
"ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory"
What is the suggested solution or workaround if the code needs to be deployed with Azure App Service (for Linux and Flask API)

did you get any solution?I am also trying to use cv2 on azure app service

@yashpatel7025
The error means that the python runtime image of App Service on Linux doesn't have necessary libraries including libgthread-2.0.so.0.
You can install them by using following shell script as startup file.
https://docs.microsoft.com/en-us/azure/python/tutorial-deploy-app-service-on-linux-04
Please try it.
# In case of `opencv-python-headless`
# if you use `opencv-pyhon`, install `libopencv-dev` instead of `libglib2.0-0`
apt update && apt install libglib2.0-0 -y

# start command of your webapp
# https://docs.microsoft.com/en-us/azure/python/tutorial-deploy-app-service-on-linux-04#flask-startup-commands
gnicorn  --bind=<IP_ADDRESS> --timeout 600 hello:myapp

It doesn't seem to work on Azure App Service. Still getting the same error.
"ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory"
What is the suggested solution or workaround if the code needs to be deployed with Azure App Service (for Linux and Flask API)

did you get any solution? I am also trying to use cv2 on azure app service, trying from last 3 days, did not get any solution.

I am also facing same issue. Please share if you found any solution.

@deependrasolanky are you also using app service ?

Yes. I am using app service Linux.
On Wed, Jun 17, 2020, 12:28 AM Anirudh Garg<EMAIL_ADDRESS>wrote:

@deependrasolanky https://github.com/deependrasolanky are you also
using app service ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-functions-python-worker/issues/497#issuecomment-644952256,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP2M2SMZYGMJPLQBDBFG4PTRW66ETANCNFSM4IGSFWBA
.

Can you try @horihiro's suggestion

are you using a custom image? libglib2.0-0 should be installed on all the base images we use in app service

are you using a custom image? libglib2.0-0 should be installed on all the base images we use in app service

Can you try @horihiro's suggestion

I tried that but while installing the package it got stuck at 'Setting up xdg-user-dirs' and container could not start.

are you using a custom image? libglib2.0-0 should be installed on all the base images we use in app service

No I am using Azure default image only.

I tried that but while installing the package it got stuck at 'Setting up xdg-user-dirs' and container could not start.

are you using a custom image? libglib2.0-0 should be installed on all the base images we use in app service

Can you try @horihiro's suggestion

I tried that but while installing the package it got stuck at 'Setting up xdg-user-dirs' and container could not start.

I am facing the same issue. Is there a fix for this issue ?

Can you please open another issue with a repro for the issue you're seeing.

I have same issue in azure app service-
from .cv2 import *
2021-12-09T06:25:04.404506492Z ImportError: libGL.so.1: cannot open shared object file: No such file or directory
2021-12-09T06:25:04.404512192Z

if I do not use opencv2 python script works

For anyone having an issue in Azure app service python app, add the following BEFORE 'import cv2' in your app.py:
from subprocess import STDOUT, check_call
import os
check_call(['apt-get', 'update'], stdout=open(os.devnull,'wb'), stderr=STDOUT)
check_call(['apt-get', 'install', '-y', 'libgl1'], stdout=open(os.devnull,'wb'), stderr=STDOUT)
check_call(['apt-get', 'install', '-y', 'libglib2.0-0'], stdout=open(os.devnull,'wb'), stderr=STDOUT)
check_call(['apt-get', 'update'], stdout=open(os.devnull,'wb'), stderr=STDOUT)
it should resolve the issue for missing package.
Although this wasn't necessary in the local windows or Linux system where the app was developed and tested, it is a required step for Azure apps.


CarouselView not displaying on Xamarin Forms Android or iOS

Could you check that I'm creating this CarouselView correctly, because try as I might, I cannot get it to display anything, and I am instead greeted by a blank space. I'm starting with what I believe is a barebones example, whose XAML contents I have pasted below.
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:CyclePay.UI.Feed"
             x:Class="CyclePay.UI.Feed.FeedView"
             xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
             xmlns:cv="clr-namespace:CarouselView.FormsPlugin.Abstractions;assembly=CarouselView.FormsPlugin.Abstractions">
  <ContentView.Content>
      <StackLayout BackgroundColor="Transparent" HeightRequest="270" VerticalOptions="FillAndExpand">
            <cv:CarouselViewControl ShowArrows="true" AnimateTransition="true" IsVisible="true" IsSwipeEnabled="true" IsEnabled="true" ShowIndicators="true" x:Name="carousel">
                <cv:CarouselViewControl.ItemsSource>
                       <x:Array Type="{x:Type Label}">
                            <Label Text="Hello" VerticalOptions="CenterAndExpand" FontSize="Large" HorizontalOptions="CenterAndExpand"/>
                            <Label Text="world" VerticalOptions="CenterAndExpand" FontSize="Large" HorizontalOptions="CenterAndExpand"/>
                            <Label Text="!" VerticalOptions="CenterAndExpand" FontSize="Large" HorizontalOptions="CenterAndExpand"/>
                       </x:Array>
                </cv:CarouselViewControl.ItemsSource>
            </cv:CarouselViewControl>
      </StackLayout>
  </ContentView.Content>
</ContentView>

I've been encountering the same kind of issue with the latest Xamarin.Forms updates.
I'm beggining to think this package is no longer compatible and needs to be updated.
Your code seems correct, by the way.

It seems that array of controls as ItemsSource of CarouselView is not working. There are many issues reported and some alternatives to CarouselView are also unable to work that way. You should try DataTemplate and TemplateSelector. Look for some examples of that.

@ivanxamarin  @vpfrimmer hi https://github.com/AndreiMisiukevich/CardView/blob/master/PanCardView/CardsView.cs
you can try this plugin

Same issue on Xamarin.Forms <IP_ADDRESS>9982 version (Android only)

The issue here is wrapping the carousel with StackLayout which is not needed if the carousel will fill the entire screen. StackLayout needs to know the height of its children to allocate its own height. Carousel doesn't know its height, not until its natively rendered.
Workaround? Use a Grid if you need to wrap the carousel and assign a height to it.


return results in log format

Add an option to return results in a format that supports Grafana's log viewer. This seems to require modifying prepareRespose to return results with dataframes shaped to work with logs. See https://grafana.com/docs/grafana/latest/developers/plugins/build-a-logs-data-source-plugin/ for details on what the response should look like.

Closed by #49


Set Notification Priority

Hi,
It would be useful to be able to select notification priority. I have seen many applications with notifications set to lowest and persistent. This should keep the application in memory and running, however the icon is not shown in the status bar (which I personally prefer).
For more see the first answer here http://stackoverflow.com/questions/12758681/android-how-can-i-put-my-notification-on-top-of-notification-area
Also, the notification could have a love button, but maybe I'm asking to much. :-)
Thanks!
Michal

Thank you very much for this.
I will set the default to PRIORITY_MIN.

#487


Unicode 11 Emojis

Upstream for Unicode 11 emojis.

This is a little too cryptic for me to understand.
We will provide Unicode 11 emojis, but generally those don't appear until the Android release containing them has shipped, typically towards the end of the year.

Okay. I was asking about that only. I will wait for newer ones to appear. Thanks.


Add AzureHandler to send logs to Microsoft Azure Monitor

Hey, sorry for the delay here but please submit this as a third party package on packagist.org and then add it here if you like https://github.com/Seldaek/monolog/wiki/Third-Party-Packages - I don't accept new handlers anymore which aren't very general purpose as it takes too much time to maintain.


[release-0.47] virt-launcher, hostdevice: Respect SR-IOV guest pciAddress and bootOrder

This is a manual cherry-pick of #7422 and #7501.
It fixes Bugzilla 2070050.
Release note:

Fixed setting custom guest pciAddress and bootOrder parameter(s) to a list of SR-IOV NICs.

/uncc @rmohr @vladikr

/retest-required

Opened PR https://github.com/kubevirt/kubevirt/pull/7490 in order to pass pull-kubevirt-generate.

/retest-required

/retest-required

/retest-required

/retest-required

/sig network
/retest

/approve


Feature request: Provide start-end col/line for nodes

It seems currently only row and col are available ? Am I right.
Even better would be a feature to find node (of type) by position
Something like:
(-> root z/down (z/find-by-pos z/next z/list? {:line 15 :col 37}))

similarily find-next-by-pos etc :)

@rundis Getting and attaching that information should not be that much of a problem - and I'll investigate whether there's a reasonable way to implement find-by-pos.
Thanks for the idea!

I guess a potential challenge would be to keep the positional metadata up to date when rewriting nodes. Any thoughts on how to approach that ?

Oh man, this would be so sweet!  Subscribe!

@xsc is this actually done, but the issue was never closed?  I seem to recall this being nearly done last I checked in.

@expez There is some code in master, but I think :end-row is sometimes off by one... (The respective tests are commented out, too: 32b14505.) Also, I didn't intend on committing it, it just slipped through during a dependency upgrade: a178fcaf. :sweat:
I'll evaluate the current state and, if possible, fix the problems.

I'll evaluate the current state and, if possible, fix the problems.

Thanks!
In the meanwhile, could you publish a snapshot from master?  I think I can get some work done without relying on :end-row, until the rest is done.

@expez SNAPSHOT is pushed:
[rewrite-clj "0.4.13-SNAPSHOT"]

@rundis I think the way to keep the info up-to-date is to track it in the zipper.  Which would mean making a custom zipper instead of reusing clojure.zip.  This would be interesting to me, as well (I might implement).  It's been repeated a few times that writing a customer zipper is pretty much expected and that clojure.zip is just an easy starter.
But this all poses an interesting problem... I think people aren't supposed to rely on the underlying zipper implementation, but I don't seem to be able to control indentation adequately without either:

Anticipating when rewrite-clj will add spaces, then replace them (which requires using z/left*).
Using the underlying zipper's insert-right to avoid the whitespace-adding functionality. (There is no z/insert-right*).

@xsc Am I doing something wrong?  Should we expose z/insert-right* and friends?

I think this is done in rewrite-clj v0, but will review more carefully.

I think this is done in rewrite-clj v0, but will review more carefully.

We'll have find-tag-by-pos in rewrite-clj v1 (which we inherit from rewrite-cljs thanks to @rundis).
We now also have the custom zipper to track position on update (thanks, I think, to @eraserhd).
So, I'm going to close this issue.  If folks would like more positional searching in 2021, they can open a new issue.

We'll have find-tag-by-pos in rewrite-clj v1 (which we inherit from rewrite-cljs thanks to @rundis).
We now also have the custom zipper to track position on update (thanks, I think, to @eraserhd).
So, I'm going to close this issue.  If folks would like more positional searching in 2021, they can open a new issue.


rendering ant design with webpack not working

Do you want to report a bug or request a feature?

For a bug report, describe your issue and tell me how to reproduce it (include screenshots, console messages or minimal demo repo). If this's a usage question, please do not post it here. Post it on Stack Overflow instead.
For a feature request, describe the feature and tell me why it must be included or used in this starter (for most developers).

Expected Behavior
ant design component being rendered into the application.
Actual Behavior
no error, but component css doenst seems to be right.
Your Environment
{
        test: /\.jsx?$/,
        exclude: /node_modules/,
        loader: 'babel',
        options: {
          cacheDirectory: isDev,
          plugins: [
            ['import', { libraryName: 'antd', libraryDirectory: 'es', style: 'css' },],
          ],
        }
}

@dayrlism10 Have you tried to turn CSS Modules off?

after i turn it off it work, but all of the sass wont work, i saw you separated
/.css$/ and /.(scss|sass)$/, is there a reason for this?

okay, solved, i turn off only modules: false, for /\.css$/ and /\.(scss|sass)$/ remain true, then it work like charm ;) thanks bud


Request to add sorting by embedded subtitles

It would be great to have an option to choose only streams that have embedded subtitles for the language you choose. Since the opensubtitles addon is unreliable sometimes i always want streams with embedded subs. It would make it alot easier for my family since its confusing for them when a stream doesnt have embedded subs, and they have to meddle with different subtitles and delay and everything using the addon.

This information is not known from torrent name or description, so it's no feasible do do that. You'd need to open each torrent file with media info tool to know that for sure, and that is just not something you can do easily and requires a lot of resources as there are millions of files indexed.


Update docker-compose.yml for new port

With the change to 8000 the port on the web proxy needs to be updated

Thanks @spinanicky for the pull request!
Per the CONTRIBUTING.md file displayed when you created this pull request, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
This is a standard procedure for many open source projects. Your form should be processed within 24 hours and reviewers for your pull request will be able to proceed.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

Hi @spinanicky. Thanks for your help but the port that changed is the Mattermost application port, not the port of the web server.
The web container is still listening on port 80 and if forwarding, by default, to the app container port 8000. So everything is fine, no needs to change the docker-compose.yml :)

@pichouk - You are correct - my apologies. I had an error due to use of 443.


Add capability to set a manual token

With this change we can set a token manually in hosts so that facts can populate it without calling the le2 all the time.
Also not going to over complicate things by automatically creating the token file. If the el2 token generation is not working someone need to create /etc/le/token and add the token properly.

Also looks like times have moved on with this module ....
 rvm use 1.8.7-p371 --install --binary --fuzzy
curl: (22) The requested URL returned error: 404 Not Found
Required ruby-1.8.7-p371 is not installed - installing.
curl: (22) The requested URL returned error: 404 Not Found
Searching for binary rubies, this might take some time.
Requested binary installation but no rubies are available to download, consider skipping --binary flag.
Gemset '' does not exist, 'rvm ruby-1.8.7-p371 do rvm gemset create ' first, or append '--create'.
The command "rvm use 1.8.7-p371 --install --binary --fuzzy" failed and exited with 2 during .


Some of the links on the COVID portal to OT Platform are broken

The COVID portal links out to the OpenTargets alpha portal on a number of points, but that host is not up:

Drugs. Link looks like this: https://alpha.targetvalidation.org/search?q=ASPIRIN&page=1

Ticket closed as links fixed temporarily to direct users to beta.targetvalidation.org.
Note: when new version of Platform is released, all links will need to be updated - see #1449 for more information


Changes

Hero Hash tags
Botton - Readmore (Explore )
Who are We ( if )
Explore More Window
Animation ( if )
Mission - Space  - text Size
Card - Spacing , Boldness, Title Boldness (Blog)
Read Article (Hover )

Footer Vertical Scene


Don't backoff on 403 Forbidden

https://developers.google.com/analytics/devguides/reporting/core/v4/errors

FIXED in https://github.com/keboola/google-analytics-extractor/commit/a22cd889db95b8a094b801c052134add58e7de6d


Add a --ignore option to backup subcommand.

Adding the --ignore option reverses the args, instead of performing backup of those names, it ignores those.
Useful when skipping backup for directories.

c0de21d adds this feature.


Don't include support for old mangling in runtimes without ObjC interop

This saves a surprising amount of codesize in the runtime (~25 kB on x86_64).

Well, the interesting thing is that ObjC interop is not a build time constant - it is a runtime value (-enable-objc-interop or -disable-objc-interop).

@swift-ci please test Windows platform

@mikeash yes, and I think that this change moves to actually clean that up.  The sinking of the option to the stdlib makes this better.  The demangler is in lib/ rather than stdlib/ which is what I think is making me uncomfortable.


Create mdlog.toml

Hello, I'm Jumardi. I live in Indonesia. I am an Bachelor of Industrial Engineering. I am a full time blockchain worker. I'm a tester and developer. I've been interested in blockcahin for a long time. I participated in 100+ Testnets. I have also participated in last year's Namada Trusted Setup where I was included in cohort 27
I love helping the community and contributing to the development of projects!
Socials:
Mail<EMAIL_ADDRESS>GitHub: https://github.com/mdlog
Twitter: https://twitter.com/mdlog123
Telegram: https://t.me/mdlog
Discord: mdlog123#6466
Active Testnets:
Namada
Sui
Aleo
Shardeum
Massa
Nibiru
Mina Protocol


Task output is lost at the end of a build

Expected Behavior
The output of a task should always be shown:
gradle (dl/xcode-ide-composite)*$ gw install
Parallel execution is an incubating feature.
Build cache is an incubating feature.

> Task :ideNative:compileJava
/Users/daniel/gradle/gradle/subprojects/ide-native/src/main/java/org/gradle/ide/xcode/plugins/XcodePlugin.java:308: error: cannot find symbol
            getLifecycleTask().dependsOn(new Callable<List<TaskDependency>>() {
                                             ^
  symbol:   class Callable
  location: class XcodePlugin
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ideNative:compileJava'.
> Compilation failed with exit code 1; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 7s
272 actionable tasks: 33 executed, 239 up-to-date

Publishing build scan...
https://e.grdev.net/s/cntjwqbjfy356

Current Behavior

The output of the task :ideNative:compileJava isn't shown (aka, the compiler output). Executing a second time, the output is shown as demonstrated above.
gradle (dl/xcode-ide-composite)$ gw install
Starting a Gradle Daemon (subsequent builds will be faster)
Parallel execution is an incubating feature.
Build cache is an incubating feature.

> Configure project :
Downloading the released versions from: https://services.gradle.org/versions/all

> Task :docs:dslMetaData
Parsed 1313 classes in 5.391 seconds

Download https://repo.gradle.org/gradle/libs-releases/biz/aQute/bnd/biz.aQute.bndlib/3.4.0/biz.aQute.bndlib-3.4.0.pom
Download https://repo.gradle.org/gradle/libs-releases/biz/aQute/bnd/biz.aQute.bndlib/3.4.0/biz.aQute.bndlib-3.4.0.jar

> Task :codeQuality:compileGroovy
Note: /Users/daniel/gradle/gradle/subprojects/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/AbstractCodeQualityPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :ide:compileGroovy
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ideNative:compileJava'.
> Compilation failed with exit code 1; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 2s
272 actionable tasks: 95 executed, 71 from cache, 106 up-to-date

Publishing build scan...
https://e.grdev.net/s/zzfrkibgrsczo

Context

With parallel enabled, the output of the last task causing the build to fail isn't shown. It would seem this is a flaky behavior as the output is shown the second time I ran the task.
Steps to Reproduce (for bugs)

In this case, the compileJava task failed resulting in the a build failure. Parallel is enabled and lots of tasks we out-of-date.
Your Environment

Build scan URL:  See in build outputs.

If you look at the build scan for the build that is missing output, it's not in the build scan log either. So it's probably not a problem with the new console.  It's probably something to do with the stdout/stderr not being flushed from the compiler daemon if the error happens quickly enough.

I've found a problem that sounds sneakily similar to this.  Basically, we use a cached thread pool for the threads that process output from sub-processes like this.  To write to our logging framework, we have a LinePerThreadBufferingOutputStream that captures stuff written to System.out or System.err.  This object has a thread local PrintStream object that handles all text written to it.  However, this object can be closed, which closes the PrintStream object, but doesn't remove it from the thread local.  This means that if this thread is re-used, you can get a PrintStream that has been closed has nothing underneath it, so anything sent to this object just gets dropped.
Given that this affects only threads that are being re-used, it's much more likely to hit tasks later in the build.  I wouldn't be surprised if what you're seeing here is the same issue.


How to simulate offline nodes?

Hello, I am considering a scenario that some of the SL nodes become offline during the training process. If the online SL nodes are more than min_peers, the SL training process can still continue.
However, I wonder how those offline nodes would be initialized when they come back online. Will the SL network consider the learnings of the offline nodes, to merge a new model? Or, will the SL network abandon the learnings of the offline nodes, and simply initialize them with merged models of online SL nodes in the latest batch?
Besides, when I try to simulate this scenario,  I get an error called "SMLBB: Node enrolled cannot change ML context". Does SL support manually removing some epochs or batches from synchronization? If so, how can I implement this feature?
I really appreciate it if you provide me some hints. Thank you!

Does setting a dynamic sync interval without using adaptive sync solve this problem? I know PyTorch could set a dynamic sync interval. But what about Keras?

Please refer FAQ regarding offline node question What happens if a node runs slowly or drops out of the network?
Regarding "SMLBB: Node enrolled cannot change ML context" error - Swarm does not expect any configuration changes when node goes offline and comes back.


LL-6732 regions, dates, time and currencies

Edit (19/01):
Now ready for dev review 👍

Original PR comment:

There is now a "region" settings in the general settings section, it shows the list of all regions
That setting sets a locale in settings.locale, separate from the settings.language locale. If it's not defined, the localeSelector falls back to the language locale
All numbers and dates are now formatted using that locale.
Dates are now all formatted in a numeric way to avoid weird mixes of languages (text in one language and dates in another language).

A few examples on the portfolio screen with fr-FR locale:

Questions remaining:

What about the position of the currency unit ? Should there be another PR on live-common to put the currency unit on the left or on the right depending on the locale ? Or is it somehow already implemented but I just didn't find where/how ?
The region selection screen is basically a huge flatlist with a ton of entries so it's not such a good experience to scroll to the desired setting. Should I implement the searchable prop marked as a TODO in makeGenericSelectScreen ?
There are now 2 distinct locales and 2 way to get them with a hook, I'm worried that the similar naming will bring confusion so feel free to suggest a renaming

the i18next locale, for translations, accessible with useLocale() -> I would rename that useTranslationLocale
the settings.locale locale, for dates & numbers, accessible with useSelector(localeSelector)

Type
Feature
Context
LL-6732

Parts of the app affected / Test plan
I believe this can only be tested manually and the best scenario would be if we have testers of different nationality testing for their region ...

All numbers and dates displayed in the app are affected by the region selected so make sure they are formatted properly and none are forgotten (I tried to cover the entire app by searching in the code for formatting of numbers & dates but I might have missed some spots)
Verify that no date is left with "translatable" text inside (in particular months)
Inputs for currencies are affected and should behave normally for instance if a user uses "France" as a region and uses a comma as a digit separator.

@ofreyssinet-ledger still some ci issues on flow sorry

@LFBarreto am I supposed to just run yarn flow to reproduce this?
I get no errors:

I restarted the CI/test check in case it's flaky

Alleluia, CI/test is passing after a rebase

Rebased and implemented "searchable" option to makeGenericSelectScreen for a much better UX:
https://user-images.githubusercontent.com/91890529/151776175-cc08a265-e966-4eb1-bb27-79e8efcc82b0.mp4


(MODULES-11301) Don't install gnupg if not needed

apt::key has the needed ensure_packages() to bring gnupg only
when needed.
Signed-off-by: Simon Deziel<EMAIL_ADDRESS>

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

Hey @simondeziel, Thank you for your contribution! Please could you sign the CLA when you get a spare second then we can progress with this PR.

Please let me know if something's missing to get that merged, thanks!

Many thanks!


(bug) - remove unique index on template name

Special thanks to hobbypunk90 for his contribution: https://github.com/harness/drone/pull/3207


Suggestion to Add Hover Effect on Logos for Improved User Experience

Your website prominently features logos of brands, products, or services that are relevant to our content. These logos serve as visual indicators and are essential for user navigation and recognition. However, currently, when users hover over these logos, there is no visual feedback or interaction, which may result in a somewhat static and less engaging user experience.

I would like to fix this. Please assign me. #Hacktoberfest

@joanagmaia can you please assign this to me?


[Enhancement] Support microseconds in function unix_timestamp

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
Now Doris already supports DATETIMEV2 which could have precision up to microseconds. But function unix_timestamp still can not process those microseconds. So we need this feature for users who need timestamp with microseconds.
In Doris:

CREATE TABLE datetime_table (date datetime(3) NOT NULL COMMENT '数据灌入日期时间'     ) distributed by hash(date) buckets 1      properties("replication_num"="1");
insert into datetime_table values ("2022-01-01 10:10:10.111");
select unix_timestamp(date) from datetime_table;

In MySQL:

CREATE TABLE datetime_table (date datetime(3) NOT NULL COMMENT '数据灌入日期时间'     );
insert into datetime_table values ("2022-01-01 10:10:10.111");
select unix_timestamp(date) from datetime_table;

Solution
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Plz, assign it to me.

I will work on it.

I'd like to try it.

I'd like to try it.

Great! I will re-assign this issue to you

May I ask if anyone else is dealing with this issue? If not, could you assign it to me to try? However, since I am new to the community, I cannot guarantee that I can complete it, but I will do my best. @Gabriel39

Sorry but this issue is duplicated by https://github.com/apache/doris/issues/24382. will close this. @liangjiawei1110 @hongkun-Shao


Missing /dist/site.css & main.js

After doing a restore, npm install, build and run the vendor files correctly get created inside the wwwroot/dist but no site.css and main.js is created.
Then we get the error on dev tools:
GET http://node27.codenvy.io:41656/dist/site.css net::ERR_ABORTED
node27.codenvy.io/:23 GET http://node27.codenvy.io:41656/dist/main.js net::ERR_ABORTED
node27.codenvy.io/:23 GET http://node27.codenvy.io:41656/dist/main.js 404 (Not Found)

Can you try running webpack --config webpack.config.vendor.js in the root directory?

I get bash: webpack: command not found which is strange

Okay I managed to get a main.js created using npm run build , however I still have no site.css

I will look into the site.css issue

Thanks, I still haven't managed to get the site.css to build

I don't see any issues.  Can you explain to me exactly what your doing? The site.css is part of the webpack configuration in webpack.config.js, it uses the css-loader plugin.  I pulled a fresh copy of this template down and it is working fine for me.  What is the exact error its giving you when you build?


Add event "BrowserViewportChanged" to IBrowserViewportService

Feature request type
Enhance component
Component name
IBrowserViewportService
Is your feature request related to a problem?
The interface IBrowserViewportService only supports the observer pattern which is well known from java code and has no event such as "BreakpointChanged" or "BrowserViewportChanged". In fact there is a higher effort to implement an event handler, since you have to Implement the IBrowserViewportObserver and eventually pass it a callback if you have to perform some logic in the sender object when the observer implementation is called.
Registration:
await BrowserViewportService.SubscribeAsync(_BrowserViewportObserver);
Observer implementation:
internal class BrowserViewportObserver : IBrowserViewportObserver
{
    /// <inheritdoc />
    public Guid Id { get; }

    /// <summary>
    /// The callback to be invoked when the drawer shall disappear or appear
    /// </summary>
    public Action<bool> Callback { get; set; }

    /// <summary>
    /// Ctor
    /// </summary>
    /// <param name="callback">The callback</param>
    public BrowserViewportObserver(Action<bool> callback)
    {
        Id = Guid.NewGuid();
        Callback = callback;
    }

    /// <inheritdoc />
    public Task NotifyBrowserViewportChangeAsync(BrowserViewportEventArgs browserViewportEventArgs)
    {
        if (browserViewportEventArgs.Breakpoint is Breakpoint.Xs)
        {
            Callback?.Invoke(true);
        }
        else
        {
            Callback?.Invoke(false);
        }

        return Task.CompletedTask;
    }
}

Callback:
private void SetDrawerVisibility(bool disableDrawer)
{
    DisableNavigation = disableDrawer;
    StateHasChanged();
}

Describe the solution you'd like
I'd like to expose an event like following IBrowserViewportService.BreakpointChanged or IBrowserViewportService.ViewportChanged. So there would be the ability to write the functionality above with much less code and additionally the API is more ".net like"
Registration of the event handler:
BrowserViewportService.ViewportChanged += OnViewportChanged;

Implementation of the event handler:
private void OnViewportChanged(object sender, ViewportEventArgs args)
{
    if(args.Breakpoint is Breakpoint.Xs)
    {
        DisableNavigation = false;
    }
    else
    {
        DisableNavigation = true;
    }

    StateHasChanged();
}

Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
No response
Pull Request

[x] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I'd like to expose an event like following IBrowserViewportService.BreakpointChanged or IBrowserViewportService.ViewportChanged.

The idea with event IBrowserViewportService.ViewportChanged += OnViewportChanged won't really work.
The IBrowserViewportService is shared among all the components, therefore the event will be global which means every subscriber will get events that are not related to the component you are working with.
You might ask a question: "why just not expose the id then in the EventArgs?" and we can do something like:
private Guid _subscriptionId = ...;
private void OnViewportChanged(object sender, ViewportEventArgs args)
{
    if (args.Id != _subscriptionId)
    {
        return;
    }
    //...
}

Not only that looks not very friendly, but the main problem is when JavaScript side fires RaiseOnResized it doesn't know the subscription id, it has JavaScript Listener Id which is not the same as the Subscription Id, and the component doesn't know what JavaScript Listener Id it has.
It's a bit complicated to explain, it's documented in the code, but in short - you might have one listener id, with many subscribers assigned on it, or every subscription can have it's own listener, this is because each component can have it's own unique ResizeOptions . This logic already existed in it's ancestors: IResizeService / IResizeListenerService / IBreakpointService and I followed the same principle for backward compatibility.
When we subscribe via SubscribeAsync(IBrowserViewportObserver observer) or SubscribeAsync(Guid observerId, Action<BrowserViewportEventArgs> lambda) it knows what observer to notify thanks to this line:
https://github.com/MudBlazor/MudBlazor/blob/12349050ba3e62d711ef23dc34516a822811dd5a/src/MudBlazor/Services/Browser/BrowserViewportService.cs#L86
But same trick won't work if you will have the event on higher level:
internal class BrowserViewportService
{
    public EventHandler<BrowserViewportEventArgs> ViewportChanged;

    [JSInvokable]
    public Task RaiseOnResized(BrowserWindowSize browserWindowSize, Breakpoint breakpoint, Guid javaScriptListenerId)
    {
        //there is no way to filter what we are invoking
        ViewportChanged?.Invoke(this, new BrowserViewportEventArgs(javaScriptListenerId, browserWindowSize, breakpoint));
    }
}

So there would be the ability to write the functionality above with much less code and additionally the API is more ".net like"

I actually don't see how is this:
BrowserViewportService.ViewportChanged += OnViewportChanged;
await BrowserViewportService.SubscribeAsync(???);
private void OnViewportChanged(object sender, ViewportEventArgs args)
{
    //...
}

is less verbose than this:
await BrowserViewportService.SubscribeAsync(_subscriptionId,  args => { /*your callback*/ });

I also don't really understand the "feel more .net like".
Observer pattern is really common, and we actually don't really force you to use it since we provide a lambda alternative.
The reason why we went this route is because the old IResizeService  / IResizeListenerService / IBreakpointService  supports only a non-task callback, where some people asked a support for Task otherwise they were forced to use async void which is a bad practice.
We couldn't change the existing code because it would require to breaking change the SubscriptionInfo which is an public class. Therefore we made IBrowserViewportService that's supports IBrowserViewportObserver, Action<...> and Func<..., Task>
Task SubscribeAsync(IBrowserViewportObserver observer)
Task SubscribeAsync(Guid observerId, Action<BrowserViewportEventArgs> lambda)
Task SubscribeAsync(Guid observerId, Func<BrowserViewportEventArgs, Task> lambda)

If you really wish to have BrowserViewportService.ViewportChanged += OnViewportChanged you can easily wrap IBrowserViewportService in your own service and implement it and use it.

Closing as there is no additional feedback from the author of the issue.
Hope author figured how to work with this new service and that you don't need to implement a whole IBrowserViewportObserver and its enough to just use the Action / Func which is almost equivalent on what author wanted, just different syntax, instead of
IBrowserViewportService.BreakpointChanged += SomeHandler, it will be `IBrowserViewportService.SubscribeAsync(..., ()=> SomeHandler);


is it duplicated _.isPlainObject here?

Crawler.prototype.isIllegal = function isIllegal (options) {
    if(_.isNull(options) || _.isUndefined(options) || (!_.isString(options) && !_.isPlainObject(options))) {
	return true;
    }
    return false;
}

https://github.com/bda-research/node-crawler/blob/3ec870437ef4fa3733f724a902ca1aa9573981e3/lib/crawler.js#L190
another question:
does !_.isString(options) && !_.isPlainObject(options) means PlainObject may be a string ?
ps: I am just a noob -_-

Hey guy, the argument is designed to be compatible with type of string and object. The first line in isIllegal function make sure if options is neither an object nor a string to return false. But the line:90 means options is legal and is not type of object.

Hi, thank you! I think i got it.
good luck


[feature request]: Add meta tags

Is there an existing issue for this?

[X] I have searched the existing issues.

Describe the feature.
Add meta tags to improve the SEO of the page
Problem/Motivation.
N/A
Possible Solution/Pitch.
Add the proper meta tags in the index.html file
Anything else?
This is a beginner friendly issue.
Hacktoberfest

[X] Yeah

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Assign this to me

Sure @FlavioOdas


[GLUTEN-1994][CH]Support txt format with compression method

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #1994)
How was this patch tested?
unit tests
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

LGTM


issues fixed

issues fixed

@stfffchs
Thanks for the adjustments, as there are small adjustments I will manually insert them into my code. > I will make adjustments according to your suggestions.


Handle open paths

BTW, since this C code is getting really ugly. What if we made the SVG module just expose nanosvg API to Lua, and handled the SVG to PS conversion in the Lua side?

 The question I have is if we are thinking of contributing SVG font support back to XeTeX. If so, then the code needs to live in libtexpdf (dvipdfmx) and it needs to be in C.
And it terms of neat separation of concerns, having the PDF library handle the font's SVG outlines seems pretty consistent. So I think architecturally that's the best place for it to end up.
But it would be so much easier for SILE to handle SVG internally. I'm conflicted.

Any comments on this? (the example SVG used in tests/simplesvg.sil has an open path).

Coverage remained the same at 95.604% when pulling 8299fc9300267a0d73ce413b09522a98dbe30a15 on khaledhosny:master into b3f27c6c32886f4e120fee8a44fbaef7008a9ae6 on simoncozens:master.

Coverage remained the same at 95.604% when pulling 8299fc9300267a0d73ce413b09522a98dbe30a15 on khaledhosny:master into b3f27c6c32886f4e120fee8a44fbaef7008a9ae6 on simoncozens:master.

Thanks for this. I am still wondering what to do in the long run. Really it should head to dvipdfmx, but I haven't spoken to those folks yet. I'll send them an email now.


Install cutorch error. error: too few arguments to function ‘THCudaTensor_varall’

Hey, everyone,
I want to installed  cutorch on torch 7. The environment is:
ubuntu :  16.04
cuda:     release 8.0, V8.0.61

However,  error  is raised like：
/tmp/luarocks_cutorch-scm-1-3185/cutorch/build/TensorMath.c: In function ‘cutorch_CudaTensor_var’:
/tmp/luarocks_cutorch-scm-1-3185/cutorch/build/TensorMath.c:90174:8: error: too few arguments to function ‘THCudaTensor_varall’
 arg2 = THCudaTensor_varall(default_arg1,arg1);
        ^
In file included from /tmp/luarocks_cutorch-scm-1-3185/cutorch/build/lib/THC/THCGeneral.h:4:0,
                 from /tmp/luarocks_cutorch-scm-1-3185/cutorch/lib/THC/THC.h:4,
                 from /tmp/luarocks_cutorch-scm-1-3185/cutorch/build/TensorMath.c:3:
/tmp/luarocks_cutorch-scm-1-3185/cutorch/lib/THC/THCTensor.h:9:40: note: declared here
 #define THCTensor_(NAME)   TH_CONCAT_4(TH,CReal,Tensor_,NAME)
                                        ^
/workvol/home1/lxz/torch/install/include/TH/THGeneral.h:115:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
 #define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
                                     ^
/tmp/luarocks_cutorch-scm-1-3185/cutorch/lib/THC/THCTensor.h:9:28: note: in expansion of macro ‘TH_CONCAT_4’
 #define THCTensor_(NAME)   TH_CONCAT_4(TH,CReal,Tensor_,NAME)
                            ^
/tmp/luarocks_cutorch-scm-1-3185/cutorch/lib/THC/generic/THCTensorMathReduce.h:14:17: note: in expansion of macro ‘THCTensor_’
 THC_API accreal THCTensor_(varall)(THCState *state, THCTensor *self, int biased);
                 ^
/tmp/luarocks_cutorch-scm-1-3185/cutorch/build/TensorMath.c: In function ‘cutorch_CudaTensor_std’:
/tmp/luarocks_cutorch-scm-1-3185/cutorch/build/TensorMath.c:90262:8: error: too few arguments to function ‘THCudaTensor_stdall’
 arg2 = THCudaTensor_stdall(default_arg1,arg1);
        ^
In file included from /tmp/luarocks_cutorch-scm-1-3185/cutorch/build/lib/THC/THCGeneral.h:4:0,
                 from /tmp/luarocks_cutorch-scm-1-3185/cutorch/lib/THC/THC.h:4,
                 from /tmp/luarocks_cutorch-scm-1-3185/cutorch/build/TensorMath.c:3:
/tmp/luarocks_cutorch-scm-1-3185/cutorch/lib/THC/THCTensor.h:9:40: note: declared here
 #define THCTensor_(NAME)   TH_CONCAT_4(TH,CReal,Tensor_,NAME)
                                        ^
/workvol/home1/lxz/torch/install/include/TH/THGeneral.h:115:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
 #define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w

I appreciate any help.
Thank a lot!
Steven

I have the same issue(

I have the same issue !

I'm getting the same issue

i'm looking into this. i'll issue a fix shortly. sorry for the trouble.

this is now fixed on master. rerunning the command will fix it. Thanks a lot for reporting.


dmenu: 4.7 -> 4.8

Motivation for this change
Upgrade dmenu to 4.8.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

cc @viric @pSub

@GrahamcOfBorg build dmenu

Success on x86_64-linux (full log)
Attempted: dmenu
Partial log (click to expand)
shrinking /nix/store/ffgrn97v6pq7888kilg9q56jw7vyiswb-dmenu-4.8/bin/dmenu
shrinking /nix/store/ffgrn97v6pq7888kilg9q56jw7vyiswb-dmenu-4.8/bin/stest
gzipping man pages under /nix/store/ffgrn97v6pq7888kilg9q56jw7vyiswb-dmenu-4.8/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/ffgrn97v6pq7888kilg9q56jw7vyiswb-dmenu-4.8/bin
patching script interpreter paths in /nix/store/ffgrn97v6pq7888kilg9q56jw7vyiswb-dmenu-4.8
/nix/store/ffgrn97v6pq7888kilg9q56jw7vyiswb-dmenu-4.8/bin/dmenu_run: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
/nix/store/ffgrn97v6pq7888kilg9q56jw7vyiswb-dmenu-4.8/bin/dmenu_path: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
checking for references to /tmp/nix-build-dmenu-4.8.drv-0 in /nix/store/ffgrn97v6pq7888kilg9q56jw7vyiswb-dmenu-4.8...
/nix/store/ffgrn97v6pq7888kilg9q56jw7vyiswb-dmenu-4.8

Success on aarch64-linux (full log)
Attempted: dmenu
Partial log (click to expand)
shrinking /nix/store/8jmk08ip9k5m8yxsr9shplqxppb0m3kd-dmenu-4.8/bin/stest
shrinking /nix/store/8jmk08ip9k5m8yxsr9shplqxppb0m3kd-dmenu-4.8/bin/dmenu
gzipping man pages under /nix/store/8jmk08ip9k5m8yxsr9shplqxppb0m3kd-dmenu-4.8/share/man/
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/8jmk08ip9k5m8yxsr9shplqxppb0m3kd-dmenu-4.8/bin
patching script interpreter paths in /nix/store/8jmk08ip9k5m8yxsr9shplqxppb0m3kd-dmenu-4.8
/nix/store/8jmk08ip9k5m8yxsr9shplqxppb0m3kd-dmenu-4.8/bin/dmenu_run: interpreter directive changed from "/bin/sh" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/sh"
/nix/store/8jmk08ip9k5m8yxsr9shplqxppb0m3kd-dmenu-4.8/bin/dmenu_path: interpreter directive changed from "/bin/sh" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/sh"
checking for references to /build in /nix/store/8jmk08ip9k5m8yxsr9shplqxppb0m3kd-dmenu-4.8...
/nix/store/8jmk08ip9k5m8yxsr9shplqxppb0m3kd-dmenu-4.8

Thanks


Remove argocd sync-wave param from minio

When pipeline-service is imported in infra-deployments project (as kustomize overlays and not argcd app), the sync-wave params on minio makes introduces a kind of dead lock. That is tekton-results waiting for its storage backend and minio waiting for the first sync-wave to finish. This has been fixed by removing the sync-wave which should still let minio deploy correctly

/lgtm

This is required to correctly import pipeline-service in https://github.com/redhat-appstudio/infra-deployments/pull/1441


Redactor/API

Do we have the full Redactor and API in concrete5 5.7. If so do we need to include further asets to work with it? I've got the editor but can't get it's content via $().redactor('code.get'), part of the Redactor API.
I get this error, which suggests there's something missing:-
No such method "code.get" for Redactor

Nice one Stephen - thanks for sharing that one. Cheers


Add GitHub Actions annotations

It is possible to get inline annotations with GitHub Actions. This is based on Rubocop's formatter.
It's implemented as a configuration option that's dynamic by default. This means it will show up in actions, but not in other environments. Overriding is still possible.

This is currently very light on tests. I also wonder about the additional class.
See https://github.com/voxpupuli/puppet-example/pull/19 for an example:

It looks like no CI ran, only the CLA check. I'm not sure why that is.

It looks like no CI ran, only the CLA check. I'm not sure why that is.

That’s weird…

Found it and it's the same thing we suffer from in theforeman: https://github.com/puppetlabs/puppet-lint/actions/workflows/ci.yml shows

This scheduled workflow is disabled because there hasn't been activity in this repository for at least 60 days. Enable this workflow to resume scheduled runs.

This is because there's a schedule and regular PR testing in the same workflow, which is very annoying.

See, it was good that we enabled CI. Looks like I need to please Rubocop.

It looks like there's an interesting interaction I didn't foresee: the CI runs on GitHub actions as well so that's generating the warnings in this test suite, which was not intended. Looks like I need to use the configuration option I implemented.

@ekohl Apologies, I forgot to get back to you. This does indeed break PDK rendering rather spectacularly when running with a GITHUB_ACTION env variable set. Looks like both output formats get used.
output.txt

Fascinating. I wonder what it's doing. Is it by any chance using JSON output?

I believe https://github.com/puppetlabs/puppet-lint/pull/35 should fix it, or at least unbreak JSON mode. Could you verify that?

👍 looks good


Build docker image using multi-stage builds on Zalando's CDP

Build docker image using multi-stage builds on Zalando's CDP

This needs additional configuration on the repo for pushing to pierone.

protect master branch
enable zappr ?

@ideahitme This works at is ready to be merged.

Once merged please tag with v0.4.0-alpha.2

@linki tag was created: https://github.com/kubernetes-incubator/external-dns/releases/tag/v0.4.0-alpha.2
Docker image was also pushed (via CDP) to registry.opensource.zalan.do/teapot/external-dns:v0.4.0-alpha.2 :tada:


Add typescript support

I want to add TypeScript language support in the generator so that developers can enjoy strong-typed programming and use ES6 features in their applications.
Related issue: #125

Awesome, I love this idea! I added a few questions/comments above. Note that I'm not familiar with TypeScript, so take them with a gain of salt :) It would be great if a test could be added as well.

Hi  @dougwilson ,
May I know if this feature is released?
I also love Typescript. It would be so nice if express generator supports typescript.
Is there anything I can help?

When will this be released? I can't stand using plain javascript

When will this be released? I can't stand using plain javascript

Same here, looks like nothing been done since 4 years


Playground: fixed create workspace not displaying

@jessieyu777 - you might have been working on this last Friday, but I spotted the issue and it was quick to fix: the state was expecting 'workspace' not project.

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


#236 shaded jar lose necessary bk jar to execute

Descriptions of the changes in this PR:
after bump to bk4.6, add bk-proto bk-http dependency to shaded jar

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
<Issue-# or DL-#>: Description of pull request
e.g. Issue-123: Description ...
e.g. DL-1234: Description ...
[ ] Make sure tests pass via mvn clean apache-rat:check install findbugs:check.
[ ] Replace '#' with in <Issue-# or DL-#> in the title with the actual Issue/JIRA number.

FAILURE
--none--


replace ListView with WinUI.TableView as log viewer

Replace ListView with WinUI.TableView to simplify the log viewer. It uses templated columns with a textbox in it to show log data. Unlike template selector for different log event levels, now there is a converter to set foreground color.

You are right @AndrewKeepCoding there is some room for improvements in WinUI.TableView. Is it Ok? to keep the PR open until there is a new release for TableView with performance improvements.

Sure! Let's keep it open.

@AndrewKeepCoding I updated WinUI.TableView package version to v1.1.0 to fix the performance issues.

I'm going to be away from my laptop for a couple of days. I'll try this when I'm back.

Thanks!


Detailed explanation of different paths through states

It would be great to have example explanation which paths through states are to be expected and in which cases those transitions could happen. https://github.com/International-Data-Spaces-Association/ids-specification/blob/71bc11c641a34685a72ab8e1d5eb9a8e298869df/negotiation/contract.negotiation.protocol.md?plain=1#L33C6-L33C6

e.g. following transitions might make no sense:

init -> offered -> requested
init -> requested -> agreed

Proposal: Add a matrix to the linked file to map states explicitly to allowed messages:

non-normative
Columns: Start State | End State | Message/Transition | Actor | Comment/Example

Provided a suggestion

https://github.com/International-Data-Spaces-Association/ids-specification/pull/138
https://github.com/International-Data-Spaces-Association/ids-specification/pull/137


docs: add react-specific documentation to storybook

Signed-off-by: Ashley Ryan<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)
[ ] If applicable, have a visual design approval

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] clarity.design website / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?
Individual components have no framework specific documentation even when their usage differs from the web component examples.
What is the new behavior?
This PR adds react-specific documentation to storybook where relevant as suggested here: https://github.com/vmware/clarity/discussions/5895
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Before we merge I would like @mathisscott to take a quick look.


buffer from another tab?

vim or neovim?

[ ] vim
[x ] neovim

Hi,
More of a question than a bug. if I run leaderf buffer and there is a buffer that is attached to another tab ( this attachment is by default or by ctrlspace plugin?), after Leaderf buffer upon selecting the buffer,  I get transferred to another tab.
Is this expected? Can this behavior be changed(or is there another option)?

What is your expected behavior?

let g:Lf_JumpToExistingWindow = 0

Good enough. Thanks!


don't convert type to array in example

won't convert "type": "xxx" to "type": ["xxx"] in "example"
sometimes I write an example as an object, if it has "type" key in anywhere, it will be changed to an array by convert_type_to_array.
It's really unnecessary to modify "example" in schema, I skipped it.
Why do I write object in example? because prmd won't generate examples for "patternProperties"
I have an another question, what is the propose of convert_type_to_array?

Thanks!
The intention was to simplify parsing/interacting with things. Type on schema properties is allowed to be one or an array, but in terms of using it we found it easier to deal with if it was just always an array of one-or-more. Does that clarify/make sense?


Fix linking for all linkers

This should fix issues observed in #495

@LebedevRI we also need your consent on this PR (as I reverted your reverted patch).

I have tested this PR on my machine - Fedora 29 with all linkers (bfd, gold, lld) and it works for me. However, it would be great if someone who can test this thing on Ubuntu 18.04 (which was problematic on 18.04) with all the linkers.

works for me using gold and lld on Ubuntu 18.04, I'll merge soon if nobody objects

@LebedevRI we also need your consent on this PR (as I reverted your reverted patch).

google cla bot is known to not work on such multi-author prs.

what's the solution? close this pr and one of you does another?

what's the solution? close this pr and one of you does another?

That bot is for the maintainer's knowledge only.
I have encountered such problems before in google/benchmark repo,
and if you know that the bot is wrong, it can (and should) just be ignored.
I.e. just merge.
Thank you both!

sounds good
please squash, @pranavk
thanks!

please squash, @pranavk

squashed

Great, it works!
@pranavk @regehr thank you!


Preserving order - Shuffling in flow of ImageDataGenerator

Why do we shuffle X and Y independently of each other? If Y are labels for the dataset, corresponding in row order, we just destroyed the order by using the shuffle. Shouldn't we preserve order by shuffling the indices of the data?
        if shuffle:
            seed = random.randint(1, 10e6)
            np.random.seed(seed)
            np.random.shuffle(X)
            np.random.seed(seed)
            np.random.shuffle(y)

Would something like this work?
        if shuffle:
            seed = random.randint(1, 10e6)
            np.random.seed(seed)
            indices = np.arange(X.shape[0])
            np.random.shuffle(indices)
            X = X[indices]
            y = y[indices]

Both methods are essentially equivalent, in that both methods do yield the same order. A deterministically-seeded RNG is deterministic.

Awesome thanks!


Not compatible with python launcher on Win (py.exe)

[x] I am on the latest Poetry version.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
[ ] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name:
Poetry version:
Link of a Gist with the contents of your pyproject.toml file:

Issue

So, how can poetry be used when you have multiple py versions on windows with python launcher?
Tried to change .bat to py instead of python. It creates by default py 2.x project.

Maybe on windows, detect if env variables are set or if py launcher is being used and in win dir. Then maybe add an arg to poetry to allow specifying version like py launcher? Ex: poetry -3 new SomeProject?

Ok, so what I don't understand is that when I run py, it will start 3.x python by default. But then when I run poetry new SomeProject it creates a 2.x project by default. However, I did figure out that by setting env variable set PY_PYTHON=3 and then running poetry new SomeProject it will create a 3.x project.


Placeholder namespace UI

In #264, we have a goal of putting together an initial web workflow for the registry for the v7.4.0 milestone.  However, I don't want to wait until next month to get working on it - it's too large for a single issue.
To prepare for the v7.4.0 functionality, let's create a simple, minimally-functional UI for the registry in v7.3.0.  The UI should:

Come up to a splash page a-la the origin.
List the registered origins in a table.  Should be at least three columns -- the registered piece of the namespace, the related identity/owner (if any), and a link to download the JWKS.
List the caches in a table.

For now, let's hold off on authentication as a separate issue.
@haoming29 ☝

Also assigned to myself to provide related APIs for the requirement above.

There are existing APIs up for this that we can start on right away


[Regression][Loc] Strings displayed in the Project Status panel and tooltip strings all are not localized

Brief Issue Summary
Environment:
VS Code 1.95.1 + CMake Tools v1.20.22 (pre-release)
More info:

This issue does not reproduce in the v1.20.17(pre-release), so it is a regression issue
Repro Language: All loc languages
Repro platform: Windows, Linux, Mac

Repro steps:

Open VS Code and change the display language to JPN
Download and unzip CMakeProject1.zip
Open the project with VS Code
Click the CMake icon in left navigation bar
Check the strings in Project Status panel
Hovering the mouse over the item of default value

Actual result:
After step 5, strings in the Project Status panel are not localized

After step 6, the content of tooltips is not localized

Expected result:
After step 5, strings in the Project Status panel are localized

After step 6, the content of tooltips is localized

CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response

Verified on CMake Tools v1.20.24(pre-release), this bug is not reproducing, so close it.

Language
Verify Result

CHS

CHT

CSY

DEU

ENU

ESN

FRA

ITA

PLK

PTB

TRK

RUS

KOR

JPN


Typescript, vscode can't find react module without reference.

I have encountered problems with Visual Studio Code that I haven't with Visual Studio. Is there any way to prevent this without using reference?
Without reference:

With reference:

I don't have this problem

@MartynasZilinskas Is this with JS or TS files?

@jrieken it's with Typescript files.

@MartynasZilinskas pls see https://code.visualstudio.com/docs/languages/typescript. In VSCode you can either use /// references or tsconfig.json to describe your project scope. If you want to avoid /// references you need to define the project using a tsconfig.json file.

This still happens, even with the correct setting in tsconfig.json. tsc compiles without an issue (as does webpack).
Here's my tsconfig.json (located in the root directory)
{
    "compilerOptions": {
        "outDir": "./dist/",
        "sourceMap": true,
        "noImplicitAny": true,
        "module": "commonjs",
        "target": "es5",
        "jsx": "react"
    },
    "files": [
        "./typings/index.d.ts"
    ],
    "include": [
        "./typings/*.ts",
        "./scripts/**/*.ts"
    ]
}

Here's index.tsx (located in /scripts/index.tsx)
/// <reference path="../typings/index.d.ts" />

import * as React from "react";
import * as ReactDOM from "react-dom";

import { Hello } from "./components/Hello";

ReactDOM.render(
    <Hello compiler="TypeScript" framework="React" />,
    document.getElementById("example")
);

Removing the /// reference causes errors on the two imports. Interestingly, it also affects Hello.tsx (located in /scripts/components/Hello.tsx)
import * as React from "react";

export interface HelloProps { compiler: string; framework: string; }

export class Hello extends React.Component<HelloProps, {}> {
    render() {
        return
Hello from {this.props.compiler} and {this.props.framework}!
;
    }
}

Showing errors on this.props and the import statement. This is frustrating as adding that /// reference line breaks the source map (the debugger is offset by one executable line)