Modale windows have annoying "hard-move" appearance because of overflow:hidden for body-scrollbar

The example http://semantic-ui.com/modules/modal.html shows the effect:
opening a modale window dimms the body tag which immediatly hides the scrollbar by overflow:hidden;
Unfortunately this make the window immedialty expand/shrink by the width of the scrollbar which looks annoying, or at least "wrong". You most likey recognize it when closing the modale window.
My suggestion would be to either remove the overflow:hidden; for the dimmed body for modale windows or add another class which will take care of that (just because removing it at all from the dimmed class would of course be wrong for all the dimming feature in general)

body::-webkit-scrollbar {
width: 0;
}
As a workaround you can hide scrollbar in webkit browsers. I did not find any permanent solution for other browsers though.

There was a similar problem with bootstrap modals. I guess they have fixed it somehow. So maybe it's worth to take a look an how bootstrap solved this.

I'm aware of all the shenanigans bootstrap does here.

We fixed this in Fomantic-UI by https://github.com/fomantic/Fomantic-UI/pull/468
See https://jsfiddle.net/smudoy1k/5/


breaking changes in JLine 3.15.0

Hello,
JLine has released version 3.15.0, and it includes some breaking changes (some classes in org.jline.builtins were moved to org.jline.console), so picocli-shell-jline3 4.3.2 doesn't compile against it.

Thank you for raising this!
We will make picocli-shell-jline3 4.4.0+ depend on jline 3.15.
It looks like one of the JLine authors, @mattirn, has already submitted a pull request to change the dependency and the corresponding picocli-shell-jline3 code. I will merge this shortly when I get a chance to review it.
I would like to also update the documentation to show examples for the picocli-shell-jline3-4.3.2 with jline-3.14.1 combination, separately from examples for the picocli-shell-jline3-4.4.0+ with jline-3.15 combination. @thetoothpick or @mattirn, will you be able to provide a pull request for this?

Thanks for the quick turnaround, @mattirn!
Regarding the documentation, instead of keeping multiple versions of Example.java in the README file, would it make more sense to link to the relevant historical versions of picocli-shell-jline3/src/test/java/picocli/shell/jline3/example/Example.java?  That file would then need to be kept up-to-date (which it is already).
The README.md file could then contain the notes with links to the files locked to their relevant commits (e.g. JLine 3.13.2 and Picocli 4.1.2).
Having multiple versions of the file in the README seems hard to maintain, and all the example changes have to be duplicated to the README.
I can make a PR for this once #1099 goes in, if you'd like.

@thetoothpick I merged #1099 into master.
I would like for the documentation to show actual code, at least for the latest version, rather than a link.
How about creating a separate documentation page for previous versions?
Then we can make the README page cleaner since it only shows the most recent version, and from the README we link to the page with example code for older versions.
Also, the code may be a bit long, we can look into making it shorter. Or perhaps have a short initial example and a longer full example.
Thoughts?

Yea, I think that makes sense to split out the older versions and keep the latest in the README.

Hi @thetoothpick, have you had a chance to take a look at this?
I'm hoping to do a new picocli release in a week or so, and it would be good to improve the docs in this area.

@remkop I created a wiki page for the old examples.  Looking at the latest PR, the example didn't actually change for the latest version, so I left the minimum versions as they were.  The example for JLine 3.13.2 and Picocli 4.1.2 is now on this wiki page.
I also opened a PR (#1117).  I'll add some comments about cleaning up the example there.


Can I access microphone during voice recognition?

I want to save the user's voice while recognizing it. Is it possible with this library?

Android
To save the voice, you would need to capture the raw audio signal, that would require a very simple pull request actually!

According to a quick stack overflow search:
https://stackoverflow.com/a/16340756
"You can use the "buffer received" callback..."

This can be updated for the Android API in the following steps:

Visit this method in the source code
Convert the byte[] buffer passed from onBufferReceived(byte[] buffer) to a readable React Native buffer as a local variable
Add the buffer to the WritableMap object event. This would be similar to the error object event.putBoolean("error", false);, except you would add event.put<Insert Type Here>("buffer", buffer);.
Test it with the example app by reflecting your use case using the Voice.onSpeechRecognized event listener. Every callback concatenate the received event.bytes with a global array variable and then finally writing the contents to a file (This might require another library to write to a file similar to node fs).
You can possibly interface with other libraries such as react-native-audio-toolkit to read the file after you saved it.

For iOS, it seems that there is no port we can access the low buffer of PCM. I'll give it a try when I have some time.

@ohtangza I recognized your fork is ahead of the main repo, I cherry-picked some of your commits and am planning on merging them so you can stay up-to date as well as everyone else.
I am keeping some of the extra changes you made with tracking break-points in sentences, I think that adds some value to most apps with no performance disadvantages.
Another note is that I added a configuration option for Android clients for the RecognizerIntent on start.

@ohtangza is that okay? I will credit you as well as give you full access repository.

@wenkesj Oh, I think it's okay for you to cherry-pick our changes. Although we are using it for our app now, I'm not sure this satisfies the level of public use for distribution.
I think you can add a remote repo from your side and apply conditional cherry pick commits if you want. If I am not right, please let me know. Ah, one more thing, regarding getting buffer from Recognizer, we tried but it seems that the recent version of Android does not guarantee the callback to be fired, so we stopped there. Please let us updated if you make a another process on this issue.
@ghsdh3409


NpgsqlEFTypeMapper is disappeared in Npgsql.EntityFrameworkCore.PostgreSQL Version=<IP_ADDRESS>

Hi all,
I'm upgrading my system from
Npgsql.EntityFrameworkCore.PostgreSQL Version=2.0.1
to
Npgsql.EntityFrameworkCore.PostgreSQL Version=<IP_ADDRESS>
In my previous code, I using below code:
var typeMapper = new NpgsqlEFTypeMapper(new RelationalTypeMapperDependencies());
NpgsqlEFTypeMapper: comes from
#region Assembly Npgsql.EntityFrameworkCore.PostgreSQL, Version=<IP_ADDRESS>, #endregion
namespace Microsoft.EntityFrameworkCore.Storage.Internal
{
	public class NpgsqlEFTypeMapper : RelationalTypeMapper
	{
		public NpgsqlEFTypeMapper([NotNullAttribute] RelationalTypeMapperDependencies dependencies);
        }
}

But after I upgrade into new version (2.1), I got the problem with missing library
The type or namespace name 'NpgsqlEFTypeMapper' could not be found (are you missing a using directive or an assembly reference?
So could you please let me know where the missed one come ? or where can I can find it ? or do we have something else replaced it ?
Regards,
Viet Tran

Yes, the EF Core type mapping API changed considerably between 2.0 and 2.1. The new class is called NpgsqlTypeMappingSource and its API is a bit different.
In general you're not really supposed to need to touch this kind of class, it's internal plumbing for the provider - can you share more info on what exactly you're trying to do?

Yes, sure, this is my old code
`
var typeMapper = new NpgsqlTypeMapper(new RelationalTypeMapperDependencies());
        var modelBuilder = new ModelBuilder(
            new CoreConventionSetBuilder(
                new CoreConventionSetBuilderDependencies(typeMapper)
                )
                .CreateConventionSet()
            );

        EFContext.FixSnakeCaseNames(modelBuilder);
        EFMappings.DefineMappings(modelBuilder);

        var dbContextOptions = new DbContextOptionsBuilder<T>()
            .UseInMemoryDatabase("MyDB")
            .UseModel(modelBuilder.Model)
            .ConfigureWarnings(wcb => wcb.Ignore(InMemoryEventId.TransactionIgnoredWarning))
            .Options;

`
Thank you

I have no idea what EFContext.FixSnakeCaseNames() and EFMappings.DefineMappings() are, or why they would need a totally new model builder... I suggest you contact whoever wrote these.
If what you want is simply to change your table and column names to snake_case, it's must better to do that by going over your entities and properties in your OnModelCreating and applying the name change there. This approach is be completely portable, and is much less brittle as it uses only public EF Core APIs (and not internal Npgsql provider components).
Am going to close as there's nothing actionable on the Npgsql side, but if you need more guidance feel free to post back here.

And as I said, the class that replaces NpgsqlEFTypeMapper is NpgsqlTypeMappingSource.

Hi @roji
Regarding this issue, we are specifically using it for in memoryDB for some of our tests to go around mocking where this is relevant,
If you have any ideas as to how we can go around this issue it would be greatly appreciated.

It seems like this issue's title and previous post were erased @vietplayfuri, can you please undo that?
As I wrote above, these internal API changed, and you should not need to rely on them just for changing table and column names to snake case, there are more portable ways to do that...


:bug: Metal3DataTemplate: requeue if reconcileDelete did not clear finalizer

What this PR does / why we need it:
This MR is a proposal to address #1994.
The reconcileDelete implementation of the Metal3DataTemplate controller needs to requeue if it decided that it can't yet unset the finalizer on the Metal3DataTemplate.  If no requeue is made, there's a scenario where Metal3Data still exists when reconcileDelete is first called, which results in not unsetting the finalize - in that situation, if no change of the Metal3DataTemplate triggers a new reconciliation, the finalizer never gets unset.
To finalize this PR I had to adjust the expectations of the unit test (expect requeue where this initially wasn't expected).
This made we realize that there is another situation where we want to requeue: the case where dataTemplateMgr.UpdateDatas returns an error. The code was relying on checkReconcileError, which (a) can only return requeue results on baremetal.ReconcileError errors (not on other errors), and (b) even for those would not return a requeue for "Terminal" errors, which I is I think only a valid choice for when this function is called for reconcileNormal ; for deletes, it seems that requeues should always be done to avoid the resource remaining stuck on a finalizer.

/ok-to-test

Fix the DCO by signing off the commit, and unit tests are failing.

@tuminoid I updated the unit tests, and also the code to also do requeues on failure when calling dataTemplateMgr.UpdateDatas - I updated the PR description accordingly.

/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main

I had a interesting discussion by @pierrecregut on #1994, leading to the conclusion that the cleanest solution would be to  fix the miscomputation of indexes.   Indeed, requeuing here is somehow sweeping dust under the rug, even if it reaches the goal of ultimately avoiding finalizer remaining stuck.
We'll work with Pierre to push an alternative solution fixing the miscomputation of indexes in UpdateDatas.
Feedback is welcome on whether it's worth keeping my requeue proposal, as a kind of safeguard despite the "sweeping dust under the rug" aspect.

I find the solution proposed by @pierrecregut in #2000 much nicer, and if reviewers' feedback is positive on #2000, I'll close this PR here.

closing this PR, #2000 is the right solution


Prices and availability (documentation)

Example :
>>> product = Product.objects.get(id=1)
>>> product.price
Decimal('17.99')

It doesn't work (from sandbox)
AttributeError: 'Product' object has no attribute 'price'
http://django-oscar.readthedocs.org/en/releases-1.1/topics/prices_and_availability.html

Its an example of how other ecommerce frameworks are work (not django-oscar)

This exemplary piece of instructions are indeed for other e-ccommerce frameworks, it doesn't indicate it's for Django Oscar.


Nuitka needs to support module execution with python -m compiled_module

Package stestr has lots of test failures, all stemming from this exception.
[  152s] __________________________ TestReturnCodes.test_list ___________________________
[  152s] NOTE: Incompatible Exception Representation, displaying natively:
[  152s]
[  152s] testtools.testresult.real._StringException: Empty attachments:
[  152s]   pythonlogging:''
[  152s]   stderr
[  152s]   stdout
[  152s]
[  152s] Traceback (most recent call last):
[  152s]   File "/home/abuild/rpmbuild/BUILD/stestr-2.5.1/tests/test_return_codes.py", line 213, in test_list
[  152s]     self.assertRunExit('stestr list', 0)
[  152s]   File "/home/abuild/rpmbuild/BUILD/stestr-2.5.1/tests/test_return_codes.py", line 98, in assertRunExit
[  152s]     "Stdout: %s; Stderr: %s" % (out, err))
[  152s]   File "/usr/lib/python3.7/site-packages/testtools/testcase.py", line 411, in assertEqual
[  152s]     self.assertThat(observed, matcher, message)
[  152s]   File "/usr/lib/python3.7/site-packages/testtools/testcase.py", line 498, in assertThat
[  152s]     raise mismatch_error
[  152s] testtools.matchers._impl.MismatchError: 100 != 0: Stdout: b'\n=========================\nFailures during discovery\n=========================\n\n================================================================================\nThe above traceback was encountered during test discovery which imports all the found test modules in the specified test_path.\n'; Stderr: b'Traceback (most recent call last):\n  File "/usr/lib/python3.7/runpy.py", line 183, in _run_module_as_main\n    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)\n  File "/usr/lib/python3.7/runpy.py", line 153, in _get_module_details\n    code = loader.get_code(mod_name)\nAttributeError: type object \'nuitka_module_loader\' has no attribute \'get_code\'\n'
[  152s]
[  152s]
[  152s] _____________________ TestReturnCodes.test_list_from_func ______________________
[  152s] NOTE: Incompatible Exception Representation, displaying natively:
[  152s]
[  152s] testtools.testresult.real._StringException: Empty attachments:
[  152s]   pythonlogging:''
[  152s]   stderr
[  152s]   stdout
[  152s]
[  152s] stdout-1: {{{
[  152s] =========================
[  152s] Failures during discovery
[  152s] =========================
[  152s]
[  152s] ================================================================================
[  152s] The above traceback was encountered during test discovery which imports all the found test modules in the specified test_path.
[  152s] }}}
[  152s]
[  152s] Traceback (most recent call last):
[  152s]   File "/home/abuild/rpmbuild/BUILD/stestr-2.5.1/tests/test_return_codes.py", line 347, in test_list_from_func
[  152s]     self.assertEqual(0, list_cmd.list_command(stdout=stdout.stream))
[  152s]   File "/home/abuild/rpmbuild/BUILD/stestr-2.5.1/stestr/commands/list.py", line 120, in list_command
[  152s]     cmd.setUp()
[  152s]   File "/home/abuild/rpmbuild/BUILD/stestr-2.5.1/stestr/test_processor.py", line 137, in setUp
[  152s]     self.test_ids = self.list_tests()
[  152s]   File "/home/abuild/rpmbuild/BUILD/stestr-2.5.1/stestr/test_processor.py", line 227, in list_tests
[  152s]     exit(100)
[  152s]   File "/usr/lib/python3.7/_sitebuiltins.py", line 26, in __call__
[  152s]     raise SystemExit(code)
[  152s] SystemExit: 100
[  152s]
[  152s]
[  152s] ----------------------------- Captured stderr call -----------------------------
[  152s] Traceback (most recent call last):
[  152s]   File "/usr/lib/python3.7/runpy.py", line 183, in _run_module_as_main
[  152s]     mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
[  152s]   File "/usr/lib/python3.7/runpy.py", line 153, in _get_module_details
[  152s]     code = loader.get_code(mod_name)
[  152s] AttributeError: type object 'nuitka_module_loader' has no attribute 'get_code'

It looks like https://github.com/Nuitka/Nuitka/issues/523 is related.
[  134s] /usr/lib/python3.7/runpy.py:125: RuntimeWarning: 'testtools.run' found in sys.modules after import of package 'testtools', but prior to execution of 'testtools.run'; this may result in unpredictable behaviour
[  134s]   warn(RuntimeWarning(msg))
[  134s] Traceback (most recent call last):
[  134s]   File "/usr/lib/python3.7/runpy.py", line 183, in _run_module_as_main
[  134s]     mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
[  134s]   File "/usr/lib/python3.7/runpy.py", line 153, in _get_module_details
[  134s]     code = loader.get_code(mod_name)
[  134s] AttributeError: type object 'nuitka_module_loader' has no attribute 'get_code'
[  134s] error: Bad exit status from /var/tmp/rpm-tmp.MeITyG (%check)

This also breaks subtest.run which does not have a bin script. As always, I have a workaround for my own testing needs.

Hello, are there any news on this?
$ python -m my.application
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.10/runpy.py", line 157, in _get_module_details
    code = loader.get_code(mod_name)
AttributeError: type object 'nuitka_module_loader' has no attribute 'get_code'

Should we have a dummy get_code that returns whatever datatype is expected, but without any real code?
The object in question is at https://github.com/Nuitka/Nuitka/blob/develop/nuitka/build/static_src/MetaPathBasedLoader.c

I am not sure that it doesn't want to execute some source code there, which of course is going to be hard.

Yes, I just checked, and it wants to do exec on it, so there is really no point in providing something like this, it's only going to be hiding.
So, what are are talking about here, is that apparently you want to run a compiled package, via python -m, and I must admit, that is very reasonable. When doing --run I am using -c and import statements, it never occurred to me, that this ought to work, and this being a regression.

Hey, is there any PR working on solving it?

Not, this is only an idea so far.

So,  turns out this is impossible. Due to the spec mechanism, it asks the extension module loader of CPython, and never executes anything Nuitka at all. We are treated all the same, so in fact, we would have to do something to patch support into runpy to load these. It does load containing packages, so for a some_package.some_module it could indeed be made to work, but honestly that is too little to be worth any effort.
Somebody would have to take it up to CPython and make a change to runpy and the ExtensionFileLoader such that it would recognize Nuitka created extension modules and treat those differently. Or we would have to do that ourselves with a site module hack via .pth files, but then it's only going to work where something for that is installed.
As a side note, test code should not be compiled, there is no point for that.

Lets face it, not going to happen

As a side note, test code should not be compiled, there is no point for that.

Test code that lives in the package has to be compiled as part of that package, otherwise it will not work. i.e. test modules living in package_name/foo/tests/test_foo.py

I think it should be pointed out in docs.

@antoscha absolutely correct, I am adding this
Modules: Extension modules are not executable directly
A package can be compiled with Nuitka, no problem, but when it comes to
executing it, python -m compiled_module is not going to work and give the
error No code object available for AssertsTest because the compiled module
is not source code, and Python will not just load it. The closest would be
python -c "import compile_module" and you might have to call the main
function yourself.
To support this, runpy would or the ExtensionFileLoader would need a
change such that we could supply a code object to Python to use.

And improvements in the wording are welcome

minor improvement for clarity..?

To support this, the CPython runpy and/or ExtensionFileLoader would need improving such that Nuitka could supply a compiled module object for Python to use.

Taken on board


Fail to install Outline service on Linux

I tried to run Appimage on my VanillaOS and get error:
`./Outline-Client.AppImage
Outline is starting
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
loading web app from file:///tmp/.mount_OutlinFyli45/resources/app.asar/www/index_electron.html?appName=Outline
Could not load active tunnel:  [Error: ENOENT: no such file or directory, open '/home/gapple/.config/Outline/connection_store'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/gapple/.config/Outline/connection_store'
}
Checking for update
Found version 1.11.0 (url: https://s3.amazonaws.com/outline-releases/client/linux/1.11.0/1/Outline-Client.AppImage)
Downloading update from https://s3.amazonaws.com/outline-releases/client/linux/1.11.0/1/Outline-Client.AppImage
updater cache dir: /home/gapple/.cache/outline-client-updater
Update has already been downloaded to /home/gapple/.cache/outline-client-updater/pending/Outline-Client.AppImage).
[7281:0808/151528.651031:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[7281:0808/151625.559795:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[7281:0808/151625.566951:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
connecting to 3c3d6d8d-057a-45db-81e1-523a03d64c6d...
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
UDP support: true
starting routing daemon
Routing daemon socket setup failed Error: connect ENOENT /var/run/outline_controller
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
errno: -2,
code: 'ENOENT',
syscall: 'connect',
address: '/var/run/outline_controller'
}
could not connect: w (routing daemon is not running)
[EXIT - tun2socks]: Exited with code 12
could not stop tun2socks: Process terminated by non-zero exit code: 12
tun2socks terminated due to Error: Process terminated by non-zero exit code: 12
disconnected from 3c3d6d8d-057a-45db-81e1-523a03d64c6d
installing outline routing service...
copying service installation files to /tmp/jE4eKy
all service installation files copied to /tmp/jE4eKy successfully
trying to run command as root:  trap "/usr/bin/chattr -R -i /tmp/jE4eKy" EXIT; /usr/bin/chattr -R +i /tmp/jE4eKy && /usr/bin/echo "e0644a3750b6c770e4f2f2e2e7de0de1e46386eed733d7841f35d9e4aa53c1cd  /tmp/jE4eKy/install_linux_service.sh" | /usr/bin/shasum -a 256 -c && /usr/bin/echo "0a2d2b874d4d200145b1e3a7cc5818fb27e5c0ed69ebb4f4057e066e0b7fdc4a  /tmp/jE4eKy/OutlineProxyController" | /usr/bin/shasum -a 256 -c && /usr/bin/echo "8bfab08036441bcbb558927bdecd97eebf8c2d365a2a7fdb6c0032c2afc965a2  /tmp/jE4eKy/outline_proxy_controller.service" | /usr/bin/shasum -a 256 -c && "/tmp/jE4eKy/install_linux_service.sh" "gapple"
/tmp/jE4eKy/install_linux_service.sh: OK
/tmp/jE4eKy/OutlineProxyController: OK
/tmp/jE4eKy/outline_proxy_controller.service: OK
user gapple has been added to outlinevpn group

readonly PREFIX=/usr/local
PREFIX=/usr/local
readonly SERVICE_DIR=/etc/systemd/system
SERVICE_DIR=/etc/systemd/system
readonly SERVICE_NAME=outline_proxy_controller.service
SERVICE_NAME=outline_proxy_controller.service
readonly GROUP_NAME=outlinevpn
GROUP_NAME=outlinevpn
++ dirname /tmp/jE4eKy/install_linux_service.sh
readonly SCRIPT_DIR=/tmp/jE4eKy
SCRIPT_DIR=/tmp/jE4eKy
/usr/sbin/groupadd -f outlinevpn
/usr/bin/id gapple
/usr/sbin/usermod -aG outlinevpn gapple
/usr/bin/echo 'user gapple has been added to outlinevpn group'
/usr/bin/cp -f /tmp/jE4eKy/OutlineProxyController /usr/local/sbin
/usr/bin/cp: cannot create regular file '/usr/local/sbin/OutlineProxyController': Read-only file system

command is running as root but failed:  Error: Command failed: cd "/home/gapple/Downloads"; "/usr/bin/pkexec" --disable-internal-agent /bin/bash -c "echo SUDOPROMPT; trap "/usr/bin/chattr -R -i /tmp/jE4eKy" EXIT; /usr/bin/chattr -R +i /tmp/jE4eKy && /usr/bin/echo "e0644a3750b6c770e4f2f2e2e7de0de1e46386eed733d7841f35d9e4aa53c1cd  /tmp/jE4eKy/install_linux_service.sh" | /usr/bin/shasum -a 256 -c && /usr/bin/echo "0a2d2b874d4d200145b1e3a7cc5818fb27e5c0ed69ebb4f4057e066e0b7fdc4a  /tmp/jE4eKy/OutlineProxyController" | /usr/bin/shasum -a 256 -c && /usr/bin/echo "8bfab08036441bcbb558927bdecd97eebf8c2d365a2a7fdb6c0032c2afc965a2  /tmp/jE4eKy/outline_proxy_controller.service" | /usr/bin/shasum -a 256 -c && "/tmp/jE4eKy/install_linux_service.sh" "gapple""

readonly PREFIX=/usr/local

PREFIX=/usr/local

readonly SERVICE_DIR=/etc/systemd/system

SERVICE_DIR=/etc/systemd/system

readonly SERVICE_NAME=outline_proxy_controller.service

SERVICE_NAME=outline_proxy_controller.service

readonly GROUP_NAME=outlinevpn

GROUP_NAME=outlinevpn
++ dirname /tmp/jE4eKy/install_linux_service.sh

readonly SCRIPT_DIR=/tmp/jE4eKy

SCRIPT_DIR=/tmp/jE4eKy

/usr/sbin/groupadd -f outlinevpn

/usr/bin/id gapple

/usr/sbin/usermod -aG outlinevpn gapple

/usr/bin/echo 'user gapple has been added to outlinevpn group'

/usr/bin/cp -f /tmp/jE4eKy/OutlineProxyController /usr/local/sbin
/usr/bin/cp: cannot create regular file '/usr/local/sbin/OutlineProxyController': Read-only file system
at ChildProcess.exithandler (node:child_process:408:12)
at ChildProcess.emit (node:events:526:28)
at ChildProcess.emit (node:domain:475:12)
at maybeClose (node:internal/child_process:1092:16)
at Socket. (node:internal/child_process:451:11)
at Socket.emit (node:events:526:28)
at Socket.emit (node:domain:475:12)
at Pipe. (node:net:687:12) {
killed: false,
code: 1,
signal: null,
cmd: 'cd "/home/gapple/Downloads"; "/usr/bin/pkexec" --disable-internal-agent /bin/bash -c "echo SUDOPROMPT; trap \"/usr/bin/chattr -R -i /tmp/jE4eKy\" EXIT; /usr/bin/chattr -R +i /tmp/jE4eKy && /usr/bin/echo \"e0644a3750b6c770e4f2f2e2e7de0de1e46386eed733d7841f35d9e4aa53c1cd  /tmp/jE4eKy/install_linux_service.sh\" | /usr/bin/shasum -a 256 -c && /usr/bin/echo \"0a2d2b874d4d200145b1e3a7cc5818fb27e5c0ed69ebb4f4057e066e0b7fdc4a  /tmp/jE4eKy/OutlineProxyController\" | /usr/bin/shasum -a 256 -c && /usr/bin/echo \"8bfab08036441bcbb558927bdecd97eebf8c2d365a2a7fdb6c0032c2afc965a2  /tmp/jE4eKy/outline_proxy_controller.service\" | /usr/bin/shasum -a 256 -c && \"/tmp/jE4eKy/install_linux_service.sh\" \"gapple\""'
}
connecting to 3c3d6d8d-057a-45db-81e1-523a03d64c6d...
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
UDP support: true
starting routing daemon
Routing daemon socket setup failed Error: connect ENOENT /var/run/outline_controller
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
errno: -2,
code: 'ENOENT',
syscall: 'connect',
address: '/var/run/outline_controller'
}
could not connect: w (routing daemon is not running)
[EXIT - tun2socks]: Killed by signal SIGTERM
tun2socks terminated due to Error: Process terminated by signal: SIGTERM
disconnected from 3c3d6d8d-057a-45db-81e1-523a03d64c6d
installing outline routing service...
copying service installation files to /tmp/67W6ZT
all service installation files copied to /tmp/67W6ZT successfully
trying to run command as root:  trap "/usr/bin/chattr -R -i /tmp/67W6ZT" EXIT; /usr/bin/chattr -R +i /tmp/67W6ZT && /usr/bin/echo "e0644a3750b6c770e4f2f2e2e7de0de1e46386eed733d7841f35d9e4aa53c1cd  /tmp/67W6ZT/install_linux_service.sh" | /usr/bin/shasum -a 256 -c && /usr/bin/echo "0a2d2b874d4d200145b1e3a7cc5818fb27e5c0ed69ebb4f4057e066e0b7fdc4a  /tmp/67W6ZT/OutlineProxyController" | /usr/bin/shasum -a 256 -c && /usr/bin/echo "8bfab08036441bcbb558927bdecd97eebf8c2d365a2a7fdb6c0032c2afc965a2  /tmp/67W6ZT/outline_proxy_controller.service" | /usr/bin/shasum -a 256 -c && "/tmp/67W6ZT/install_linux_service.sh" "gapple"
/tmp/67W6ZT/install_linux_service.sh: OK
/tmp/67W6ZT/OutlineProxyController: OK
/tmp/67W6ZT/outline_proxy_controller.service: OK
user gapple has been added to outlinevpn group

readonly PREFIX=/usr/local

PREFIX=/usr/local

readonly SERVICE_DIR=/etc/systemd/system

SERVICE_DIR=/etc/systemd/system

readonly SERVICE_NAME=outline_proxy_controller.service

SERVICE_NAME=outline_proxy_controller.service

readonly GROUP_NAME=outlinevpn

GROUP_NAME=outlinevpn
++ dirname /tmp/67W6ZT/install_linux_service.sh

readonly SCRIPT_DIR=/tmp/67W6ZT

SCRIPT_DIR=/tmp/67W6ZT

/usr/sbin/groupadd -f outlinevpn

/usr/bin/id gapple

/usr/sbin/usermod -aG outlinevpn gapple

/usr/bin/echo 'user gapple has been added to outlinevpn group'

/usr/bin/cp -f /tmp/67W6ZT/OutlineProxyController /usr/local/sbin
/usr/bin/cp: cannot create regular file '/usr/local/sbin/OutlineProxyController': Read-only file system

command is running as root but failed:  Error: Command failed: cd "/home/gapple/Downloads"; "/usr/bin/pkexec" --disable-internal-agent /bin/bash -c "echo SUDOPROMPT; trap "/usr/bin/chattr -R -i /tmp/67W6ZT" EXIT; /usr/bin/chattr -R +i /tmp/67W6ZT && /usr/bin/echo "e0644a3750b6c770e4f2f2e2e7de0de1e46386eed733d7841f35d9e4aa53c1cd  /tmp/67W6ZT/install_linux_service.sh" | /usr/bin/shasum -a 256 -c && /usr/bin/echo "0a2d2b874d4d200145b1e3a7cc5818fb27e5c0ed69ebb4f4057e066e0b7fdc4a  /tmp/67W6ZT/OutlineProxyController" | /usr/bin/shasum -a 256 -c && /usr/bin/echo "8bfab08036441bcbb558927bdecd97eebf8c2d365a2a7fdb6c0032c2afc965a2  /tmp/67W6ZT/outline_proxy_controller.service" | /usr/bin/shasum -a 256 -c && "/tmp/67W6ZT/install_linux_service.sh" "gapple""

readonly PREFIX=/usr/local

PREFIX=/usr/local

readonly SERVICE_DIR=/etc/systemd/system

SERVICE_DIR=/etc/systemd/system

readonly SERVICE_NAME=outline_proxy_controller.service

SERVICE_NAME=outline_proxy_controller.service

readonly GROUP_NAME=outlinevpn

GROUP_NAME=outlinevpn
++ dirname /tmp/67W6ZT/install_linux_service.sh

readonly SCRIPT_DIR=/tmp/67W6ZT

SCRIPT_DIR=/tmp/67W6ZT

/usr/sbin/groupadd -f outlinevpn

/usr/bin/id gapple

/usr/sbin/usermod -aG outlinevpn gapple

/usr/bin/echo 'user gapple has been added to outlinevpn group'

/usr/bin/cp -f /tmp/67W6ZT/OutlineProxyController /usr/local/sbin
/usr/bin/cp: cannot create regular file '/usr/local/sbin/OutlineProxyController': Read-only file system
at ChildProcess.exithandler (node:child_process:408:12)
at ChildProcess.emit (node:events:526:28)
at ChildProcess.emit (node:domain:475:12)
at maybeClose (node:internal/child_process:1092:16)
at Socket. (node:internal/child_process:451:11)
at Socket.emit (node:events:526:28)
at Socket.emit (node:domain:475:12)
at Pipe. (node:net:687:12) {
killed: false,
code: 1,
signal: null,
cmd: 'cd "/home/gapple/Downloads"; "/usr/bin/pkexec" --disable-internal-agent /bin/bash -c "echo SUDOPROMPT; trap \"/usr/bin/chattr -R -i /tmp/67W6ZT\" EXIT; /usr/bin/chattr -R +i /tmp/67W6ZT && /usr/bin/echo \"e0644a3750b6c770e4f2f2e2e7de0de1e46386eed733d7841f35d9e4aa53c1cd  /tmp/67W6ZT/install_linux_service.sh\" | /usr/bin/shasum -a 256 -c && /usr/bin/echo \"0a2d2b874d4d200145b1e3a7cc5818fb27e5c0ed69ebb4f4057e066e0b7fdc4a  /tmp/67W6ZT/OutlineProxyController\" | /usr/bin/shasum -a 256 -c && /usr/bin/echo \"8bfab08036441bcbb558927bdecd97eebf8c2d365a2a7fdb6c0032c2afc965a2  /tmp/67W6ZT/outline_proxy_controller.service\" | /usr/bin/shasum -a 256 -c && \"/tmp/67W6ZT/install_linux_service.sh\" \"gapple\""'
}
`
This issue looks like #1573, but non of solutions helped me.

Hi @EnchantedGoldenApple , from the log message, OutlineClient failed to install the service into the system:
/usr/bin/cp -f /tmp/jE4eKy/OutlineProxyController /usr/local/sbin
/usr/bin/cp: cannot create regular file '/usr/local/sbin/OutlineProxyController': Read-only file system

Could you please make sure /usr/local/sbin is writable?

This is another similar issue: https://github.com/Jigsaw-Code/outline-client/issues/843


Add README to reportho test-datasets

Description of feature
Update the README.md of the branch corresponding to the test-dataset repo of reportho, here. The chipseq readme could be used as a template.

Solved in nf-core/test-datasets#1222.


Parse and handle AIRAC and NAVDATA

In order to calculate flight times on airplane routes, we need AIRAC and NAVDATA.
We can get a list of all airports, FIRs and UIRs from vatsim/vatspy-data-project
For AIRAC data, we need to get it from the FAA, or Navigraph?

If we're only using the FAA navdata, how would we handle data for aircraft originating within the (300?) mile range, but outside the US?
Example: a Boston event with someone originating from Montreal.

In that case, I guess the optimal solution would be using Navigraph. It's consolidated and well-understood by most flight sim developers. We just need to figure out what kinds of paperwork to sign and how much we'd have to pay.

https://navigraph.com/community/developer-info
Looks like Navigraph offers free access to navdata for developers, but someone needs to contact them and discuss it.

We’ve been wanting to use Navigraph data for internal use before. @Umar-Ashraf1 Do you want to reach out to them, or should I?


Unable to transfer funds from wallet to vault through UAI.

https://github.com/bithyve/bitcoin-keeper/assets/62699947/f8f102fb-b9e7-4a89-a9d0-46af721727ec

I had a 2/3 vault created on previous version then I upgraded the app to the latest v 1.1.9(288).
I was trying to transfer funds through UAI but it was giving me the error "No Vaults found".

Verified this issue on keeper app 1.1.11(297)


Upload Linked Files (node) needs to account for overwrites

When upload linked files, it may occur that the files are already in Docs, and the automation should check for existing versions and upload to next version.

Implemented in test run #6, closing this ticket.


Sendgrid templates: Handlebars "equals" with numbers don't work

Some of the handlebars examples in sendgrid handlebars docs just simple don't work. Don't render anything, also without error or feedback.
{{#equals "1" 1}}    Are equals {{/else}}   Are not equals {{#equals}}
Expected content
Are equals
Actual content
''
https://sendgrid.com/docs/for-developers/sending-email/using-handlebars/#equals

Hi @joanmiralles
We're sorry you're having trouble with the handlebars helpers. Could you provide more of your template code to help us troubleshoot? The equals helper seems to be working for me.
From the code you've posted, I see a few things that may be causing your issue. First, the {{else}} should not include a slash, /, because it's not a closing tag. However, your closing equals should have a slash rather than a hash. This is what it would all look like:
{{#equals "1" 1}} Are equals {{else}} Are not equals {{/equals}}
We hope this helps,
Twilio SendGrid Docs Team

Hi @joanmiralles
We're sorry you're having trouble with the handlebars helpers. Could you provide more of your template code to help us troubleshoot? The equals helper seems to be working for me.
From the code you've posted, I see a few things that may be causing your issue. First, the {{else}} should not include a slash, /, because it's not a closing tag. However, your closing equals should have a slash rather than a hash. This is what it would all look like:
{{#equals "1" 1}} Are equals {{else}} Are not equals {{/equals}}
We hope this helps,
Twilio SendGrid Docs Team

Sorry I made some mistakes rewriting the code instead of copy paste. But using your exact code I don't get any result either.
So:
{{#equals "1" 1}} Are equals {{else}} Are not equals {{/equals}}
does not show anything
and
{{#equals 1 1}} Are equals {{else}} Are not equals {{/equals}}
Displays 'Are equals'.
I'm using Design mode if that helps.

Hi @joanmiralles
Thank you for clarifying. I'm still not seeing that behavior on my side. I pasted your examples into text blocks using the Design editor and got "Are equals" in both cases. I've added a screenshot of my Design and what arrived to my inbox in case it's helpful when troubleshooting.
Design editor with handlebars code

Handlebars rendered in received email

Feel free to pass more details if there is missing information in the docs. You can also open a support ticket for help with your individual setup. You can access support contact options by logging into https://support.sendgrid.com.
Best,
Twilio SendGrid Docs Team

I am also having problems with equals, very similar to the ones joanmiralles mentioned!
The misunderstanding was that the problem is with rendering in the dynamic template editor view not the emails that are sent out.
Using the example from the docs shows that the comparison between strings and numericals & rendering elements in the else branch are both broken in the template editor realtime preview.
In a fresh dynamic template I put:
<html>
  <body>
    {{#equals "1" 1}} Are equals {{else}} Are not equals {{/equals}}
  </body>
</html>

Nothing is rendered on the righthand side.
When I remove the quotes to instead compare {{#equals 1 1}} it correctly renders "Are equals", but if I change it to {{#equals 1 2}} nothing is rendered when I would expect it to render "Are not equals".  From what I can tell the elements in the else branch are never rendered in the template example email view.

I have a similar issue with variable inside the equals:
            {{#equals value1 value2}}
                Equals {{value1}}
            {{else}}
                Not Equals {{value2}}
            {{/equals}}

I can see the text Equals and Not Equals displayed based on the values of value1 and value2
however, {{value1}} and {{value2}} are not expanded and their values are not displayed.
Moving  Equals {{value1}} outside of the equals statement works as expected and {{value1}} is properly expanded

I have a similar issue also.
The variables inside equals tag appears when I send an email but values doesn't displayed on preview mode.
It needs to be fixed because preview mode with dynamic data provide us to see what kind of email we will send before we sent but in this case what we see and send are not equal.

I have a similar issue also.
The variables inside equals tag appears when I send an email but values doesn't displayed on preview mode.
It needs to be fixed because preview mode with dynamic data provide us to see what kind of email we will send before we sent but in this case what we see and send are not equal.

Yes! I wasted hours trying to debug my view in the preview window until I found this issue and your comment!

I have a similar issue with variable inside the equals:
            {{#equals value1 value2}}
                Equals {{value1}}
            {{else}}
                Not Equals {{value2}}
            {{/equals}}

I can see the text Equals and Not Equals displayed based on the values of value1 and value2
however, {{value1}} and {{value2}} are not expanded and their values are not displayed.
Moving Equals {{value1}} outside of the equals statement works as expected and {{value1}} is properly expanded

We experienced the same issue, and it can be solved by doing the following:
{{#equals value1 value2}}
  Equals {{ @root.value1 }}
{{else}}
  Not Equals {{ @root.value2 }}
{{/equals}}

Sorry for the delayed response on this. Thank you all for your patience. The coerced values should be working in the preview now, but I'll work through some of these examples to see where we can provide better examples in the docs.

@astuteape
could you help me with equals if-else conditional?
this conditional always does else-if block
{{#equals value1 100}}     smth1 {{else equals value1 value2}}     smth2 {{else}}     smth3 {{/equals}}

I just ran into this issue myself and tried the suggestion of using {{ @root.value1 }} to no avail. @astuteape is there anything I could provide for further troubleshooting?

I just ran into this issue myself and tried the suggestion of using {{ @root.value1 }} to no avail. @astuteape is there anything I could provide for further troubleshooting?

Hi, I can also confirm what @spaceribs , @ravihugo and @oliviercwa said. Variables inside {{equals}} are not rendered in preview mode, but are shown when I send a test E-Mail.
Would be great to have those variables available in preview mode :)

Hi, I can also confirm what @spaceribs , @ravihugo and @oliviercwa said. Variables inside {{equals}} are not rendered in preview mode, but are shown when I send a test E-Mail.
Would be great to have those variables available in preview mode :)

I found a solution for my scoping issues in this thread [https://stackoverflow.com/questions/13645084/access-a-variable-outside-the-scope-of-a-handlebars-js-each-loop].
My issue was that the {{#equals}}-block created its own scope which made variables outside inaccessible except for with the @root method as previously mentioned.
If you prepend the the variable with ../myVariable you can navigate up one step in the hierarchy.
It now works in the preview-mode for me.

@johannes9108 move your last line of EDIT to be the first line please

I found a solution for my scoping issues in this thread [https://stackoverflow.com/questions/13645084/access-a-variable-outside-the-scope-of-a-handlebars-js-each-loop].
My issue was that the {{#equals}}-block created its own scope which made variables outside inaccessible except for with the @root method as previously mentioned.
If you prepend the the variable with ../myVariable you can navigate up one step in the hierarchy.
It now works in the preview-mode for me.
{{#each @root.message.body}}

    {{#equals this.component  "textBlock_lite"}}
        <p>{{../this.content}}</p>
    {{/equals}}
{{/each}}

EDIT: Apparently it only works in Preview Mode and not in an actual email.

@johannes9108 move your last line of EDIT to be the first line please

@jatinwaichal  thank you, this is the correct answer.  Somewhat obvious now that i think about it as you are in the context of the param and need to move up above it to get the content.  Very xpath like.


Add coref project

This adds a training config for the new coref component using OntoNotes / CoNLL 2012 data.
The current config works, but is relatively brittle in relation to the OntoNotes setup. It also only trains the word-level coref component since the span resolver is not quite ready.
Hyperparameters are decent but have not been checked extensively.
Some things that should be done before this is merged:

[x] better downloading for CoNLL 2012 data (doesn't work due to weird server settings)
[x] verify python2 installation and OntoNotes paths in code
[x] separate config with span predictor
(maybe) support for gold span2head conversion like wl-coref (requires Java) (this isn't needed)

Also, I put this in "experimental", but maybe it belongs somewhere else - I wasn't very sure about that.

Also, I put this in "experimental", but maybe it belongs somewhere else - I wasn't very sure about that.

pipelines ?

OK, I believe the issues with this project file specifically have been sorted out.
The issues with the old coref scripts have been resolved by putting them in their own repo. Some of the path-related issues were not inherent and were just a config issue.
I'm going to leave this in draft until the span predictor is wrapped up, but if you can install the feature/coref branch of spaCy then this should work.

Test failures were due to speed tests on other components, I expect they will be resolved by merge.
To clarify how to run this PR, you should install vanilla spaCy (from PyPI or a local dev env / master) and the branch in this spacy-experimental PR. After that you need to edit the config to include a path to your local copy of OntoNotes. Everything else should be handled by the project file.

I tried this out starting in a clean venv. This project will need requirements.txt that includes the right version of spacy-experimental (you could just initially point to the right git+https or archive URL?) and also to specify that you need en_core_web_sm somehow.
The first error I ran into:
================================= preprocess =================================
Running command: /tmp/venv38-1/bin/python3.8 scripts/preprocess.py assets/train.gold.conll corpus/train.spacy
Traceback (most recent call last):
  File "scripts/preprocess.py", line 109, in <module>
    read_file(sys.argv[1], sys.argv[2])
  File "scripts/preprocess.py", line 19, in read_file
    nlp = spacy.load("en_core_web_sm", disable=["tagger", "ner", "attribute_ruler", "lemmatizer"])
  File "/tmp/venv38-1/lib/python3.8/site-packages/spacy/__init__.py", line 51, in load
    return util.load_model(
  File "/tmp/venv38-1/lib/python3.8/site-packages/spacy/util.py", line 427, in load_model
    raise IOError(Errors.E050.format(name=name))
OSError: [E050] Can't find model 'en_core_web_sm'. It doesn't seem to be a Python package or a valid path to a data directory.

Thanks for the feedback! I think I have fixed most of what you pointed out.

Also maybe torch as a requirement somehow? And spacy-transformers.

I specified spacy-transformers as a requirement, and I think that pulls in torch, but I'm not sure how to specify the right GPU stuff - for example, GPU version will depend on the user's CUDA version. I can call nvcc or something but maybe it's easier to just say "please install spaCy with GPU support" and have a short script check for it and fail at the start?

The spacy version should go in spacy_version in project.yml instead?

There's some renaming missing for span_predictor in terms of the configs and output directories (assemble fails).
If I rename enough to assemble, then:
==================================== eval ====================================
Running command: /tmp/venv38-1/bin/python3.8 scripts/run_eval.py training/coref corpus/test.spacy
Traceback (most recent call last):
  File "scripts/run_eval.py", line 7, in <module>
    from spacy.coref_scorer import Evaluator, get_cluster_info, lea
ModuleNotFoundError: No module named 'spacy.coref_scorer'

Thanks for all the feedback! I had been focused on testing the training part, but it looks like there was a lot of cleanup left.
I am doing a test run to confirm everything locally, but I think it should work at this point.
The remaining thing is how to specify a Torch / GPU lib install - I'm not really sure what the right way to do that is.

My test run of training and evaluation with the above changes finished successfully.

Just a warning, but since the components are in experimental now, I'm going to move this from pipelines to experimental, which will be disruptive if you have a local copy.

The test I just added is failing in CI - the logs aren't clear, but I think it's just an issue of requirements not being installed in the test env. I'll sort it out Monday.

The previous test failures were due to GPU-related issues. Those are resolved but this is still failing, and I think it's due to disk space related issues (like the strange error upthread). I'm still looking into how to resolve it.

After debugging, I'm still not 100% sure what exit code -9 means, but it looks like this might be an issue with memory and not disk usage. I've changed the tests to use configs with tok2vecs instead of Transformers to test that.

Test works now, so that should make sure this runs on Windows.
One thing that came up during the test is that this repo uses env vars to set overrides on training.max_epochs and training.max_iterations. This is a problem when running spacy project assemble, since that command doesn't allow overriding those values and will result in an error. The fix in this case was just to overwrite that env var before running the test, but I expect this will come up in other projects eventually.

Thanks for getting the test in place! So currently this is running on CPU with tok2vec, right? Is that simply because there's no GPU instance available on the CI?

That's correct, it's running with tok2vec on CPU. That's partly because there's no GPU instance, and partly to keep memory and disk usage down so that the job doesn't die unpredictably.

Going to close and re-open to pull in latest changes in experimental PR...

It looks like the tests are failing on Linux due to memory usage when training the SpanResolver. None of the recent changes should modify that so maybe it's just flaky, but I'll see if I can reduce the memory usage further.

Since the test went green, I've gone ahead and updated the requirements to use v0.6.0 of spacy-experimental instead of the feature branch. The build will break until the release is actually made, but this will avoid another PR later.

Closing and re-opening to test.


[TEST] fix DataHandlerTest.testDatabaseTypeListener

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f dbdialog/build.xml clean-all resolve jacoco && ant -f dbdialog/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  dbdialog/test-src/org/pentaho/ui/database/event/DataHandlerTest.java

Newly Fixed Tests:
org.pentaho.ui.database.event.DataHandlerTest.testDatabaseTypeListener:
:large_blue_circle: java.lang.NullPointerException
java.lang.NullPointerException
	at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:471)
	at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:366)
	at org.pentaho.ui.database.event.DataHandler$DatabaseTypeListener.pluginAdded(DataHandler.java:1496)
	at org.pentaho.ui.database.event.DataHandlerTest.testDatabaseTypeListener(DataHandlerTest.java:352)

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.ui.database.event.DataHandler.DatabaseTypeListener

Branch Change:  + 50.00%
Complexity Change:  + 40.00%
Instruction Change:  + 60.44%
Line Change:  + 53.85%
Method Change:  + 50.00%

@bmorrise please review


add make_zCDP_to_approxDP combinator

Closes #504.

This name isn't snake-case, so we need to choose one of the following:

allow(non_snake_case) this time (this lint wasn't obvious because we disable it for type names in FFI)
change the name

Code looks great, waiting on accompanying explanation in form of proof docs.


The editor doesn't get added to my textarea?

Hello,
The editor doesn't get added to my textarea... If you could upload a working demo so I can get it that would be great.

Which jQuery version do you use?


Ensure all exceptions thrown by miner are caught

Related to: https://github.com/NebraLtd/hm-diag/issues/181
Exceptions created in this PR: https://github.com/NebraLtd/hm-pyhelper/pull/45

Acceptance criteria:

[ ] Stop all services other than hm-diag on the miner
[ ] Make sure both the diagnostics page and the /json payload is being served with all other services stopped

@SebastianMaj can you make sure this invocation is also caught?
In testing, I am seeing:
 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1515, in full_dispatch_request
10.11.21 19:26:01 (-0600)  diagnostics      rv = self.handle_user_exception(e)
10.11.21 19:26:01 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1513, in full_dispatch_request
10.11.21 19:26:01 (-0600)  diagnostics      rv = self.dispatch_request()
10.11.21 19:26:01 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1499, in dispatch_request
10.11.21 19:26:01 (-0600)  diagnostics      return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
10.11.21 19:26:01 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/flask_caching/__init__.py", line 475, in decorated_function
10.11.21 19:26:01 (-0600)  diagnostics      rv = f(*args, **kwargs)
10.11.21 19:26:01 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/hw_diag-1.0-py3.10.egg/hw_diag/views/diagnostics.py", line 44, in get_diagnostics_json
10.11.21 19:26:01 (-0600)  diagnostics      diagnostics = read_diagnostics_file()
10.11.21 19:26:01 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/hw_diag-1.0-py3.10.egg/hw_diag/views/diagnostics.py", line 32, in read_diagnostics_file
10.11.21 19:26:01 (-0600)  diagnostics      perform_hw_diagnostics()
10.11.21 19:26:01 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/hw_diag-1.0-py3.10.egg/hw_diag/tasks.py", line 42, in perform_hw_diagnostics
10.11.21 19:26:01 (-0600)  diagnostics      diagnostics = fetch_miner_data(diagnostics)
10.11.21 19:26:01 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/hw_diag-1.0-py3.10.egg/hw_diag/utilities/miner.py", line 12, in fetch_miner_data
10.11.21 19:26:01 (-0600)  diagnostics      raise Exception("Unable to fetch miner peerbook from miner container "
10.11.21 19:26:01 (-0600)  diagnostics  Exception: Unable to fetch miner peerbook from miner container via JSON RPC API. Exception: Unable to connect to miner http://helium-miner:4467
10.11.21 19:26:11 (-0600)  diagnostics  DEBUG:flask_caching.backends.simplecache:get key 'view//initFile.txt' -> miss
10.11.21 19:26:12 (-0600)  diagnostics  2021-11-11 01:26:12,084 - [INFO] - hm_pyhelper.miner_param - (miner_param.py).run_gateway_mfr -- /usr/local/lib/pyth

@SebastianMaj can you make sure this invocation is also caught?
In testing, I am seeing:
 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1515, in full_dispatch_request
10.11.21 19:26:01 (-0600)  diagnostics      rv = self.handle_user_exception(e)
10.11.21 19:26:01 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1513, in full_dispatch_request
10.11.21 19:26:01 (-0600)  diagnostics      rv = self.dispatch_request()
10.11.21 19:26:01 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1499, in dispatch_request
10.11.21 19:26:01 (-0600)  diagnostics      return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
10.11.21 19:26:01 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/flask_caching/__init__.py", line 475, in decorated_function
10.11.21 19:26:01 (-0600)  diagnostics      rv = f(*args, **kwargs)
10.11.21 19:26:01 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/hw_diag-1.0-py3.10.egg/hw_diag/views/diagnostics.py", line 44, in get_diagnostics_json
10.11.21 19:26:01 (-0600)  diagnostics      diagnostics = read_diagnostics_file()
10.11.21 19:26:01 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/hw_diag-1.0-py3.10.egg/hw_diag/views/diagnostics.py", line 32, in read_diagnostics_file
10.11.21 19:26:01 (-0600)  diagnostics      perform_hw_diagnostics()
10.11.21 19:26:01 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/hw_diag-1.0-py3.10.egg/hw_diag/tasks.py", line 42, in perform_hw_diagnostics
10.11.21 19:26:01 (-0600)  diagnostics      diagnostics = fetch_miner_data(diagnostics)
10.11.21 19:26:01 (-0600)  diagnostics    File "/usr/local/lib/python3.10/site-packages/hw_diag-1.0-py3.10.egg/hw_diag/utilities/miner.py", line 12, in fetch_miner_data
10.11.21 19:26:01 (-0600)  diagnostics      raise Exception("Unable to fetch miner peerbook from miner container "
10.11.21 19:26:01 (-0600)  diagnostics  Exception: Unable to fetch miner peerbook from miner container via JSON RPC API. Exception: Unable to connect to miner http://helium-miner:4467
10.11.21 19:26:11 (-0600)  diagnostics  DEBUG:flask_caching.backends.simplecache:get key 'view//initFile.txt' -> miss
10.11.21 19:26:12 (-0600)  diagnostics  2021-11-11 01:26:12,084 - [INFO] - hm_pyhelper.miner_param - (miner_param.py).run_gateway_mfr -- /usr/local/lib/pyth

https://github.com/NebraLtd/hm-diag/blob/sebastianmaj/miner-json-rpc-exceptions/hw_diag/utilities/miner.py
This is already being caught in a catch exception I put in 6 days ago, it's just not in the master branch yet.

Fix: Ensure miner exceptions are caught #212
This PR handles exceptions more gracefully, it catches all exceptions that are thrown by the miner and handles them properly to avoid having errors halting the process.
Fix: Add timeout to request on helium api #217
This PR solves the Error 500 related to the chain halt. With the chain halt we were unable to communicate with the helium api which was causing the miner to timeout on attempting to hit diagnostics.

@SebastianMaj great work. Can you point the next testnet release to the newest hm-diag commit SHA?

@marvinmarnold I updated the hm-diag SHA to the latest merge in docker-compose on @shawaj branch


Add missing tests dependency

Add missing pytest-cases dependency required to run tests.
Replace deprecated jax.tree_map with jax.tree.map.

LGTM, thanks! Merged.


Correction for raw affiliation Physics & Astronomy, Western University

Correction needed for raw affiliation Physics & Astronomy, Western University
raw_affiliation_name: Physics & Astronomy, Western University
new_rors: 02grkyz14
previous_rors: 05cgtjz78
works_examples: W4390012273
contact: 37b7ff89a61004a99a6bb8825e2abe41:cdf5bf0b6043c023 @ uwo.ca

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Technorati Service refactored.

I adapted the code for Technorati Service to be compatible with the Framework.
I not made any change in the logic, only I changed classnames and adapt missing functions to the new functions in the framework.
Also I removed the exclusion in the phpunit tests and now ZF-106 is fixed
At this momento only 2 units tests are failling. This tests expects than Zend\Uri\UriFactory throw a Exception if the Uri was mal formatted, but seems that Uri component treats the Uri (http:::/foo) as correct.
$ phpunit Zend/Service/Technorati/
PHPUnit 3.6.10 by Sebastian Bergmann.

Configuration read from zf2/tests/phpunit.xml

..F............................................................  63 / 122 ( 51%)
..........................................................F

Time: 5 seconds, Memory: 30,25Mb

There were 2 failures:

1) ZendTest\Service\Technorati\AuthorTest::testSetGet
Expected Zend\Service\Technorati\Exception\RuntimeException not thrown

zf2/tests/Zend/Service/Technorati/AuthorTest.php:121

2) ZendTest\Service\Technorati\WeblogTest::testSetGet
Expected Zend\Service\Technorati\Exception not thrown

zf2/tests/Zend/Service/Technorati/WeblogTest.php:136

FAILURES!
Tests: 122, Assertions: 352, Failures: 2.

Refactor looks pretty good! My general notes are:

import all classes you use outside of the namespace, even PHP internal ones (Dom* classes in particular)
classname references inside docblocks resolve based on the current namespace and/or import statements. As such, you can lose some verbosity -- \Zend\Service\Technorati\Exception\RuntimeException => Exception\RuntimeException; \Zend\Uri\UriFactory => UriFactory. You'll need to watch out for ones like Zend\Date\Date (as "date" is a keyword), but aliasing will help.
please remove underscore prefixes from non-public members (no longer needed in ZF2 CS)

Get those cleaned up, and it looks good to go!

Done


CommandSingleClickRenderer: Support new ConfirmPopup

Is your feature request related to a problem? Please describe.
We currently support ignoring ConfirmDialog buttons this extends it to support the new ConfirmPopup component.

@jepsar please review.  The new confirm popup buttons are ui-confirm-popup-yes for example and confirm dialog is ui-confirmdialog-yes so this makes it generic to just look for ui-confirm

@jepsar please review.  The new confirm popup buttons are ui-confirm-popup-yes for example and confirm dialog is ui-confirmdialog-yes so this makes it generic to just look for ui-confirm

@melloware good catch. Fix looks good to me.
I was just talking with a co-worker whether to replace the confirm dialog with a popup :-)

@melloware good catch. Fix looks good to me.
I was just talking with a co-worker whether to replace the confirm dialog with a popup :-)

HA yeah I REALLY like the confirm popup it seems so much less annoying than a whole dialog!


Creation of new atlases.

Hello there,
I have been really interested to see cellfinder and brainglobe grow in the last few years, great job on this open-source package! But I'm working with rat brains, and currently, there are no compatible rat atlases available. Are there plans to create a compatible rat atlas? And if not, what would it take to create a rat atlas in the correct format to work with other brainglobe packages? I'm interested in contributing if my skill set allows for it.
Best regards,
Allison McDonald
PhD student
Behavioural & Translational Neuroscience Lab, VUmc, Amsterdam, NL.

Hi Alison,
We really need to write this up properly, but what you'll need is:

A 3D structural reference image, e.g. just autofluorescence, MRI etc. Ideally similar to the modality you want to register
A 3D annotations image (same size and shape as the structural image), where each brain area is defined by a unique voxel value
Some information (e.g. csv file) of what brain area corresponds to each unique voxel value, and any brain region hierarchy information
Ideally the 3D meshes of each brain area, but we can generate these

Then we have template scripts that can be used to package up the atlas.
Hope this helps, get in touch if we can help at all.
Adam

I've renamed this to track the general issue of improving the process and documentation for adding new atlases.

Hi!
Following our previous discussion , I think I am ready to contribute the rhesus monkey atlas.
Could you contact me at: mathieu.bourdenx  u-bordeaux.fr to see what are the next steps?
Thanks!
Mathieu

Hi,
I wanted to know if I can build an atlas (zebra finch, other birds) from  a series of 2d Nissl slices? if yes, how would I label each region? sorry if this is very basic. Thank you and thank you in advance.
Cristian

Hi @oilbird, we currently only support 3D atlases at the moment, so for this to work you would need to ensure that each of your 2D sections were registered to each other, to create an aligned volume.
How you label each region is up to you, but to create the image, you could use something like ImageJ/FIJI or napari.

Hi @adamltyson ,
I wanted to know if there is a project on the allen atlas in the young mouse on this api. (such as P14).
is there any documentation listing ongoing works ?
thx in advance.

Hi @LSilvagnoli,
Ongoing work to develop new atlases is over at https://github.com/brainglobe/bg-atlasgen. We don't yet have a P14 mouse atlas, but I think https://github.com/brainglobe/bg-atlasgen/pull/11 could be adapted to include other atlases from @yoda-vid's paper which I think includes P4 and P28 atlases. Is this right @r4deepr?

Thanks, @adamltyson and @LSilvagnoli. Yes, those atlases including the P14 mouse are currently available on EBRAINS. Would be awesome if @pr4deepr's PR could be adapted to include them on this API as well (thanks for all your work on this!).

Thanks @adamltyson and @yoda-vid for your answers on this subject.
Please let me know if there is any advancement about including those atlases on this API.

Closing this now there are some docs on the website (https://docs.brainglobe.info/bg-atlasapi/adding-a-new-atlas).
If anyone is still interested in contributing a new atlas, I have some more bandwidth to help out, so get in touch.


Review Google Search Console problems with sitemaps

See Google Search Console

/sitemap/uuid.xml does not work
Somehow Google checks /zahlensysteme/zahlensysteme which doesn't exist (?)

Moved to the backlog document


Support for extend, include, if etc?

Hi I am having some issues with the adapter, it's recognizing any of the twig syntax.
'use strict';

/*
* Require the path module
*/
const path = require('path');

/*
 * Require the Fractal module
 */
const fractal = module.exports = require('@frctl/fractal').create();

const twigAdapter = require('@wondrousllc/fractal-twig-drupal-adapter');
const twig = twigAdapter({
  handlePrefix: '@components'
});

/*
 * Look for twig files instead of hbs files.
 */
fractal.components.set('ext', '.twig'); // default is '.hbs'

/*
 * Give your project a title.
 */
fractal.set('project.title', 'Apricot Atomic Design System');

/*
 * Tell Fractal where to look for components.
 */
fractal.components.set('path', path.join(__dirname, 'patterns/components'));

/*
 * Tell Fractal where to look for documentation pages.
 */
fractal.docs.set('path', path.join(__dirname, 'patterns/docs'));

/*
 * Tell the Fractal web preview plugin where to look for static assets.
 */
fractal.web.set('static.path', path.join(__dirname, 'patterns/public'));

OK I've found the issue, might want to update the docs.
I've added:
fractal.components.engine(twig);
right before defining the extension.

Looks like this issue could be closed since #7 got merged ?


Support for sequence/map types

I'm trying to execute the code below
use ort::{
    tensor::{
        InputTensor,
        DynOrtTensor,
        FromArray,
        OrtOwnedTensor
    },
    Environment,
    LoggingLevel,
    SessionBuilder,
    OrtResult
};
use polars::{
    datatypes::Float32Type,
    prelude::*
};
use ndarray::IxDyn;

fn main () -> OrtResult<()> {

    //Lendo o dataframe usando Polars
    let dataframe = CsvReader::from_path("random_df.csv")
        .unwrap()
        .has_header(false)
        .finish()
        .unwrap()
        .to_ndarray::<Float32Type>()
        .unwrap();

    //Criando o ambiente
    let environment = Environment::builder()
	    .with_name("random_df_environment")
	    .with_log_level(LoggingLevel::Warning)
	    .build()?
	    .into_arc();

    //Criando a sessão
    let session = SessionBuilder::new(&environment)?
	    .with_model_from_file("random_df.onnx")?;

    let input = vec![
        InputTensor::from_array(dataframe.into_dyn())
    ];

    let outputs: Vec<DynOrtTensor<ndarray::Dim<ndarray::IxDynImpl>>> = session
        .run(input)
        .unwrap();
    let scores = &outputs[0];
    let scores: OrtOwnedTensor<'_, i64, IxDyn> = scores.try_extract()?;
    let scores = scores.view();
    let scores = scores.view();
    println!("{:}", scores);
    Ok(())
}

But i'm getting the Error: PointerShouldBeNull("CastTypeInfoToTensorInfo")
I googled it but didn't find a thing, could anyone help?

Sure, https://drive.google.com/file/d/1s5iQBO6lYx2S2YfcDA4S3FDJMpjWYsNK/view?usp=share_link

The error occurs because the graph contains an output with type sequence<map<int64,float32>>, which ort does not currently support.

is there a workaround for this? This is a Logistic Regression model trained with random data for test purposes

Not at the moment, no

To anyone who might face a similar problem, there's a quick solution: when serializing the model to the onnx format, remember to "deactivate" the ZipMap, in python pass the {'zipmap': False} dict to the convert_sklearn or to_onnx's options parameter as shown:
initial_type = [('float_input', FloatTensorType([None, train_x.shape[1]]))]
onnx = convert_sklearn(clf, initial_types=initial_type, options={'zipmap': False})
with open("lr_iris.onnx", "wb") as f:
    f.write(onnx.SerializeToString())

@decahedron1 Did my PR(https://github.com/pykeio/ort/pull/102) close the issue? Or I forgot about something?

@ikrivosheev All that's required after #102 is just the logic to convert between ORT Values and Rust HashMap/Vecs in src/value.rs.

@decahedron1 sorry for the delay... I worked on other problem. Do you need help with release 2.0? I saw, that you already added convert logic.


[DOC] Fix Adam optimizer doc with bias correction term

Description
As title. @szha @sandeep-krishnamurthy
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@eric-haibin-lin Thanks for fixing the doc
@mxnet-label-bot Add [Doc, pr-awaiting-review]


Send button in Multisig not working

Pressing the send button on the multisig screen does not work.
If however the number of Removal or Approval is larger than the amount of cosigners provided or if they are set to 0 an error occurs . Yes, this is normal behaviour, but if everything is filled in correctly nothing happens when pressing the send button.
Vesion 0.13.5
This only happens with 1 account, that has previously been a multisig account. Also mint approval and min removal is set to 0 when starting the multisig process, with other accounts they start with 1.
Failing account:

Working account:

Failing account private key: 7B2C08AE43326B3D53DE46A437E4639A44D1885C3D84A52061983430ADEA36B2

@meyns what node are you using and what system?
I created new profile and imported this private key. When I go to multisig tab I see:

@meyns ping :) Could you also verify on live build (http://desktop-build.symboldev.com/)?

@meyns I was unable to reproduce. I'm closing. Please let me know if you can still reproduce it.

@meyns I was unable to reproduce. I'm closing. Please let me know if you can still reproduce it.


Add left suffix, right suffix params, enable JoinSpec unit test

Description and related tickets, documents
PE-1769: add support for left suffix and right suffix for join operation.
Reviewers: @nhanitvn @Huandao0812 @hai-adatao
Breaking changes & backward compatible issues
Is this PR a breaking change or has backward compatible issue (e.g: changes in API names, interfaces, signature / remove something...)?
If yes, please state out what and tag, and if it can possibly affect BA, please tag aht, tuananh, khangpham and baonguyen
How to test
Describe how this PR is tested. In case manual testing is required, describe how to do so.
PR Progress
Make sure all checkboxes below are checked before merged

[x] Branch is in format prefix/description (see this)
[x] Merge check has no conflicts. PR checks passed.
[ ] Code review is done.

@ducleminh, should not expose JIRA tickets in DDF / DDF-JDBC, it's open source (I don't really know why)


Mobile Wallet - Unexpected value in the input/outputs commitment info

I had only 5.001 mwc in my wallet and (unrelated : it was a slatepack self spend) and it's appears that of one my inputs was an amount of 858 MWC in the self-spend transactions details. Which cannot be true.

@sarawut11   please take a look. If you can't reproduce it, probably not much what we can do. Also I will create a ticket for for the next version about logs upload. In such situations we want users to able to send logs to us.

Verified with the latest build and observed results are not matching, hence re-opening this ticket.

@vinayaga07 ,  please explain what is not matching?  The numbers looks reasonable for me.

@bayk , For Sent Transaction, "Debited" MWC amount is wrong.

@vinayaga07 , it is not wrong. Amount = Debited - Credited
-0.009 = 0.482 - 0.491
0.491 - You spent
0.482 - you get back as a change

Closing as per the above comments.


[QUESTION] WithValidation not working with ToArray?

Prerequisites

[x] Have read and understood: https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/.github/SUPPORT.md
[x] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[x] Checked that your question isn't already asked before.
[x] Filled in the entire issue template

Versions

PHP version: 7.3.4
Laravel version: 5.8.22
Package version: 3.1.13

Description
This is a documentation issue. I'll open a PR later but first I must know if I'm right about it. It's about Validation. It only works with models, doesn't it? The documentation isn't exactly 100% clear about it.
I've tried to make my Import fail the validation deliberately but nothing seems to work. I looked through the source code and found out the WithValidation concern is only relevant on the ModelManager class's flush method. Am I missing something?
Additional Information
Relevant Code:
namespace App\Imports;

use Illuminate\Validation\Rule;
use Maatwebsite\Excel\Concerns\{Importable, ToArray, WithValidation};

class MyImport implements ToArray, WithValidation
{
    use Importable;

    protected $someArray = [];

    public __construct(array $array)
    {
        $this->someArray = $array;
    }

    public function rules(): array
    {
        return [
            '*.1' => Rule::notIn($this->someArray),
        ];
    }

    public function array(array $rows)
    {
        //
    }
}

That’s correct. Thanks for PR’ing the docs

We btw have a section in the docs about this: https://docs.laravel-excel.com/3.1/imports/validation.html#row-validation-without-tomodel Feel free to improve it


Fix for fluentd v0.14

from https://github.com/winebarrel/fluent-plugin-elb-access-log/pull/11

Changes Unknown when pulling 6ebcf1ac8a7022f6103671c58bf0928b52e11ecf on fix_for_v0.14 into ** on master**.

Changes Unknown when pulling d49b26bcbab48e8b2570ed8b0f235e8521aab51a on fix_for_v0.14 into ** on master**.

Changes Unknown when pulling d49b26bcbab48e8b2570ed8b0f235e8521aab51a on fix_for_v0.14 into ** on master**.


Don't start migration.

Describe the bug
Don't start migration when zitadel setup.
To Reproduce

zitadel setup, zitadel start-from-setup or zitadel start-from-init

Expected behavior
Database tables are created.
Screenshots
None.
Server:
OS: Debian 11.5
DB: PostgreSQL 14.5
Additional context
Show message as below:
zitadel@db:~$ /usr/local/sbin/zitadel setup --config ./zitadel-config.yaml --config ./zitadel-secrets.yaml --steps ./zitadel-init-steps.yaml --masterkeyFile ./master.key
INFO[0000] setup started                                 caller="/home/runner/work/zitadel/zitadel/cmd/setup/setup.go:57"
WARN[0000] postgres is currently in beta                 caller="/home/runner/work/zitadel/zitadel/internal/database/postgres/config.go:61"
INFO[0000] verify migration 01_tables                    caller="/home/runner/work/zitadel/zitadel/internal/migration/migration.go:33"
INFO[0000] verify migration 02_assets                    caller="/home/runner/work/zitadel/zitadel/internal/migration/migration.go:33"
INFO[0000] verify migration 03_default_instance          caller="/home/runner/work/zitadel/zitadel/internal/migration/migration.go:33"
INFO[0000] verify migration 04_eventstore_indexes        caller="/home/runner/work/zitadel/zitadel/internal/migration/migration.go:33"
INFO[0000] verify migration config_change                caller="/home/runner/work/zitadel/zitadel/internal/migration/migration.go:33"

Hi @mzch thanks for giving us another try. Are you able to share your configuration files?

@mzch do you still have this issue? If so, could you please attach your zitadel configuration?

I will close this issue, because we are not able to help without further information.
We will reopen if we can help and get more infomraiton.


Excluding files

I'm using jsonschema2pojo in a Kotlin with the following configuration:
jsonSchema2Pojo {
    sourceFiles = files("$projectDir/../src/schema/current/")
    targetDirectory = file("build/generated-sources/jsonschema2pojo")
    removeOldOutput = true
    ..

This src/schema/current folder contains sub-folders and jsonschema2pojo nicely creates sub-packages for that.
Until now this setup was working perfectly, but now I have some non json  schema files that are added to src/schema/current and because these file are non json schema's the jsonschema2pojo task fails as it does not recognize them.
Is there a way to exclude certain folders/files?

fileFilter = FileFilter { file -> file.name.endsWith(".json") } did the trick.


Document spellcheck issue on Mac M1

Introduction
make spellcheck relies on pyenchant, which fails on Apple Silicon Mac (e.g., M1) to find the C enchant library: https://github.com/pyenchant/pyenchant/issues/265
This shows up as a en_US-not-found error on my M1 Mac.
Changes
When running make spellcheck, it now also prints this recommended workaround:
❯ make spellcheck
# If you are using an Apple Silicon Mac, there is currently an issue with
# pyenchant (https://github.com/pyenchant/pyenchant/issues/265) that prevents
# this spellcheck command from finding the enchant library (and en_US).
# Until pyenchant is fixed, one workaround is to run:
#    `export PYENCHANT_LIBRARY_PATH=/opt/homebrew/lib/libenchant-2.dylib`
# in the terminal environment before you run `make spellcheck`
# See: https://github.com/pyenchant/pyenchant/issues/265#issuecomment-998965819
poetry run pylint --disable all --enable spelling --spelling-dict en_US --spelling-private-dict-file=whitelist.txt src

Given that the number of users using Apple Silicon Mac will increase (as Apple phases out x86) and that only NDK developers (not users) will run make spellcheck, I think it's reasonable to surface this directly in the command, instead of making the Makefile comment silent.
Behavior
After adding export PYENCHANT_LIBRARY_PATH=/opt/homebrew/lib/libenchant-2.dylib to my .zshenv as mentioned, I can run make spellcheck completely.

Thanks for the help, Newton!


feat: components folder

Is your feature request related to a problem? Please describe.
As we know NextJS app is made of components.
Each time I need to create my components folder with my custom hierarchy.
Describe the solution you'd like to see
It would be better if you provide a components including two different approaches:

[x]  By role: Buttons, Tabs, TextFields ...
-[x] By feature: Signup, Login,...

Describe alternate solutions
NO
Additional information
No response

there are many different ways to set up the folder structure of a project, and many of them don't involve src/components. we don't want to be opinionated about this.


[feature] Make it possible to set "auto ptr" per record creation

Hi,
Currently there are two auto ptr options, one global and one per domain.
One feature that another PowerDNS client has that PDA lacks is the ability to request this per record at creation / update time.
Sometimes you want to have multiple A records for the same system, but only want the PTR to attempt to be set for one of them. Obviously if you create / update in the right order, the last will win, but it means unnecessary updates to the reverse DNS tables.
Having a check box somehow to allow this to be toggled as records are changed would be good.

Hello,
This request is stale for too long. Regarding our policy to cleanup this project, we are closing it. As this is a Feature Request, it will be listed in #1178
Regards
PowerDNS Admin Team
See #1153 for the policy


Sphere remove leave points

@Slavq Can't reproduce in last version. Could you check if it's still valid?

Sure, just tested on the latest master files, it still seems to leave some voxels:

I just raised the ground using projection tool to form a little mountain, then made holes with Sphere + Remove option.

Thanks. The latest commit seems to fix it, could you check?

Magic levitating points still appear. Same procedure to reproduce.

Strange, I don't have this. Have you pulled 23ecafa?

I'm not on my main workstation right now (no git, etc.) , I just download the whole master, unzip to different folder and build the files again :) I must have used wrong folder, I redownloaded again and it's indeed fixed. Only one very small floating voxel discovered:


[testing-karma] Errors with karma 4.4.0

Hi 👋
I am using @open-wc/testing-karma, and since the update of karma to 4.4.0, a lot of things have stopped to work, and can't start a test suite, crashing after the build.
Also, the main project tests crashes when the karma dependency is resolved to 4.4.0
Steps to reproduce:

Clone master branch
Delete yarn-lock
yarn install && npm run test

Regards

I just tried this on the master branch, and on a clean project using npm init @open-wc. Tests are working fine for me on both.

Delete yarn-lock

Casually stoping by from Polymer, but this could definitely put things out of sync.  Any reason to just not manually yarn add the updated deps without blowing out the entire lock file?

weird, what is the output of yarn list karma? I have 4.4.0 and I think it's the issue

@thescientist13 this is just a way to enforce the installation of the latest versions of karma.
When you install the package as a dependency, the "karma": "^4.0.0", in the package.json of the @open-wc/karma-config will resolve to the latest minor version, ignoring the yarn-lock of the main package, so it's a way to emulate the versions resolution.

Also experiencing this issue. Error on [karma-server] Unhandled rejection

@vlaraort
Gotcha.  Wasn't sure if just using yarn upgrade / yarn add for just the karma dependencies individually would help / narrow the scope, instead of deleting the whole lock file, but seems the error is specific to karma itself, and not necessarily another dependency or maybe a transitive one.

Looks like karma has released the 4.4.1 version and now I don't have the [karma-server] UnhandledRejection, so for me this can be closed.

Thats great to hear! Thanks for reporting it.

FYI
To display the error, you can add the following code in your karma configuration
process.on('infrastructure_error', (error) => {
  console.error('infrastructure_error', error);
});


pi

copilot:all

Current dependencies on/for this PR:

main

PR #4913   👈

This stack of pull requests is managed by Graphite.


UIImage and Sprite display as different sizes even though their widths, heights and scales match exactly.

UIImage and Sprite display as different sizes even though their widths, heights and scales match exactly. I added the UIImages by dragging from my assets panel into the game screen. I added my sprites by adding a sprite through the menus then setting their texture as the same images I had dragged in before. Their (the sprites and uiimages) widths and heights match the image (source image) width and height and their scales are set to 1. Is this a feature that I am missing or a bug? See attached image.

UIImage scales with window size. Sorry for the dumb question.


Add pull request branch configuration

This fixes #39
There is 2 new configuration:

pull_request_branch: The pull request branch name.
pull_request_unique: Is the pull request branch unique? If "false" the branch will be suffixed with a timestamp.

By default the branch is not unique and is suffixed with a timestamp, and the name is gh-actions-update.
The current default behavior is unchanged.

Hi @saadmk11,
Did you had time to check the update of the PR ?
Best regards.

Did you had time to check the update of the PR ?

Sorry, I have been quite busy. I'll try to take a look some time next week.

Thanks for the updates. I have requested some changes.
I will edit the PR ASAP. Thanks for the review.

We need to update https://github.com/saadmk11/github-actions-version-updater/blob/main/action.yaml with the input option.
I wasn't aware of this file. I will update it. Thanks.

We need to update https://github.com/saadmk11/github-actions-version-updater/blob/main/action.yaml with the input option.

Done. I am unsure about the default value. I have set it to 'gh-actions-update-<timestamp>'.

PR updated with the requested changes. In theory it should work.
Do you have any way to test the feature before to merge it ?

Hi @saadmk11,
Quick reminder, could you test and review this PR? You might still be busy.
Best regards,
JM

I have updated my project: https://github.com/jmlemetayer/project-release/
To use:

The development branch: https://github.com/jmlemetayer/project-release/commit/2f2864505f5e255c41fe8114aa5b66db55964e8c (the pull_request_branch option was already pre-configured)
And to run hourly: https://github.com/jmlemetayer/project-release/commit/495410d0fbfa96db89e0a298f2570a0599af9737

Also I have add https://github.com/jmlemetayer/project-release/commit/63be5943969299fd76b945fdb87061d9ce3f1970 as a possible workaround of the #49

Updated my project again, with the fix of the #49.
I let the action run twice, to see the pull request creation and update. Both run are a success:

creation: https://github.com/jmlemetayer/project-release/actions/runs/3793304553/jobs/6450293101
update: https://github.com/jmlemetayer/project-release/actions/runs/3793592424/jobs/6450852376

I have checked manually that the created pull request is correct and also successfully updated:
https://github.com/jmlemetayer/project-release/pull/21
Looks god to me !


Altering workload resource mappings

If I’ve created service bindings against a workload resource mapping, and then I add or change a workload resource mapping to that same resource type, what should a compliant operator do? Do we need to reprocess our bindings? Do we leave them be? The spec leaves this behavior undefined.
There are a few things we can do as the API currently reads, namely recreate/reprocess existing bindings or leaving them be.
Recreating existing service bindings
What happens if we rebind our existing service bindings?  If we do this, everyone is immediately informed of new/changed mappings; since workload resource mappings are effectively a shared mutable state, this is probably the least surprising behavior.  However, this forces all service bindings against a particular workload type to always use the same mapping.  I can imagine a use case that this falls short for: a cluster administrator needs to have a different resource mapping for different circumstances (for instance, they only want to bind initContainers with some service bindings, and they only want containers with some other service bindings).
Leave existing bindings as they are
On the other hand, what if we leave existing service bindings alone?  If a user explicitly wants to have a service binding with a workload resource mapping, and then later change the mapping to support those resources in a different manner (i.e. to support a different set of containers, see “Multiple volume entries” below), then this interpretation allows for this use case to function.  However, since only one workload resource mapping may exist for a resource at any given time, users may expect that if a mapping definition is changed, then service bindings that would be affected by this change should be reprocessed.  Furthermore, if we alter a workload resource mapping, we will end up in the case where the mapping that kubernetes says we are using is different from the mapping that some service bindings are actually operating under.

This dovetails nicely with #170. In essence, the state of the cluster that lead the implementation to take a course of action is no longer true. An implementation should undo its previous action and redo that action based on the current state.
For an implementation, this means it generally should track enough information about the current state when creating a binding that it is able to remove that binding. How an implementation does this is obviously an implementation detail.
I generally don't expect the ClusterResourceMapping resource to change frequently. Defining a new mapping, or adding a version to a mapping are going to be the most common mutations.


Added slope and y-intercept to readme in the first example

I spent a bit of time trying to find out how to access these. I figured this might save someone else time. Thanks for the project!

👍  Thanks!


Applying hour_of_week seasonality causes days_back and training_period configurations to be ignored

Describe the bug
When using hour_of_week seasonality the training set goes back to 2016 in violation of the days_back and/or training_period configurations.
To Reproduce
Steps to reproduce the behavior:
1. Run anomaly test without seasonality
Example
- elementary.dimension_anomalies:
   name: insert_name
   dimensions: [dimension_name]
   time_bucket:
     period: hour
     count: 1
   timestamp_column: created_ts
   days_back: 366
   backfill_days: 1
   anomaly_direction: both
   anomaly_sensitivity: 2
   severity: warn
   error_if: '>4'
   warn_if: '>2'

Look at compiled code and see that in the create table statement's first CTE this is the code used to generate the date buckets:
(
  select
    explode(
      sequence(
        cast('2023-01-02T00:00:00+00:00' as timestamp),
        cast('2024-01-03T22:00:00+00:00' as timestamp),
        interval 1 hour
      )
    ) as edr_bucket_start
)

2. Run anomaly test with this seasonality
Example:
- elementary.dimension_anomalies:
   name: insert_name
   dimensions: [dimension_name]
   time_bucket:
     period: hour
     count: 1
   timestamp_column: created_ts
   days_back: 366
   backfill_days: 1
   anomaly_direction: both
   anomaly_sensitivity: 2
   severity: warn
   error_if: '>4'
   warn_if: '>2'
   seasonality: hour_of_week

Look at compiled code and see that in the create table statement's first CTE this is the code used to generate the date buckets:
(
  select
    explode(
      sequence(
        cast(
          date_trunc('hour', cast('2016-12-28 00:00:00' as timestamp)) as timestamp
        ),
        cast('2024-01-03 22:09:07.509656+00:00' as timestamp),
        interval 1 hour
      )
    ) as edr_bucket_start
)

Expected behavior
I would not expect window for the query to extend back 6 years. One year should have 52 week-hour combinations and therefore be more than enough to generate a reasonably reliable seasonality adjustment.
6 years makes more sense if the test is for week-of-year-and-hour seasonality, not week-and-hour seasonality, but that doesn't make sense to me as a way to compute this seasonality and that's not my understanding of how it works after reading the Elementary docs.
Environment (please complete the following information):
dbt packages:
packages:
  - package: dbt-labs/dbt_utils
    version: 1.1.1
  - package: LewisDavies/upstream_prod
    version: 0.7.2
  - package: calogica/dbt_expectations
    version: 0.10.0
  - package: elementary-data/elementary
    version: 0.13.0

dbt version 1.6.7
dbt-databricks version 1.6.6

Hey @garfieldthesam ,
I understand why this is unexpected, but this is actually intentional.
At first when we introduced seasonality, users didn't configure the days_back accordingly and kept seeing "not enough data to calculate an anomaly" result.
We did a naive solution -

I believe the more mature approach would be to increase the training set size only if needed, and only to reach the minimal training set size.
For example -
For this configuration:
days_back: 60
seasonality: day_of_week
min_training_set_size: 14

We should not naively do days_back*7, but do:
if min_training_set_size * 7 < days back (
  days_back = min_training_set_size * 7
)
else days_back

@ellakz @dapollak what do you think?

@Maayan-s ah I see but one easy thing to fix: the docs you pictured above only say this applies to day_of_week and not hour_of_week.
I believe the more mature approach would be to increase the training set size only if needed, and only to reach the minimal training set size.

I agree with this
But, regarding this proposal:
if min_training_set_size * 7 < days back (
  days_back = min_training_set_size * 7
)
else days_back

I disagree. I am pretty sure that the way most users think of min_training_set_size is as a scalar number that the elementary packages will never change. For example, if I set min_training_set_size = 70, days_back = 70, and seasonality=day_of_week, I expect elementary to run the test using 70 days (ie. 10 weeks) of data.
It might be made clear in the docs that this isn't how min_training_set_size works but not everyone is going to read the docs for every parameter they use, particularly if the name feels self-explanatory


Parametric UMAP fit_transform and _fit_embed_data

I have a little confusion trying to run ParametricUMAP,
Following the code in one of the notebooks:
from tensorflow.keras.datasets import mnist
(train_images, Y_train), (test_images, Y_test) = mnist.load_data()
train_images = train_images.reshape((train_images.shape[0], -1))/255.
test_images = test_images.reshape((test_images.shape[0], -1))/255.

from parametric_umap import ParametricUMAP

embedder = ParametricUMAP(parametric_reconstruction=True,
        autoencoder_loss=True, verbose=True)

embedding = embedder.fit_transform(train_images)

After fitting the model I do not get back an encoder/ decoder. It seems that it does not use the _fit_embed_data method, am I doing something wrong?
Thanks

Hi Andres,
The encoder and decoder will be stored in the embedder (i.e.embedder.encoder)

Thanks for your answer! But that is the issue
print(embedder.decoder) = None.
Now if I use fit_transform and then call the _fit_embed_data method
embedding = embedder._fit_embed_data(train_images[1:1000], 100, [], [])[0]
Now the embedder is equiped with a decoder/encoder keras model, but the fit_transform method is not giving me the network

Are you using the implementation in this repo? If so could you try making a colab notebook to reproduce the issue?

It worked fine in colab, sorry about that.
Thank you!

Good to hear!


Monero withdrawal issue

I have the same problem with my monero wallet , when I want to witdraw it gives me this error "This wallet must first be imported"
this is my wallet address
45GRimtTiSnAgJbabeA5M42Wgmmn5h25x9juMQ8A1TH4ECH9jALCp3AW91RUCwHu5v9fmq9NuqNUuFDwSQM3nvsFPZwEHrc
Please help me

The best way for us to assist with this is to contact<EMAIL_ADDRESS>and they can guide you through the process.


Support files with non-ASCII characters in passwords

There's an item in qpdf's TODO about this, and a user provided a sample file by email, which is in my private collection. This ticket tracks the work.

Is this no priority anymore? :(

@mkirisame I put next back on it. I had taken it off because I had to get an 8.2 out before an external deadline, and this wasn't going to fit, but I still want to do it soon. Thanks for the nudge.

I will probably end up coding a partial fix. Fixing it part way will be easy. Handling it in the general case will be a bit harder but I still want to do it.


want to contribute to creating a pipeline that converts Dlib deeplearning models to ONNX standard format.

Dlib machine learning platform is powerful and great. And thank you for allowing us to use these powerful platforms.
As you know, these days, deep learning frameworks are standardized and changing with ONNX format.
We want to contribute to creating a pipeline that converts Dlib deeplearning models to ONNX standard format.
Please give us a lot of advice.

Cool.  Yeah just do what tools/convert_dlib_nets_to_caffe does.  I.e. parse the output of dlib::net_to_xml() and resave it in whatever format you want.

Oh yeah, or use a visitor.  It depends on how you want to setup the software.  I've found that people who ask this question often don't want to do the whole visitor thing.  Buy yeah, if I was doing it I definitely would not have an XML middle man.  So :shrug:

But visitors are fun, all that SFINAE feels almost like pattern matching in functional languages, haha!

Yeah I like the visitor


World freezes on opening, after a crash

While going betweeen the nether and the overworld, the game crashed for an unknown reason. Afterwards, the world freezes immediately after opening it . Not sure which log I should add, so I'll add the two closest to the moment of the crash.
2020-08-25-1.log.gz
2020-08-24-1.log.gz

You are getting an error about a zombie pigmen getting hurt. Suggest you go into config/forge.cfg, set B:removeErroringEntities to true then starting the pack and loading in and going to the nether. Then close and set the config option back to false

Hi, I am also having this exact problem and I am unsure of where to find config/forge.cfg to try the fix that was suggested.


support connection based udp packet content

The current esockd is based on socket peerinfo to create a connection, but the survival time of the udp session on the router is generally very short.
Coupled with the influence of NAT, the peerinfo of the same client may be constantly changing.
So may we can support create a connection based on the content carried in the udp package

+1

Yep, we are planning the optimization for some UDP-based protocols, e.g CoAP, MQTT-SN, LwM2M, etc.


bug in vgg.py

@yhenon,
From the Faster RCNN paper under section 3.1:

This small (RPN network) network takes as input an n × n spatial window of
the input convolutional feature map. Each sliding
window is mapped to a lower-dimensional feature
(256-d for ZF and 512-d for VGG, with ReLU [33]
following). This feature is fed into two sibling fullyconnected
layers—a box-regression layer (reg) and a
box-classification layer (cls).

But in your implementation in vgg.py You have given 256-d. Shouldn't it be 512? or am I missing something?
Even the original implementation has 512-d
The original implementation also uses 2 (0.5) dropout on the final classifier's 2 FC layers. What is your intuition behind not using dropouts in your implementation?
def rpn(base_layers, num_anchors):

    x = Conv2D(256, (3, 3), padding='same', activation='relu', kernel_initializer='normal', name='rpn_conv1')(base_layers) # should be  512-d

    x_class = Conv2D(num_anchors, (1, 1), activation='sigmoid', kernel_initializer='uniform', name='rpn_out_class')(x)
    x_regr = Conv2D(num_anchors * 4, (1, 1), activation='linear', kernel_initializer='zero', name='rpn_out_regress')(x)

    return [x_class, x_regr, base_layers]

You are indeed correct on both counts, those are mistakes on my end. I will fix this.

Fixes in 38413c69129673d192f38daa553b98af1008c950 . Thanks for the bug report!