Support RTP

I am using the 2020-01-01 version of youtube-dl in windows environment .
Last year youtube-dl worked perfectly on this website , however probably some changes were probably made in website streaming service .
Example of streaming link :
https://www.rtp.pt/play/p6383/italia-selvagem-os-maiores-predadores
Error from youtube-dl :
youtube-dl --verbose -F https://www.rtp.pt/play/p6383/italia-selvagem-
os-maiores-predadores
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-F', 'https://www.rtp.pt/play/p6383/it
alia-selvagem-os-maiores-predadores']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.01.01
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-92458-gfc94e9704e, ffprobe N-92458-gfc94e9704e
[debug] Proxy map: {}
[RTP] italia-selvagem-os-maiores-predadores: Downloading webpage
ERROR: italia-selvagem-os-maiores-predadores: Failed to parse JSON  (caused by V
alueError("Expecting ',' delimiter: line 11 column 11 (char 715)",)); please rep
ort this issue on https://yt-dl.org/bug . Make sure you are using the latest ver
sion; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verb
ose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpj4acy7
ln\build\youtube_dl\extractor\common.py", line 899, in parse_json
File "C:\Python\Python34\lib\json_init.py", line 318, in loads
File "C:\Python\Python34\lib\json\decoder.py", line 343, in decode
File "C:\Python\Python34\lib\json\decoder.py", line 359, in raw_decode
ValueError: Expecting ',' delimiter: line 11 column 11 (char 715)
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpj4acy7
ln\build\youtube_dl\extractor\common.py", line 899, in parse_json
File "C:\Python\Python34\lib\json_init.py", line 318, in loads
File "C:\Python\Python34\lib\json\decoder.py", line 343, in decode
File "C:\Python\Python34\lib\json\decoder.py", line 359, in raw_decode
ValueError: Expecting ',' delimiter: line 11 column 11 (char 715)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpj4acy7
ln\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpj4acy7
ln\build\youtube_dl\extractor\common.py", line 530, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpj4acy7
ln\build\youtube_dl\extractor\rtp.py", line 37, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpj4acy7
ln\build\youtube_dl\extractor\common.py", line 903, in _parse_json
youtube_dl.utils.ExtractorError: italia-selvagem-os-maiores-predadores: Failed t
o parse JSON  (caused by ValueError("Expecting ',' delimiter: line 11 column 11
(char 715)",)); please report this issue on https://yt-dl.org/bug . Make sure yo
u are using the latest version; type  youtube-dl -U  to update. Be sure to call
youtube-dl with the --verbose flag and include its complete output.

Just want to link a(nother) PR that aims to fix this: https://github.com/ytdl-org/youtube-dl/pull/29824


Add initial pipeline completion support

What problem did you solve?
Closes #323
This PR implements a simple function getPipelineCompletionItems() based on extendSelection so that the beginning symbol of the pipeline expression is extracted and its names() stored in globalenv.json is used to provide live completion items in user session.
Note that for subsequent pipeline expressions such as mutate() and summarize(), new variables may be introduced. https://github.com/REditorSupport/languageserver/pull/324 should be helpful in this case to provide token completion for these newly introduced variables even if the code is not executed but those symbols already appear in the code.
(If you have)Screenshot

(If you do not have screenshot) How can I check this pull request?
In the following example, tbl1 is created and saved to disk. The language server should be able to capture all these symbols in tbl1 if they appear in the code rather than comments. After storing tbl1 to disk, we could comment out the tbl1 code and let session watcher completion provider work to capture tbl1 in the pipeline expression and provide its names in the whole expression.
We could test the completions in each mutate() and select() call.
library(dplyr)
library(tibble)

# tbl1 <- tibble(
#   Name = c("Product1", "Product2", "Product3"),
#   Quality = c("Good", "Good", "Best"),
#   Score = c(8, 9, 10),
#   Type = c("B", "B", "A")
# )
# saveRDS(tbl1, "tbl1.rds")

tbl1 <- readRDS("tbl1.rds")

# typical pipeline without assignment
tbl1 %>%
  mutate(Score_mean = mean(Score)) %>%
  select(Score)

# typical pipeline with assignment
tbl2 <- tbl1 %>%
  mutate(Score_mean = mean(Score)) %>%
  select(Score)

# one-lined pipeline
tpl3 <- tbl1 %>% mutate(Name2 = Name) %>% select(Score)

# mixed case
tpl3 <- tbl1 %>% mutate(Name2 = Name) %>%
  select(Score)

getBracketCompletionItems and getPipelineCompletionItems may generate duplicate completion items. Looks like we need to remove those duplicates.

getBracketCompletionItems and getPipelineCompletionItems may generate duplicate completion items. Looks like we need to remove those duplicates.

Also this does not handle the following
tbl2 <- tbl1 %>%
  select(Name, Score)

Looks like we need to extract the symbol before the pipe operator or after the assignment operator.

Also this does not handle the following
tbl2 <- tbl1 %>%
  select(Name, Score)

Looks like we need to extract the symbol before the pipe operator or after the assignment operator.

The example seems to work nicely for me (small typo: l is missing in # saveRDS(tb1...).
Have you considered checking the function name to determine if the column names are suggested? As far as I'm aware, the pipeline operator can also be used for other functions like lapply() which do not automatically attach the dataframe (and hence don't make the column names usable by themselves). On the other hand, functions like mutate, select etc. can also be called with normal syntax, e.g. tbl2 <- select(tbl1, Score), which does not trigger the current pipeline-completion.
The current approach is probably fine for most users, though, and still a significant improvement!

The example seems to work nicely for me (small typo: l is missing in # saveRDS(tb1...).
Have you considered checking the function name to determine if the column names are suggested? As far as I'm aware, the pipeline operator can also be used for other functions like lapply() which do not automatically attach the dataframe (and hence don't make the column names usable by themselves). On the other hand, functions like mutate, select etc. can also be called with normal syntax, e.g. tbl2 <- select(tbl1, Score), which does not trigger the current pipeline-completion.
The current approach is probably fine for most users, though, and still a significant improvement!

I change the algorithm to searching the pipe token before any pipe operator like %>%, |> in the first non-empty code line detected by extendSelection() so that the following cases can be handled properly:
# typical pipeline without assignment
tbl1 %>%
  mutate(Score_mean = mean(Score)) %>%
  select(Score)

# typical pipeline with assignment
tbl2 <- tbl1 %>%
  mutate(Score_mean = mean(Score)) %>%
  select(Score)

# one-lined pipeline
tpl3 <- tbl1 %>% mutate(Name2 = Name) %>% select(Score)

# mixed case
tpl3 <- tbl1 %>% mutate(Name2 = Name) %>%
  select(Score)

I change the algorithm to searching the pipe token before any pipe operator like %>%, |> in the first non-empty code line detected by extendSelection() so that the following cases can be handled properly:
# typical pipeline without assignment
tbl1 %>%
  mutate(Score_mean = mean(Score)) %>%
  select(Score)

# typical pipeline with assignment
tbl2 <- tbl1 %>%
  mutate(Score_mean = mean(Score)) %>%
  select(Score)

# one-lined pipeline
tpl3 <- tbl1 %>% mutate(Name2 = Name) %>% select(Score)

# mixed case
tpl3 <- tbl1 %>% mutate(Name2 = Name) %>%
  select(Score)

Have you considered checking the function name to determine if the column names are suggested?

I guess we don't really need such accurate completions by detecting known NSE functions as RStudio does not seem to do this either. It's hard to know the accurate results unless we do more to make sure if these calls are from the expected namespaces (dplyr::filter() or stats::filter()?)

Have you considered checking the function name to determine if the column names are suggested?

I guess we don't really need such accurate completions by detecting known NSE functions as RStudio does not seem to do this either. It's hard to know the accurate results unless we do more to make sure if these calls are from the expected namespaces (dplyr::filter() or stats::filter()?)

I guess we don't really need such accurate completions by detecting known NSE functions as RStudio does not seem to do this either. It's hard to know the accurate results unless we do more to make sure if these calls are from the expected namespaces (dplyr::filter() or stats::filter()?)

Sounds good :)

I guess we don't really need such accurate completions by detecting known NSE functions as RStudio does not seem to do this either. It's hard to know the accurate results unless we do more to make sure if these calls are from the expected namespaces (dplyr::filter() or stats::filter()?)

Sounds good :)

Used this feature a lot this weekend, and it is already way better than not having anything.

getBracketCompletionItems and getPipelineCompletionItems may generate duplicate completion items. Looks like we need to remove those duplicates.

This is the only "problem" I encountered so far. Sometimes the autocomplete can become a lot messy by the sheer number of duplicates:

Aside from that, it works great. The autocomplete doesn't need to be perfect, just need to help, as now it does.

Used this feature a lot this weekend, and it is already way better than not having anything.

getBracketCompletionItems and getPipelineCompletionItems may generate duplicate completion items. Looks like we need to remove those duplicates.

This is the only "problem" I encountered so far. Sometimes the autocomplete can become a lot messy by the sheer number of duplicates:

Aside from that, it works great. The autocomplete doesn't need to be perfect, just need to help, as now it does.

@danielbasso Thanks for testing!
In fact, these duplicates come from different sources. The "abc" items come from token completion in languageserver which means these tokens appear in your code (not necessarily executed) while blue-box items combe from vscode-R pipeline completion which detects the symbol being piped and find its names() from the global environment of user session provided by session watcher.
Currently, it seems we don't have a way to remove duplicates of completion items from difference sources, but I guess I could add an option to languageserver so that you could turn off token completion?

@danielbasso Thanks for testing!
In fact, these duplicates come from different sources. The "abc" items come from token completion in languageserver which means these tokens appear in your code (not necessarily executed) while blue-box items combe from vscode-R pipeline completion which detects the symbol being piped and find its names() from the global environment of user session provided by session watcher.
Currently, it seems we don't have a way to remove duplicates of completion items from difference sources, but I guess I could add an option to languageserver so that you could turn off token completion?

Currently, it seems we don't have a way to remove duplicates of completion items from difference sources, but I guess I could add an option to languageserver so that you could turn off token completion?

@renkun-ken
Well,  if it doesn't take much of your time, this would be nice! I just don't want to cause extra work for you.
The token completion from languageserver is cool, but sometimes it kinda gets out of control with 100+ suggestions. In my previous example, 8 lines of code produced 17 suggestions (Even "c" is suggested hahaha).

Currently, it seems we don't have a way to remove duplicates of completion items from difference sources, but I guess I could add an option to languageserver so that you could turn off token completion?

@renkun-ken
Well,  if it doesn't take much of your time, this would be nice! I just don't want to cause extra work for you.
The token completion from languageserver is cool, but sometimes it kinda gets out of control with 100+ suggestions. In my previous example, 8 lines of code produced 17 suggestions (Even "c" is suggested hahaha).


请问一下， 现在部署基座之后会暴露一个netty端口号，如何找到这个端口号呢，只能从日志中捞吗

Describe the question or bug
A clear and concise description of what the question or bug is.
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
A clear and concise description of what actually happened.
Steps to reproduce
Steps to reproduce the problem:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Screenshots
If applicable, add screenshots to help explain your problem.
Minimal yet complete reproducer code (or GitHub URL to code)
Environment

SOFAServerless version (see CURRENT_VERSION.txt):
SOFAArk version:
JVM version (e.g. java -version):
OS version (e.g. uname -a):
Kubernetes version:

也可以在 application.properties 里配置 server.port


Native chart animations not working in Vizro but in pure Dash

Description
Chart animations of for e.g. the px.icicle (https://plotly.com/python/icicle-charts/#icicle-of-a-rectangular-dataframe-with-continuous-color-argument-in-pxicicle) do not work in Vizro, but in pure Dash.
Expected behavior
Would expect chart animation to work, and by that I mean the transitions one observes in the docs. One can also notice that the text size is not variable here in this example, but it is in the docs.
Which package?
vizro
Package version
0.1.18
Python version
3.11
OS
Mac
How to Reproduce
import vizro.models as vm
import vizro.plotly.express as px
from vizro import Vizro
import numpy as np

df = px.data.gapminder().query("year == 2007")

page = vm.Page(
    title="My first page",
    components=[
        vm.Graph(
            figure=px.icicle(df, path=[px.Constant("world"), 'continent', 'country'], values='pop',
                color='lifeExp', hover_data=['iso_alpha'],
                color_continuous_scale='RdBu',
                color_continuous_midpoint=np.average(df['lifeExp'], weights=df['pop'])),
        ),
    ],
)

dashboard = vm.Dashboard(pages=[page])

Vizro().build(dashboard).run()

Output
No response
Code of Conduct

[X] I agree to follow the Code of Conduct.

Hello,
Could you explain what you mean by "native chart animation not working?" Do you refer to the font sizes not changing and the labels being hidden for certain areas? I've run the example above, but it runs as intended based on our chosen defaults.
It's important to note that we do not allow changing font sizes from a design best practice, as consistency in font sizes and setting a minimum font size for readability are important. The Vizro example works as this Dash example: https://plotly.com/python/icicle-charts/#controlling-text-fontsize-with-uniformtext
These are the defaults that cause that behaviour:
  uniformtext_minsize=12,
  uniformtext_mode="hide"

I would not allow for changing font sizes, but if you want more labels to be visible, you can control it by changing the default for the above arguments, e.g., by creating a custom chart and changing the minimum font size allowed or always showing the labels: fig.update_layout(uniformtext=dict(minsize=11, mode="hide")).

@huong-li-nguyen

Expected behavior
Would expect chart animation to work, and by that I mean the transitions one observes in the docs. One can also notice that the text size is not variable here in this example, but it is in the docs.

I see - I have to admit that this is a bit confusing as I suspected a bug on the Vizro side. I would generally expect charts to behave as in the plotly docs, especially when using px directly - maybe not from a coloring perspective, but certainly for chart animations when clicking into categories.
I understand that we are trying to follow design best practices, but in many cases this seems also a matter of taste, or at least there is no one size fits all approach - I would argue that the Vizro default for the px docs example looks less good and less clear than the example in the docs. Maybe something to think about relaxing? In the end the user can very easily add this back in 🤔 ?

In the end, Vizro is very opinionated when it comes to design decisions. In this case, I would even argue that it's not a matter of taste but a common rule. If you are looking for UI best practices for minimum font sizes, 12-16px is the standard number, but going below 12px is not recommended (not only from us but more generically). Our designer decided this would be 12px, which is acceptable because you can barely see smaller font sizes on bigger screens.
So, in this case, I believe the current implementation is correct. We set our default minimum font size to 12px, and if the user wants to deviate from our design recommendation, they can go below, but they need to configure it themselves.
But if you strongly disagree, feel free to open a discussion :) I just wanted you to understand why we should not go below a certain font size. In this case, my preference for building dashboards is also our current default but open to changing it if our team agrees.

I get why we do not want to go below a certain font size, that makes sense, but I wonder if this requirement is worth changing a px chart in such a fundamental way.
Again, I was so confused as to why animations did not work that I opened an issue on the plotly forums - I wonder if a template should have the right to be so opinionated when it comes to changes default behaviour of charts.
Besides that, less important, I also think that default simply does not look good - do you find the above posted example actually better and more readable?
Will definitely not start a discussion on that :) Was just something I observed when actually using this chart in Vizro.

Let's pick it up in the next call - I'll close that issue for now :)


Change suite name for teamcity reporter

Added possibility to change suite name for teamcity reporter

@larrymyers, could you please review and merge my request? It's really important to have feature to customize suite name, especially when running tests in different browsers.

@tarasok Please add additional test coverage for this change to the teamcity reporter so there is some documentation on how your change impacts the public interface to this reporter.

sure, will add

Fixed some bugs, added tests.


Follow-up to package build improvements

Follow-up to #137 - addressing @florkbr's post-merge review comments.

Codecov Report

Merging #143 (04ac05e) into main (7e666d7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #143   +/-   ##
=======================================
  Coverage   16.64%   16.64%
=======================================
  Files          41       41
  Lines        1490     1490
  Branches      407      407
=======================================
  Hits          248      248
  Misses       1242     1242

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


Update README.md

Update of the Readme.md

Updated the MISO PIN  question, added a generic "refer to your board datasheet to define wich pin is the MISO pin".

@RobTillaart i have no write access to the pull request!

Just make a new one


fix: proof mode should adjust initial fp based on stack contents

TITLE
Description
Description of the pull request changes and motivation.
Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.
[ ] CHANGELOG has been updated.

Everything solved on #1517


feat(discord): [OWL-26532861] implement give command

Sorry, one last thing, can you make it so PR title is capitalized please?


snapper: 0.7.2 -> 0.8.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/snapper/versions.
meta.description for snapper is: '"Tool for Linux filesystem snapshot management"'.
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0/bin/snapper passed the binary check.
Warning: no invocation of /nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0/bin/mksubvolume had a zero exit code or showed the expected version
/nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0/bin/snapperd passed the binary check.
2 of 3 passed binary check by having a zero exit code.
0 of 3 passed binary check by having the new version present in output.
found 0.8.0 with grep in /nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0
directory tree listing: https://gist.github.com/5304edbc77a3e871e3e7ae528a08ac5b
du listing: https://gist.github.com/5f2f2d5a45a5637bd99ae2da3f028667

Outpath report (click to expand)

Outpath difference report
3 total rebuild paths
1 package rebuilds
1 x86_64-linux rebuilds
1 i686-linux rebuilds
0 x86_64-darwin rebuilds
1 aarch64-linux rebuilds
First ten rebuilds by attrpath
snapper

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A snapper https://github.com/r-ryantm/nixpkgs/archive/6e5e61123fb46867cfbb13ba56147a5d96156b76.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0
ls -la /nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0/bin

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: snapper
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: snapper
Partial log (click to expand)
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6hss32mnk9sh19mm4glsgds2sjk9vpai-snapper-0.8.0/lib  /nix/store/6hss32mnk9sh19mm4glsgds2sjk9vpai-snapper-0.8.0/bin  /nix/store/6hss32mnk9sh19mm4glsgds2sjk9vpai-snapper-0.8.0/sbin
patching script interpreter paths in /nix/store/6hss32mnk9sh19mm4glsgds2sjk9vpai-snapper-0.8.0
/nix/store/6hss32mnk9sh19mm4glsgds2sjk9vpai-snapper-0.8.0/lib/pam_snapper/pam_snapper_userdel.sh: interpreter directive changed from "/bin/bash" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash"
/nix/store/6hss32mnk9sh19mm4glsgds2sjk9vpai-snapper-0.8.0/lib/pam_snapper/pam_snapper_useradd.sh: interpreter directive changed from "/bin/bash" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash"
/nix/store/6hss32mnk9sh19mm4glsgds2sjk9vpai-snapper-0.8.0/lib/pam_snapper/pam_snapper_pamconfig.sh: interpreter directive changed from "/bin/bash" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash"
/nix/store/6hss32mnk9sh19mm4glsgds2sjk9vpai-snapper-0.8.0/lib/pam_snapper/pam_snapper_homeconvert.sh: interpreter directive changed from "/bin/bash" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/6hss32mnk9sh19mm4glsgds2sjk9vpai-snapper-0.8.0...
moving /nix/store/6hss32mnk9sh19mm4glsgds2sjk9vpai-snapper-0.8.0/sbin/* to /nix/store/6hss32mnk9sh19mm4glsgds2sjk9vpai-snapper-0.8.0/bin
/nix/store/6hss32mnk9sh19mm4glsgds2sjk9vpai-snapper-0.8.0

Success on x86_64-linux (full log)
Attempted: snapper
Partial log (click to expand)
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0/lib  /nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0/bin  /nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0/sbin
patching script interpreter paths in /nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0
/nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0/lib/pam_snapper/pam_snapper_homeconvert.sh: interpreter directive changed from "/bin/bash" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash"
/nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0/lib/pam_snapper/pam_snapper_useradd.sh: interpreter directive changed from "/bin/bash" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash"
/nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0/lib/pam_snapper/pam_snapper_pamconfig.sh: interpreter directive changed from "/bin/bash" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash"
/nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0/lib/pam_snapper/pam_snapper_userdel.sh: interpreter directive changed from "/bin/bash" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0...
moving /nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0/sbin/* to /nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0/bin
/nix/store/6h6hrx53x7ix9mrh72hnkmz12yhs6chz-snapper-0.8.0

@GrahamcOfBorg test snapper

Success on x86_64-linux (full log)
Attempted: tests.snapper
Partial log (click to expand)
machine: exit status 1
syncing
machine: running command: sync
machine: exit status 0
test script finished in 8.63s
cleaning up
killing machine (pid 597)
vde_switch: EOF on stdin, cleaning up and exiting
vde_switch: Could not remove ctl dir '/build/vde1.ctl': Directory not empty
/nix/store/vz3gqpaiwq5sxxqbk1l888nm0h786hyr-vm-test-run-snapper

Success on aarch64-linux (full log)
Attempted: tests.snapper
Partial log (click to expand)
machine: exit status 1
syncing
machine: running command: sync
machine: exit status 0
test script finished in 14.78s
cleaning up
killing machine (pid 631)
vde_switch: EOF on stdin, cleaning up and exiting
vde_switch: Could not remove ctl dir '/build/vde1.ctl': Directory not empty
/nix/store/5rgy172z48g78p661a41r2bwyq2fi1fh-vm-test-run-snapper


android-camera2Raw faisl on AVD

With some tweaking, I have this camera2Raw code able to build with the latest AndroidStudio 3.0.1, and Gradle 4.1, ubuntu OS, however, it will not run on the Pixel = 2 XL API 27 AVD. The app appears loads but immediately STOPS RUNNING. The top story on Logcat: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.hardware.camera2.CameraCharacteristics.get(android.hardware.camera2.CameraCharacteristics$Key)' on a null object
Can this AVD be queried for android.hardware.camera2.CameraCharacteristics$?

This sample has been migrated to a new location (check README for more information).
As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.
If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!


When ingesting a sql_database with a UUID column, getting a flood of warnings

dlt version
1.0.0
Describe the problem
Exactly what the title says.
Expected behavior
No annoying warnings log messages.
Steps to reproduce

Create a table in any sql database with a UUID column type
run any pipeline with any destination

Operating system
Linux
Runtime environment
Local
Python version
3.11
dlt data source
built-in sql_database
dlt destination
Google BigQuery
Other deployment details
No response
Additional information
The bug can be easily corrected by changing https://github.com/dlt-hub/dlt/blob/devel/dlt/sources/sql_database/schema_types.py#L89
Before
    if hasattr(sqltypes, "Uuid") and isinstance(sql_t, sqltypes.Uuid):
        # we represent UUID as text by default, see default_table_adapter
        col["data_type"] = "text"
    if isinstance(sql_t, sqltypes.Numeric):
        # check for Numeric type first and integer later, some numeric types (ie. Oracle)
        # derive from both
        # all Numeric types that are returned as floats will assume "double" type
        # and returned as decimals will assume "decimal" type
        if sql_t.asdecimal is False:
            col["data_type"] = "double"

After
    if hasattr(sqltypes, "Uuid") and isinstance(sql_t, sqltypes.Uuid):
        # we represent UUID as text by default, see default_table_adapter
        col["data_type"] = "text"
    elif isinstance(sql_t, sqltypes.Numeric):
        # check for Numeric type first and integer later, some numeric types (ie. Oracle)
        # derive from both
        # all Numeric types that are returned as floats will assume "double" type
        # and returned as decimals will assume "decimal" type
        if sql_t.asdecimal is False:
            col["data_type"] = "double"

this is actually a bug! do you maybe want to push this fix as PR? we'll release it early next week. thanks!


Controller.encoder seems much too large

From the Controller constructor:
class Congtroller(torch.nn.Module):
    def __init__(self, args):
        torch.nn.Module.__init__(self)
        self.args = args
        self.forward_evals = 0
        if self.args.network_type == 'rnn':
            # NOTE(brendan): `num_tokens` here is just the activation function
            # for every even step,
            self.num_tokens = [len(args.shared_rnn_activations)]
            for idx in range(self.args.num_blocks):
                self.num_tokens += [idx + 1,
                                    len(args.shared_rnn_activations)]
            self.func_names = args.shared_rnn_activations
        elif self.args.network_type == 'cnn':
            self.num_tokens = [len(args.shared_cnn_types),
                               self.args.num_blocks]
            self.func_names = args.shared_cnn_types

        num_total_tokens = sum(self.num_tokens) #why sum the tokens here?
        #Shouldn't this be: num_total_tokens = len(args.shared_rnn_activations)+self.args.num_blocks
        self.encoder = torch.nn.Embedding(num_total_tokens,
                                          args.controller_hid)

It seems like num_total_tokens doesn't need to be summation of the self.num_tokens - in the case where self.args.num_blocks = 6, that number is 49. Yet from what I can tell, the largest number you can ever get  where the embedding is used in Controller.forward() is going to be len(args.shared_rnn_activations)+self.args.num_blocks (in this case that would be 10)

You can assume the same activation in a different place to have the same semantics (embedding) or not. I assumed it's different because activation in different locations may have a separate role.

I've been running through this section of the code trying to understand what's going on... when mode is 0 (the case when activation func is being selected) sum(self.num_tokens[:mode]) is 0. So the line:
inputs = utils.get_variable(
                action[:, 0] + sum(self.num_tokens[:mode]), #?? why the add here??
                requires_grad=False)

Is always just the action[:,0] component which is a value from 0 to 3 (the size of the activation function list)
And when mode is 1, the sum(self.num_tokens[:mode]) is always 4 - so not sure who you can get anything higher than len(args.shared_rnn_activations)+self.args.num_blocks here.


Exercise: Sequence Interface

Closed #334

I have changed code structure. Now it doesn't contain Interface constructor and his prototype as in the previous version of the code

I have change the code structure, added toString method for implementing the iteration

I have just removed unnecessary return statement


Problem about UDA training with curriculum

when I tried to train with unlabeled data, I got results like this:

I followed your guide in README.md and run
python lib/train_gssl.py experiments/data_300W_COFW_WFLW/pip_32_16_60_r18_l2_l1_10_1_nb10_wcc.py
I  had no idea what the problem was.

After each iteration, the NME is almost constant, as shown in the figure above

log.TXT
This is the output file.  Look forward to your reply.

Hi, it seems to be the problem during inference, not training. I have modified line 223 and 228 of functions_gssl.py. You may try again.

Thanks a lot!


Will random initialization parameters have no precision?

When no pre-training model is used, the random initialization parameter is used to train the squeezeDet, and another GPU is verified at the same time, but the training does not have any precision output after hundreds of thousands of verifications. The loss value has been beating directly from 2.2 to 3.0. How can I solve it? Try batchsize=32, lr=0.01, 0.0001 and 0.00001 can't solve, look forward to your answer!

The initialization of each layer parameter is initialized in the way of the source code. The input of all pre-training models is removed, but the accuracy is always verified. The loss drops from 28.2 to below 3, and the jitter does not converge.


Integration of cli-wallet's Rust Code with DApp(js code) using wasm-bindgen

Link: https://github.com/Off-Narrative-Labs/Tuxedo/issues/189

As of today March 7th,  I could not solve the compilation error when compiling the rust code to wasm using wasmbindgen.


[tool_crash] FileSystemException: writeFrom failed, OS Error: No space left on device, errno = 28

Command
flutter run

Steps to Reproduce

...
...
...

Logs
FileSystemException: writeFrom failed, OS Error: No space left on device, errno = 28
#0      _RandomAccessFile.writeFromSync (dart:io/file_impl.dart:905:7)
#1      _File.writeAsBytesSync (dart:io/file_impl.dart:646:14)
#2      _File.writeAsStringSync (dart:io/file_impl.dart:668:5)
#3      ForwardingFile.writeAsStringSync (package:file/src/forwarding/forwarding_file.dart:150:16)
#4      LogHandler.save (package:unified_analytics/src/log_handler.dart:283:15)
#5      AnalyticsImpl.send (package:unified_analytics/src/analytics.dart:608:17)
#6      FlutterCommand._sendPostUsage (package:flutter_tools/src/runner/flutter_command.dart:1621:15)
#7      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1394:13)
<asynchronous suspension>
#8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#9      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#10     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:355:9)
<asynchronous suspension>
#11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:295:5)
<asynchronous suspension>
#13     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:119:9)
<asynchronous suspension>
#14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#15     main (package:flutter_tools/executable.dart:90:3)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.19.2, on macOS 13.6.5 22G621 darwin-x64, locale en-GB)
    • Flutter version 3.19.2 on channel stable at /Users/mac/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (3 weeks ago), 2024-02-27 16:51:22 -0500
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/mac/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.87.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.84.0

[✓] Connected device (4 available)
    • AOSP on IA Emulator (mobile) • emulator-5554                        • android-x86    • Android 9 (API 28) (emulator)
    • iPhone 15 Pro Max (mobile)   • DFFAA453-DB48-43BE-9EEF-FBA13A6F7C22 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)              • macos                                • darwin-x64     • macOS 13.6.5 22G621 darwin-x64
    • Chrome (web)                 • chrome                               • web-javascript • Google Chrome 122.0.6261.129
    ! Error: Browsing on the local area network for brainyjosh. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
    ! Error: Browsing on the local area network for Koko. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 67457e669f79e9f8d13d7a68fe09775fefbb79f4
Plugins
flutter_webview_plugin-0.4.0
hundredpay-0.0.3
path_provider_linux-2.2.1
path_provider_windows-2.2.1
shared_preferences-2.2.2
shared_preferences_android-2.2.1
shared_preferences_foundation-2.3.5
shared_preferences_linux-2.3.2
shared_preferences_web-2.2.2
shared_preferences_windows-2.3.2
url_launcher-6.2.4
url_launcher_android-6.2.2
url_launcher_ios-6.2.4
url_launcher_linux-3.1.1
url_launcher_macos-3.1.0
url_launcher_web-2.2.3
url_launcher_windows-3.1.1
webview_flutter-4.4.4
webview_flutter_android-3.13.2
webview_flutter_wkwebview-3.11.0

Closing this as a duplicate of https://github.com/flutter/flutter/issues/54213


Issue running sub workflows and sub pipelines when the project name is different from default

Hi, we have been having some issues with the plugin when trying to run the workflows created with project names different from the "default" project which comes with Apache HOP, mostly if this workflows have sub workflows and pipelines. To illustrate the problem I used the provided example workflow and pipeline located here, below are the different configurations:
AIRFLOW
docker-compose.yml

  # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
#

# Basic Airflow cluster configuration for CeleryExecutor with Redis and PostgreSQL.
#
# WARNING: This configuration is for local development. Do not use it in a production deployment.
#
# This configuration supports basic configuration using environment variables or an .env file
# The following variables are supported:
#
# AIRFLOW_IMAGE_NAME           - Docker image name used to run Airflow.
#                                Default: apache/airflow:2.6.0
# AIRFLOW_UID                  - User ID in Airflow containers
#                                Default: 50000
# AIRFLOW_PROJ_DIR             - Base path to which all the files will be volumed.
#                                Default: .
# Those configurations are useful mostly in case of standalone testing/running Airflow in test/try-out mode
#
# _AIRFLOW_WWW_USER_USERNAME   - Username for the administrator account (if requested).
#                                Default: airflow
# _AIRFLOW_WWW_USER_PASSWORD   - Password for the administrator account (if requested).
#                                Default: airflow
# _PIP_ADDITIONAL_REQUIREMENTS - Additional PIP requirements to add when starting all containers.
#                                Use this option ONLY for quick checks. Installing requirements at container
#                                startup is done EVERY TIME the service is started.
#                                A better way is to build a custom image or extend the official image
#                                as described in https://airflow.apache.org/docs/docker-stack/build.html.
#                                Default: ''
#
# Feel free to modify this file to suit your needs.
---
version: '3.8'
x-airflow-common:
  &airflow-common
  # In order to add custom dependencies or upgrade provider packages you can use your extended image.
  # Comment the image line, place your Dockerfile in the directory where you placed the docker-compose.yaml
  # and uncomment the "build" line below, Then run `docker-compose build` to build the images.
  #image: ${AIRFLOW_IMAGE_NAME:-apache/airflow:2.6.0}
  build: .
  environment:
    &airflow-common-env
    AIRFLOW__CORE__EXECUTOR: CeleryExecutor
    AIRFLOW__DATABASE__SQL_ALCHEMY_CONN: postgresql+psycopg2://airflow:airflow@postgres/airflow
    # For backward compatibility, with Airflow <2.3
    AIRFLOW__CORE__SQL_ALCHEMY_CONN: postgresql+psycopg2://airflow:airflow@postgres/airflow
    AIRFLOW__CELERY__RESULT_BACKEND: db+postgresql://airflow:airflow@postgres/airflow
    AIRFLOW__CELERY__BROKER_URL: redis://:@redis:6379/0
    AIRFLOW__CORE__FERNET_KEY: ''
    AIRFLOW__CORE__DAGS_ARE_PAUSED_AT_CREATION: 'true'
    AIRFLOW__CORE__LOAD_EXAMPLES: 'false'
    AIRFLOW__API__AUTH_BACKENDS: 'airflow.api.auth.backend.basic_auth,airflow.api.auth.backend.session'
    # yamllint disable rule:line-length
    # Use simple http server on scheduler for health checks
    # See https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/logging-monitoring/check-health.html#scheduler-health-check-server
    # yamllint enable rule:line-length
    AIRFLOW__SCHEDULER__ENABLE_HEALTH_CHECK: 'true'
    # WARNING: Use _PIP_ADDITIONAL_REQUIREMENTS option ONLY for a quick checks
    # for other purpose (development, test and especially production usage) build/extend Airflow image.
    _PIP_ADDITIONAL_REQUIREMENTS: ${_PIP_ADDITIONAL_REQUIREMENTS:-}
  volumes:
    - ${AIRFLOW_PROJ_DIR:-.}/dags:/opt/airflow/dags
    - ${AIRFLOW_PROJ_DIR:-.}/logs:/opt/airflow/logs
    - ${AIRFLOW_PROJ_DIR:-.}/plugins:/opt/airflow/plugins
    - /var/run/docker.sock:/var/run/docker.sock
    - HOP_CLENT_HOME:/home/hop
  user: "${AIRFLOW_UID:-50000}:0"
  depends_on:
    &airflow-common-depends-on
    redis:
      condition: service_healthy
    postgres:
      condition: service_healthy

services:
  postgres:
    image: postgres:13
    environment:
      POSTGRES_USER: airflow
      POSTGRES_PASSWORD: airflow
      POSTGRES_DB: airflow
    volumes:
      - postgres-db-volume:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD", "pg_isready", "-U", "airflow"]
      interval: 10s
      retries: 5
      start_period: 5s
    restart: always

  redis:
    image: redis:latest
    expose:
      - 6379
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 10s
      timeout: 30s
      retries: 50
      start_period: 30s
    restart: always

  airflow-webserver:
    <<: *airflow-common
    command: webserver
    ports:
      - "8080:8080"
    healthcheck:
      test: ["CMD", "curl", "--fail", "http://localhost:8080/health"]
      interval: 30s
      timeout: 10s
      retries: 5
      start_period: 30s
    # networks:
    #   - airflowhop
    restart: always
    depends_on:
      <<: *airflow-common-depends-on
      airflow-init:
        condition: service_completed_successfully

  airflow-scheduler:
    <<: *airflow-common
    command: scheduler
    healthcheck:
      test: ["CMD", "curl", "--fail", "http://localhost:8974/health"]
      interval: 30s
      timeout: 10s
      retries: 5
      start_period: 30s
    # networks:
    #   - airflowhop
    restart: always
    depends_on:
      <<: *airflow-common-depends-on
      airflow-init:
        condition: service_completed_successfully

  airflow-worker:
    <<: *airflow-common
    command: celery worker
    healthcheck:
      test:
        - "CMD-SHELL"
        - 'celery --app airflow.executors.celery_executor.app inspect ping -d "celery@$${HOSTNAME}"'
      interval: 30s
      timeout: 10s
      retries: 5
      start_period: 30s
    # networks:
    #   - airflowhop
    environment:
      <<: *airflow-common-env
      # Required to handle warm shutdown of the celery workers properly
      # See https://airflow.apache.org/docs/docker-stack/entrypoint.html#signal-propagation
      DUMB_INIT_SETSID: "0"
    restart: always
    depends_on:
      <<: *airflow-common-depends-on
      airflow-init:
        condition: service_completed_successfully

  airflow-triggerer:
    <<: *airflow-common
    command: triggerer
    healthcheck:
      test: ["CMD-SHELL", 'airflow jobs check --job-type TriggererJob --hostname "$${HOSTNAME}"']
      interval: 30s
      timeout: 10s
      retries: 5
      start_period: 30s
    # networks:
    #   - airflowhop
    restart: always
    depends_on:
      <<: *airflow-common-depends-on
      airflow-init:
        condition: service_completed_successfully

  airflow-init:
    <<: *airflow-common
    entrypoint: /bin/bash
    # yamllint disable rule:line-length
    command:
      - -c
      - |
        function ver() {
          printf "%04d%04d%04d%04d" $${1//./ }
        }
        airflow_version=$$(AIRFLOW__LOGGING__LOGGING_LEVEL=INFO && gosu airflow airflow version)
        airflow_version_comparable=$$(ver $${airflow_version})
        min_airflow_version=2.2.0
        min_airflow_version_comparable=$$(ver $${min_airflow_version})
        if (( airflow_version_comparable < min_airflow_version_comparable )); then
          echo
          echo -e "\033[1;31mERROR!!!: Too old Airflow version $${airflow_version}!\e[0m"
          echo "The minimum Airflow version supported: $${min_airflow_version}. Only use this or higher!"
          echo
          exit 1
        fi
        if [[ -z "${AIRFLOW_UID}" ]]; then
          echo
          echo -e "\033[1;33mWARNING!!!: AIRFLOW_UID not set!\e[0m"
          echo "If you are on Linux, you SHOULD follow the instructions below to set "
          echo "AIRFLOW_UID environment variable, otherwise files will be owned by root."
          echo "For other operating systems you can get rid of the warning with manually created .env file:"
          echo "    See: https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html#setting-the-right-airflow-user"
          echo
        fi
        one_meg=1048576
        mem_available=$$(($$(getconf _PHYS_PAGES) * $$(getconf PAGE_SIZE) / one_meg))
        cpus_available=$$(grep -cE 'cpu[0-9]+' /proc/stat)
        disk_available=$$(df / | tail -1 | awk '{print $$4}')
        warning_resources="false"
        if (( mem_available < 4000 )) ; then
          echo
          echo -e "\033[1;33mWARNING!!!: Not enough memory available for Docker.\e[0m"
          echo "At least 4GB of memory required. You have $$(numfmt --to iec $$((mem_available * one_meg)))"
          echo
          warning_resources="true"
        fi
        if (( cpus_available < 2 )); then
          echo
          echo -e "\033[1;33mWARNING!!!: Not enough CPUS available for Docker.\e[0m"
          echo "At least 2 CPUs recommended. You have $${cpus_available}"
          echo
          warning_resources="true"
        fi
        if (( disk_available < one_meg * 10 )); then
          echo
          echo -e "\033[1;33mWARNING!!!: Not enough Disk space available for Docker.\e[0m"
          echo "At least 10 GBs recommended. You have $$(numfmt --to iec $$((disk_available * 1024 )))"
          echo
          warning_resources="true"
        fi
        if [[ $${warning_resources} == "true" ]]; then
          echo
          echo -e "\033[1;33mWARNING!!!: You have not enough resources to run Airflow (see above)!\e[0m"
          echo "Please follow the instructions to increase amount of resources available:"
          echo "   https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html#before-you-begin"
          echo
        fi
        mkdir -p /sources/logs /sources/dags /sources/plugins
        chown -R "${AIRFLOW_UID}:0" /sources/{logs,dags,plugins}
        exec /entrypoint airflow version
    # yamllint enable rule:line-length
    environment:
      <<: *airflow-common-env
      _AIRFLOW_DB_UPGRADE: 'true'
      _AIRFLOW_WWW_USER_CREATE: 'true'
      _AIRFLOW_WWW_USER_USERNAME: ${_AIRFLOW_WWW_USER_USERNAME:-admin}
      _AIRFLOW_WWW_USER_PASSWORD: ${_AIRFLOW_WWW_USER_PASSWORD:-airflow}
      _PIP_ADDITIONAL_REQUIREMENTS: ''
    user: "0:0"
    volumes:
      - ${AIRFLOW_PROJ_DIR:-.}:/sources

  airflow-cli:
    <<: *airflow-common
    profiles:
      - debug
    environment:
      <<: *airflow-common-env
      CONNECTION_CHECK_MAX_COUNT: "0"
    # Workaround for entrypoint issue. See: https://github.com/apache/airflow/issues/16252
    command:
      - bash
      - -c
      - airflow

  # You can enable flower by adding "--profile flower" option e.g. docker-compose --profile flower up
  # or by explicitly targeted on the command line e.g. docker-compose up flower.
  # See: https://docs.docker.com/compose/profiles/
  flower:
    <<: *airflow-common
    command: celery flower
    profiles:
      - flower
    ports:
      - "5555:5555"
    healthcheck:
      test: ["CMD", "curl", "--fail", "http://localhost:5555/"]
      interval: 30s
      timeout: 10s
      retries: 5
      start_period: 30s
    restart: always
    # networks:
    #   - airflowhop
    depends_on:
      <<: *airflow-common-depends-on
      airflow-init:
        condition: service_completed_successfully

  docker-socket-proxy:
    image: tecnativa/docker-socket-proxy:0.1.1
    environment:
      CONTAINERS: 1
      IMAGES: 1
      AUTH: 1
      POST: 1
    privileged: true
    # networks:
    #   - airflowhop
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
    restart: always

volumes:
  postgres-db-volume:

# networks:
#   airflowhop:
#     driver: "bridge"

make sure to replace ${HOP_CLENT_HOME} with the path to your HOP_CLIENT HOME.
Airflow - HOP SERVER Connection

Connection ID : 'hop_default'
Connection Type : HTTP
Host : {HOP_SERVER_IP}
Login : {HOP_SERVER_USERNAME}
Password : {HOP_SERVER_PASSWORD}
Extra: {"hop_home":"{HOP_CLIENT_AIRFLOW_MNT}"}
where {HOP_CLIENT_AIRFLOW_MNT} is where the {HOP_CLIENT_HOP_HOME} is mounted on the AIRFLOW_CONTAINERS for example /home/hop ,see AIRFLOW docker-compose file

DAGS
The dag used is the same as dag provided here simply commented out the first two pipelines
# -*- coding: utf-8 -*-
# Copyright 2022 Aneior Studio, SL
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from airflow import DAG
from datetime import datetime

from airflow_hop.operators import HopPipelineOperator
from airflow_hop.operators import HopWorkflowOperator

with DAG('airflow_plugin_sample_dag', start_date=datetime(2023,12,18),
        schedule_interval='@daily', catchup=False) as dag:

    # fake_users = HopPipelineOperator(
    #     task_id='fake_users',
    #     pipeline='pipelines/fake-data-generate-person-record.hpl',
    #     pipe_config='remote hop server',
    #     project_name='default',
    #     log_level='Basic')

    # get_param = HopPipelineOperator(
    #     task_id='get_param',
    #     pipeline='pipelines/get_param.hpl',
    #     pipe_config='remote hop server',
    #     project_name='default',
    #     log_level='Basic',
    #     params={'DATE':'{{ ds }}'})

    work_test = HopWorkflowOperator(
        task_id='work_test',
        workflow='workflows/workflowTest.hwf',
        project_name='airflow_plugin',
        log_level='Basic',
        params={'DATE':'{{ ds }}'})

    #fake_users >> get_param >> work_test

    work_test

APACHE HOP CLIENT
Installed version 2.6 which can be found here
CONFIG FOLDER DETAILS
hop_config.json

{
  "variables" : [ {
    "name" : "HOP_MAX_LOG_SIZE_IN_LINES",
    "value" : "0",
    "description" : "The maximum number of log lines that are kept internally by Hop. Set to 0 to keep all rows (default)"
  }, {
    "name" : "HOP_MAX_LOG_TIMEOUT_IN_MINUTES",
    "value" : "1440",
    "description" : "The maximum age (in minutes) of a log line while being kept internally by Hop. Set to 0 to keep all rows indefinitely (default)"
  }, {
    "name" : "HOP_LOG_TAB_REFRESH_DELAY",
    "value" : "1000",
    "description" : "The hop log tab refresh delay."
  }, {
    "name" : "HOP_LOG_TAB_REFRESH_PERIOD",
    "value" : "1000",
    "description" : "The hop log tab refresh period."
  }, {
    "name" : "HOP_USE_NATIVE_FILE_DIALOG",
    "value" : "N",
    "description" : "Set this value to 'Y' if you want to use the system file open/save dialog when browsing files."
  }, {
    "name" : "HOP_LOG_SIZE_LIMIT",
    "value" : "0",
    "description" : "The log size limit for all pipelines and workflows that don't have the \"log size limit\" property set in their respective properties."
  }, {
    "name" : "HOP_SERVER_DETECTION_TIMER",
    "value" : "",
    "description" : "The name of the variable that defines the timer used for detecting server nodes"
  }, {
    "name" : "HOP_EMPTY_STRING_DIFFERS_FROM_NULL",
    "value" : "N",
    "description" : "NULL vs Empty String. If this setting is set to 'Y', an empty string and null are different. Otherwise they are not"
  }, {
    "name" : "HOP_LENIENT_STRING_TO_NUMBER_CONVERSION",
    "value" : "N",
    "description" : "System wide flag to allow lenient string to number conversion for backward compatibility. If this setting is set to 'Y', an string starting with digits will be converted successfully into a number. (example: <IP_ADDRESS> will be converted into 192 or 192.168 or 192168 depending on the decimal and grouping symbol). The default (N) will be to throw an error if non-numeric symbols are found in the string."
  }, {
    "name" : "HOP_SYSTEM_HOSTNAME",
    "value" : "",
    "description" : "You can use this variable to speed up hostname lookup. Hostname lookup is performed by Hop so that it is capable of logging the server on which a workflow or pipeline is executed."
  }, {
    "name" : "HOP_SERVER_OBJECT_TIMEOUT_MINUTES",
    "value" : "1440",
    "description" : "This project variable will set a time-out after which waiting, completed or stopped pipelines and workflows will be automatically cleaned up. The default value is 1440 (one day)."
  }, {
    "name" : "HOP_TRANSFORM_PERFORMANCE_SNAPSHOT_LIMIT",
    "value" : "0",
    "description" : "The maximum number of transform performance snapshots to keep in memory. Set to 0 to keep all snapshots indefinitely (default)"
  }, {
    "name" : "HOP_MAX_WORKFLOW_TRACKER_SIZE",
    "value" : "5000",
    "description" : "The maximum age (in minutes) of a log line while being kept internally by Hop. Set to 0 to keep all rows indefinitely (default)"
  }, {
    "name" : "HOP_MAX_ACTIONS_LOGGED",
    "value" : "5000",
    "description" : "The maximum number of action results kept in memory for logging purposes."
  }, {
    "name" : "HOP_MAX_LOGGING_REGISTRY_SIZE",
    "value" : "10000",
    "description" : "The maximum number of logging registry entries kept in memory for logging purposes"
  }, {
    "name" : "HOP_PLUGIN_CLASSES",
    "value" : "",
    "description" : "A comma delimited list of classes to scan for plugin annotations"
  }, {
    "name" : "HOP_PIPELINE_ROWSET_SIZE",
    "value" : "",
    "description" : "Name of the environment variable that contains the size of the pipeline rowset size. This overwrites values that you set pipeline settings"
  }, {
    "name" : "HOP_PASSWORD_ENCODER_PLUGIN",
    "value" : "Hop",
    "description" : "Specifies the password encoder plugin to use by ID (Hop is the default)."
  }, {
    "name" : "HOP_ROWSET_GET_TIMEOUT",
    "value" : "50",
    "description" : "The name of the variable that optionally contains an alternative rowset get timeout (in ms). This only makes a difference for extremely short lived pipelines."
  }, {
    "name" : "HOP_ROWSET_PUT_TIMEOUT",
    "value" : "50",
    "description" : "The name of the variable that optionally contains an alternative rowset put timeout (in ms). This only makes a difference for extremely short lived pipelines."
  }, {
    "name" : "HOP_BATCHING_ROWSET",
    "value" : "N",
    "description" : "Set this variable to 'Y' if you want to test a more efficient batching row set."
  }, {
    "name" : "HOP_FILE_OUTPUT_MAX_STREAM_COUNT",
    "value" : "1024",
    "description" : "This project variable is used by the Text File Output transform. It defines the max number of simultaneously open files within the transform. The transform will close/reopen files as necessary to insure the max is not exceeded"
  }, {
    "name" : "HOP_FILE_OUTPUT_MAX_STREAM_LIFE",
    "value" : "0",
    "description" : "This project variable is used by the Text File Output transform. It defines the max number of milliseconds between flushes of files opened by the transform."
  }, {
    "name" : "HOP_DISABLE_CONSOLE_LOGGING",
    "value" : "N",
    "description" : "Set this variable to 'Y' to disable standard Hop logging to the console. (stdout)"
  }, {
    "name" : "HOP_DEFAULT_NUMBER_FORMAT",
    "value" : "",
    "description" : "The name of the variable containing an alternative default number format"
  }, {
    "name" : "HOP_DEFAULT_BIGNUMBER_FORMAT",
    "value" : "",
    "description" : "The name of the variable containing an alternative default bignumber format"
  }, {
    "name" : "HOP_DEFAULT_INTEGER_FORMAT",
    "value" : "",
    "description" : "The name of the variable containing an alternative default integer format"
  }, {
    "name" : "HOP_DEFAULT_DATE_FORMAT",
    "value" : "",
    "description" : "The name of the variable containing an alternative default date format"
  }, {
    "name" : "HOP_AGGREGATION_MIN_NULL_IS_VALUED",
    "value" : "N",
    "description" : "Set this variable to 'Y' to set the minimum to NULL if NULL is within an aggregate. Otherwise by default NULL is ignored by the MIN aggregate and MIN is set to the minimum value that is not NULL. See also the variable HOP_AGGREGATION_ALL_NULLS_ARE_ZERO."
  }, {
    "name" : "HOP_AGGREGATION_ALL_NULLS_ARE_ZERO",
    "value" : "N",
    "description" : "Set this variable to 'Y' to return 0 when all values within an aggregate are NULL. Otherwise by default a NULL is returned when all values are NULL."
  }, {
    "name" : "HOP_DEFAULT_TIMESTAMP_FORMAT",
    "value" : "",
    "description" : "The name of the variable containing an alternative default timestamp format"
  }, {
    "name" : "HOP_SPLIT_FIELDS_REMOVE_ENCLOSURE",
    "value" : "N",
    "description" : "Set this variable to 'N' to preserve enclosure symbol after splitting the string in the Split fields transform. Changing it to true will remove first and last enclosure symbol from the resulting string chunks."
  }, {
    "name" : "HOP_ALLOW_EMPTY_FIELD_NAMES_AND_TYPES",
    "value" : "N",
    "description" : "Set this variable to 'Y' to allow your pipeline to pass 'null' fields and/or empty types."
  }, {
    "name" : "HOP_GLOBAL_LOG_VARIABLES_CLEAR_ON_EXPORT",
    "value" : "N",
    "description" : "Set this variable to 'N' to preserve global log variables defined in pipeline / workflow Properties -> Log panel. Changing it to 'Y' will clear it when export pipeline / workflow."
  }, {
    "name" : "HOP_LOG_MARK_MAPPINGS",
    "value" : "N",
    "description" : "Set this variable to 'Y' to precede transform/action name in log lines with the complete path to the transform/action. Useful to perfectly identify where a problem happened in our process."
  }, {
    "name" : "HOP_SERVER_JETTY_ACCEPTORS",
    "value" : "",
    "description" : "A variable to configure jetty option: acceptors for Hop server"
  }, {
    "name" : "HOP_SERVER_JETTY_ACCEPT_QUEUE_SIZE",
    "value" : "",
    "description" : "A variable to configure jetty option: acceptQueueSize for Hop server"
  }, {
    "name" : "HOP_SERVER_JETTY_RES_MAX_IDLE_TIME",
    "value" : "",
    "description" : "A variable to configure jetty option: lowResourcesMaxIdleTime for Hop server"
  }, {
    "name" : "HOP_DEFAULT_SERVLET_ENCODING",
    "value" : "",
    "description" : "Defines the default encoding for servlets, leave it empty to use Java default encoding"
  }, {
    "name" : "HOP_SERVER_REFRESH_STATUS",
    "value" : "",
    "description" : "A variable to configure refresh for Hop server workflow/pipeline status page"
  }, {
    "name" : "HOP_MAX_TAB_LENGTH",
    "value" : "",
    "description" : "A variable to configure Tab size"
  }, {
    "name" : "HOP_ZIP_MIN_INFLATE_RATIO",
    "value" : "",
    "description" : "A variable to configure the minimum allowed ratio between de- and inflated bytes to detect a zipbomb"
  }, {
    "name" : "HOP_ZIP_MIN_INFLATE_RATIO_DEFAULT_STRING",
    "value" : "",
    "description" : ""
  }, {
    "name" : "HOP_ZIP_MAX_ENTRY_SIZE",
    "value" : "",
    "description" : "A variable to configure the maximum file size of a single zip entry"
  }, {
    "name" : "HOP_ZIP_MAX_ENTRY_SIZE_DEFAULT_STRING",
    "value" : "",
    "description" : ""
  }, {
    "name" : "HOP_ZIP_MAX_TEXT_SIZE",
    "value" : "",
    "description" : "A variable to configure the maximum number of characters of text that are extracted before an exception is thrown during extracting text from documents"
  }, {
    "name" : "HOP_ZIP_MAX_TEXT_SIZE_DEFAULT_STRING",
    "value" : "",
    "description" : ""
  }, {
    "name" : "HOP_LICENSE_HEADER_FILE",
    "value" : "",
    "description" : "This is the name of the variable which when set should contains the path to a file which will be included in the serialization of pipelines and workflows"
  }, {
    "name" : "HOP_JSON_INPUT_INCLUDE_NULLS",
    "value" : "Y",
    "description" : "Name of the variable to set so that Nulls are considered while parsing JSON files. If HOP_JSON_INPUT_INCLUDE_NULLS is \"Y\" then nulls will be included (default behavior) otherwise they will not be included"
  }, {
    "name" : "HOP_CONTEXT_DIALOG_STRICT_SEARCH",
    "value" : "N",
    "description" : "This variable influences how the search is done in the context dialog, when set to Y it will do a strict search (Needed for automated UI testing)"
  }, {
    "name" : "HOP_DEFAULT_BUFFER_POLLING_WAITTIME",
    "value" : "20",
    "description" : "This is the default polling frequency for the transforms input buffer (in ms)"
  }, {
    "name" : "HOP_S3_VFS_PART_SIZE",
    "value" : "",
    "description" : ""
  }, {
    "name" : "NEO4J_LOGGING_CONNECTION",
    "value" : "",
    "description" : "Set this variable to the name of an existing Neo4j connection to enable execution logging to a Neo4j database."
  } ],
  "googleCloud" : {
    "serviceAccountKeyFile" : null
  },
  "LocaleDefault" : "en_US",
  "dropbox" : {
    "accessToken" : null
  },
  "guiProperties" : {
    "FontFixedSize" : "9",
    "MaxUndo" : "100",
    "DarkMode" : "N",
    "FontNoteSize" : "9",
    "ShowCanvasGrid" : "N",
    "MiddlePct" : "35",
    "HideViewport" : "N",
    "FontFixedStyle" : "0",
    "FontNoteName" : "Segoe UI",
    "ContextDialogFixedWidth" : "Y",
    "FontFixedName" : "Consolas",
    "HideMenuBar" : "Y",
    "FontGraphStyle" : "0",
    "FontDefaultSize" : "9",
    "FontGraphSize" : "9",
    "IconSize" : "32",
    "GlobalZoomFactor" : "1.0",
    "FontNoteStyle" : "0",
    "FontGraphName" : "Segoe UI",
    "ShowTableViewToolbar" : "Y",
    "FontDefaultName" : "Segoe UI",
    "FontDefaultStyle" : "0",
    "CanvasGridSize" : "16",
    "ContextDialogShowCategories" : "Y",
    "WorkflowDialogStyle" : "RESIZE,MAX,MIN",
    "LineWidth" : "1",
    "AutoSave" : "Y",
    "CustomParameterUsageInfoParameter" : "N",
    "CustomParameterSetVariableUsageWarning" : "Y"
  },
  "googleDrive" : {
    "credentialsFile" : null,
    "tokensFolder" : null
  },
  "projectsConfig" : {
    "enabled" : true,
    "projectMandatory" : true,
    "environmentMandatory" : false,
    "environmentsForActiveProject" : false,
    "defaultProject" : "default",
    "defaultEnvironment" : null,
    "standardParentProject" : "default",
    "standardProjectsFolder" : null,
    "defaultProjectConfigFile" : "project-config.json",
    "projectConfigurations" : [ {
      "projectName" : "default",
      "projectHome" : "config/projects/default",
      "configFilename" : "project-config.json"
    }, {
      "projectName" : "samples",
      "projectHome" : "config/projects/samples",
      "configFilename" : "project-config.json"
    }, {
      "projectName" : "airflow_plugin",
      "projectHome" : "config/projects/airflow_plugin",
      "configFilename" : "project-config.json"
    } ],
    "lifecycleEnvironments" : [ {
      "name" : "plugin_dev",
      "purpose" : "Testing",
      "projectName" : "airflow_plugin",
      "configurationFiles" : [ "config/projects/dev.json" ]
    } ],
    "projectLifecycles" : [ ]
  },
  "azure" : {
    "account" : null,
    "key" : null,
    "blockIncrement" : "4096"
  },
  "explorer-perspective" : {
    "lazyLoadingDepth" : "0",
    "fileLoadingMaxSize" : "16"
  },
  "doNotShowWelcomeDialog" : false
}

airflow_plugin project folder contents
The contents are exactly those provided here on the repo .
HOP_SERVER
docker-compose.yml
version: '3.9'
services:
  apache-hop:
    image: apache/hop:latest
    ports:
      - 8081:8081
    volumes:
      - HOP_CLIENT_HOME_CONFIG :/opt/hop/config
    networks:
      - airflow_plugin_test_default
    environment:
      HOP_SERVER_USER: cluster
      HOP_SERVER_PASS: cluster
      HOP_SERVER_PORT: 8081
      HOP_SERVER_HOSTNAME: <IP_ADDRESS>

networks:
  airflow_plugin_test_default:
    driver: "bridge"

notice that the Apache Airflow containers network is shared with the HOP_SERVER container, thus on the Airflow-HOP SERVER connection, the HOP_SERVER_IP should be Gateway IP of the corresponding shared network between the Airflow Containers and HOP_SERVER container. Also remember to change HOP_CLIENT_HOME_CONFIG to the path to your HOP_CLIENT_HOME config folder.
AIRFLOW TASK LOG
dag_id=airflow_plugin_sample_dag_run_id=manual__2023-12-18T10_33_09.262213+00_00_task_id=work_test_attempt=1 (1).log
As can be noticed the mother workflow starts properly, the issue is the HOP_SERVER starts looking for the sub pipelines in the default project and not the proper project name which in this case is airflow_plugin as specified in the dag file. How can we resolve this issue.

I got the same error. This is the cause:
[2023-12-18T10:33:15.402+0000] {operators.py:47} INFO - 2023/12/18 10:33:12 - fake-data-generate-person-record.hpl - ERROR: Unable to run workflow workflowTest. The fake-data-generate-person-record.hpl has an error. The pipeline path config/projects/default/pipelines/fake-data-generate-person-record.hpl is invalid, and will not run successfully.
I think an option in workflow run configuration 'Export linked resources to the server" isn't sent to the hop-server. So, the hop-server finds that pipeline file in the server folder, of course it's not there.
Why doesn't HopWorkflowOperator have workflow run configuration input?

Hello,
I think the problem you've encountered is due to the hop server configuration.
I've noticed that in the following line:
    volumes:
      - HOP_CLIENT_HOME_CONFIG :/opt/hop/config

You are using the path /opt/hop/config, instead try to use the path to the base hop directory /opt/hop as this plugin uses relative pathing from this directory due to apache hop shenanigans.

This just permits me to mount the config folder of the HOP_CLIENT installed on my server with the HOP_SERVER running on the container so that at each time both have the same files. As you rightly stated this config folder is that which is used by the plugin, as described in the article  but as my question hints the issue is why the sub workflows and pipelines always searched under the default project directory and not the provided project_name directory.

I've not tested running sub workflows and pipelines with this plugin. I'm no apache hop expert myself so the idea never occurred to me. Right now this probably a limitation of the plugin, but I'll consider it for a future version. Thank you for your feedback!

Excellent discussion.
I'm here in need of help.
I went the other way.
I made some adaptations so that the Plugin works correctly.

1 - In the configuration of the variables file I made the following modification.
Before

After

I used the full path

and my DAG looked like this:
job = HopWorkflowOperator(
dag=dag,
task_id='tsk-job-agt-cana-hop',
workflow='PLANEJAMENTO/JOB_AGT_CANA.hwf',
project_name='hop_repo',
environment='hop-repo-prd',
log_level= 'Basic'
)

To make this work with Docker I used the structure below.
A common network between the two containers
a common volume between the two containers

e por último resolvi  questão do hop-config.json
before
"projectConfigurations" : [ {
"projectName" : "hop_repo",
"projectHome" : "/opt/projetos/hop_repo",
"configFilename" : "project-config.json"
}, {
"projectName" : "default",
"projectHome" : "config/projects/default",
"configFilename" : "project-config.json"
}, {
"projectName" : "samples",
"projectHome" : "config/projects/samples",
"configFilename" : "project-config.json"
}, {
"projectName" : "live_hop",
"projectHome" : "/opt/projetos/live_hop",
"configFilename" : "project-config.json"
}, {
"projectName" : "UAG",
"projectHome" : "/opt/projetos/UAG",
"configFilename" : "project-config.json"
} ],
"lifecycleEnvironments" : [ {
"name" : "hop-repo-prd",
"purpose" : "Production",
"projectName" : "hop_repo",
"configurationFiles" : [ "/opt/projetos/hop_repo/hop-repo-prd-config.json" ]
}, {
"name" : "hop-repo-dev",
"purpose" : "Development",
"projectName" : "hop_repo",
"configurationFiles" : [ "/opt/projetos/hop_repo/hop-repo-dev-config.json" ]
}, {
"name" : "hop-live-prd",
"purpose" : "Production",
"projectName" : "live_hop",
"configurationFiles" : [ "/opt/projetos/live_hop/hop-live-prd-config.json" ]
}, {
"name" : "hop-live-dev",
"purpose" : "Development",
"projectName" : "live_hop",
"configurationFiles" : [ "/opt/projetos/live_hop/hop-live-dev-config.json" ]
}, {
"name" : "UAG-PRD",
"purpose" : "Production",
"projectName" : "UAG",
"configurationFiles" : [ "/opt/projetos/UAG/UAG-PRD-config.json" ]
}, {
"name" : "dev",
"purpose" : "Development",
"projectName" : "live_hop",
"configurationFiles" : [ "${PROJECT_HOME}/hop-live-dev-config.json" ]
} ],
eu utilizei um comando linux para remover o caminho /opt com o comando sed
after
"projectConfigurations" : [ {
"projectName" : "hop_repo",
"projectHome" : "projetos/hop_repo",
"configFilename" : "project-config.json"
}, {
"projectName" : "default",
"projectHome" : "config/projects/default",
"configFilename" : "project-config.json"
}, {
"projectName" : "samples",
"projectHome" : "config/projects/samples",
"configFilename" : "project-config.json"
}, {
"projectName" : "live_hop",
"projectHome" : "projetos/live_hop",
"configFilename" : "project-config.json"
}, {
"projectName" : "UAG",
"projectHome" : "projetos/UAG",
"configFilename" : "project-config.json"
} ],
"lifecycleEnvironments" : [ {
"name" : "hop-repo-prd",
"purpose" : "Production",
"projectName" : "hop_repo",
"configurationFiles" : [ "projetos/hop_repo/hop-repo-prd-config.json" ]
}, {
"name" : "hop-repo-dev",
"purpose" : "Development",
"projectName" : "hop_repo",
"configurationFiles" : [ "projetos/hop_repo/hop-repo-dev-config.json" ]
}, {
"name" : "hop-live-prd",
"purpose" : "Production",
"projectName" : "live_hop",
"configurationFiles" : [ "projetos/live_hop/hop-live-prd-config.json" ]
}, {
"name" : "hop-live-dev",
"purpose" : "Development",
"projectName" : "live_hop",
"configurationFiles" : [ "projetos/live_hop/hop-live-dev-config.json" ]
}, {
"name" : "UAG-PRD",
"purpose" : "Production",
"projectName" : "UAG",
"configurationFiles" : [ "projetos/UAG/UAG-PRD-config.json" ]
}, {
"name" : "dev",
"purpose" : "Development",
"projectName" : "live_hop",
"configurationFiles" : [ "${PROJECT_HOME}/hop-live-dev-config.json" ]
} ],
I have shell scripts that solve this problem.
tks.

any solution for this?

any solution for this?

For now, you will need to follow the file structure.
Checkout this section on README
https://github.com/damavis/airflow-hop-plugin?tab=readme-ov-file#3-hop-directory-structure

I noticed that each time I run a workflow remotely on the Hop server directly from the Hop GUI, it sends a zip file that includes all resource files (workflow, sub-workflow, pipelines, etc.), metadata.json, and a file named workflow_execution_configuration.xml, which contains the value of PROJECT_HOME. The zip file is saved in /tmp/. However, when I use this plugin and execute the job via Airflow, I don’t see any zip file sent to the Hop server. Do you think this is a problem?
And I make sure that I already checked Export link resources to Hop server.
Doc link: https://hop.apache.org/manual/latest/workflow/workflow-run-configurations/native-remote-workflow-engine.html

I noticed that each time I run a workflow remotely on the Hop server directly from the Hop GUI, it sends a zip file that includes all resource files (workflow, sub-workflow, pipelines, etc.), metadata.json, and a file named workflow_execution_configuration.xml, which contains the value of PROJECT_HOME. The zip file is saved in /tmp/. However, when I use this plugin and execute the job via Airflow, I don’t see any zip file sent to the Hop server. Do you think this is a problem?
And I make sure that I already checked Export link resources to Hop server.
Doc link: https://hop.apache.org/manual/latest/workflow/workflow-run-configurations/native-remote-workflow-engine.html

I think that we encode this data into the .xml file sent to the Hop Server, but I'm not really sure as I implemented this a while ago. If you have any trouble due to this please tell us and I'll try to take a closer look into that.

Yes, you do encode that data into the .xml file. However, when I log the XML as a string, I found that it doesn’t contain the variable name PROJECT_HOME, which is important for indicating the sub-workflow path.
When I run it remotely from the Hop UI on the Hop server and check the workflow_execution_configuration.xml file in the zip on the Hop server (which is the data you encode into the XML workflow file), the variable PROJECT_HOME is present.


Add reporting for S3 build log save failures (in builder)

https://gitlab.com/finestructure/swiftpackageindex-builder/-/jobs/770980759
Not sure yet if that's an isolated case

Worked 30mins ago but the last four jobs failed. S3 issue?
https://gitlab.com/finestructure/swiftpackageindex-builder/-/jobs/770970138

Was a temporary issue but we need to add some reporting around this.

The problem is how to report this back. Whatever we log from the builder only goes to the Gitlab job log. In order for that to be centrally available, we'd need to either ping our API or connect to the prometheus push gateway. The latter seems cleaner but would then require some auth or tunnelling setup.
The error case is that a job will fail and not report results back if the store to S3 fails. That means it'll just be retried at a later time.
There's probably nothing else to be done here at least until we need push gateway access for other reasons and can tack this on.

This hasn't happened again since. If this fails we'll lose the ping-back and the build will be retried at a later time. Given that S3 shouldn't be seeing extended downtime the likelier scenario is that our build machines are offline - which is a scenario we'd get alerts for and be able to address.
Going to close this, it's not something we need to fix at this time or at all, really.


Infer time increases dramatically when start two server

According to the step, i run ../examples/pytorch/glm/glm_server.sh on A100 * 8 and i get 2s with one sentence.

But when i start two server A and B, infer time increases to 18s with the same input after i request A server then request B server:

Is there any other settings i miss? Look forward to your reply！

你运行的是fp16的模型还是int4的？

fp16的


Take codegen depth as an input to @model

Is your feature request related to a problem? Please describe.
There are lots of cases where a model is self-referential and the entities have a bi-directional relationship. Eg. posts with comments where each comment has a reference back to the post. When queries and mutations are generated for these models, the return objects can be unnecessarily nested.
Describe the solution you'd like
Be able to define optional codegen depth on a per-operation basis that will override the global default. The following is an example @model SDL where this behavior would be specified
directive @model(
  queries: ModelQueryMap,
  mutations: ModelMutationMap,
  subscriptions: ModelSubscriptionMap
) on OBJECT
input ModelMutationMap { create: String, update: String, delete: String, createDepth: Int, updateDepth: Int, deleteDepth: Int }
input ModelQueryMap { get: String, list: String, getDepth: Int, listDepth: Int }
input ModelSubscriptionMap {
  onCreate: [String]
  onUpdate: [String]
  onDelete: [String]
  level: ModelSubscriptionLevel
}
enum ModelSubscriptionLevel { off public on }

And then it could be used in the following way:
type Comment @model(queries: {getDepth: 4, listDepth: 5}) {
  id: ID
}

to generate get queries with a depth of 4 and list queries with a depth of 5.
Describe alternatives you've considered
Specify a reasonable codegen depth for the current project and create custom queries / mutations for any operations where this default doesn't work. This creates unnecessary work making sure these custom queries stay in sync with the rest of the project.
Another option that seems like it may solve most use cases is to ignore the "items" field in the depth count when generating queries for one-to-many relationships. Based on discussion in #1013 this would generate code that is closer to developer expectations. However I would not say this is the same feature because there still may be cases where you have some models that are deeply nested and others that aren't.
Additional context
There have been some other related requests made #1013, but they all seem to target trying to come up with more sensible defaults whereas this gives the developer total control to adjust depth for each operation. Another related issue is #2977.

+1


text_painter: NoSuchMethodError: The getter 'offset' was called on null.

Flutter doctor
[✓] Flutter (Channel beta, v1.1.8, on Mac OS X 10.14 18A391, locale en-BY)
    • Flutter version 1.1.8 at /Users/r1zzu/flutter
    • Framework revision 985ccb6d14 (5 weeks ago), 2019-01-08 13:45:55 -0800
    • Engine revision 7112b72cc2
    • Dart version 2.1.1 (build 2.1.1-dev.0.1 ec86471ccc)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/r1zzu/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/r1zzu/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/r1zzu/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[!] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[!] IntelliJ IDEA Community Edition (version 2017.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.31.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.22.3

[✓] Connected device (1 available)
    • iPhone 6 • D5B9AE18-0DA0-4F13-8CAA-10CB70DAD228 • ios • iOS 12.1 (simulator)

Error
text_painter.dart in TextPainter.getOffsetForCaret at line 545
editable.dart in RenderEditable.getLocalRectForCaret at line 1050
editable_text.dart in EditableTextState._onFloatingCursorResetTick at line 683
listener_helpers.dart in _AnimationController&Animation&AnimationEagerListenerMixin&AnimationLocalListenersMixin.notifyListeners at line 124
animation_controller.dart in AnimationController._tick at line 697
ticker.dart in Ticker._tick at line 228
binding.dart in _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback at line 990
binding.dart in _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleBeginFrame.<fn> at line 906
Called from: libcompact_hash.dart in __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach
binding.dart in _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleBeginFrame at line 904
binding.dart in _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleBeginFrame at line 834

Got this error in sentry, however can't reproduce it locally
I'm calling setState when user submits content of TextField with consecutive textInputController.clear();

To investigate we would need a minimal runnable reproduction
as a single file so that we can just copy your code into lib/main.dart of a new project and run to reproduce.

@zoechi I'd love to provide runnable reproduction, but I can't reproduce it locally myself :) But anyways bugs have to be fixed 😏
I dived into flutter source code, and seems like updateFloatingCursor of EditableText isn't called with FloatingCursorDragState.Update state, so _lastTextPosition stays uninitialized. Maybe it worth initializing it with some default TextPosition?

But anyways bugs have to be fixed

It's just much more difficult to find a proper fix if it is not clear how to reproduce.
If you can come up with a minimal reproduction, that would be very helpful.

I have seen the same error being logged in Sentry with no way to currently reproduce this locally.  Due to the failure happening completely outside my code (my stack trace is 100% the same), I wouldn't even know where to begin to recreate.  However...I can help with some other information which may be helpful:

This issue only happened to two (different) users.
For both users, the exception was thrown 10 times each (all at the same time for each)
Both users were iPhone users - considering that I have fewer than 100 iPhone users a day and more than 2500 Android users a day, this suggests to me that this might be an iPhone only problem
Both users were using iOS 12.1.2

I last saw this issue occur on about 14 days ago.  I believe that after this point I switched from dev channel to beta, but due to the low occurrence, it might just not have happened again, rather than having been fixed.
Hopefully some of this could be helpful.

Ouch...
I've got the exact same error in my sentry report too.
I can't really pinpoint what's causing this and how and I can't really reproduce it (yet).
NoSuchMethodError: NoSuchMethodError: The getter 'offset' was called on null.
Receiver: null
Tried calling: offset
  File "text_painter.dart", line 572, in TextPainter.getOffsetForCaret
  File "editable.dart", line 1126, in RenderEditable.getLocalRectForCaret
  File "editable_text.dart", line 839, in EditableTextState._onFloatingCursorResetTick
  File "listener_helpers.dart", line 126, in _AnimationController&Animation&AnimationEagerListenerMixin&AnimationLocalListenersMixin.notifyListeners
  File "animation_controller.dart", line 751, in AnimationController._tick
  File "ticker.dart", line 228, in Ticker._tick
  File "binding.dart", line 990, in _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback
  File "binding.dart", line 906, in _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleBeginFrame.<fn>
  File "compact_hash.dart", line 367, in __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach
  File "binding.dart", line 904, in _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleBeginFrame
  File "binding.dart", line 834, in _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleBeginFrame
  File "zone.dart", line 1136, in _rootRunUnary
  File "zone.dart", line 1029, in _CustomZone.runUnary
  File "zone.dart", line 931, in _CustomZone.runUnaryGuarded
  File "hooks.dart", line 223, in _invoke1
  File "hooks.dart", line 162, in _beginFrame

Same for us. It is happening in production and we cannot reproduce it locally.

Another of the same reported by Crashlytics. I see 78 of these affecting 12 users, all iOS 12, all iPhones. For those users who are affected it seems that it may be repeatable, so perhaps it is related to some display or accessibility settings.
The following NoSuchMethodError was thrown while notifying listeners for AnimationController:
The getter 'offset' was called on null.
Receiver: null
Tried calling: offset

When the exception was thrown, this was the stack:
#0      TextPainter._computeCaretMetrics (package:flutter/src/painting/text_painter.dart:642)
#1      TextPainter.getOffsetForCaret (package:flutter/src/painting/text_painter.dart:613)
#2      RenderEditable.getLocalRectForCaret (package:flutter/src/rendering/editable.dart:1215)
#3      EditableTextState._onFloatingCursorResetTick (package:flutter/src/widgets/editable_text.dart:966)
#4      _AnimationController&Animation&AnimationEagerListenerMixin&AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:126)
#5      AnimationController._tick (package:flutter/src/animation/animation_controller.dart:750)
#6      Ticker._tick (package:flutter/src/scheduler/ticker.dart:228)
#7      _RenderingFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1012)
#8      _RenderingFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleBeginFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:928)
#9      __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:367)
#10     _RenderingFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:926)
#11     _RenderingFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:856)
#15     _invoke1 (dart:ui/hooks.dart:234)
#16     _beginFrame (dart:ui/hooks.dart:172)
(elided 3 frames from package dart:async)

Same error for me:
Error caught by animation library, thrown while notifying listeners for AnimationController. NoSuchMethodError: The getter 'offset' was called on null. Receiver: null Tried calling: offset The AnimationController notifying listeners was:   AnimationController#5261a(▶ 0.144)
0      TextPainter._computeCaretMetrics (package:flutter/src/painting/text_painter.dart:610)
1      TextPainter.getOffsetForCaret (package:flutter/src/painting/text_painter.dart:581) #34040
2      RenderEditable.getLocalRectForCaret (package:flutter/src/rendering/editable.dart:1215) #3      EditableTextState._onFloatingCursorResetTick (package:flutter/src/widgets/editable_text.dart:957)
4      _AnimationController&Animation&AnimationEagerListenerMixin&AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:126)
5      AnimationController._tick (package:flutter/src/animation/animation_controller.dart:750)
6      Ticker._tick (package:flutter/src/scheduler/ticker.dart:228)
7      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1012)
8      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleBeginFrame. (package:flutter/src/scheduler/binding.dart:928)
9      __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:367)
10     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:926)
11     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:856)
15     _invoke1 (dart:ui/hooks.dart:233)
16     _beginFrame (dart:ui/hooks.dart:172) (elided 3 frames from package dart:async)

We report our exceptions via Crashlytics and we faced the same exception:
Non-fatal Exception: NoSuchMethodError: The getter 'offset' was called on null. Receiver: null Tried calling: offset 0  ???                            0x0 _computeCaretMetrics + 768 (text_painter.dart:768) 1  ???                            0x0 getOffsetForCaret + 739 (text_painter.dart:739) 2  ???                            0x0 getLocalRectForCaret + 1228 (editable.dart:1228) 3  ???                            0x0 _onFloatingCursorResetTick + 1054 (editable_text.dart:1054) 4  ???                            0x0 notifyListeners + 124 (listener_helpers.dart:124) 5  ???                            0x0 _tick + 768 (animation_controller.dart:768) 6  ???                            0x0 _tick + 228 (ticker.dart:228) 7  ???                            0x0 _invokeFrameCallback + 1016 (binding.dart:1016) 8  ???                            0x0 handleBeginFrame.<fn> + 934 (binding.dart:934) 9  ???                            0x0 handleBeginFrame + 932 (binding.dart:932) 10 ???                            0x0 _handleBeginFrame + 866 (binding.dart:866)

This updateFloatingCursor is only triggered when https://developer.apple.com/documentation/uikit/uitextinput/1614557-beginfloatingcursoratpoint?language=objc this set of callback are called.
I am not sure how to trigger those callbacks yet. I will keep digging

@chunhtai I don't see this mentioned in the Changelog. Do you know if the fix has been released / what version it is in?


Add secret text credentials documentation

Maintainers: CI checks failed above due to Rubocop rules being out of date. There is nothing wrong with this commit.

Thanks for documenting this


Move part of codebase to std::filesystem::path

This change also simplifies most of the functions, and adds error
handling (in form of FATAL in the case executable_path is not available)
Test: build, run OrbitBaseTests

I'm with Davide on this. I would prefer to use std::filesystem::path whenever possible and only have functionality in our library that is not available in a portable way, like GetExecutablePath (which should return a std::filesystem::path).
Also: I was under the impression we settled for Google style namespaces, didn't we? That would mean "OrbitBase -> orbit_base".

I'm with Davide on this. I would prefer to use std::filesystem::path whenever possible and only have functionality in our library that is not available in a portable way, like GetExecutablePath (which should return a std::filesystem::path).
Also: I was under the impression we settled for Google style namespaces, didn't we? That would mean "OrbitBase -> orbit_base".

done.

done.

Should we review or is it still a draft?

done.

Should we review or is it still a draft?

I am chasing windows build failure - other than that it is ready for review.


fix(global): :bug: changes styles related code for mobile application

Description
Changes I have done mainly in add Flavour function, The code is not good this should be updated soon but for now it's working, Styles are checked including DEV_BORDER, ALIGNMENT, BG, BORDER, COLOR, FLEX, MARGIN, PADDING. Those are working in mobile.
Ref: #121
Related Issues

Testing

Checklist

[ ] I have performed a thorough self-review of my code.
[X] I have added or updated relevant tests for my changes.
[ ] My code follows the project's style guidelines and best practices.
[ ] I have updated the documentation if necessary.
[ ] I have added or updated relevant comments in my code.
[ ] I have resolved any merge conflicts of my branch.

Screenshots (if applicable)

Additional Notes

Reviewers

Maintainer Notes

[ ] Has this change been tested in a staging environment?
[ ] Does this change introduce any breaking changes or deprecations?

@techoneel Please refrain from merging failed linit.
refer PR Guardrail checks


Show helpful error message when there are network problems

Closes #306
@raulraja take a look please.

LGTM


Hi,  Andrew LeCody "aceat64"

I hope this message reaches you. I wasn't sure how to get in touch, and I find it unfortunate that sending a message through GitHub to a contributor isn't possible. Could you please reach out to me via email? There are a few things I'd like to send to you :) but unfortunately, I don't have your physical address.
Thanks

I guess you could write a comment in PR #3 so that it will get your message :)

i'am stupid!!


[ISSUE-387][DOC] Doc about worker status recover after restart

What changes were proposed in this pull request?

Why are the changes needed?

What are the items that need reviewer attention?
Related issues.
Related pull requests.
How was this patch tested?
/cc @related-reviewer
/assign @main-reviewer

ping @waitinfuture @FMX

ping @waitinfuture @FMX