Build-gcc error Ubuntu jammy

` ------------------------
|                        |
| GCC Build Script: v4.1 |

Installing required python packages

================================================

Collecting types-gdb
Downloading types_gdb-<IP_ADDRESS>-py3-none-any.whl (10 kB)
Collecting os.path2
Downloading os.path2-0.0.4.tar.gz (6.5 kB)
Preparing metadata (setup.py) ... done
Collecting mbs-sys
Downloading mbs_sys-0.4.tar.gz (1.8 kB)
Preparing metadata (setup.py) ... done
Collecting tempfile2
Downloading tempfile2-0.1.2.tar.gz (3.1 kB)
Preparing metadata (setup.py) ... done
Collecting PrettyGcov
Downloading PrettyGcov-1.2.0-py3-none-any.whl (13 kB)
Collecting json2json
Downloading json2json-0.1.0-py3-none-any.whl (7.7 kB)
Collecting pytest
Downloading pytest-7.4.0-py3-none-any.whl (323 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 323.6/323.6 KB 372.9 kB/s eta 0:00:00
Collecting csv23
Downloading csv23-0.3.4-py2.py3-none-any.whl (18 kB)
Collecting time-tools
Downloading time_tools-1.0.0-py2.py3-none-any.whl (5.5 kB)
Collecting argparse3
Downloading argparse3-0.0.0-py3-none-any.whl (2.1 kB)
Collecting pathlib
Downloading pathlib-1.0.1-py3-none-any.whl (14 kB)
Collecting shutil-extra
Downloading shutil_extra-0.0.6.tar.gz (3.5 kB)
Preparing metadata (setup.py) ... done
Collecting latex
Downloading latex-0.7.0.tar.gz (6.5 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: Pygments in /usr/lib/python3/dist-packages (2.11.2)
Collecting pluggy<2.0,>=0.12
Downloading pluggy-1.3.0-py3-none-any.whl (18 kB)
Collecting exceptiongroup>=1.0.0rc8
Downloading exceptiongroup-1.1.3-py3-none-any.whl (14 kB)
Requirement already satisfied: packaging in /usr/lib/python3/dist-packages (from pytest) (21.3)
Collecting tomli>=1.0.0
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting iniconfig
Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting data
Downloading data-0.4.tar.gz (7.0 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: future in /usr/lib/python3/dist-packages (from latex) (0.18.2)
Collecting shutilwhich
Downloading shutilwhich-1.1.0.tar.gz (2.3 kB)
Preparing metadata (setup.py) ... done
Collecting tempdir
Downloading tempdir-0.7.1.tar.gz (5.9 kB)
Preparing metadata (setup.py) ... done
Collecting decorator
Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting funcsigs
Downloading funcsigs-1.0.2-py2.py3-none-any.whl (17 kB)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from data->latex) (1.16.0)
Building wheels for collected packages: os.path2, mbs-sys, tempfile2, shutil-extra, latex, data, shutilwhich, tempdir
Building wheel for os.path2 (setup.py) ... done
Created wheel for os.path2: filename=os.path2-0.0.4-py3-none-any.whl size=7563 sha256=4d56dbac77197aee8106499822be6b0fcc2b76337035738afc5bb4996c93b3ed
Stored in directory: /home/louis/.cache/pip/wheels/2b/90/50/58b95bafe84eff119dddce98cf08a65a3d8773248ff2cbbc51
Building wheel for mbs-sys (setup.py) ... done
Created wheel for mbs-sys: filename=mbs_sys-0.4-py3-none-any.whl size=1901 sha256=7e6ee6c28c89d946e5229f85e99dbc8eab366a5bbe6fc85007fee6c9345fd1e7
Stored in directory: /home/louis/.cache/pip/wheels/ef/ae/3d/54b6396d8b53a52521eef8af2fd825144476d17d684cc769df
Building wheel for tempfile2 (setup.py) ... done
Created wheel for tempfile2: filename=tempfile2-0.1.2-py3-none-any.whl size=2966 sha256=2045599be5e2d29cc1e3034414ae5026339512ead6eee21435fe7dcb77668077
Stored in directory: /home/louis/.cache/pip/wheels/9e/30/93/1c67a4daeb7aafd329312ebf20870ae97644bfc38f1cdce0f1
Building wheel for shutil-extra (setup.py) ... done
Created wheel for shutil-extra: filename=shutil_extra-0.0.6-py3-none-any.whl size=3944 sha256=e3d9496bbe1e4b622d5d26a572603fb607053b6ec1707389a38feee2847558b0
Stored in directory: /home/louis/.cache/pip/wheels/af/ad/63/0fe5127e96840357d8b88102965adcbc91e1ef24690555f90b
Building wheel for latex (setup.py) ... done
Created wheel for latex: filename=latex-0.7.0-py3-none-any.whl size=7604 sha256=ca1274ffaf7c65398b325460c8cff716a51b4e3a78511886c220e1c8232a541e
Stored in directory: /home/louis/.cache/pip/wheels/7e/02/25/c00dfc203e8ba53dfc2e4e97d40e537263d6e03606681f3872
Building wheel for data (setup.py) ... done
Created wheel for data: filename=data-0.4-py3-none-any.whl size=7244 sha256=58bf9ab8d54e0d206f5d05680d40d133a4cdce2658e78eb23146d2267e5b238a
Stored in directory: /home/louis/.cache/pip/wheels/d0/e8/fa/e253c256048ea58d99a8abb5e751abb6a838af6f12887b5418
Building wheel for shutilwhich (setup.py) ... done
Created wheel for shutilwhich: filename=shutilwhich-1.1.0-py3-none-any.whl size=2781 sha256=1188eaf95b08761541f7c39511a1857c8961496f7c0fc4222137db67d475e695
Stored in directory: /home/louis/.cache/pip/wheels/75/1f/1c/0ecab7ceabad0b8e018891505911e82a6f358a0291e7681bae
Building wheel for tempdir (setup.py) ... done
Created wheel for tempdir: filename=tempdir-0.7.1-py3-none-any.whl size=2214 sha256=2e9e04f5acd82409691dd776cf44e016d15a0894a7aef2c9fef76c25e089a106
Stored in directory: /home/louis/.cache/pip/wheels/c6/9a/9d/44903aa5aac6c6bc5f0c331ed86214bbedce17e8556d002f1a
Successfully built os.path2 mbs-sys tempfile2 shutil-extra latex data shutilwhich tempdir
Installing collected packages: types-gdb, tempfile2, tempdir, shutilwhich, shutil-extra, PrettyGcov, pathlib, os.path2, mbs-sys, funcsigs, argparse3, tomli, time-tools, pluggy, json2json, iniconfig, exceptiongroup, decorator, csv23, pytest, data, latex
Successfully installed PrettyGcov-1.2.0 argparse3-0.0.0 csv23-0.3.4 data-0.4 decorator-5.1.1 exceptiongroup-1.1.3 funcsigs-1.0.2 iniconfig-2.0.0 json2json-0.1.0 latex-0.7.0 mbs-sys-0.4 os.path2-0.0.4 pathlib-1.0.1 pluggy-1.3.0 pytest-7.4.0 shutil-extra-0.0.6 shutilwhich-1.1.0 tempdir-0.7.1 tempfile2-0.1.2 time-tools-1.0.0 tomli-2.0.1 types-gdb-<IP_ADDRESS>
building m4 - version latest
m4 version latest already built. Remove /home/louis/gcctmp/gcc-build-script/packages/m4.done lockfile to rebuild it.
building automake - version 1.16.5
automake version 1.16.5 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/automake.done lockfile to rebuild it.
building libtool - version 2.4.7
libtool version 2.4.7 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/libtool.done lockfile to rebuild it.
building autoconf-v271 - version 2.71
autoconf-v271 version 2.71 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/autoconf-v271.done lockfile to rebuild it.
building bison - version git
bison version git already built. Remove /home/louis/gcctmp/gcc-build-script/packages/bison.done lockfile to rebuild it.
building gettext - version 0.21.1
gettext version 0.21.1 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/gettext.done lockfile to rebuild it.
building libiconv - version 1.17
libiconv version 1.17 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/libiconv.done lockfile to rebuild it.
building diffutils - version 3.9
diffutils version 3.9 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/diffutils.done lockfile to rebuild it.
building attr - version 2.5.1
attr version 2.5.1 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/attr.done lockfile to rebuild it.
building patch - version 2.7.6
patch version 2.7.6 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/patch.done lockfile to rebuild it.
building gmp - version 6.2.1
gmp version 6.2.1 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/gmp.done lockfile to rebuild it.
building isl - version 0.24
isl version 0.24 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/isl.done lockfile to rebuild it.
building gperftools - version 2.12
gperftools version 2.12 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/gperftools.done lockfile to rebuild it.
building zstd - version 1.5.5
The file "zstd-1.5.5.tar.gz" is already downloaded.
File extracted: zstd-1.5.5.tar.gz
$ meson setup build --prefix=/home/louis/gcctmp/gcc-build-script/workspace --buildtype=release --default-library=static --strip
$ ninja -j8 -C build
Cannot autolaunch D-Bus without X11 $DISPLAY
Failed to execute: ninja -j8 -C build
Please create a support ticket so I can work on a fix.
https://github.com/slyfox1186/script-repo/issues
`
not sure whats going on i ran the script twice as it gave this same error the first time so i dont know what the issue currently is..

I have seen this issue before. I was hoping that adding the native DISPLAY variable back into the script would solve it for everyone but maybe not.
Try running this script and the try again.
https://github.com/slyfox1186/script-repo/blob/main/Bash/Installer Scripts/FFmpeg/ffmpeg-fix-dbus.sh

I have seen this issue before. I was hoping that adding the native DISPLAY and DBUS_SESSION_BUS_ADDRESS variables back into the script would solve it for everyone...
Try running this script first and then try again.
https://github.com/slyfox1186/script-repo/blob/main/Bash/Installer Scripts/FFmpeg/ffmpeg-fix-dbus.sh

ran that and tried again. still getting same error.

Download the script to a file.
Remove all lines from 77-96
run script bash script-name.sh

If that doesn't work then I will have to rethink what is happening. It appears an essential variable is missing and by removing the above lines as mentioned it should eliminate all of the default variables.
I hope you have better luck this time. My build works fine on Debian 12...

Download the script to a file.
Remove all lines from 77-96
run script bash script-name.sh

If that doesn't work then I will have to rethink what is happening. It appears an essential variable is missing and by removing the above lines as mentioned it should eliminate all of the default variables from being removed.
I hope you have better luck this time. My build works fine on Debian 12...

done that still getting the same error
building m4 - version latest
m4 version latest already built. Remove /home/louis/gcctmp/gcc-build-script/packages/m4.done lockfile to rebuild it.
building automake - version 1.16.5
automake version 1.16.5 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/automake.done lockfile to rebuild it.
building libtool - version 2.4.7
libtool version 2.4.7 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/libtool.done lockfile to rebuild it.
building autoconf-v271 - version 2.71
autoconf-v271 version 2.71 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/autoconf-v271.done lockfile to rebuild it.
building bison - version git
bison version git already built. Remove /home/louis/gcctmp/gcc-build-script/packages/bison.done lockfile to rebuild it.
building gettext - version 0.21.1
gettext version 0.21.1 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/gettext.done lockfile to rebuild it.
building libiconv - version 1.17
libiconv version 1.17 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/libiconv.done lockfile to rebuild it.
building diffutils - version 3.9
diffutils version 3.9 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/diffutils.done lockfile to rebuild it.
building attr - version 2.5.1
attr version 2.5.1 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/attr.done lockfile to rebuild it.
building patch - version 2.7.6
patch version 2.7.6 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/patch.done lockfile to rebuild it.
building gmp - version 6.2.1
gmp version 6.2.1 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/gmp.done lockfile to rebuild it.
building isl - version 0.24
isl version 0.24 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/isl.done lockfile to rebuild it.
building gperftools - version 2.12
gperftools version 2.12 already built. Remove /home/louis/gcctmp/gcc-build-script/packages/gperftools.done lockfile to rebuild it.
building zstd - version 1.5.5
The file "zstd-1.5.5.tar.gz" is already downloaded.
File extracted: zstd-1.5.5.tar.gz
$ meson setup build --prefix=/home/louis/gcctmp/gcc-build-script/workspace --buildtype=release --default-library=static --strip
$ ninja -j8 -C build
Failed to execute: ninja -j8 -C build
Please create a support ticket so I can work on a fix.
https://github.com/slyfox1186/script-repo/issues
would any of this be because im using the mainline kernels? i cant use any kernel older than 6.x as my pc has hardware only usable in 6.x kernels.. it doesn't seem kernel related judging by the error.

I changed zstd from meson to cmake as I was having trouble building using Ubuntu Jammy as well. Once I did that everything worked fine see if it works for you.

I changed zstd from meson to cmake as I was having trouble building using Ubuntu Jammy as well. Once I did that everything worked fine see if it works for you.

so.. just change anything meson in the script to cmake?

No, I changed it in the main script, so just update the script.
Regards,
Jeff Hollis
Pooler, GA 31322
Cell:<PHONE_NUMBER>
On Mon, Sep 11, 2023 at 7:40 PM DarkenLX @.***> wrote:

I changed zstd from meson to cmake as I was having trouble building using
Ubuntu Jammy as well. Once I did that everything worked fine see if it
works for you.
so.. just change anything meson in the script to cmake?
—
Reply to this email directly, view it on GitHub
https://github.com/slyfox1186/script-repo/issues/3#issuecomment-1714744156,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI7VCU2SHTEKJZ3G2ZZTKG3XZ6ONXANCNFSM6AAAAAA4G5QYHI
.
You are receiving this because you commented.Message ID:
@.***>

If this is still a problem just re-open the ticket.


More flexible creation date specification

It would be helpful if the date selector widget in Substance Composer were a bit more flexible in specifying creation date. For example, I would like to work with documents I created years ago, and the arrows alone would make that pretty tedious.
Screen shot to show which UI element I am referring to:

Would it be possible to add a different widget or even make the date value directly editable?

Not applicable to the framework part.


Add tests and fix broken feature

Codecov Report

Merging #11099 (f3a0c0b) into main (ecfd8e3) will increase coverage by 0%.
The diff coverage is 81%.

:exclamation: Current head f3a0c0b differs from pull request most recent head 30247d7. Consider uploading reports for the commit 30247d7 to get more accurate results

@@          Coverage Diff           @@
##            main   #11099   +/-   ##
======================================
  Coverage     63%      63%
======================================
  Files        482      482
  Lines      33865    33886   +21
  Branches    5526     5531    +5
======================================
+ Hits       21405    21450   +45
+ Misses     10406    10382   -24
  Partials    2054     2054

Impacted Files
Coverage Δ

src/platform/common/utils/localize.ts
76% <ø> (+<1%)
:arrow_up:

src/kernels/kernelAutoReConnectFailedMonitor.ts
81% <77%> (+13%)
:arrow_up:

src/kernels/execution/cellExecutionCreator.ts
77% <100%> (+<1%)
:arrow_up:

src/kernels/kernelAutoReConnectMonitor.ts
80% <100%> (+12%)
:arrow_up:

src/kernels/execution/notebookUpdater.ts
88% <0%> (-8%)
:arrow_down:

src/platform/common/cancellation.ts
64% <0%> (-8%)
:arrow_down:

src/kernels/jupyter/jupyterKernelService.node.ts
74% <0%> (-4%)
:arrow_down:

src/kernels/kernelFinder.base.ts
82% <0%> (-2%)
:arrow_down:

src/kernels/kernelProvider.base.ts
95% <0%> (-1%)
:arrow_down:

src/telemetry.ts
100% <0%> (ø)

... and 222 more

Add tests and fix broken feature

Could you be more specific? 😁


WIP: version: Always use latest CRI-O for testing

Fixes: #0

/test-ubuntu

/crio

/crio

/crio

/crio

/crio

/crio

As this PR is marked as do-not-merge, we're assuming it won't make for the final 1.13.0 release, thus we're closing it.
In case you feel this has been wrongly closed, please, feel free to re-open it.


feat: add darwinDarkModeSupport option to support mojave dark mode for older electron versions

Refs: https://developer.apple.com/documentation/appkit/nsappearancecustomization/choosing_a_specific_appearance_for_your_app

Also, this should be in usage.txt for the CLI, right?

The AppVeyor failure is https://github.com/electron-userland/electron-packager/issues/892

I don't know why codecov asserts that your PR loses coverage.


Nop reconciliations should not emit events

Describe the bug

https://github.com/knative/pkg/issues/1520

/assign


checkov: 3.2.3 -> 3.2.5

Diff: https://github.com/bridgecrewio/checkov/compare/refs/tags/3.2.3...3.2.5
Changelog: https://github.com/bridgecrewio/checkov/releases/tag/3.2.5
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 285722 run on x86_64-linux 1

2 packages built:

checkov
checkov.dist


View state is not restored when part of the editor is folded

VSCode Version: 1.5.2
OS Version: Windows

When VS Code is started, the scroll position is set to a position that a cursor was put at last time.
And also, when that editor tab is activated again, the scroll position is set to a position of cursor.
I think that the first behavior is useful, but the second makes me confuse sometimes.
For example, when I'm editing a line, I want to see another line. I scroll the editor by using scroll bar because I don't want to move the cursor, and also, I switch the tab to another file.
Now I back to the tab I'm editing, then the scroll position is changed. Here is position of the cursor. It's not the position I set.

@anseki that should not happen, we always try to restore the view position of the editor, so you cursor can be in some location but we restore the scroll position to where you left from. can you share more details and explain if this is not the case for you? see my video how it works for me:

I found this issue occurs when a part of the code is folded.
When one or more parts of the code is folded, the scroll position of that code is changed to cursor position when the view is activated.
After I did "Unfold All" command, the issue didn't occur.

I can reproduce that when a region is folded, the view state is not preserved and I end up scrolled to the top. @alexandrudima @aeschli fyi.

Is fixed.


Simplified Startup Messages and Exits, virtual destructor for ComputeAPI

The code will now exit immediately on certain errors. I went through and tried to find spots where things should be send to stderr and in other spots made it so we exit with exit code 1.
I also added a virtual destructor to ComputeAPI since we see that error depending on compile time options. It may not need the = 0 portion of it, I'm not sure what the intent with some of the things with the ComputeAPI but it compiles and runs with that included.

Your changes make perfect sense! I think you can merge it with the main branch.


Errors with unqualified access to instance variables.

These places don't use this. for access to instance variables:

MixinEventPlayerChat:74
SpongeModGameRegistry:103-104

Covered by #263


DATECS DP-150 no longer works

Describe the bug
DP-150 used to be detected and work about a month ago, but can no longer be detected after the latest version is detected.
Describe the device(s) you are using
DATECS DP-150
How To Reproduce

Connect device to computer on Windows 10. Open device manager, and make sure that the usb port is working, and that a virtual com port is created, and that there are no issues with the device itself.
Put the device in mode for communicating with PC.
Start the server via dotnet run inside ErpNet.FP.Server

Expected behavior
Device is detected and can be used.
debug.log

Screenshots
If applicable, add screenshots to help explain your problem.
Include debug.log if it's applicable.
Additional context
Add any other context about the problem here.

After a few minutes, I noticed my laptop had turned into a vacuum cleaner. It turns out the library was consuming 100% of the CPU, even though I didn't make any requests.

Please give us your appconfig here.
На ср, 10 юли 2019 г., 11:00 Dilyan Rusev<EMAIL_ADDRESS>написа:

After a few minutes, I noticed my laptop had turned into a vacuum cleaner.
It turns out the library was consuming 100% of the CPU, even though I
didn't make any requests.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/erpnet/ErpNet.FP/issues/56?email_source=notifications&email_token=AI7G4UR5O226CWBQIXV7APDP6WQLFA5CNFSM4H7M2FC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZSZ6DI#issuecomment-509976333,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI7G4UXSEMHZQ3K7IRX2GG3P6WQLFANCNFSM4H7M2FCQ
.

Github doesn't like .json files, so I added .txt extension
appsettings.json.txt

DP 150 is not bg.dt.p.isl, it is bg.dt.c.isl. Please change it in the
config and it will work.
На ср, 10 юли 2019 г., 11:19 Dilyan Rusev<EMAIL_ADDRESS>написа:

Github doesn't like .json files, so I added .txt extension
appsettings.json.txt
https://github.com/erpnet/ErpNet.FP/files/3376733/appsettings.json.txt
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/erpnet/ErpNet.FP/issues/56?email_source=notifications&email_token=AI7G4UXBXYH55TI6GCUY2L3P6WSSRA5CNFSM4H7M2FC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZS3SEQ#issuecomment-509982994,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI7G4USLEJYGQXF2SFZ2JWDP6WSSRANCNFSM4H7M2FCQ
.

Perhaps I failed to explain the problem.
Autodetection doesn't work. I opened debug.log, and started trying out different IDs with COM3 (the port in Device Manager) via the UI. The URI that you see in the config is just the last URI that I tried.
When I use bg.dt.c.isl://COM3, it still doesn't work.
Here is the latest from debug.log;
Request(5A): '1'
>>>1 30 30 32 3B 21 30 30 35 3A 31 5 30 31 3F 33 3
<<<1
<<<30 30 32 3B 21 30 30 35 3A 31 5 30 31 3F 33 3
Probing bg.dt.c.isl.com://COM3...
Request(5A): '1'
>>>1 25 21 5A 31 5 30 30 3D 36 3
<<<1
<<<25 21 5A 31 5 30 30 3D 36 3
Probing bg.dt.p.isl.com://COM3...
Request(5A): '1'
>>>1 25 21 5A 31 5 30 30 3D 36 3
<<<1
<<<25 21 5A 31 5 30 30 3D 36 3
Probing bg.ed.isl.com://COM3...
Request(5A): '1'
>>>1 25 21 5A 31 5 30 30 3D 36 3
<<<1
<<<25 21 5A 31 5 30 30 3D 36 3
Probing bg.dy.isl.com://COM3...
Request(5A): '1'
>>>1 25 21 5A 31 5 30 30 3D 36 3
<<<1
<<<25 21 5A 31 5 30 30 3D 36 3
Probing bg.in.isl.com://COM3...
Request(5A): '1'
>>>1 25 21 5A 31 5 30 30 3D 36 3
<<<1
<<<25 21 5A 31 5 30 30 3D 36 3
Probing bg.zk.zfp.com://COM3...
Request(60): ''
>>> Ping >>> 9 <<< 9 Request(21): ''
>>> Ping >>> 9 <<< 9 Probing bg.zk.v2.zfp.com://COM3...
Request(60): ''
>>> Ping >>> 9 <<< 9 Request(21): ''
>>> Ping >>> 9 <<< 9 Detecting configured printers...
Trying testytest: bg.dt.c.isl://COM3, failed
Detecting done. Found 0 available printer(s).
-- HTTP Response -- Code: 200, Body(0):
-- HTTP Request -- GET: http://<IP_ADDRESS>:8001/printers, Body(0):
-- HTTP Response -- Code: 200, Body(2):
{}
-- HTTP Request -- GET: http://<IP_ADDRESS>:8001/service/printers, Body(0):
-- HTTP Response -- Code: 200, Body(59):
{"testytest":{"id":"testytest","uri":"bg.dt.c.isl://COM3"}}
-- HTTP Request -- POST: http://<IP_ADDRESS>:8001/service/printers/delete, Body(18):
{"id":"testytest"}
-- HTTP Response -- Code: 200, Body(0):
-- HTTP Request -- POST: http://<IP_ADDRESS>:8001/service/printers/configure, Body(45):
{"id":"testytest","uri":"bg.dt.c.isl://COM3"}
-- HTTP Response -- Code: 200, Body(0):
-- HTTP Request -- GET: http://<IP_ADDRESS>:8001/service/detect, Body(0):
Autodetecting local printers...
Probing bg.dt.x.isl.com://COM3...
Request(5A): '1'
>>>1 30 30 32 3B 21 30 30 35 3A 31 5 30 31 3F 33 3
<<<1
<<<30 30 32 3B 21 30 30 35 3A 31 5 30 31 3F 33 3
Probing bg.dt.c.isl.com://COM3...
Request(5A): '1'
>>>1 25 21 5A 31 5 30 30 3D 36 3
<<<1
<<<25 21 5A 31 5 30 30 3D 36 3
Probing bg.dt.p.isl.com://COM3...
Request(5A): '1'
>>>1 25 21 5A 31 5 30 30 3D 36 3
<<<1
<<<25 21 5A 31 5 30 30 3D 36 3
Probing bg.ed.isl.com://COM3...
Request(5A): '1'
>>>1 25 21 5A 31 5 30 30 3D 36 3
<<<1
<<<25 21 5A 31 5 30 30 3D 36 3
Probing bg.dy.isl.com://COM3...
Request(5A): '1'
>>>1 25 21 5A 31 5 30 30 3D 36 3
<<<1
<<<25 21 5A 31 5 30 30 3D 36 3
Probing bg.in.isl.com://COM3...
Request(5A): '1'
>>>1 25 21 5A 31 5 30 30 3D 36 3
<<<1
<<<25 21 5A 31 5 30 30 3D 36 3
Probing bg.zk.zfp.com://COM3...
Request(60): ''
>>> Ping >>> 9 <<< 9 Request(21): ''
>>> Ping >>> 9 <<< 9 Probing bg.zk.v2.zfp.com://COM3...
Request(60): ''
>>> Ping >>> 9 <<< 9 Request(21): ''
>>> Ping >>> 9 <<< 9 Detecting configured printers...
Trying testytest: bg.dt.c.isl://COM3, failed
Detecting done. Found 0 available printer(s).
-- HTTP Response -- Code: 200, Body(0):
-- HTTP Request -- GET: http://<IP_ADDRESS>:8001/printers, Body(0):
-- HTTP Response -- Code: 200, Body(2):
{}
-- HTTP Request -- GET: http://<IP_ADDRESS>:8001/service/printers, Body(0):
-- HTTP Response -- Code: 200, Body(59):
{"testytest":{"id":"testytest","uri":"bg.dt.c.isl://COM3"}}

If I delete the manually added printer, it doesn't work. A month ago this printer was printing fiscal receipts.
Also, I can't shut it down. See third picture. 100% CPU and 12gigs of memory. If it weren't so big, I'd upload a snapshot for debugging and share it.

Note: I use the latest version from github,
PS C:\dev\projects\ErpNet.FP> git log -1
commit b684a1d442be6f435087f4aa673eaf923b78a1f3 (HEAD -> master, origin/master, origin/HEAD)
Author: g-vvv<EMAIL_ADDRESS>Date:   Mon Jul 8 19:44:49 2019 +0300

Did you follow the guidelines in https://github.com/erpnet/ErpNet.FP/blob/master/BGFiscalPrinterSetup.md ?

I can not reproduce the problem in Berlin with the fiscal printer I have here.  When I come to Sofia after 8-9 days, we can try it together.

When I put this to analysis:
Probing bg.dt.c.isl.com://COM3...
Request(5A): '1'

1 25 21 5A 31 5 30 30 3D 36 3
<<<1
<<<25 21 5A 31 5 30 30 3D 36 3
--
I found that you do not follow the guidelines for Datecs in: https://github.com/erpnet/ErpNet.FP/blob/master/BGFiscalPrinterSetup.md

That means that the fiscal device will not respond to 0x5A command, as it does, when it is not in the right mode. So i will close the issue again.

Problem with DP-150
debug.log

Problem with DP-150
http://localhost:8001/printers/dt829313/receipt
{"type":"info","text":"A service receipt with 90-degree rotated text printing is open"}
debug.log


vm: fix RerunOnFailure stuck in Provisioning

When a VM with RerunOnFailure as RunStrategy is created with a DataVolume the VM would get stuck in Provisioning and never start even after the DV succeeded, this patch fixes this bug.

What this PR does
Before this PR:
When a VM with RerunOnFailure as RunStrategy is created with a DataVolume the VM would get stuck in Provisioning and never start even after the DV succeeded.
After this PR:
The VM correctly starts after provisioning.

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

fix RerunOnFailure stuck in Provisioning

/cherrypick release-1.3

/cherrypick release-1.2

/kind bug


refactor: path exports

This uses path-based exports to allow users to import only a specific validator, e.g. @opengovsg/starter-kitty-validators/path. The main index.js export is still preserved for backwards compatibility.
The rationale is that this reduces interoperability issues between client and server code, e.g. the path validator can only be used in server code due to the node:path dependency, so when using the package for client code, it helps to selectively import validators from their paths.

I just realised that packages/validators/tsdoc-metadata.json is tracked in version control, will gitignore it


Create neha

Please approve my contribution

Don't Create any separate file . just contribute in Online-Courses.json


Body.addClass and Body.replaceClasses

Would be nice to be able to set Body classes with this package or another package.
Body.addClass("mobile") // Add a new class to the body tag.
Body.removeClass("mobile") // Remove class(es) from the body tag.
Body.replaceClasses("desktop") // Replace all classes with "desktop" only.
Body.replaceClasses("") // Remove all classes.
How about it?

This package is meant to manipulate the head. I don't think this request
suits here.
On 2015 සැප් 7, සඳුදා at පෙ.ව. 1.54 Tim Brandin<EMAIL_ADDRESS>wrote:

Would be nice to be able to set Body classes with this package or another
package.
Body.addClass("mobile") // Add a new class to the body tag.
Body.removeClass("mobile") // Remove class(es) from the body tag.
Body.replaceClasses("desktop") // Replace all classes with "desktop" only.
Body.replaceClasses("") // Remove all classes.
How about it?
—
Reply to this email directly or view it on GitHub
https://github.com/kadirahq/meteor-dochead/issues/5.

You're right, maybe better suited in it's own package. :)
2015-09-07 2:52 GMT+02:00 Arunoda Susiripala<EMAIL_ADDRESS>
This package is meant to manipulate the head. I don't think this request
suits here.
On 2015 සැප් 7, සඳුදා at පෙ.ව. 1.54 Tim Brandin<EMAIL_ADDRESS>wrote:

Would be nice to be able to set Body classes with this package or another
package.
Body.addClass("mobile") // Add a new class to the body tag.
Body.removeClass("mobile") // Remove class(es) from the body tag.
Body.replaceClasses("desktop") // Replace all classes with "desktop"
only.
Body.replaceClasses("") // Remove all classes.
How about it?
—
Reply to this email directly or view it on GitHub
https://github.com/kadirahq/meteor-dochead/issues/5.

—
Reply to this email directly or view it on GitHub
https://github.com/kadirahq/meteor-dochead/issues/5#issuecomment-138145731
.

--
Cheers,
// Tim Brandin @timbrandin https://twitter.com/#!/timbrandin
http://timbrandin.com
http://studiointeract.com


Cloudflare: Skipping record because no hosted zone matching record DNS Name was detected

I have the following error:
7/2/2018 10:07:27 PMtime="2018-07-02T20:07:27Z" level=debug msg="Skipping record api.brint.de because no hosted zone matching record DNS Name was detected "

My yaml looks like the following:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: external-dns
spec:
  strategy:
    type: Recreate
  template:
    metadata:
      annotations:
        sidecar.istio.io/inject: "false"
      labels:
        app: external-dns
    spec:
      containers:
      - name: external-dns
        image: registry.opensource.zalan.do/teapot/external-dns:v0.5.4
        args:
        - --log-level=debug
        - --source=service
        - --provider=cloudflare
        - --domain-filter=brint.de,api.brint.de
        - --cloudflare-proxied # (optional) enable the proxy feature of Cloudflare (DDOS protection, CDN...)
        env:
        - name: CF_API_KEY
          value: "xxxxxx"
        - name: CF_API_EMAIL
          value: "xxxxxx"

Not sure if this is the problem, but I think --domain-filter needs to be specified multiple times (instead of values separated by comma). See https://github.com/kubernetes-incubator/external-dns/blob/3652e0c90aacb11be42a1672eb61afb29178f1a8/pkg/apis/externaldns/types.go#L187

Thanks now it is working!

@MarcErdmann which domain should i pass to domain filter?
I have the same exact issue but in my case i would like to use subdomains for my deployment
for example in my cloudflare i have a domain called kube-test.com
and each deployment uses the same domain but with a different subdomain for example:
frontend.kube-test.com
backend.kube-test.com
and the annotations contains these subdomains and i cannot make external-dns work even if i have removed the domain filter. already tried to make its value like:  kube-test.com then i tried kube-test.com.  what should i do ?


shady-render throws when styling before first render

Given the following line:
https://github.com/Polymer/lit-html/blob/ee68026d484a18ecbe2c5bbef2a897735b6f8ed0/src/lib/shady-render.ts#L172
It is possible this is hit before the shadow root has been populated with the first render.
So this leads to ShadyCSS throwing an exception when it assumes there's a style tag:
https://github.com/webcomponents/shadycss/blob/8d13e81209eb553e4cb966ed7cb8c7fcd79725ce/src/scoping-shim.js#L288
Is this shadycss' problem or ours?

hmm... Since this call is in render(), in what case is this called before the container's been populated?
Either way, that ShadyCSS line looks fragile, though I don't know that codebase very well. cc @azakus

@justinfagnani In my case it seems to be if I set a default value in my constructor. That triggers an update which calls render and ends up here.

@43081j Any more info about this issue? We're trying to iron out the kinks with shady-render and have added a bunch of info on a related issue that may be helpful: https://github.com/Polymer/lit-html/issues/655#issuecomment-442648651

Closing due to inactivity. Please feel free to reopen with more info if the problem persists.


[Possible python3 bug] Always an extra "None" author added to every post

When creating a new post on python 3.5.2 with a single author, there always appears another author of None appended to the list when pulling content.get_authors() from templates, this causes the multiple authors code in the pure theme to subsequently crash when it can't pull the display name of None.
Line 45, quokka/themes/pure/templates/_menu.html
{%for author in content.get_authors()|sort(attribute="display_name")%}

jinja2.exceptions.UndefinedError: 'None' has no attribute 'display_name'

When debugging at this breakpoint:
>>> content.get_authors()
set([<User: John Doe <user1>>, None])

Another interesting behavior is that selecting no author will not cause a "None" entry, and that trying to remove authors from the list and hitting save does nothing, while adding new authors does work.

@Roukoswarf thanks for reporting, I think we should force get_authors() to return an empty list and clean Nones.

That would be good as it would allow authors to appear in order of mention in the article config, instead of being reshuffled alphabetically without user choice every time.
Though, finding where the extra none comes from would be needed, as there is some issues with removing authors not working that are likely a symptom of the same problem.

@Roukoswarf the bug of None, and the order problem was fixed by @ramiroluz :)


new(build): bump libs, reintroduce static build

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

What this PR does / why we need it:
This PR now does a few things:

Bump libs to latest master, fixing relevant issues
Fix the wasm build
Reintroduce the musl static build, it'll be back in Falco 0.40.0
Restructure test pipelines allowing asan logs to appear in the test results and removing some useless jobs

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

new(build): reintroduce static build

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra]

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

/milestone 0.40.0

This PR supersedes https://github.com/falcosecurity/falco/pull/3425, https://github.com/falcosecurity/falco/pull/3430, https://github.com/falcosecurity/falco/pull/3431

LGTM label has been added.  Git tree hash: b6e4021118983d9f6f36fc391654debc19628f52

/hold
Will give it a look later today :)

New changes are detected. LGTM label has been removed.

LGTM label has been added.  Git tree hash: f768fa37bea0285d6941e08aeee8614d43717c77

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,LucaGuerra]

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

/unhold


Flutter web DatePicker error previous/next button with semantics

Steps to reproduce

add SemanticsBinding.instance.ensureSemantics();
with showDatePicker open the date picker dialog
click sometimes on previous button to switch month
move between previous and next month button and click on next month

Expected results
I expect the button with the focus to be clicked
Actual results
several times also if focus is on next button, the click started from the previous button , if I delete   SemanticsBinding.instance.ensureSemantics();
everything works
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:flutter/semantics.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  SemanticsBinding.instance.ensureSemantics();
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // TRY THIS: Try running your application with "flutter run". You'll see
        // the application has a purple toolbar. Then, without quitting the app,
        // try changing the seedColor in the colorScheme below to Colors.green
        // and then invoke "hot reload" (save your changes or press the "hot
        // reload" button in a Flutter-supported IDE, or press "r" if you used
        // the command line to start the app).
        //
        // Notice that the counter didn't reset back to zero; the application
        // state is not lost during the reload. To reset the state, use hot
        // restart instead.
        //
        // This works for code too, not just values: Most code changes can be
        // tested with just a hot reload.
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: false,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    showDatePicker(
        initialEntryMode: DatePickerEntryMode.calendarOnly,
        context: context,
        barrierDismissible: false,
        firstDate: DateTime(1990),
        lastDate: DateTime.now(),
        initialDate: DateTime.now());
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // TRY THIS: Try changing the color here to a specific color (to
        // Colors.amber, perhaps?) and trigger a hot reload to see the AppBar
        // change color while the other colors stay the same.
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          //
          // TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint"
          // action in the IDE, or press "p" in the console), to see the
          // wireframe for each widget.
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/user-attachments/assets/166a8d6b-a5b2-4f7c-b88c-facfdd310ed1

Logs
Logs
meta name="apple-mobile-web-app-capable" content="yes"> is deprecated. Please include <meta name="mobile-web-app-capable" content="yes">
flutter_bootstrap.js:3 Installing/Activating first service worker.
flutter_bootstrap.js:3 Activated new service worker.
flutter_bootstrap.js:1 Injecting <script> tag. Using callback.
 This app is linked to the debug service: ws://<IP_ADDRESS>:57965/xLfannPZoMM=/ws
5[Violation] 'requestAnimationFrame' handler took <N>ms
js_allow_interop_patch.dart:81 [Violation] 'requestAnimationFrame' handler took 50ms
js_allow_interop_patch.dart:81 [Violation] 'requestAnimationFrame' handler took 51ms
js_allow_interop_patch.dart:81 [Violation] 'requestAnimationFrame' handler took 55ms
js_allow_interop_patch.dart:81 [Violation] 'requestAnimationFrame' handler took 54ms
js_allow_interop_patch.dart:81 [Violation] 'requestAnimationFrame' handler took 51ms

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.4, on macOS 15.1 24B83 darwin-arm64, locale it-IT)
    • Flutter version 3.24.4 on channel stable at /Users/kris/Desktop/Projects/Flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 603104015d (3 weeks ago), 2024-10-24 08:01:25 -0700
    • Engine revision db49896cf2
    • Dart version 3.5.4
    • DevTools version 2.37.3

Hi @k-bello, it seems like this might have been fixed on the master channel (or the rate of reproduction has reduced). Can you check on the master channel to see if you still experience this issue?
https://github.com/user-attachments/assets/939bdae2-c7eb-46f4-91c7-b3de5f3007ec

I've just tryed and I confirm that in master it works
When it will release in the stable channel ?
Flutter (Channel master, 3.27.0-1.0.pre.492, on macOS 15.1 24B83 darwin-arm64, locale it-IT)
• Flutter version 3.27.0-1.0.pre.492 on channel master at /Users/kris/Desktop/Projects/Flutter/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision c1ee381b18 (9 minutes ago), 2024-11-14 16:14:17 +0800
• Engine revision 619804c0fb
• Dart version 3.7.0 (build 3.7.0-140.0.dev)
• DevTools version 2.41.0-dev.2
https://github.com/user-attachments/assets/5c9ab833-2dd5-4b9e-8055-e35f0dc1c079

Hi @k-bello, I just checked the latest beta (3.27.0-0.2.pre) and the fix is in there, so this should be available whenever the next stable version is released.
Per our triage policy, I'll be closing this since it has already been fixed on the newer channels.
Thank you


Bug: Cannot update Emulator

I don't know what exactly I am doing wrong, but whatever I do, the app does not update the emulators data. Deleting, creating or changing any data does nothing (can't see the changes in google chrome "localhost:4000/firestore"
Version: Windows 10

Hi @Berki2021 , I think you missed config the emulatar


Widen milestone columns

The milestone width is increased and task list paddings are decreased.

Good points. Removed the taskName-class definition and widened search field's padding according to .shadow-input's spread-radius.

The same row component is now used to measure name div, so the div width is consistent with the list.

Fix the bug where the toggling of ExpandableColumn would break measuring logic.

Added ugly brackets to if-oneliner as wished - merging.


OCI container registry login variable expansion bug

Describe the bug
The following line has issues when usernames contain the $ symbol as e.g. used by the registry harbor.
https://github.com/NixOS/nixpkgs/blob/3c7a68613bc524f028fa1f5396194eb5fdcbf4ac/nixos/modules/virtualisation/oci-containers.nix#L251
When accounts for any form of automations in harbor are created, the systems prepends "robot$" by default, leading to usernames like "robot$myapplication".
If the variable "myapplication" is unset, this results in actually trying to login as "robot".
Steps To Reproduce
Steps to reproduce the behavior:

Setup harbor or another registry that uses $ in their usernames.
Example configuration.nix settings:

virtualisation.oci-containers.containers.jellyfin = {
image = "reg.example.com/dockerhub/jellyfin/jellyfin:latest";
login = {
    registry = "reg.example.com";
    username = "robot$dockermirror";
    passwordFile = "/etc/password.reg.example.com";
};
}

Expected behavior
podman trying to login as "robot$dockermirror".
Additional context
A possible workaround is to escape the username in configuration.nix:
username = "robot\\$dockermirror";

Notify maintainers
@Gerschtli @NickCao @zowoq
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.25, NixOS, 22.11 (Raccoon), 22.11.4426.c8a17ce7abc`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - channels(root): `"nixos-22.11-small"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos````

It is probably best to call escapeShellArg on the username, then every value would just work.


script to validate and create PR for operator push

Lets merge this code so we can proceed with group renaming story, will address passing VERSION change in next PR.
/lgtm
/approve


Fix path parameter's docs for linking feature

small update to the README.md

Also, should this warning say "source" instead of "target". I'm assuming the terminology is such that target -> source (and destination -> source), consistent with ln's man page.

I agree that our wording is currently confusing. Your changes to the README.md look good in terms of making the wording within the README itself consistent.
As you point out, link.py's error messages are also a bit confusing in terms of the source/target wording: the error messages use "target" to refer to "what the symbolic link points to", in the sense of being a "link target". But yeah, ln uses "source" to refer to that concept.
Shall we change the wording in the error messages at the same time? (if you grep for "target" in link.py, you'll find the 3 uses of that word)

@anishathalye Done. I've always found ln's terminology counterintuitive but makes sense to be consistent.


get_conditoin always returns false

Summary
get_Condition always returns false. This means that you can never tell when  trigger is being used as a condition.
Expected Behavior
I would expect HSPI to not override get_Condition as this should be set by Homeser and not by the plugin (it's a property: See here: https://homeseer.com/support/homeseer/HS3/SDK/condition.htm
get_Conditon() should return true or false depending on how the trigger is currently being used.
Current Behavior
Currently, get_Condition always returns false.
Possible Solution
Remove get_Condition from HSPIBase and HSPIBase2. I'm not sure how this will work with inheritance, but we need to let HomeSeer determine it.
Steps to Reproduce (for bugs)
Create a trigger, in TriggerBuildUI you can use Console.WriteLine() to out put get_Condition(triggerInfo)
You will see that no matter how you use it (as a condition or a trigger), it will always output false, which is incorrect.
Screenshots (if appropriate)
Context
This prevents me from creating a condition that is not used as a trigger. I have to have this to determine how the trigger is being used in it's current context. If it's not a trigger, I need to not return anything. If it is a trigger, I need to show my options (in TriggerBuildUI).
Your Environment

HomeSeer version: <IP_ADDRESS>8
HomeSeer operating system: Windows 10
HSPI version: 1.0.42
Template version: 1.0.0
Developer environment: VS2015 community

Checklist

[* ] I have read the CODE OF CONDUCT document.
[* ] I have searched

@sirmeili, HS will call set_condition when a trigger is being used as a condition, not get_condition. If you want get_condition to return the value provided by HS, you'll need to override both set_condition and get_condition in your plugin to set and get a field level value.
Think of the get_* and set_* methods as C# property getters and setters. Except, because HS is written in VB.NET, the conversion to C# gets messy.  One of the main goals of HSPI to hide all of that VB.NET craziness, but I haven't had time to implement that code. It's on the radar.
I don't know enough about HS plugins to know if UID is the correct key to use, but here's one way you might implement the get_ and set_...
        private readonly Dictionary<int, bool> _conditions = new Dictionary<int, bool>();

        public override bool get_Condition(IPlugInAPI.strTrigActInfo actionInfo)
        {
            return _conditions[actionInfo.UID];
        }

        public override void set_Condition(IPlugInAPI.strTrigActInfo actionInfo, bool value)
        {
            _conditions[actionInfo.UID] = value;
        }

Please let me know if that works, as that will help me know how best to implement those properties (think HspiBase3 maybe?). HspiBase3 would simply have a Condition property that does the get_/set_ dirty work for you.
I found a bunch of set_condition implementations on github (https://github.com/search?p=1&q=ipluginapi+set_Condition&type=Code&utf8=✓) but only one of them actually did anything besides ignore the value... https://github.com/geoffreypietz/SIID_Plugin/blob/625bcb359eb2e0768341734a041e31c18e284101/HSPI_SAMPLE_CS/hspi.cs#L1135
Very interested to know your thoughts.

Upon closer inspection, most of the original VB.NET examples from HS don't do anything with the Condition property. Only the HSPI_SAMPLE does anything with the Condition property, and it looks almost exactly like the code from that last link I pasted.
Look at HSPI.vb here..  (from https://forums.homeseer.com/showthread.php?t=160064)
All of that nastiness needs to be abstracted away so developers don't have to worry about it.

I guess that was my assumption (that it was abstracted from the developers).
I think I get what you're saying. So much of stuff I'm doing I have to ask myself "Why wasn't this done in the base plugin by Homeseer? Why do I have to do it?!"
I will look into it further. I didn't see the set_Condition and noticed that in their docs it says "Homeseer sets..." which made me thing it was taken care of for me, but I guess not :(

I am going to close this. You were right. I got it working by overriding the method and keeping track of which trigger was in condition mode or not.
I kind of understand why they did it this way (to give more freedom maybe?), but it sure is a hassle.

@sirmeili Just FYI, I'm working on adding a new base class that finally achieves the main programming goals for this project. As it stands, I think it's going to be massively easier to create HS plugins. You'll get the full power of an old skool HS plugin, but it will require much less code. And the code that it does require will be much easier to understand. Ultimate plan is to strip away everything that makes HS development confusing.

I am doing similar with one of my plugins. I'm creating a DLL that all my plugins will share that take the bulk of PITA stuff that HS requires and generalizes it so I only need to add what I need to add for a plugin to work. If you want we can discuss it, but since I"m just now getting into c# programming, I'm not sure my ideas are sound.  I have 15 years of Application development, but it is mainly web application development (mainly ColdFusion), so I'm still dealing with figuring out the differences.

Ain't nothing easy about the HS's plugin API. I'm basically taking my best guess, and I'll fix where it doesn't work.
You can get a sense as to where I'm going with this by looking at:

https://github.com/alexdresko/HSPI/tree/HspiBase3_stab/HSPI/HspiPlugin3 (most of HspiBase3)
https://github.com/alexdresko/HSPI/tree/HspiBase3_stab/Templates/HSPIPluginC.Dev (initial implementation of HspiBase3)

There's some good code in there, but, realistically, it's probably only about 50% complete. I don't plan on changing how the HTML is generated yet. Really just working on the main plugin architecture. HspiBase3 already takes away a lot of the guesswork, but I don't yet fully understand the relationship between actions and triggers, sub actions, sub triggers... and it seems like maybe actions and triggers are the same thing? I dunno. Going to start small and debug my way through a couple experiments until it makes sense.

I was looking it over quickly and I have 1 small suggestion. Don't depend on the action or trigger UID property (from strTrigActInfo). When you copy an event, all the UIDs are copied for each trigger and action. I started taking a blend of the evRef and UID to build a unique value (all UIDs in any given event are unique).
But so far I like what you've done :)

Keen eye there. I definitely do not know what to do in ActionFromTriggerActionInfo and TriggerFromTriggerActionInfo.  That's one of those things I was just going to experiment with until it made sense. Your comment is super helpful though.
I'm so n00b, I don't even understand how/when/why triggers/actions are created. The VB sample provided by HS is certifiably useless and I can't find any documentation that explains those concepts at a high level.

Just pushed another round of changes to that branch. Most of today's code surrounds event registration and consumption. It's not done, but I think it's going to be pretty nice compared to what developers have to do otherwise.

So yeah, I'll have to share with you how I'm doing it. I've basically set up a base trigger object and each "Trigger" ends up being it's own object with it's own set of methods for handling display. In the main plugin file you then just have to to use the TANumber to pull the right trigger from the List. The list is populated in InitIO. Also, each trigger itself defines it's sub triggers so that you aren't handling that in the main plugin. The main code (Which would lie in what is basically your HSPIBase2) handles all that for you. I no longer have to worry about keepign track of TANumber or subTANumbers either. I just write the trigger object for the trigger, add it in InitIO and I'm off.
I also plan to do the same thing for Actions.
For Events, I also just completed the consumption and registration. I currently allow each trigger to consume it, but at the same time, you will be able to also handle them outside of the HSEvent method as long as you remember to call the base method as well.
I'll have to find a way to share some of my code with you so you can tell me what you think.

Good stuff, man. Thanks for the tips! I'm writing code by the seat of my pants right now and I won't really know if it works until I create an instance of this thing and fire it up in the debugger. With your help, I'll at least know what to prepare for.
If you're not using a source control system, consider github or https://www.visualstudio.com/team-services/. The latter allows you to create private git repos which you could share with me if you don't want your code public.
You could also email it to<EMAIL_ADDRESS>Or upload it to this issue as an attachment. Or create a gist (https://gist.github.com/). Or....

I use visualstudio.com for my git (I work off a couple different laptops at my house). I'm also flying by the seat of my pants, but I'm doing most of this while writing a plugin so I instantly see what does and doesn't work :) I've flip flopped on a bunch of stuff, but I think I've settled on something that at least seems to work for me so far. I'll get some sample code together. I'm on a deployment for work tonight, so it won't be today...LOL


Make it easier to run dart compiled to wasm in node.js

I'm trying to run dart compiled to wasm in node.js:
Dart version: Dart SDK version: 3.4.0 (stable) (Mon May 6 07:59:58 2024 -0700) on "macos_arm64"
Node version: v22.2.0
Dart code (dart_wasm_node.dart):
import 'dart:async';

@pragma('wasm:import', 'host.sayHi')
external void sayHi(String message);

void main() async {
  var iterations = 0;
  Timer.periodic(Duration(seconds: 1), (timer) async {
    sayHi('$iterations');

    if (iterations == 5) {
      timer.cancel();
    }

    iterations++;
  });
}

Compilation:
dart compile wasm lib/dart_wasm_node.dart

Node.js code (run.mjs)
import fs from "node:fs/promises";
import { instantiate, invoke } from "./lib/dart_wasm_node.mjs";

const imports = {
  host: {
    sayHi: (message) => console.log(message),
  },
};

const wasmBufferPromise = fs.readFile("./lib/dart_wasm_node.wasm");
const instantiated = await instantiate(wasmBufferPromise, imports);

invoke(instantiated.instance);

dart_wasm_node.mjs

let buildArgsList;

// `modulePromise` is a promise to the `WebAssembly.module` object to be
//   instantiated.
// `importObjectPromise` is a promise to an object that contains any additional
//   imports needed by the module that aren't provided by the standard runtime.
//   The fields on this object will be merged into the importObject with which
//   the module will be instantiated.
// This function returns a promise to the instantiated module.
export const instantiate = async (modulePromise, importObjectPromise) => {
    let dartInstance;

    function stringFromDartString(string) {
        const totalLength = dartInstance.exports.$stringLength(string);
        let result = '';
        let index = 0;
        while (index < totalLength) {
          let chunkLength = Math.min(totalLength - index, 0xFFFF);
          const array = new Array(chunkLength);
          for (let i = 0; i < chunkLength; i++) {
              array[i] = dartInstance.exports.$stringRead(string, index++);
          }
          result += String.fromCharCode(...array);
        }
        return result;
    }

    function stringToDartString(string) {
        const length = string.length;
        let range = 0;
        for (let i = 0; i < length; i++) {
            range |= string.codePointAt(i);
        }
        if (range < 256) {
            const dartString = dartInstance.exports.$stringAllocate1(length);
            for (let i = 0; i < length; i++) {
                dartInstance.exports.$stringWrite1(dartString, i, string.codePointAt(i));
            }
            return dartString;
        } else {
            const dartString = dartInstance.exports.$stringAllocate2(length);
            for (let i = 0; i < length; i++) {
                dartInstance.exports.$stringWrite2(dartString, i, string.charCodeAt(i));
            }
            return dartString;
        }
    }

    // Prints to the console
    function printToConsole(value) {
      if (typeof dartPrint == "function") {
        dartPrint(value);
        return;
      }
      if (typeof console == "object" && typeof console.log != "undefined") {
        console.log(value);
        return;
      }
      if (typeof print == "function") {
        print(value);
        return;
      }

      throw "Unable to print message: " + js;
    }

    // Converts a Dart List to a JS array. Any Dart objects will be converted, but
    // this will be cheap for JSValues.
    function arrayFromDartList(constructor, list) {
        const length = dartInstance.exports.$listLength(list);
        const array = new constructor(length);
        for (let i = 0; i < length; i++) {
            array[i] = dartInstance.exports.$listRead(list, i);
        }
        return array;
    }

    buildArgsList = function(list) {
        const dartList = dartInstance.exports.$makeStringList();
        for (let i = 0; i < list.length; i++) {
            dartInstance.exports.$listAdd(dartList, stringToDartString(list[i]));
        }
        return dartList;
    }

    // A special symbol attached to functions that wrap Dart functions.
    const jsWrappedDartFunctionSymbol = Symbol("JSWrappedDartFunction");

    function finalizeWrapper(dartFunction, wrapped) {
        wrapped.dartFunction = dartFunction;
        wrapped[jsWrappedDartFunctionSymbol] = true;
        return wrapped;
    }

    // Imports
    const dart2wasm = {

_48: v => stringToDartString(v.toString()),
_63: () => {
          let stackString = new Error().stack.toString();
          let frames = stackString.split('\n');
          let drop = 2;
          if (frames[0] === 'Error') {
              drop += 1;
          }
          return frames.slice(drop).join('\n');
        },
_72: s => stringToDartString(JSON.stringify(stringFromDartString(s))),
_73: s => printToConsole(stringFromDartString(s)),
_89: (ms, c) =>
          setInterval(() => dartInstance.exports.$invokeCallback(c), ms),
_90: (handle) => clearInterval(handle),
_91: (c) =>
              queueMicrotask(() => dartInstance.exports.$invokeCallback(c)),
_92: () => Date.now(),
_93: (a, i) => a.push(i),
_104: a => a.length,
_106: (a, i) => a[i],
_107: (a, i, v) => a[i] = v,
_109: a => a.join(''),
_119: (s, p, i) => s.indexOf(p, i),
_122: (o, start, length) => new Uint8Array(o.buffer, o.byteOffset + start, length),
_123: (o, start, length) => new Int8Array(o.buffer, o.byteOffset + start, length),
_124: (o, start, length) => new Uint8ClampedArray(o.buffer, o.byteOffset + start, length),
_125: (o, start, length) => new Uint16Array(o.buffer, o.byteOffset + start, length),
_126: (o, start, length) => new Int16Array(o.buffer, o.byteOffset + start, length),
_127: (o, start, length) => new Uint32Array(o.buffer, o.byteOffset + start, length),
_128: (o, start, length) => new Int32Array(o.buffer, o.byteOffset + start, length),
_131: (o, start, length) => new Float32Array(o.buffer, o.byteOffset + start, length),
_132: (o, start, length) => new Float64Array(o.buffer, o.byteOffset + start, length),
_136: (o) => new DataView(o.buffer, o.byteOffset, o.byteLength),
_140: Function.prototype.call.bind(Object.getOwnPropertyDescriptor(DataView.prototype, 'byteLength').get),
_141: (b, o) => new DataView(b, o),
_143: Function.prototype.call.bind(DataView.prototype.getUint8),
_145: Function.prototype.call.bind(DataView.prototype.getInt8),
_147: Function.prototype.call.bind(DataView.prototype.getUint16),
_149: Function.prototype.call.bind(DataView.prototype.getInt16),
_151: Function.prototype.call.bind(DataView.prototype.getUint32),
_153: Function.prototype.call.bind(DataView.prototype.getInt32),
_159: Function.prototype.call.bind(DataView.prototype.getFloat32),
_161: Function.prototype.call.bind(DataView.prototype.getFloat64),
_182: o => o === undefined,
_183: o => typeof o === 'boolean',
_184: o => typeof o === 'number',
_186: o => typeof o === 'string',
_189: o => o instanceof Int8Array,
_190: o => o instanceof Uint8Array,
_191: o => o instanceof Uint8ClampedArray,
_192: o => o instanceof Int16Array,
_193: o => o instanceof Uint16Array,
_194: o => o instanceof Int32Array,
_195: o => o instanceof Uint32Array,
_196: o => o instanceof Float32Array,
_197: o => o instanceof Float64Array,
_198: o => o instanceof ArrayBuffer,
_199: o => o instanceof DataView,
_200: o => o instanceof Array,
_201: o => typeof o === 'function' && o[jsWrappedDartFunctionSymbol] === true,
_205: (l, r) => l === r,
_206: o => o,
_207: o => o,
_208: o => o,
_209: b => !!b,
_210: o => o.length,
_213: (o, i) => o[i],
_214: f => f.dartFunction,
_215: l => arrayFromDartList(Int8Array, l),
_216: l => arrayFromDartList(Uint8Array, l),
_217: l => arrayFromDartList(Uint8ClampedArray, l),
_218: l => arrayFromDartList(Int16Array, l),
_219: l => arrayFromDartList(Uint16Array, l),
_220: l => arrayFromDartList(Int32Array, l),
_221: l => arrayFromDartList(Uint32Array, l),
_222: l => arrayFromDartList(Float32Array, l),
_223: l => arrayFromDartList(Float64Array, l),
_224: (data, length) => {
          const view = new DataView(new ArrayBuffer(length));
          for (let i = 0; i < length; i++) {
              view.setUint8(i, dartInstance.exports.$byteDataGetUint8(data, i));
          }
          return view;
        },
_225: l => arrayFromDartList(Array, l),
_226: stringFromDartString,
_227: stringToDartString,
_230: l => new Array(l),
_234: (o, p) => o[p],
_238: o => String(o)
    };

    const baseImports = {
        dart2wasm: dart2wasm,

        Math: Math,
        Date: Date,
        Object: Object,
        Array: Array,
        Reflect: Reflect,
    };

    const jsStringPolyfill = {
        "charCodeAt": (s, i) => s.charCodeAt(i),
        "compare": (s1, s2) => {
            if (s1 < s2) return -1;
            if (s1 > s2) return 1;
            return 0;
        },
        "concat": (s1, s2) => s1 + s2,
        "equals": (s1, s2) => s1 === s2,
        "fromCharCode": (i) => String.fromCharCode(i),
        "length": (s) => s.length,
        "substring": (s, a, b) => s.substring(a, b),
    };

    dartInstance = await WebAssembly.instantiate(await modulePromise, {
        ...baseImports,
        ...(await importObjectPromise),
        "wasm:js-string": jsStringPolyfill,
    });

    return dartInstance;
}

// Call the main function for the instantiated module
// `moduleInstance` is the instantiated dart2wasm module
// `args` are any arguments that should be passed into the main function.
export const invoke = (moduleInstance, ...args) => {
    const dartMain = moduleInstance.exports.$getMain();
    const dartArgs = buildArgsList(args);
    moduleInstance.exports.$invokeMain(dartMain, dartArgs);
}

node run.mjs
file:///Users/lesnitsky/w/lesnitsky/wasm_experiment/lib/dart_wasm_node.mjs:79
        const dartList = dartInstance.exports.$makeStringList();
                                              ^

TypeError: Cannot read properties of undefined (reading '$makeStringList')
    at buildArgsList (file:///Users/lesnitsky/w/lesnitsky/wasm_experiment/lib/dart_wasm_node.mjs:79:47)
    at invoke (file:///Users/lesnitsky/w/lesnitsky/wasm_experiment/lib/dart_wasm_node.mjs:230:22)
    at file:///Users/lesnitsky/w/lesnitsky/wasm_experiment/run.mjs:13:1

Node.js v22.2.0

Lines 216-220 of generated dart_wasm_node.mjs
dartInstance = await WebAssembly.instantiate(await modulePromise, {
        ...baseImports,
        ...(await importObjectPromise),
        "wasm:js-string": jsStringPolyfill,
    });

As per MDN docs for WebAssembly.instantiate:
Return value
A Promise that resolves to a ResultObject which contains two fields:

module: A WebAssembly.Module object representing the compiled WebAssembly module. This Module can be instantiated again, shared via postMessage(), or cached.
instance: A WebAssembly.Instance object that contains all the Exported WebAssembly functions.

Question
Is this a bug? Why ResultObject is assigned to dartInstance, not resultObject.instance?
Fix (?)
    const r = await WebAssembly.instantiate(await modulePromise, {
        ...baseImports,
        ...(await importObjectPromise),
        "wasm:js-string": jsStringPolyfill,
    });

    dartInstance = r.instance;

    return r;

Running again:
node run.mjs
[Object: null prototype] {}
[Object: null prototype] {}
[Object: null prototype] {}
[Object: null prototype] {}
[Object: null prototype] {}
[Object: null prototype] {}

Yay! Dart wasm is executed, but returned value is not a string.
Question?
Did I do something wrong here?
@pragma('wasm:import', 'host.sayHi')
external void sayHi(String message);

Fix (?)
I'm able to get an actual string if I manually copy stringFromDartString from dart_wasm_node.js
This is the final run.mjs:
import fs from "node:fs/promises";
import { instantiate, invoke } from "./lib/dart_wasm_node.mjs";

let dartInstance;

function stringFromDartString(string) {
  const totalLength = dartInstance.exports.$stringLength(string);
  let result = "";
  let index = 0;
  while (index < totalLength) {
    let chunkLength = Math.min(totalLength - index, 0xffff);
    const array = new Array(chunkLength);
    for (let i = 0; i < chunkLength; i++) {
      array[i] = dartInstance.exports.$stringRead(string, index++);
    }
    result += String.fromCharCode(...array);
  }
  return result;
}

const imports = {
  host: {
    sayHi: (message) => console.log(stringFromDartString(message)),
  },
};

const wasmBufferPromise = fs.readFile("./lib/dart_wasm_node.wasm");
const instantiated = await instantiate(wasmBufferPromise, imports);

dartInstance = instantiated.instance;

invoke(instantiated.instance);

cc @mkustermann @osa1

Is this a bug? Why ResultObject is assigned to dartInstance, not resultObject.instance?

This is the same issue described in https://github.com/dart-lang/sdk/pull/55412. WebAssembly.instantiate confusingly returns different types of values depending on the types of the arguments. In the generated .mjs we're expecting the module to be compiled with the "secondary overload": https://developer.mozilla.org/en-US/docs/WebAssembly/JavaScript_interface/instantiate_static#secondary_overload_—_taking_a_module_object_instance
I.e. you need to pass a WebAssembly.Module (instead of the binary for a Wasm module) to the instantiate function exported by the .mjs file.

Did I do something wrong here?

Pragmas starting with wasm: are for internal use only so shouldn't be used. We will hide them from users soon (#55733).
You should use js_interop: https://dart.dev/interop/js-interop/usage
With js_interop you should be able to just pass a JS string and it should work.
Closing as there isn't a bug here. (we have a tracking issue for hiding the wasm pragmas)

I missed the part that this is about supporting node.js. I think that's up to the product team to decide. Reopened the issue.

I.e. you need to pass a WebAssembly.Module (instead of the binary for a Wasm module) to the instantiate function exported by the .mjs file.

Thanks, didn't know that, passing compiled module indeed works

You should use js_interop: https://dart.dev/interop/js-interop/usage

This also worked, so with my run.mjs updated to
import fs from "node:fs/promises";
import { instantiate, invoke } from "./lib/dart_wasm_node.mjs";

global.sayHi = (msg) => {
  console.log(msg);
};

const wasmBufferPromise = await fs.readFile("./lib/dart_wasm_node.wasm");
const wasmModule = await WebAssembly.compile(wasmBufferPromise);
const instance = await instantiate(wasmModule);

invoke(instance);

and dart_wasm_node.dart to:
import 'dart:async';
import 'dart:js_interop';

@JS()
external void sayHi(String message);

void main() async {
  var iterations = 0;
  Timer.periodic(Duration(seconds: 1), (timer) async {
    sayHi('$iterations');

    if (iterations == 5) {
      timer.cancel();
    }

    iterations++;
  });
}

everything works as expected 🎉

I missed the part that this is about supporting node.js. I think that's up to the product team to decide.

Not sure if anything else is required, so I'll leave it up to you to decide whether this issue should be kept open.

Pragmas starting with wasm: are for internal use only so shouldn't be used. We will hide them from users soon (https://github.com/dart-lang/sdk/issues/55733).

What would be an alternative for wasm:export in js_interop land? Can't find anything in docs that would help me call something in dart from node.

@lesnitsky The instance.exports are exports of wasm functions - but we don't support that "officially" yet (we'll hide it soon and expose a proper mechanism with sufficient checks later on). Using JS interop you can convert dart functions to JS wrapper functions which can be called from JS. One way is to make the Dart code convert dart functions to JSFunction and making them available to JS via setting properties (e.g. on globalThis).
See e.g. the example here https://github.com/dart-lang/sdk/issues/55715#issuecomment-2110629525

@mkustermann Thanks! https://github.com/dart-lang/sdk/issues/55715#issuecomment-2110629525 helped.
import fs from "node:fs/promises";
import { instantiate, invoke } from "./lib/dart_wasm_node.mjs";

const wasmBuffer = await fs.readFile("./lib/dart_wasm_node.wasm");
const wasmModule = await WebAssembly.compile(wasmBuffer);
const instance = await instantiate(wasmModule);

invoke(instance);

global.onDartMessage = (msg) => {
  console.log(msg);
  onJSMessage("hello from js");
};

import 'dart:async';
import 'dart:js_interop';

@JS()
external void onDartMessage(String message);

@JS()
external set onJSMessage(JSFunction handler);

void handler(String message) {
  print(message);
}

void main() async {
  onJSMessage = handler.toJS;

  var iterations = 0;

  Timer.periodic(Duration(seconds: 1), (timer) async {
    onDartMessage('hello from dart');

    if (iterations == 5) timer.cancel();
    iterations++;
  });
}


[Meshmodel] Add support for x-kubernetes-preserve-unknown-fields

This PR fixes #

Dynamic Registration

Signed commits

[x] Yes, I signed my commits.

Notes for Reviewers
Dependent PR: https://github.com/meshery/meshkit/pull/324

Failing build checks to fix. Else, LGTM.

Failing build checks to fix. Else, LGTM.

That is because, it requires a meshkit release.


⚠ Bofrost.at has degraded performance

In c2d3893, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2728 ms

Resolved: Bofrost.at performance has improved in caf0cbc after 26 minutes.


Need to add link to new tutorial from Comprehensive Genome Analysis Service

The tutorial is here:
https://docs.patricbrc.org//tutorial/submitting-the-comprehensive-genome-analysis-job/submitting-the-comprehensive-genome-job.html
Here is the link to the service:
https://patricbrc.org/app/ComprehensiveGenomeAnalysis

ok, this is done. since i pushed my change to my dev branch, it's included in PR 791.

just checked the production site, the tutorial link is broken, this is because the link was changed to https://docs.patricbrc.org/tutorial/comprehensive-genome-analysis/comprehensive-genome-analysis.html?
@hyoo can you change it quickly? or you want me to fix it and submit a PR?

Sorry Dawen, I should have notified you.  I'm trying to standardize the
tutorial filenames.  I'll let you know before I change any other ones.
That is the only one I changed.
Ron
On Mon, Aug 6, 2018 at 9:41 AM Dawen Xie<EMAIL_ADDRESS>wrote:

just checked the production site, the tutorial link is broken, this is
because the link was changed to
https://docs.patricbrc.org/tutorial/comprehensive-genome-analysis/comprehensive-genome-analysis.html
?
@hyoo https://github.com/hyoo can you change it quickly? or you want me
to fix it and submit a PR?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PATRIC3/patric3_website/issues/2062#issuecomment-410711800,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADCnWv_2F7tWFk29l5bSIjycb9jl0P0xks5uOEeOgaJpZM4Vo-ME
.

--
Note: My email has changed to<EMAIL_ADDRESS>Ron Kenyon, Project Director
Biocomplexity Institute of Virginia Tech
PATRIC Project Manager www.patricbrc.org
<EMAIL_ADDRESS>


Add GitHub Action for cargo-build check

Running cargo build on Linux, MacOS, and Windows should help catch build issues at least.

Thanks!


Update TW strings.xml

add G-sync+Improve some translations

Please also make a PR on SY too, or else somewhere in the future they might update their text and accidentally overwrite this.


Please add me as collaborator to the exercise repositories

(note to co-organizers: please do not close this one yet since I use this as example for how course participants can request access)

you've been added @lunsara !

Invite sent to lunsara


Ini without '=' : is that possible?

Thanks for the code. I have a rather a question than an issue - my files (generated by somebody else) are without equal signs:
[COMMON]
OPEN USB 0 0
GNUPLOT_PATH ""

[0]
ENABLE_INPUT           YES
DC_OFFSET              0
TF_DECAY_TAU 50.0
TRG_THRESHOLD 101

Comments begin with #.   Can I use simpleini for this ? My basic attempt didnt work.
Thank you.
Jaro

There is a pull request that looks like it might do what you want. Give it a go and let me know if it works for you. I am still considering adding it to the project.


adds support for own RegEx Patterns through pattern attribute to be h…

…tml5 conform. F5 had this feature also
http://www.w3schools.com/tags/att_input_pattern.asp
#7590

I dig it.

:+1:

there is a little bug in my PR now it validates normal type="text" and non required with the regex /text/ or /submit/ or /reset/
have to think about this..........


/sbin/ip addr flush dev eth1 2> /dev/null

While launching ubuntu 15.10 both from Atlas and both from local build:
vagrant up minimal
Bringing machine 'minimal' up with 'virtualbox' provider...
==> minimal: Box 'boxcutter/ubuntu1510' could not be found. Attempting to find and install...
    minimal: Box Provider: virtualbox
    minimal: Box Version: >= 0
==> minimal: Loading metadata for box 'boxcutter/ubuntu1510'
    minimal: URL: https://atlas.hashicorp.com/boxcutter/ubuntu1510
==> minimal: Adding box 'boxcutter/ubuntu1510' (v2.0.9) for provider: virtualbox
    minimal: Downloading: https://atlas.hashicorp.com/boxcutter/boxes/ubuntu1510/versions/2.0.9/providers/virtualbox.box
==> minimal: Successfully added box 'boxcutter/ubuntu1510' (v2.0.9) for 'virtualbox'!
==> minimal: Importing base box 'boxcutter/ubuntu1510'...
==> minimal: Matching MAC address for NAT networking...
==> minimal: Checking if box 'boxcutter/ubuntu1510' is up to date...
==> minimal: Setting the name of the VM: puppet-base-env_minimal_1448753498955_38178
==> minimal: Clearing any previously set network interfaces...
==> minimal: Preparing network interfaces based on configuration...
    minimal: Adapter 1: nat
    minimal: Adapter 2: bridged
==> minimal: Forwarding ports...
    minimal: 22 => 2222 (adapter 1)
==> minimal: Running 'pre-boot' VM customizations...
==> minimal: Booting VM...
==> minimal: Waiting for machine to boot. This may take a few minutes...
    minimal: SSH address: <IP_ADDRESS>:2222
    minimal: SSH username: vagrant
    minimal: SSH auth method: private key
    minimal: Warning: Connection timeout. Retrying...
    minimal:
    minimal: Vagrant insecure key detected. Vagrant will automatically replace
    minimal: this with a newly generated keypair for better security.
    minimal:
    minimal: Inserting generated public key within guest...
    minimal: Removing insecure key from the guest if it's present...
    minimal: Key inserted! Disconnecting and reconnecting using new SSH key...
==> minimal: Machine booted and ready!
==> minimal: Checking for guest additions in VM...
==> minimal: Configuring and enabling network interfaces...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

/sbin/ip addr flush dev eth1 2> /dev/null

Stdout from the command:

Stderr from the command:

Post your Vagrantfile and a gist with VAGRANT_LOG=info set.  I'm not seeing this issue in the standard test suite, and it spins up a box in the tests.

This seems to be related to the network interface naming scheme change in 15.10, do you guys set a public network during the test? if you remove the public all works fine.
A possible work around might be this

Ubunut 15.10 is now EOL


Registration

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/78970
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 841ae3d732bfab2afe1f5286d0ffc335828110b1
git push origin v0.1.0

@JuliaRegistrator register()

Error while trying to register: Unexpected error in registration

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/78970
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 31eef25fe48a235f4a0f8102025f1054ec7dff77
git push origin v0.1.0

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/78970
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 82e32127501455f7b47930b4baffc0f7fd29caff
git push origin v0.1.0

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/78970
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 742349a683a7fc283ce03110f63a0226aea95d62
git push origin v0.1.0

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/78970
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 187331ff4e2d2056dd87ec11d42913ecfcd6c367
git push origin v0.1.0

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/78970
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 58476b5e5ad84e778646528b1c3b6d417f87dddf
git push origin v0.1.0


Added an algorithm course (Changes Made)

What does this PR do?
Add resource(s)
For resources
Description
Added an algorithm course in urdu
Why is this valuable (or not)?
Yes
How do we know it's really free?
Youtube
For book lists, is it a book? For course lists, is it a course? etc.
course
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

when you've made changes, please add (changes made) to the title of your PR

@sohansai  @Thenlie Please Review my PR!


Disable Footer / Ultimo theme

Hi,
When Disable Footer is set to no, footer is still not showing. Cache flushed etc. We use Ultimo theme, Magento 2.2.3

I don't have the time to debug issues caused by other themes and/or extensions.

Definitely works with a clean install. If you want to debug this, the config check to unset layout containers is done here.

Closing this issue because I'm cleaning up the issue list: I'm unable to reproduce it, and the ticket has been open for 7+ days without update.
Feel free to re-open if you can reproduce this on a clean install with clear instructions.


Feature request: TypedClassDescriptor

Could it be possible to implement TypedClassDescriptor which works similar to TypedPropertyDescriptor, which could give access to e.g. class type name?

I would be interested to know how you will be using the instance type in the decorator.. but this should give you access to the type:
declare type Class<T> = {
    new (...args: any[]): T;
    prototype: T;
};

function dec<T>(target: Class<T>) {
    var instance: T;
    return target
}

@dec
class C {
}

please reopen if the issue has not been addressed.


More strongly typed telemetry

This just contains more of the conversion of telemetry events to strongly typed ones. This is just more work related to https://github.com/microsoft/vscode/issues/75527.

Changed events:

fileGet
filePut
searchComplete
textSearchComplete
cachedSearchComplete
openKeybindings
outputChannelCreationError
customKeybindingsChanged
resolveProxy
extensionsMessage


Update mingw64 build script and patches

The current mruby vm doesn't match the mruby-float-patch.patch file, so I went through backtrace.c line-by-line to port the changes from the old patch to the new file to the best of my ability.
Second, it seems that builds have been failing with a 'sys/wait.h' include error due to the mruby-process dependency in mruby-zest-build, so I created a new patch that removes this dependency from build-config.rb before the final build.

As the question has not been answered were the gc arena changes needed?
Also, based upon an updated comment on #43 it sounds like there may have been an issue in the patch application stage. Any response to that note?


Custom image and inter task communication

I am facing the issue of not being able to load pickle files from the task that previously saved them.
My assumption is it has to do something with the custom image because the example by hera runs without any problems.
Any ideas?
Here is my code:
from hera import Artifact, ImagePullPolicy
from hera.task import Task
from hera.workflow import Workflow
from hera.workflow_service import WorkflowService

def task_cleaned_data_housing(data_url):
    import pathlib
    import pickle

    import data_housing_pipeline_module

    data_url = str(data_url)

    training_data = data_housing_pipeline_module.get_cleaned_data_housing(
        data_url
    )

    if not pathlib.Path("/tmp").joinpath("data_housing_pipeline").exists():
        pathlib.Path("/tmp").joinpath("data_housing_pipeline").mkdir()
    pickle.dump(
        training_data,
        open("/tmp/data_housing_pipeline/variable_training_data.pickle", "wb"),
    )

def task_linear_model_housing():
    import pathlib
    import pickle

    import data_housing_pipeline_module

    training_data = pickle.load(
        open("/tmp/data_housing_pipeline/variable_training_data.pickle", "rb")
    )

    linear_model = data_housing_pipeline_module.get_linear_model_housing(
        training_data
    )

    if not pathlib.Path("/tmp").joinpath("data_housing_pipeline").exists():
        pathlib.Path("/tmp").joinpath("data_housing_pipeline").mkdir()
    pickle.dump(
        linear_model,
        open("/tmp/data_housing_pipeline/variable_linear_model.pickle", "wb"),
    )

ws = WorkflowService(
    host="https://localhost:2746",
    verify_ssl=False,
    token="None",
    namespace="argo",
)

with Workflow("data-housing-pipeline", service=ws) as w:

    cleaned_data_housing = Task(
        "cleaned-data-housing",
        task_cleaned_data_housing,
        [
            {
                "data_url": "https://raw.githubusercontent.com/LineaLabs/lineapy/main/examples/use_cases/predict_house_price/data/ames_train_cleaned.csv",
            }
        ],
        image="argo_pipeline:latest",
        image_pull_policy=ImagePullPolicy.Never,
        outputs=[
            Artifact(
                "training_data",
                "/tmp/data_housing_pipeline/variable_training_data.pickle",
            ),
        ],
    )

    linear_model_housing = Task(
        "linear-model-housing",
        task_linear_model_housing,
        image="argo_pipeline:latest",
        image_pull_policy=ImagePullPolicy.Never,
        inputs=[cleaned_data_housing.get_artifact("training_data")],
        outputs=[
            Artifact(
                "linear_model",
                "/tmp/data_housing_pipeline/variable_linear_model.pickle",
            ),
        ],
    )

    cleaned_data_housing >> linear_model_housing

w.create()

The message I get is:
Unable to resolve: "tasks.cleaned-data-housing.outputs.artifacts.training_data"

Thank you for the question @lazargugleta! What does the Argo UI show in the inputs/outputs field of the cleaned-data-housing task?

Thanks for responding @flaviuvadan!
Here is how inputs/outputs field of the cleaned-data-housing task looks like:

The outputs field looks ok from my perspective.. how big is the variable_training_data.pickle file? Is it 100Mb+? I wonder if there's some size limitation for /tmp on the machine. If you mount a separate disk to /mnt and save the file there, can you replicate the behavior?

When I extract the file, it is 112.8 kB so pretty small.
Here is how the dockerfile looks like to get the image:
FROM python:3.10

RUN mkdir /tmp/installers
WORKDIR /tmp/installers

# Copy all the requirements to run current DAG
COPY ./data_housing_pipeline_requirements.txt ./

# Install required libs
RUN pip install -r ./data_housing_pipeline_requirements.txt

WORKDIR /opt/argo/dags

# Install git and argo
RUN apt update
RUN apt install -y git
RUN pip install argo-workflows
RUN pip install hera-workflows

COPY ./data_housing_pipeline_module.py ./
COPY ./data_housing_pipeline_dag.py ./

ENTRYPOINT [ "argo", "repro", "run_all_sessions"]

I also just tried the `/mnt' instead of '/tmp' but the behavior is the same.

I believe the problem is related to the fact that we're using a with_params argument. In essence, Argo doesn't know which of the items (even though it's just 1) you're asking for the artifact. See discussion here
I think you can circumvent this issue by explicitly setting the input parameters to something like:
  cleaned_data_housing = Task(
        "cleaned-data-housing",
        task_cleaned_data_housing,
        inputs=[Parameter("data_url", "https://raw.githubusercontent.com/LineaLabs/lineapy/main/examples/use_cases/predict_house_price/data/ames_train_cleaned.csv")],
        image="argo_pipeline:latest",
        ...

Closing this for now but feel free to reopen this if it requires further discussion @lazargugleta! :)