Extension version incompatible

Description
When attempting to install the extension on Ghidra 9.1.2, it fails, due to the Version tag containing "@1.4@"
Installation Error: Extension version for [NTRGhidra] is incompatible with Ghidra.

To Reproduce
Steps to reproduce the behavior:

Use Ghidra 9.1.2
Copy Extension Zip file to [InstallDirectory]/Extensions/Ghidra
Open Ghidra
File -> Install Extensions
Select NTRGhidra

Expected behavior
Extension works on 9.1.2, or the required version of Ghidra for the plugin is documented somewhere. I suspect that the Version field does not represent the version of the plugin, rather the version of Ghidra the plugin works for
Desktop

OS: Windows 10
1909

I have updated 1.4.1 release with the fixed extension.properties

I was able to build from source, and the extension now installs correctly. You might want to create a new release, but I will close this issue


This library is not compatible with --release mode

it throws this error at initialization:

--debug works
--profile doesn't work
--release doesn't work
I guess is because keycloak.js gets obfuscated, changing it's method names
Any ideias?

I was running into this issue as well.  Cloned the repo and discovered that KeycloakPromise extends Future, which is causing the issue because the JS promise is not a future, which causes this exception to happen when the future chaining checks if the returned value is a future.

This has seen been resolved. Closing. Please create another issue if thats not the case.


[WFLY-12607] Add Galleon layers testing to testsuite/integration/elytron

https://issues.jboss.org/browse/WFLY-12607
Also incorporates #12646 to pick up the https://issues.jboss.org/browse/WFLY-12464 fix that makes this a bit easier.

CI jobs using the -Dts.layers profile (i.e. the one this PR is about) are at
https://ci.wildfly.org/viewLog.html?buildId=169863 (Linux JDK 11)
https://ci.wildfly.org/viewLog.html?buildId=169865 (Linux JDK 8)
https://ci.wildfly.org/viewLog.html?buildId=169867 (Windows JDK 11)

@darranl If this looks ok I'll create an EAP variant CD 18.


Implement the EW model from kawindme's thesis, a second model, and all prerequisites

Fixes #190
A description of the changes this PR introduces is in the comment below.

Codecov Report

Merging #198 (b52ec31) into main (8012289) will decrease coverage by 3.10%.
 Consider uploading reports for the commit e96ba27 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #198      +/-   ##
==========================================
- Coverage   78.95%   75.86%   -3.10%
==========================================
  Files          12       12
  Lines        1948     2030      +82
==========================================
+ Hits         1538     1540       +2
- Misses        410      490      +80

Files Changed
Coverage Δ

virocon/jointmodels.py
48.92% <34.40%> (-19.29%)
:arrow_down:

virocon/distributions.py
72.43% <85.71%> (ø)

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
:loudspeaker: Have feedback on the report? Share it here.

@kawindme I finished a first implementation of your EW model in virocon. Unfortunately, the contour coordinates I get based on it are totally off. I have not tried to understand what's wrong with it yet but I am wondering: If I calculate a contour based on a TransformedModel in which variables space live the result for the contour coordinates?
In Hs-Tz or in another space?
def test_kai_ew_mode():
    """
    Test the EW sea state model proposed by Kai-Lukas Windmeier (DOI: 10.26092/elib/2181).
    This model uses a variable transformation.
    """

    # Load sea state measurements.
    data = read_ec_benchmark_dataset("datasets/ec-benchmark_dataset_A_1year.txt")

    # Define the structure of the joint distribution model.
    (
        dist_descriptions,
        fit_descriptions,
        semantics,
        transformations,
    ) = get_Hs_S_ExpWeib_WLS_Hs_Tz()
    model = GlobalHierarchicalModel(dist_descriptions)

    # Fit the model.
    model.fit(data, fit_descriptions)
    t_model = TransformedModel(
        model,
        transformations["transform"],
        transformations["inverse"],
        transformations["jacobian"],
        precision_factor=0.2,
        random_state=42
    )

    # TODO: Speed this up (takes long due to the contour calculation which
    # uses a Monte Carlo based method.
    # Compute a contour.
    tr = 1  # Return period in years.
    ts = 1  # Sea state duration in hours.
    alpha = 1 / (tr * 365.25 * 24 / ts)
    contour = IFORMContour(t_model, alpha, n_points=10)
    coords = contour.coordinates

    print("coords: " + str(coords))

    # Reference values are from Kai's Master thesis, page 60, DOI: 10.26092/elib/2181
    # Highest Hs values of the contour should be roughly Hs = 7.2 m, Tz = 11 s.
    np.testing.assert_allclose(max(coords[:, 0]), 7.2, atol=1)
    np.testing.assert_allclose(max(coords[:, 1]), 11, atol=1.5)

This test currently fails with these coordinates:
coords: [[8.14575479 2.24236386]
 [5.46029566 2.13512479]
 [1.77458764 1.82370643]
 [0.3544311  1.02167688]
 [0.0733883  0.32722545]
 [0.04230582 0.15711661]
 [0.0733883  0.14738657]
 [0.3544311  0.29485479]
 [1.77458764 0.77087826]
 [5.46029566 1.64526228]]

@kawindme I implemented your EW model and the resulting fits for datasets A and B look reasonable.
However, when I calculate 1-year IFORM contours and compare them with those you presented in Figure 5.11 in your thesis, there are significant differences: In your thesis the IFORM contour has much smaller Tz at the swell region than in the contours I just produced.
IFORM contours
Your thesis (blue curve):

Current implementation:
Dataset A:

Dataset B:

I calculate contours with different random_state values such that I think the difference is not random.
Isodensity plots
Density plots are more difficult to compare but I could not tell that they are different.
Density in your thesis' model for dataset A seems to have a very long Tz tali too.
In your thesis:

Current implementation:
Dataset A:

Dataset B:

@kawindme this PR is ready for review.
I also implemented an adapted version of the model that you proposed in your MSc thesis that tends to include higher steepness values. I changed its scale dependence function to 0.005 + a * (1 - np.exp(-b * hs)) (I added the + 0.005). I got the idea based on
Letting the dependence function start at >0 was inspired by your Figure 4.10 which shows that for most models a good fit would end at scale > 0.:

Script hs_contour_all_models.py calculates 1-year IFORM contours with all available sea state models. This is the result if one runs it with 1 year of the datasets A, B, and C from the benchmark:
Dataset A:

Dataset B:

Dataset C:

I changed the shift value of the adapted "Nonzero EW model" from 0.005 to 0.006. This is based upon extrapolating the median of scale in Figure 4.10 in @kawindme thesis.

These are the comparison figures

The model with the shift captures steeper sea states (highest Hs for a given Tz).
The model still has the problem of overestimating the probability density of sea states with very high Tz and low Hs (low steepness, low Hs)
Isodensity lines for dataset A. In the yellow rectangle, density is overestimated.

Notes from the chat:

https://www.wolframalpha.com/input?i=d%2Fdx+sqrt(2*pi+%2F+g+*+h%2Fx)

@kawindme this PR is finally ready. If you have time I'd very much appreciate a review. Much of the code is based on yours and this PR implements the model you developed in your MSc thesis.
To move forward I would merge the PR on Tuesday in case I don't hear from you.
Changes:

Added your EW model and all the required changes in the core code of virocon
Added a model inspired by yours where the dependence function is slightly changed
Added the benchmark datasets B and C
Make use of random_state to define a seed for the random generator at all distributions
Added an example script to compute contours based on all predefined sea state models, hstz_contour_all_models.py
Added many tests, pushing our overall test coverage to 84%
Changed some package version as I had problems installation the current requirements.txt on my mac and I wanted to support Python 3.11

This is a very big PR with some unrelated changes, sorry for that 😬


operationId added

https://github.com/kminami/apib2swagger/issues/43

Thank you for contribution and sorry for my late response!
Could you remove test/input/*.md files, because they are untracked on current master branch.

#43 was closed by other code base and I also close this.
Feel free to reopen this to resolve some remaining problems.


What is wrong with +gd option?

Using phpbrew on Ubuntu 14.04 with latest patches.

The tool successfully installs PHP 5.6.4 but the gd extension is not listed in php -m, and I made sure that I properly switched to it before running the command and use the +gd variant when installing.
I checked to see if I just needed to phpbrew ext enable gd, but it says that it is not installed.
Doing a phpbrew ext install gd is successful (after using --with-freetype-dir=/usr/include/freetype2), but running PHP produces this error: gd.so: undefined symbol: gdImageCreateFromWebp

Is this a bug with phpbrew or the PHP build system?

This affects all versions of PHP that I try to install, but I wrote this little script that seems to work on all installation attempts:
phpbrew ext install gd -- \
 --enable-gd-native-ttf \
 --enable-wddx \
 --with-gd=shared \
 --with-freetype-dir=/usr/include/freetype2/freetype \
 --with-jpeg-dir=/usr \
 --with-libdir=lib/x86_64-linux-gnu \
 --with-png-dir=/usr \
 --with-vpx-dir=/usr \
 --with-xpm-dir=/usr

Not sure if this is something that can be integrated with phpbrew.

I checked to see if I just needed to phpbrew ext enable gd, but it says that it is not installed.

If you want to be able to enable|disable an extension don't compile PHP with it. Use phpbrew ext install <extname> later. That's why I don't encourage +everything, most people regret it when they want to disable/enable extensions later :) (hopefully it's not your case)

running PHP produces this error: gd.so: undefined symbol [...] Is this a bug with phpbrew or the PHP build system?

Build system is probably ok, I bet on a phpbrew bug or a missing requirement. Does it happens with all the PHPs?

This affects all versions of PHP that I try to install

Oh, you posted while I was typing the reply. The solution you pointed out seems Ubuntu specific, I've just used +gd option successfully with Fedora and OSx, for instance.

Yeah, I figured this might be Ubuntu specific.
If this isn't something that can (or should) be handled by phpbrew, this issue can be closed but I recommend adding some information to the wiki about this problem.

Let's keep this one open. I broke my ubuntu VM some days ago while updating it but I'll try to investigate a fix after setup it again :)

FYI, I was using this one and it works for me on Mac OS:
phpbrew ext install gd -- --with-gd-native--ttf --with-jpeg-dir=/opt/local --with-png-dir=/opt/local --with-zlib-dir=/opt/local --with-freetype-dir=/opt/local

I have a small not, platform independend, script for ubuntu (14.04 lts, but might be same on 12.x etc). I use to install gd with all usual formats supported, after switching to the desired php version using phpbrew:
#!/usr/bin/env bash

GNU_LIB=/usr/lib/x86_64-linux-gnu
phpbrew ext install gd -- --with-gd=shared --with-png-dir=$GNU_LIB --with-jpeg-dir=$GNU_LIB --with-freetype-dir=$GNU_LIB --enable-gd-native-ttf

It works perfectly well in my case.

This worked for me against all versions php versions (5.3+ to 7.0 alpha). A great addition to wiki ^^

The command mentioned by @kherge worked for me. The option mentioned by @akomm did not. I'm on Ubuntu 14.04 LTS.

Add --with-libpath=lib or --with-libpath=lib/x86_64-linux-gnu might do the magic.
The configure script in ext/gd detects libraries by something like test -f $PREFIX/$LIBPATH/libxxx.a, where $PREFIX is  what you passed in --with-xxxx-dir and $LIBPATH can varies in different OS. By adding --with-libpath, you can set it up properly.
But not all extensions can built by adding this. The way configure detecting library also varies in different extensions, weired.

Hi,
I have the same issue on Ubuntu 14.04 LTS trying to install gd extension with PHP 7.0.4.
I already tried all commands stated above.
Anyone can confirm?

@mmenozzi did you install gd as extension or install with gd?  could you provide your command and the build.log?

Note: here is the config used on Ubuntu
--with-gd=shared,/usr --enable-gd-native-ttf --with-gmp=shared,/usr --with-jpeg-dir=shared,/usr --with-xpm-dir=shared,/usr/X11R6 --with-png-dir=shared,/usr --with-freetype-dir=shared,/usr --with-vpx-dir=shared,/usr

@c9s solution worked for me on Ubuntu 14.04.5 LTS 64bit

@c9s thank you! Your solution worked for me!

It does not work for me:
$ phpbrew ext install gd --with-gd=shared,/usr --enable-gd-native-ttf --with-gmp=shared,/usr --with-jpeg-dir=shared,/usr --with-xpm-dir=shared,/usr/X11R6 --with-png-dir=shared,/usr --with-freetype-dir=shared,/usr --with-vpx-dir=shared,/usr
===> Installing gd extension...
Log stored at: /home/machine/.phpbrew/build/php-5.3.24/ext/gd/build.log
Changing directory to /home/machine/.phpbrew/build/php-5.3.24/ext/gd
===> Phpize...
sh: 1: cannot create /home/machine/.phpbrew/build/php-5.3.24/ext/gd/build.log: Permission denied
Error: Command failed: phpize > /home/machine/.phpbrew/build/php-5.3.24/ext/gd/build.log 2>&1 returns:
$ sudo phpbrew ext install gd --with-gd=shared,/usr --enable-gd-native-ttf --with-gmp=shared,/usr --with-jpeg-dir=shared,/usr --with-xpm-dir=shared,/usr/X11R6 --with-png-dir=shared,/usr --with-freetype-dir=shared,/usr --with-vpx-dir=shared,/usr
Error: PHPBREW_PHP environment variable is not defined.
This extension command requires you specify a PHP version from your build list.
And it looks like you haven't switched to a version from the builds that were built with PHPBrew.
Suggestion: Please install at least one PHP with your prefered version and switch to it.

I can confirm @marcioAlmada approach worked for me. I installed php-5.6.32 with all my extensions except +gd. Then used @akomm command to install gd separately.

use @akomm's command worked for me.

Ubuntu 16.04
PHP 7.1
System Wide Environment

In ubuntu 16.04 this command worked to install gd with phpbrew:
phpbrew ext install gd -- --with-gd=shared,/usr --enable-gd-native-ttf --with-gmp=shared,/usr --with-jpeg-dir=shared,/usr --with-xpm-dir=shared,/usr/X11R6 --with-png-dir=shared,/usr --with-freetype-dir=shared,/usr --with-vpx-dir=shared,/usr

@mzsolti Thanks to this I could finally fix issue: Debian Jessie, PHP 7.0.17


Tutorial for SimpleMotion creation and simulation

https://juliahealth.org/KomaMRI.jl/previews/PR387/

I simplified the example to focus on how to add motions to the phantom. I don't think the last part is good, ideally it would be a faster EPI, with less motion artifacts.
@pvillacorta Can you finish tutorial, so we can merge it to master?

I simplified the tutorial to focus on how to add motion to the phantom. I don't think the last part is good, ideally it would be a faster EPI, with less motion artifacts.
@pvillacorta Can you finish tutorial, so we can merge it to master?
EDIT: Just to be clear, I removed explanations from the tutorials (like what the Rotarion means). That should go on explanations or reference.

Nice! I'm on it. I understand, then, that for the tutorial we only need to use a faster EPI. Do I need to add anything else?
For the rest of sections:

How to: Improve "Create your own Phantom". Maybe add sections on how to read/write .phantom files

Explanations: Add "Phantom" section, with the following subsections:

Phantom structure
Motion: by the moment, SimpleMotion and simple motion types
.phantom file format

Thinking about it, I would remove the last simulation, and show that you can combine simple motions. Maybe use multiple translations, like like a simplified version of
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4930872/

And you could do a motion corrected reconstruction by multiplying each EPI line with a phase $\exp(i \Delta \phi_{\mathrm{corr}}$ to correct for the motion.
Regarding the explanations and how-to's.
The last section of "how to create your own phantom" could be how to write it in a file. I don't think it makes sense to read one there.
I agree that a Phantom section in explanations makes sense.

@cncastillo you mean removing the rotation section? So first section would be translation and second would be motion-corrected simulation?

@cncastillo you mean removing the rotation section? So first section would be translation and second would be motion-corrected simulation?

More like removing the new translation section, and modify the current one with the mentioned modifications:

[ ] Change first section to use a Translation
[ ] Use "motion-corrected reconstruction" (not just corrected)
[ ] Also when the simple motion types are explained, some references to the API definitions of Translation, Rotation, etc could be added

I did the requested changes, feel free to consider if is ready to merge now :)


Export: Contributors are not listed

Describe the bug
The contributors are not listed in the exported document.
FWF and Horizon Europe documents do not list the contributors. Science Europe has a section of the contributors.
Is this a regression?
No.
Steps to Reproduce

Create a DMP
Add some contributors
Export document (FWF or Horizon Europe)
Open document
Contributors are not listed anywhere in the document.

Expected behavior
Contributors should be listed in the document in a table (similar to Science Europe template).
Screenshots
Science Europe:

Additional context

Thanks for taking this on @ValentinFutterer @rekt-hard.  Before her vacation, I discussed this with @ChristianeStork as an example of DAMAP user text missing when exported. I would proceed with the change, unless you have specific concerns.  If so, please elaborate.  Thanks!


(Linux) linux-template release not working

Tested versions
4.4 beta
System information
Fedora 40 Workstation
Issue description
After marking the binary as executable, and try to run the binary
the screen informs an error: Could not load data at path "."
after confirming the message, returns to desktop.

Steps to reproduce
download redot-linux-template, extract zip, mark the binary as executable, run it.
Minimal reproduction project (MRP)
N/A

Oh, you don't run this one. I know it's kinda messy, but the templates are for your export manager, not for running the editor. We can fix this weird stuff once we have a site up, but you run the other executable from the release and when you go to export your project you must point the Custom Release Export Template at the template executable.
Double check that's the arrangement and let me know what's going on

The editor builds should be more obviously the ones to download, we also need to fix downloading templates for our stuff.

This issue seems to be the same that #673

I'm closing this as a duplicate of #673 then


enhanced client Part 2 : one connection per request and NewHttpRunnableSpec

Added one request per connection implementation using attachHandler in ClientConnectionManager
Added NewHttpRunnableSpec and EnhancedClientSpec

Codecov Report

Merging #1043 (9e3ad8e) into main (9f2fa84) will decrease coverage by 1.91%.
The diff coverage is 44.72%.

@@            Coverage Diff             @@
##             main    #1043      +/-   ##
==========================================
- Coverage   57.01%   55.09%   -1.92%
==========================================
  Files          73       79       +6
  Lines        2261     2396     +135
  Branches       62       77      +15
==========================================
+ Hits         1289     1320      +31
- Misses        972     1076     +104

Impacted Files
Coverage Δ

.../src/main/scala/zhttp/service/ClientSettings.scala
6.89% <6.89%> (ø)

...tp/service/client/transport/TransportFactory.scala
17.14% <17.14%> (ø)

.../service/client/domain/ClientConnectionState.scala
21.42% <21.42%> (ø)

...la/zhttp/service/client/domain/DefaultClient.scala
33.33% <33.33%> (ø)

...ent/handler/EnhancedClientChannelInitializer.scala
57.14% <57.14%> (ø)

.../client/handler/EnhancedClientInboundHandler.scala
64.28% <64.28%> (ø)

...ice/client/transport/ClientConnectionManager.scala
90.24% <90.24%> (ø)

zio-http/src/main/scala/zhttp/service/Client.scala
84.05% <100.00%> (+0.72%)
:arrow_up:

...p/src/main/scala/zhttp/service/ClientFactory.scala
100.00% <100.00%> (ø)

...main/scala/zhttp/service/WebSocketAppHandler.scala
28.00% <0.00%> (-28.00%)
:arrow_down:

... and 10 more

Continue to review full report at Codecov.

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

Not needed.


RFM - getopt

Current Maintainer

[ ] I am the maintainer of the package and wish to pass it to someone else;

I DON'T Want To Become The Maintainer

[X] I have followed the Package Triage Process and I do NOT want to become maintainer of the package;
[X] There is no existing open maintainer request for this package;

Checklist

[X] Issue title starts with 'RFM - '

Existing Package Details
Package URL: https://chocolatey.org/packages/getopt
Package source URL: https://sourceforge.net/projects/gnuwin32/files/util-linux/

I will pick it up!
Add me as a maintainer!

@boubou Could you use also "contact site admins" on the package page and refer this issue?


fix: diff edges

fix: diff edges

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


Including columns headers when copying data from the table (ctrl + c / cmd +c )

Acceptance criteria:

Copying data from the table (ctrl + c / cmd + c) should include columns headers
Currently only raw data is copied

Starting with v0.142, headers are included if more than one column is selected.


Export verification key and use it for proof

Fixes https://github.com/powdr-labs/powdr/issues/890

This is ready for review again. I think I handled all comments for now.

On the backend side, look as good as this PR will ever be. I'll leave to @georgwiese to give the final approval.


Example for version 2.11.** is wrong

Hello!
Your example meets 2.10.7 version

What do you mean by that? Does the code not compile? I would also like to know which example code you're referring to :)

Server example. Code is not compled.
RakNetClientSession - missed

Could you elaborate on that? I'm not sure what that means that I missed "RakNetClientSession"

for example in 2.10 interface:
public interface RakNetServerListener {
has public void onClientConnect(RakNetClientSession session) {
in 2.11
public default void onConnect(RakNetServer server, InetSocketAddress address, ConnectionType connectionType) {

Oh! That's intentional. You must be thinking of the onLogin method, which is different from the onConnect method. onConnect is simply when a client has connected to the server, but has not yet logged in and created an official session. Also, there are no longer session, they are called peers. In this case, RakNetClientSession would be RakNetClientPeer :)

I have dealed with your code. NP. The example is not compatible with 2.11.** version. This is bug

Ah, you meant in the README.md file! My bad. I thought you meant somewhere else, I'll fix this now :)


"Utility mysqldump not found" on Fedora with Flatpak

System information:

Operating system (distribution) and version
Fedora 29
DBeaver version
5.3.1 - Flatpak
Java version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
Additional extensions

Connection specification:

Database name and version
Any
Driver name
MySQL/MariaDB
Do you use tunnels or proxies (SSH, SOCKS, etc)?
Yes, SSH

Describe the problem you're observing:
Utility mysqldump not found in client home error appears simply because it can't list the mysql packages from within the /usr/bin folder (where they are). When installing directly we can find them and thus use the mysqldump.
This can be related to:

Flatpak configuration
or
Selinux settings from Fedora

Steps to reproduce, if exist:
1 - Install the latest version of DBeaver from flatpak in a Fedora installation
2 - Connecto to a MySQL / MariaDB database
3 - Associate a client path
4 - Try to make a dump of a database
Include any warning/errors/backtraces from the logs

I made this case on the Flathub side because I didn't know: https://github.com/flathub/io.dbeaver.DBeaverCommunity/issues/8
In total, I've tried:
/var/run/host/usr
/var/run/host/usr/bin
/var/run/host/usr/bin/mysql

Same problem here with DBeaver 6.0.0 and Fedora 29.
/var/run/host/usr is not exposed.

Same here with Ubuntu 18.10 and DBeaver 6.0.0.

Same issue. Fedora 29 + DBeaver 6.0.1.

Same with Kubuntu 17.10 and DBeaver 6.0.1

Got the same issue on Fedora 29 with KDE

Same issue on Fedora 30 with DBWeaver from flatpak.
mysqldump is in /usr/bin but trying to dump a database errors with "IO Error: Utility 'mysqldump' not found in client home '/usr/bin'".
dbweaver-ce downloaded and installed from website RPM works fine.

i have same issue on ubuntu 19.10 some one has idea how to fix it ?

As noted in this flathub issue, there are extensions available for the dbeaver package on flathub that provide postgres and mysql clients.
flatpak install flathub io.dbeaver.DBeaverCommunity.Client.mariadb
flatpak install flathub io.dbeaver.DBeaverCommunity.Client.pgsql

When selecting clients in dbeaver make sure the path is set to /app/clients

no way to select /app/clients, any idea?

can not find /app/clients, so i select this, and it works
/var/lib/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin

can not find /app/clients, so i select this, and it works
/var/lib/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin

What about when DBeaver is installed in the user local env (flatpak install --user flathub io.dbeaver.DBeaverCommunity)?
I found:
~/.local/share/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin

but when setting it in the DBeaver configuration from "Local Client" dropdown it still does not work for me!
Any help please?

can not find /app/clients, so i select this, and it works
/var/lib/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin

What about when DBeaver is installed in the user local env (flatpak install --user flathub io.dbeaver.DBeaverCommunity)?
I found:
~/.local/share/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin

but when setting it in the DBeaver configuration from "Local Client" dropdown it still does not work for me!
Any help please?

@seth100 I had the same problem, after some research I installed https://flathub.org/apps/details/com.github.tchx84.Flatseal and added the folder of the extensions to the allowed folder and pg_dump worked.

@seth100 I had the same problem, after some research I installed https://flathub.org/apps/details/com.github.tchx84.Flatseal and added the folder of the extensions to the allowed folder and pg_dump worked.

@seth100 I had the same problem, after some research I installed https://flathub.org/apps/details/com.github.tchx84.Flatseal and added the folder of the extensions to the allowed folder and pg_dump worked.
EDIT: I had to restart DBeaver and probably there is a better way to write the extension folders path

wow great, it works like a charm!
Thank you

@seth100 I had the same problem, after some research I installed https://flathub.org/apps/details/com.github.tchx84.Flatseal and added the folder of the extensions to the allowed folder and pg_dump worked.
EDIT: I had to restart DBeaver and probably there is a better way to write the extension folders path

wow great, it works like a charm!
Thank you

In ubuntu 20.04 I decided as follows:
Install mysql-client:
sudo apt-get install mysql-client
Check all permissions on the application, as shown in the image below.

Link the bin folder to a dbeaver folder:
sudo ln -s / usr / bin / ~ / snap / dbeaver-ce / common / bin
Configure client folder on ubuntu as shown below, selecting the new folder.

can not find /app/clients, so i select this, and it works
/var/lib/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin

What about when DBeaver is installed in the user local env (flatpak install --user flathub io.dbeaver.DBeaverCommunity on Pop_OS! 20.10 verson <IP_ADDRESS>012201616)?
I found:
~/.local/share/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin

but when setting it in the DBeaver configuration from the "Local Client" dropdown it still does not work for me and I get:
2021-01-01 12:08:20.143 - IO error: Utility 'mysql' not found in client home '/home/MYHOME/.local/share/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin' (/home/MYHOME/.local/share/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin)
2021-01-01 12:08:20.143 - java.io.IOException: Utility 'mysql' not found in client home '/home/MYHOME/.local/share/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin' (/home/MYHOME/.local/share/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin)
	at org.jkiss.dbeaver.utils.RuntimeUtils.getNativeClientBinary(RuntimeUtils.java:121)
	at org.jkiss.dbeaver.ext.mysql.tasks.MySQLScriptExecuteHandler.fillProcessParameters(MySQLScriptExecuteHandler.java:55)
	at org.jkiss.dbeaver.ext.mysql.tasks.MySQLScriptExecuteHandler.fillProcessParameters(MySQLScriptExecuteHandler.java:1)
	at org.jkiss.dbeaver.ext.mysql.tasks.MySQLNativeToolHandler.getCommandLine(MySQLNativeToolHandler.java:73)
	at org.jkiss.dbeaver.ext.mysql.tasks.MySQLScriptExecuteHandler.getCommandLine(MySQLScriptExecuteHandler.java:42)
	at org.jkiss.dbeaver.ext.mysql.tasks.MySQLScriptExecuteHandler.getCommandLine(MySQLScriptExecuteHandler.java:1)
	at org.jkiss.dbeaver.tasks.nativetool.AbstractNativeToolHandler.executeProcess(AbstractNativeToolHandler.java:165)
	at org.jkiss.dbeaver.tasks.nativetool.AbstractNativeToolHandler.doExecute(AbstractNativeToolHandler.java:248)
	at org.jkiss.dbeaver.ext.mysql.tasks.MySQLNativeToolHandler.doExecute(MySQLNativeToolHandler.java:47)
	at org.jkiss.dbeaver.tasks.nativetool.AbstractNativeToolHandler.lambda$0(AbstractNativeToolHandler.java:54)
	at org.jkiss.dbeaver.runtime.RunnableContextDelegate.lambda$0(RunnableContextDelegate.java:39)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

Any help please?

Install flatseal
run flatseal
map the file volume to the path /var/lib/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/active/files/bin
you are now done!

Installing flatseal worked.

I hit what seems a related but new problem. The Client.pgsql pg_dump is v12.2 but I'm running postgres 14.5
~/.local/share/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.pgsql/x86_64/stable/active/files/bin$ ./pg_dump --version
pg_dump (PostgreSQL) 12.2
$ pg_dump --version
pg_dump (PostgreSQL) 14.5 (Ubuntu 14.5-0ubuntu<IP_ADDRESS>)

So I get the following error:
/home/ian/.local/share/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.pgsql/x86_64/stable/active/files/bin/pg_dump --verbose --host=localhost --port=5432 --username=dev --format=c --no-privileges --no-owner --file /home/ian/Downloads/dump-db-202209201558 -n public db
Task 'PostgreSQL dump' started at Tue Sep 20 15:58:29 CEST 2022
pg_dump: error: server version: 14.2 (Debian 14.2-1.pgdg110+1); pg_dump version: 12.2

pg_dump: error: aborting because of server version mismatch

Task 'PostgreSQL dump' finished at Tue Sep 20 15:58:29 CEST 2022
2022-09-20 15:58:29.465 - IO error: Process failed (exit code = 1). See error log.
2022-09-20 15:58:29.466 - java.io.IOException: Process failed (exit code = 1). See error log.
	at org.jkiss.dbeaver.tasks.nativetool.AbstractNativeToolHandler.validateErrorCode(AbstractNativeToolHandler.java:242)
	at org.jkiss.dbeaver.tasks.nativetool.AbstractNativeToolHandler.executeProcess(AbstractNativeToolHandler.java:223)
	at org.jkiss.dbeaver.tasks.nativetool.AbstractNativeToolHandler.doExecute(AbstractNativeToolHandler.java:262)
	at org.jkiss.dbeaver.tasks.nativetool.AbstractNativeToolHandler.lambda$0(AbstractNativeToolHandler.java:83)
	at org.jkiss.dbeaver.runtime.RunnableContextDelegate.lambda$0(RunnableContextDelegate.java:39)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

Yes - unfortunately the flatpak pgsql client hasn't been updated for 3 years and still points to 12.2: https://github.com/flathub/io.dbeaver.DBeaverCommunity.Client.pgsql/blob/master/io.dbeaver.DBeaverCommunity.Client.pgsql.json
Anyway around this?
For now I just copy paste the commands that DBeaver creates and paste them into my terminal

I've created a PR to upgrade... https://github.com/flathub/io.dbeaver.DBeaverCommunity.Client.pgsql/pull/7

/home/apedik/.local/share/flatpak/runtime/io.dbeaver.DBeaverCommunity.Client.mariadb/x86_64/stable/c787e1de2bf4e7bdb0cd1e4cbb39f0676ea2d3e2cc7e64a657a91f31cd03b8f5/files/bin/mysql -u ****** --host=localhost --port=3308 production_aug_07 Task 'MySQL restore' started at Tue Aug 08 05:31:04 CEST 2023 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
could it be due to the instance be on docker? I can do all other operations via the client

PostgreSQL and MariaDB client flatpak extensions for DBeaver use outdated client versions, so I've found a way to use clients from the host OS.

You should allow access for DBeaver to the host OS libraries and executables using the filesystem=host-os option.
In Flatseal:

Now host's /usr, /bin, /lib, /lib32, /lib64, /sbin will be accessible under the /run/host directory from DBeaver. My PostgreSQL client is located in /usr/lib/postgresql15, from sandbox perspective I must specify it like /run/host/usr/lib/postgresql15, but DBeaver doesn't allow to select directories from /run/host as local client path since it uses portals and native OS file chooser that selects files from host OS point of view.

But we can edit configation manually. Close DBeaver, open ~/.local/share/DBeaverData/workspace6/.metadata/.config/drivers.xml, find the clientHome node of your DB driver and set its id and path to the client directory inside /run/host:

Check that local client configuration was understood by DBeaver:

Now if you try to dump/restore a DB, you may encounter erros like /run/host/usr/lib/postgresql15/bin/pg_dump: error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory. This is because DB client can't find required libraries from host's /lib, /lib64, /usr/lib, /usr/lib64 directories - they are not in library search path of sandbox OS.

Let's fix it by setting LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/run/host/usr/lib:/run/host/usr/lib64 environment variable in Flatseal:

For my case /usr/lib and /usr/lib64 were enough.
Restart DBeaver and now it should be able to use host OS native DB clients.

This issue is quite old (and already closed, opened by me in 2019). But I found a solution:
1 - I've opened a pull request https://github.com/flathub/io.dbeaver.DBeaverCommunity.Client.mariadb/pull/4 for an updated mariadb (I will try to do the same for pgsql) extension for dbeaver, once it's available install it
2 - You need to follow the part from https://github.com/dbeaver/dbeaver/issues/5008#issuecomment-1928038064 where the "drivers.xml" file is edited and set this:  <clientHome id="/app/clients/bin" path="/app/clients/bin"/>
This will work and you'll have a working mariadb install (if you want you can set the ID to MariaDB to separate from any other extension in the menu, like this <clientHome id="MariaDB" path="/app/clients/bin"/>)
There is a need to find a way to easily add this, maybe by taking with the DBeaver team themselves.

I've just done a PR for pgsql 16.2, waiting to be approved and merged: https://github.com/flathub/io.dbeaver.DBeaverCommunity.Client.pgsql/pull/8


Terratest assert.Equal is showing NOT EQUAL even though expected & actual values are same.

I am running Terratest against terraform code available on azure. It is successfully executing terraform code and able to create the infra, validate my test case and destroying everything after validation. However, while validating the test case, assert.Equal is not working as expected.
I have written simple test case(to start with) to compare expected & actual VM size. Since it is not working added two more test cases as below. So total 3 test cases are there as below:

Comparing VM size: assert.Equal is showing NOT EQUAL even though expected & actual values are same. . (Printed/logged the type - both are of same type "compute.VirtualMachineSizeTypes").
Since first test case is failing, I have formatted and return both the VM size in string and then did assert.Equal, however it is not at all scanning - NOT GIVING ANY RESULT
Hard coded two string and tried to compare using assert.Equal however this is not scanning either. - NOT GIVING ANY RESULT.

Please if anyone can suggest on above three scenarios, ideally two only -
assert.Equal is not giving expected result.
assert.Equal is not at all scanning and not giving any result.
Go version: go1.16.3 linux/amd64
Terraform version: Terraform v0.12.26

Comparing VM size: assert.Equal is showing NOT EQUAL even though expected & actual values are same. (Printed/logged the type - both are of same type "compute.VirtualMachineSizeTypes").
Since first test case is failing, I have formatted and return both the VM size in string  and then did assert.Equal, however it is not at all scanning.
Hard coded two string and tried to compare using assert.Equal however this is not scanning either.

Can anyone please help me on above.

Hi, I don't quite understand what you mean by "This is not scanning," but note that assert.Equal will not return any log messages if it passes the assertion, so that might be what you are seeing?
Also, it would help if you can share the actual result of the assert failure in the logs. My best guess is that you have mismatch between the version of the Azure SDK you are using in your direct dependency, and the one terratest uses. This could happen if your import paths are not matched. Double check the API version and make sure they match.

Thanks @yorinasub17 for your response. Azure SDK versions were same "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute". However the issue got resolved now. Some issue was with setup & access. I have reinstalled require package, modules and dependencies and got some firewall related issues fixed with IT team.
Also, thanks for confirming that assert.Equal will not return any log messages if it passes the assertion, it just move ahead.

Thanks for closing the loop here! Will close this as resolved.


WinRM listener plugin creates sha1 self signed certificate which is no longer secure

better to create sha256 certificates
changes should be in :
"C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Lib\site-packages\cloudbaseinit\utils\windows\cryptoapi.py"
line 141
szOID_RSA_SHA256RSA = b"1.2.840.1135<IP_ADDRESS>"
"C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Lib\site-packages\cloudbaseinit\utils\windows\x509.py"
line 198
sign_alg.pszObjId = cryptoapi.szOID_RSA_SHA256RSA

Hello @AndreasEichhorn,
Thank you for the information, I will update the code accordingly.
Do you happen to have a Microsoft link on this matter, as I have tried to find one and did not see anything related to the RDP, but just the generic move from SHA1 to SHA2.
Thank you.

Hello Adrian,
the szOID_RSA_SHA256RSA value is from https://learn.microsoft.com/en-us/windows/win32/api/wincrypt/ns-wincrypt-crypt_algorithm_identifier
The sha1 weakness is already longer known. You may have a look here: https://en.wikipedia.org/wiki/SHA-1#Attacks

Team,
which release of the cloudbase-init is updated with the latest code to support SHA-2?
Thanks.

+1 to this, some clients are removing their certificates on their own as this (SHA1) violates their security rules

security dept is chasing me! please help :P

Hello,
Change with the fix was submitted to Gerrit here: https://review.opendev.org/c/x/cloudbase-init/+/910887. Would be nice to have someone test an installer with the fix before getting the change merged.
Thank you.

The MSI installer built with https://review.opendev.org/c/x/cloudbase-init/+/910887 can be download from the artifacts tab here: https://github.com/ader1990/cloudbase-init-installer-1/actions/runs/8138619632

The MSI installer built with https://review.opendev.org/c/x/cloudbase-init/+/910887 can be downloaded from the artifacts tab here: https://github.com/ader1990/cloudbase-init-installer-1/actions/runs/8138619632

Tested on Windows Server 2019 and Windows 8.1, worked as expected.


[Toothpick] Configure input/output for bluetooth devices

Extension
https://www.raycast.com/VladCuciureanu/Toothpick
Description
I am not sure if this is even doable but here is my problem. I use bluetooth headphones (SONY WF-1000XM4) with my mac for eny meeting. They are great, small with perfect active nose cancelling. But their microphone is bad compared to built in my mac. So I tend to switch sound imput to microphone. Its easy doable from any meeting program. BUT.. there is another scenario that is not managable like this.
So I do also own great micrphone DJI MIC 2 - this is amazingly good and now I switched to use this instead of mac built in.
But its way more complicated as after connecting with Mac all my sound (input/output) is redirected to this microphone. Stupid thing as microphone does not have any speakers etc.
So before any meeting I have to:

connect to SONY headphones
connect to DJI MIC 2
open AUDIO INPUT/OUTPUT settings in system, manualy choose for INPUT only my DJI MIC, for output SONY headphones

And it works great then. Super clear sound for me, noise cancelling and clear mic for anyone but also very, very annoying.
Any chance I could automate this???
Who will benefit from this feature?
literally any nerd like me...
Anything else?
No response

Hey there! I completely get where you come from! That said, this is outside of the extension's scope.
I suggest looking into Shortcuts though! From what I can tell, a well designed Shortcut could do your enumerated steps in one click

@raycastbot close this issue


Does warp in warp mode support to customize location?

It seems that it is always getting "loc=US" at my network environment in the warp in warp mode. Is it possible to change into another location?

No, only the Psiphon mode (cfon) supports selecting a country.


Wrong output of the areion512 benchmark

The areion512 permutation benchmark divides the total number of cycles by 32:
        total_cycle /= NUMBER_OF_LOOPS;
        total_cycle /= 32;

That looks like a copy&paste error from areion256, and should probably be 64 instead.

Hi, jedisct1!
Thank you for your feedback!
We plan to address the issue you mentioned in the next release.


CAPTCHA should not be displayed unless the user already tried X times.

how about I only display it if they get an error from the rate limiter?

Fixed by #109


Call stack exhaustion found via CPython's test_marshal test suite around October 19th/20th

Thanks for filing a bug report! Please fill out the TODOs below.
Note: if you want to report a security issue, please read our security policy!
Test Case
test_marshal from Python's test suite.
Steps to Reproduce
Easiest to just look at a GitHub Action run, e.g. https://github.com/tiran/cpython-wasm-test/actions/runs/3342891022/jobs/5535571299 .
Expected Results
The test to at least complete.
Actual Results
Call stack exhaustion which doesn't occur under wasmtime 1.0.1.
https://github.com/tiran/cpython-wasm-test/actions/runs/3294946299/jobs/5432988265#step:7:408
Versions and Environment
Wasmtime version or commit: latest
Operating system: Linux
Architecture: x64
Extra Info
This started occurring on October 22: https://github.com/tiran/cpython-wasm-test/actions/workflows/wasi.yml . As mentioned above, wasmtime 1.0.1 passes without issue and everything was fine until something changed between October 19th @ 22:04 and October 20th @ 22:13 for what https://wasmtime.dev/install.sh installs.

/cc @tiran

A few bits of info that would help, if you wouldn't mind investigating further on your end:

What is this test case doing? Is it supposed to recurse deeply, but "not too deeply"? In other words, is the failure because we don't support a depth of recursion that we previously did, or because something else went wrong (correctness bug etc) that is causing infinite recursion now?
If it's a quantitative (how much recursion) rather than qualitative (recursion at all) bug, could you try to "bisect the limit" a bit and play with the test case's recursion depth, to see how much worse it got? E.g., did the test slip in just under a stack limit before, and it is just over now? Or did we explode stack usage per frame by a large factor?

Nothing major changed in regalloc or codegen between 1.0 and 2.0 that would lead to a large expansion of stackframe size, at least off the top of my head, but if the above investigation shows that we somehow have a much lower limit, we can of course dig in and see what's going on.
Thanks!

I haven't tried reproducing this locally, but I was curious and looked through the failing test's source code a bit. I'm guessing the specific failing test is test_recursion_limit.
That test expects to be able to recurse over a data structure nested about 2,000 levels deep, and expects marshal.c's w_object function to raise ValueError if the data structure is any deeper. Since that function is mutually recursive with w_complex_object, this corresponds to a C stack depth of about 4,000 frames, plus a few for setting up the test. And the stack trace recorded in CI does show these two functions alternating many times, so I think this is the correct proximate cause.
So I guess that makes this a "quantitative" recursion bug.

I tried to download the last successful build's copy of python.wasm, but it has unfortunately expired and I could not acquire it. Instead downloaded the 3.11 rc2 from here and with this file:
import marshal

head = last = []
MAX_MARSHAL_STACK_DEPTH = 2000
for i in range(MAX_MARSHAL_STACK_DEPTH - 2):
    last.append([0])
    last = last[-1]

data = marshal.dumps(head)
new_head = marshal.loads(data)

this succeeded:
$ cargo run --release -- run --dir . --disable-cache -- python.wasm ./foo.py

for all of main, v1.0.0, v1.0.1, v2.0.0, and v2.0.1 on an x86_64 machine.
On an aaarch64 machine v1.0.0 and main both stack overflow. The main branch stack is 3111 wasm frames deep and the v1.0.0 overflows at 3112 frames deep, so not all that different.
Basically I unfortunately am unable to easily reproduce, and at least on AArch64 I can see a small difference in stack usage but nothing meaningful.

I'd echo what @cfallin said and reiterate @brettcannon if you're able it would be very helpful to reduce this issue to ideally "here's a wasm file and a directory tree and a command that fails." We can probably take it from there but without that it may be unlikely much can be done here.

Ok with some further testing and hammering I was able to get something. At 29c7de7 it takes 497712 bytes of stack to complete this test. At the next commit, 9715d91, it takes 528752 bytes of stack. The default allowed stack is 524288, which is why this is stack overflowing.
The stack required increased by 6%. Of the two co-recursive functions, w_object's stack size did not increase from 0x50 bytes and w_complex_object's stack size increased from 0x80 to 0x90 bytes. This represents a 7.7% increase in stack size for these two functions combined.
Overall I think that should fully explain what's going on here. A small increase in stack from w_complex_object happened to hit the limit. Otherwise everything appears to be normal.
I'll leave @jameysharp to conclude whether https://github.com/bytecodealliance/wasmtime/pull/4966 should have increased the stack size here or not. I've extracted the single function to this wasm file: extract.wasm.gz where I get:
$ ./before compile extract.wasm && objdump -S extract.cwasm | rg 'sub.*rsp'
      1a:       48 81 ec 80 00 00 00    sub    $0x80,%rsp
$ ./after compile extract.wasm && objdump -S extract.cwasm | rg 'sub.*rsp'
      1a:       48 81 ec 90 00 00 00    sub    $0x90,%rsp

locally on an x86_64 target.

@brettcannon to solve this issue for you in the meantime I believe there's a few options:

Pin to 1.0.1
Update the test to not recurse as much on wasi
Wait for https://github.com/bytecodealliance/wasmtime/pull/5156 to land in 3.0.0 and pass a --max-wasm-stack option during testing to increase the default stack size.

We could alternatively consider increasing the default stack size in a platform-specific manner. I believe the current limit is relatively restrictive due to our testing on Windows where the main thread stack was smaller by default than other platforms. Ideally though we could keep consistent platform behavior.

Thank you @alexcrichton for bisecting this!
I too am curious why exactly we use 16 extra bytes in the stackframe in this function. We can look into that a bit; however I think the high-order bit here, actually much more important, is to set expectations/norms around this sort of thing, so I'm going to go ahead and give some thoughts on that. (I don't mean to pick on this particular instance of the issue @brettcannon -- this is just a useful "norm-setting opportunity", so I'll make a general point.)
In general, I want to make sure we don't (accidentally or otherwise) fall into a "no regressions ever" expectation. The size of a stackframe (number of spillslots) is implementation-defined, and a Wasm compiler is free to be as efficient or as inefficient as it likes. A test (such as the one linked above) that depends on the stack size fitting just under some implementation-defined limit, given implementation-defined stackframe sizes, is a really brittle test: it could break with any minor version update. In other words, I want to be very clear here first that Wasmtime/Cranelift are perfectly standards-compliant here, and so in a strict sense, this is not a bug. I would consider a "blow up by factor of N" regression a performance bug, but this is not that: it's one extra spillslot.
Of course, all else being equal, regressions are bad. Over time the compiler should improve on average, and we would never want to take a change that adds an extra 16 bytes to a stackframe with no other benefit. But that qualification is key: most things have tradeoffs. (In the case here, 4-6% faster compile times, according to the commit message.) The impact of a strict no-regressions policy is that one ends up climbing the hill to a local maximum, and one can never really change the design otherwise: the core algorithms/approach are ossified forever (or a new algorithm/approach needs to go to absolutely heroic lengths to match or exceed the old approach in every single benchmark, and is always "on call" to be "fixed" when new cases are discovered).
Investigations of small N% regressions like this one can be useful because they can uncover real problems, or opportunities to fix a case. I'll also defer to @jameysharp whether he wants to dig into this one. I wouldn't be surprised however if it ends up being something like "values processed in slightly different order and spillslot-reuse heuristic now stops searching one step too soon" -- that sort of thing can easily happen in a complex compiler.
I'd second @alexcrichton 's suggestion to set either the recursion depth or stack limit to widen the gap between the two a bit -- in other words the most sustainable approach here is to not live right "on the edge" of the limit.
I don't want to discourage filing bugs for this sort of thing, as long as they have enough detail to be helpful; but I just want to make sure we're all on the same page re: acceptable outcomes. Happy to discuss this further if anyone would like!

I agree with everything you say, and I, too, do not wish to have a policy of zero regressions accepted. Personally I feel that this sequence of events for this issue is ok to play out, though. As an end-user you probably aren't that aware of how close to the limits you're running which means that if a release, like this one, bumps you over the limit it looks like a legitimate regression rather than a small amount more stack space. In that sense I very much want to still encourage these bugs being opened so we can investigate and figure out a conclusion.
On this particular but I personally see no issue in providing the --max-wasm-stack knob and considering it closed.

I chatted about this offline with @cfallin and others.
I'm a little puzzled at how #4966 could have impacted stack frame size. In particular, Chris says regalloc2 does a value-merging pre-processing step that sounds to me like it should have made the input to register allocation be the same with or without the PR. Perhaps merging values earlier is enabling other Cranelift optimizations that lead to longer live-ranges?
It would certainly be nice to understand the root cause here. But I think @alexcrichton's --max-wasm-stack option is the best solution for making this particular CPython test reliable. And since it doesn't look like this is a sign of dramatically larger stack frames, I think it'll be okay if we don't get around to identifying the root cause.
So I'm closing this issue as I believe it's resolved by #5156. @brettcannon, if that solution isn't sufficient for you, feel free to re-open with more details about what you need. Thank you for your report!

Thanks everyone for the details and looking into this! Sorry I couldn't react faster to the request for more info as I have been a bit busy with other things. 😅
As for the result, I'm totally happy with the answers. The issue was opened more to make sure we had not found a bug as CPython is somewhat notorious in doing in edge cases of platforms. 😁 I will lower the stack depth cap in CPython under WASI to a lower number (which is the key purpose of the test; to know when we need a lower stack depth so that we can make sure you don't overflow and we can raise an exception instead).

I have opened https://github.com/python/cpython/issues/98925 to track fixing this on the CPython side.


Asymmetric Keys from Fingerprint

Can you get the Asymmetric Keys from any user's fingerprint or even just the public key ?
Looks like you can only verify a fingerprint which was beforehand stored into Android Keystore by the user. Is that correct ?

I want to do the same thing, how did you get to do it mate


Can't open on some actors

When switching to the loot sheet I get this error.
TypeError: Cannot read property 'combatants' of null
    at combat.js:22
    at Function._call (foundry.js:2496)
    at Function.callAll (foundry.js:2456)
    at Function._handleUpdateEmbeddedEntity (foundry.js:29997)
    at Function._handleUpdateEmbeddedEntity (foundry.js:34248)
    at Scene.updateEmbeddedEntity (foundry.js:29965)
    at async Token.update (foundry.js:11446)
    at async EntitySheetConfig._updateObject (foundry.js:19300)
    at async EntitySheetConfig._onSubmit (foundry.js:5251)

Then when trying to open that actor to see the sheet I get:
foundry.js:4481 TypeError: An error occurred while rendering LootSheet5eNPC 98: Cannot create property 'value' on number '0'
    at LootSheet5eNPC._prepareGMSettings (lootsheetnpc5e.js:991)
    at LootSheet5eNPC.getData (lootsheetnpc5e.js:86)
    at LootSheet5eNPC._render (foundry.js:4509)
    at LootSheet5eNPC._render (foundry.js:5157)
    at LootSheet5eNPC._render (foundry.js:16743)
    at LootSheet5eNPC.render (foundry.js:4479)
    at LootSheet5eNPC.render (foundry.js:5626)
    at EntitySheetConfig._updateObject (foundry.js:19304)
    at async EntitySheetConfig._onSubmit (foundry.js:5251)

Even making a brand new actor, this happens on some and not others.

Same/similar error.

TypeError: An error occurred while rendering LootSheet5eNPC 76: Cannot create property 'value' on number '0'
at LootSheet5eNPC._prepareGMSettings (lootsheetnpc5e.js:1054)
at LootSheet5eNPC.getData (lootsheetnpc5e.js:86)
at LootSheet5eNPC._render (foundry.js:4509)
at LootSheet5eNPC._render (foundry.js:5157)
at LootSheet5eNPC._render (foundry.js:16743)
at LootSheet5eNPC.render (foundry.js:4479)
at LootSheet5eNPC.render (foundry.js:5626)
at Token._onClickLeft2 (foundry.js:45306)
at MouseInteractionManager.callback (foundry.js:36339)
at MouseInteractionManager._handleClickLeft2 (foundry.js:36541)
(anonymous) @ foundry.js:4481
Promise.catch (async)
render @ foundry.js:4479
render @ foundry.js:5626
_onClickLeft2 @ foundry.js:45306
callback @ foundry.js:36339
_handleClickLeft2 @ foundry.js:36541
_handleMouseDown @ foundry.js:36503
a.emit @ index.js:202
r.dispatchEvent @ InteractionManager.ts:1106
r.processPointerDown @ InteractionManager.ts:1307
t.recursiveFindHit @ TreeSearch.ts:173
t.recursiveFindHit @ TreeSearch.ts:113
t.recursiveFindHit @ TreeSearch.ts:113
t.recursiveFindHit @ TreeSearch.ts:113
t.findHit @ TreeSearch.ts:200
r.processInteractive @ InteractionManager.ts:1177
r.onPointerDown @ InteractionManager.ts:1252

Same/similar error.

TypeError: An error occurred while rendering LootSheet5eNPC 76: Cannot create property 'value' on number '0'
at LootSheet5eNPC._prepareGMSettings (lootsheetnpc5e.js:1054)
at LootSheet5eNPC.getData (lootsheetnpc5e.js:86)
at LootSheet5eNPC._render (foundry.js:4509)
at LootSheet5eNPC._render (foundry.js:5157)
at LootSheet5eNPC._render (foundry.js:16743)
at LootSheet5eNPC.render (foundry.js:4479)
at LootSheet5eNPC.render (foundry.js:5626)
at Token._onClickLeft2 (foundry.js:45306)
at MouseInteractionManager.callback (foundry.js:36339)
at MouseInteractionManager._handleClickLeft2 (foundry.js:36541)
(anonymous) @ foundry.js:4481
Promise.catch (async)
render @ foundry.js:4479
render @ foundry.js:5626
_onClickLeft2 @ foundry.js:45306
callback @ foundry.js:36339
_handleClickLeft2 @ foundry.js:36541
_handleMouseDown @ foundry.js:36503
a.emit @ index.js:202
r.dispatchEvent @ InteractionManager.ts:1106
r.processPointerDown @ InteractionManager.ts:1307
t.recursiveFindHit @ TreeSearch.ts:173
t.recursiveFindHit @ TreeSearch.ts:113
t.recursiveFindHit @ TreeSearch.ts:113
t.recursiveFindHit @ TreeSearch.ts:113
t.findHit @ TreeSearch.ts:200
r.processInteractive @ InteractionManager.ts:1177
r.onPointerDown @ InteractionManager.ts:1252


how can i auto generator id

row is modify, but sql maybe use insertStatementProvider.getInsertStatement() use old , so i don't generator success
how can i generator ?

If you column mapping is like this: ...map(id).toProperty(id), then it should work.
However, if you are doing ...map(id).toPropertyWhenPresent(id, row::getId), then it won't work because the rendering happens before your interceptor is called.

i use interceptor generator not manually

I don't know what that means. Do you have a small sample project you can share?

and invocation.getArgs[1] type instance is DefaultInsertStatementProvider?

row is modify, but sql maybe use insertStatementProvider.getInsertStatement() use old , so i don't generator success
how can i generator ?

this image

I don't know what that means. Do you have a small sample project you can share?

sorry，I'm not with my computer

I can only guess what you mean. If you are referring to the code created by MyBatis Generator, then your interceptor should work with the generated insert method, but may not work with the insertSelective method.
If that's not it, then please create a SSCCE that demonstrates the issue you are having and share it on GitHub. Images of code are not helpful in general.

no， not mybatis generator,is runtime generator pk in db

like this

I'm not clear if you are using this library or not. I think you are saying that you are not using this library, but the parameters in the interceptor suggest you are. Maybe there is a mix of SQL generated by this library, and other manual SQL?
If you are using this library, then it would be best to set the ID in the record object rather than using this interceptor. In any case, the interceptor might need to parse and rewrite SQL which seems difficult and full of potential corner cases.
The interceptor you reference is not part of our project and not supported by us. If you have issues using it, I suggest you reach out to the authors of that project for help.


Moving towards go modules

Now that go modules seem to be the way / mainstream for dependency management, wouldn't it be good to also start using it?
I think a good first (and intermediate) step would be to start tagging releases in the established / required fashion (e.g. v1.5.0 as a suggestion straight away). This would also help people like me who have dependency to geo-golang and are using go modules to build their software.
Next step - define a module.
3. Profit :joy:

Done


Modified car

The newest modification of our race car having the unnecessary sensors (the whole set of infrareds, ultrasonic and camera) revoked with adjusted vehicle_config JSON file.

Instructions for testing here here
Closes related issue https://github.com/DIT113-V22/group-08/issues/27
:ballot_box_with_check: Definition of Done checklist

[ ] Meaningful title and valuable description in pull request
[ ] Code change tested manually if not covered by automated tests
[ ] Pull request linked to one or more issues/stories
[ ] Acceptance criteria of the linked stories satisfied
[ ] Code change comprehended by those who approved it
[ ] State of target branch maintained or improved after the code change
[ ] Go to MainActivityTest in the Android App and uncommit @Test  Run test manually. Add a picture of the test result in the comments.  Comment @Test again to avoid future problems with the CI

I cannot start the car I get this error

@Quinstedt @faisal1201 I want to figure out how you run it. I have just downloaded the zip of the branch car-modding, opened it via Godot engine, exported the project as a zip into the C:\Users\username\AppData\Roaming\Godot\app_userdata\SMCE\mods folder and after this ran the SMCE Godot emulator and the car downloaded well. Did you do it in this way?

Just make sure you are running a sketch from car-modding branch as well since the json config file is changed and you cannot run the sketch from master or whichever branch

Can it be because we are using the latest mod?
Im using the car from your branch but the latest mod from andrea

@restless-learner  I had the Island.zip file from master inside the mod directory. Then, changed the environment in SMCE to it and tried to open the sketch from car-modding branch but then it gave me that error.

@restless-learner, I guess you could make a version that we could test by downloading the mod from Exploration and Race branch and adding the car as a new folder inside vehicles with different name, then modify Island.gd as well to also register your vehicle. Then, in playground.gd copy line 12 and replace catcar with your car name. The name needs to be the one from the vehicle.json.
After these modifications you can just push to this branch and the Island.zip file will be exported by the CI. You can paste the link to the workflow that was ran after you pushed and this way we get your version of the .zip.
The sooner we merge the better

This pull request will be left open. @restless-learner  will not finish the project with us.

I just close it and will probably open and work on it during the resubmission.


fixed blankspaces

fixed some spaces

Nagging Assignee @harshini-gadige: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@brokenwiings  Please sign CLA in order to look into this PR. Closing now. Please reopen and sign CLA if you would like to proceed. Thanks !


Support for typescript decorators

I have a typescript react project that has a lot of decorators. tsconfig.json is updated to allow decorators. But once the vite config is updated with forgetti, the build starts failing:
Error:

Config:

export default defineConfig({
    envPrefix: 'REACT_APP_',
    plugins: [

        react({
            tsDecorators: true
        }),

        envCompatible(),
        viteTsconfigPaths(),
        svgrPlugin(),
        checker({
            typescript: true,
            terminal: false,
        }),
        reactVirtualized(),
        forgetti({
            preset: 'react',
            filter: {
                include: 'src/**/*.{ts,js,tsx,jsx}',
                exclude: 'node_modules/**/*.{ts,js,tsx,jsx}',
            },
        }),
    ],
    server: {
        open: false,
        port: 4001,
    },
    build: {
        outDir: "build",
        sourcemap: false,
    }

})

I can fix this in forgetti, however I should also ask if these decorator code are used in the same files as the React components are? You could probably remove the .ts file from the filter config

Just tried with filter and it worked perfectly. Thanks for the quick response. The decorators where only in .ts files.
forgetti({
        preset: 'react',
        filter: {
            include: 'src/**/*.{tsx}',
            exclude: 'node_modules/**/*.{ts,js,tsx,jsx}',
        },
    }),


running example.cpp

Hi,
I want to display some values of the compressed and decompressed vectors in the example.cpp so i added these lines:
for(uint32_t i = 0; i < 8;i ++)
std::cout<<"compressed_vector " << i <<" " << compressed_output.data()[i]<<std::endl;
...........
for(uint32_t i = 0; i < 8;i ++)
std::cout<<"Dompressed_vector " << i <<" " << mydataback.data()[i]<<std::endl;
but the result is
sofi@ubuntu:~/FastPFor$ ./example
compressed_vector 0 9984
compressed_vector 1 3
compressed_vector 2 0
compressed_vector 3 0
compressed_vector 4 183
compressed_vector 5<PHONE_NUMBER>
compressed_vector 6 738787840
compressed_vector 7 167903426
You are using 0.294 bits per integer.
Dompressed_vector 0 0
Dompressed_vector 1 0
Dompressed_vector 2 0
Dompressed_vector 3 0
Dompressed_vector 4 0
Dompressed_vector 5 0
Dompressed_vector 6 0
Dompressed_vector 7 0
how can i get these values correctly? What is the problem ?
Thanks in advance.

I will get back to you soon.

I think that everything is well.
We are compressing 10,000 values, and then recovering these same 10,000 values.
I suspect that you somehow got the impression that we are compressing one thing and recovering another. That is not the case.
To check manually that the library works, you could first print out some of the initial values :
for(uint32_t i = 0; i < N;i += 150)
  std::cout<<"initial_vector " << i <<" " << mydata[i]<<std::endl;

Of course, this does not display all 10,000 values. You can get this desired result if you change i+= 150 by i++, but it will fill your screen.
(You could also change the example so that it does not compress 10,000 values... but I guess that you want to be convinced here, by manual inspection, that the result is correct.)
Later, you can check that the recovered values match the original values like so:
for(uint32_t i = 0; i < N;i += 150)
  std::cout<<"Compressed_vector " << i <<" " << mydataback[i]<<std::endl;

Again, if you want to display all 10,000 values, you can change i+= 150 by i++, but it will fill your screen.
In any case, what matters is that mydataback and mydata have identical content.
There is little sense in manually inspecting the content of  compressed_output unless you are familiar with the algorithms. Most users should not care about the compressed binary format.
I hope this helps. I am closing this issue.

I understand that the content of the compressed_vector should not be legible (for most users), but does the API allow queries directly on the compressed vector? For example, checking whether a particular bit is set.


Transaction pool documentation - first draft

The first draft of transaction pool documentation for review.
Big thanks to Tomek for explaining everything to me!
All feedback is wanted & welcome.

@bertstachios This is a great and detail writeup. My comments are more as further todo/enhancement, but not to block this PR from merging.
From a runtime developer perspective,

After reading the doc, some knowledge is the inner working of transaction pool/queue, some knowledge is what a runtime developer need to know. If I am in a hurry and just want to get my task done, which part of the doc should I focus on?

If we are going to work on next iteration of this doc, I think it can be:

overview with some diagrams (always help ppl to understand)
what a runtime engineer need to know to start leverage tx-pool in their applications
inner working of tx- pool/queue

@JoshOrndorff  How can I tinkering on this tx-pool / queue in my runtime development? Maybe a recipe with some examples to demonstrate it will be great. Can work together on this, and I am aware I need to add a recipe of off-chain pricefetch into it.

Nonetheless, I think this doc is a great start, and definitely teaching me a lot about tx-pool that I don't know. I also aware you have to go deep in reading the Substrate codebase to explain the inner working of it. Appreciate all the work.

After reading the doc, some knowledge is the inner working of transaction pool/queue, some knowledge is what a runtime developer need to know. If I am in a hurry and just want to get my task done, which part of the doc should I focus on?

Is the transaction pool part of the runtime? I don't think so. A runtime developer shouldn't need to know anything; it should just work. The main thing a runtime developer should know is that they need to implement validate_unsigned in SignedExtension for unsigned transactions.

From a runtime developer perspective,

After reading the doc, some knowledge is the inner working of transaction pool/queue, some knowledge is what a runtime developer need to know. If I am in a hurry and just want to get my task done, which part of the doc should I focus on?
If we are going to work on next iteration of this doc, I think it can be:

overview with some diagrams (always help ppl to understand)
what a runtime engineer need to know to start leverage tx-pool in their applications
inner working of tx- pool/queue

Thanks for the comments @jimmychu0807. It's great to get your view from a runtime developer perspective. I'll ping you on riot and see how I can implement your points for the next iteration.
In particular i'm super interested in how to highlight what parts of the document is relevant to a runtime developer who is only seeking answers and not a deeper dive.


Reservation note not getting saved

Originally created by Tom Smyth at 2016-09-26 00:59, migrated from redmine-#5161

Status changed from New to Closed

By Tom Smyth at 2016-09-26 05:32

Table just shows the given cost (e.g. 4.50) times the number of adults (or
adult equivalents). Let's say there are 10. So cook says if I spend 45.00 on
groceries, the meal should cost 4.50 each adult. But that's just groceries.
There is also the pantry fee. So we need to include that also.
By Tom Smyth at 2016-09-26 05:10

Version set to 2.3

By Tom Smyth at 2016-09-28 05:47


ModelSchema::Assemble only examines files in root of configured directory.

It would be great to load and mock all classes under app/models/some/path/to/my_model.rb.

Are you asking to be able to generate mocks from a custom path? That can be set by ActiveMocker::Config.model_dir="app/models/some/path/to/**/*.rb"
OR
From rake:
MODEL_DIR="app/models/some/path/to/my_model.rb" rake active_mocker:build

I'm picking this up from @tonyxyz in a different time zone. From reading his email it sounds like it's not about loading in a custom folder but rather picking up correctly all files defined in any sub directory of app/models.
To paraphrase:
We have Foo.  This inherits from Bar, which includes Bar::Baz amongst other things.
We think this is failing because Bar::Baz is never loaded.
The log reports that it cannot load Baz - actually it finds the file okay but does not complete the class loading process.

I will be having a look in detail today, but maybe that helps realise and or fix the problem sooner

@markburns and @tonyxyz what version of active_mocker are you using?

Good shout. I would guess this issue is based on version 1.7.x due to our app dependencies.
Which looking at it now looks like it is because of active_mocker's dependency on rake ~> 10.0 and we have a dependency on ~> 11.0 elsewhere.
Will try a looser dependency in a fork of this gem to see if it allows an upgrade and fixes the issue, then a PR if so.
BTW does this sound like something you fixed since 1.7?

https://github.com/zeisler/active_mocker/pull/43 fixes rake issue. But I believe this issue still remains. Will update with more info if/when I find out.

active_mocker v1.7.3 came out Dec 1, 2014. Migrating your project to v2.1.x should fix your issue since the generation engine has been completely rewritten. I will accept the change to reduce the rake dependancy and that will most likely be v2.1.4

@tonyxyz - when you come online I'd suggest we close this particular issue and determine more relevant PRs/issues as appropriate.

Many thanks markburns, zeisler. This is working fine on the leading edge.


Setup and documentation for MS Windows

There are various issues with the Microsoft Windows setup. Different team members have set it up in different ways, and have experienced different issues. We need to get one or two practical setups working and documented.

Dup of #23


How to support real-time streaming predict?

How to support real-time streaming predict like streaming tts?  Very Thanks.

same QA

any update?


Create overview for docker-network and docker-volume commands

Create overview/parent pages for the engine sub commands docker-volume and docker-network.  Needed and necessary in the /man and /docs directory.  See #20190

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

docs were moved to a central repository, so closing this. I think this was addressed


If Let UIKit issue in 0.20.0

If Let Store no longer executed the else condition after the scoped state is set to nil
We have not changed any code and just migrated to 0.20.0 from 0.18.0, now we no longer get the dismissal else case executing after we set the scoped state to a value of nil

@DavidKmn Thanks for the report!
First, can you try both 0.19.0 and 0.20.0 to better determine which release introduced the problem?
After that, can you also please attach a sample project that reproduces the issue? The repo comes with a TicTacToe demo application with a full UIKit implementation that uses Store.ifLet for navigation, and everything appears to be working as expected in 0.20.0.

We also have a test case that exercises the else branch here:
https://github.com/pointfreeco/swift-composable-architecture/blob/3ca8249bd3262e9837c6cb4d352cc58e370e33fc/Tests/ComposableArchitectureTests/StoreTests.swift#L284-L332
If you have any ideas from your project that could make this test case fail, that also may help us get to the root of the issue.

Thanks for the response.
After investigating further I have found the following.
First of the issue is not to do with the else condition in the ifLet function.
Second of all this happened between versions 0.19.0 and 0.20.0.
We have a screen that gets presented using the ifLet operator via .present when some child state is set. Then within this presented screen there is a button that upon tap does 2 things:

it sets a property called dismissView = true. This is then used in the ViewStore and passed down to the VC that after getting true on this property calls .dismiss on self.
it sends out a .delegate(.endActivity) effect that is then caught in the parent reducer. The parent reducer then sets the state of this presented view to nil.

I see some changes have been made to the calls made to the view store, and what seems to have happened is that condition 1 from above is no longer true. Meaning that the dismissView no longer gets set leading to the vc to not dismissing itself.
@stephencelis

@DavidKmn Without a sample project I'm going to have to make a few assumptions here 😅 If I've made any wrong assumptions, a sample project would really be helpful to troubleshoot.
Assuming .delegate(.endActivity) is synchronous, you may be seeing a consequence of the following change from 0.20.0:

Performance improvement/fix: a store publisher will only emit a single state change per synchronous Store.send and asynchronous effect received. This means synchronous effects (returned immediately from a reducer via Effect.init(value:)) will no longer result in extra publisher emissions.

Prior to 0.20.0, TCA state changes were always witnessed/rendered "once" per send in SwiftUI, but observers of the store publisher received every intermediate mutation from every synchronous effect. We've squashed things down so that 1 send = 1 state emission for a few reasons:

It makes things more consistent. Both SwiftUI and manual observation receive the same number of updates
It avoids rendering hitches in UIKit/etc. apps. Previously, if you mutated state in your reducer but overrode that state in a synchronous effect, both states would emit to the view, which could result in glitchy rendering.
It improves performance more generally. While we don't recommend queueing up 100s of synchronous effects all at once, it is possible to do, and rather than bog a UIKit app down with 100s of emissions, we think it makes more sense to emit a single time once things are complete.

In your case, it sounds like you had a view that depended on observing dismissView = true, but now the system has already nild out that state before it can be observed.
There are 2 ways to fix this:

Add a .receive(on:) to your synchronous effect so that it is observed on the next "tick"
Remodel things a bit so that, e.g., view dismissal observes the state going nil rather than a child field dismissView going true.

Thanks for the response. You are correct in your assumptions. The .delegate(.endActivity) is returned as a synchronous effect via a .init(value:) call. So reading your explanation I kind of understand the issue. The state gets set to nil after this effect and the dismissView gets set right before. Are you implying that in the new release these essential happen in 1 tick meaning there is essentially nothing to receive in the view store afterwards?
The first solution seems a bit hacky although a quick fix. I'm not sure I understand what your second solution is. Let's say we have a parent VC and a child VC, currently the observation for dismissView is in the child vc, and as soon it's set to true we call dismiss on self. How would we setup an observation for the state going to nil in the child vc? (Are you prosoping to use something like the ifLet operator and it's else statement?) Or am I misunderstanding your solution.

Are you implying that in the new release these essential happen in 1 tick meaning there is essentially nothing to receive in the view store afterwards?

Yep, exactly, for the reasons given we made this change. We understand it's breaking, but the .receive(on:) solution is a quick fix for those affected.

The first solution seems a bit hacky although a quick fix. I'm not sure I understand what your second solution is. Let's say we have a parent VC and a child VC, currently the observation for dismissView is in the child vc, and as soon it's set to true we call dismiss on self. How would we setup an observation for the state going to nil in the child vc? (Are you prosoping to use something like the ifLet operator and it's else statement?) Or am I misunderstanding your solution.

It sounds like ifLet is already driving navigation based on optional state, but you want the child to handle dismissal. We've found that it makes the most sense for the parent to manage the presentation of a child. The child may still "dismiss" itself, either by using built-in affordances, like the navigation bar back button or UIKit/SwiftUI methods, or by sending an action that the parent domain listens to, like your delegate action, and then the parent can do its work to nil out that state. Without code it's hard to give more guidance than this, but hopefully it helps!

@DavidKmn Since this change is intentional and covered in the release log, I'm going to close the issue. If you would like to discuss the change more, please feel free to open a GitHub discussion!


Integration Test fails for v0.0.115 as of date

When I checkout v0.0.115 and run ./scripts/integration.sh,  it fails with App failed to start: app failed to start: testdata/pipfile_lock

Looks like fixed by https://github.com/paketo-community/pipenv/pull/47


Add Custom Module Creation Script and Update README

This merge request introduces a custom script that automates the creation of a NestJS module along with additional folder structures (e.g., dto, interfaces, repositories, helpers). This adjustment aims to improve project structure consistency and speed up module setup.
Changes:

Custom Script:

Added a new script (create-module.js) located in the scripts folder.
This script:

Generates a new module using the NestJS CLI.
Creates a controller and service for the module.
Adds additional folders (dto, interfaces, repositories, helpers) within the module directory for better organization.

README Update:

Updated the README.md file to include instructions on how to use the custom module creation script.
Detailed the script’s functionality and provided a usage example.

How to Use:
To create a new module with the above folder structure, run:
npm run create:module <module-name>

Example:
npm run create:module user

This will generate a module under src/modules/<module-name> with the appropriate structure and files.

@amanullah7649 I like this change but I want you to follow our existing CLI script pattern, move your changes to a new cli script inside the 'commands' folder. Please follow this pattern
https://github.com/Innovix-Matrix-Systems/ims-nest-api-starter/blob/main/src/commands/xsecurity.command.ts

@amanullah7649 Thanks for changing. We are using https://www.npmjs.com/package/nestjs-command for custom commands, so I request you use this package.
you can easily move your code and use the new format. you can follow nestjs-command documentation to understand the basic setup. We have already integrated this package into our codebase, just creating another command should work fine.
thanks for contributing

@amanullah7649 thank you for your contribution, wonderful work.


build:prod fails with Could not resolve "./src/app/app.module"

After upgrading webpack to 2.2.0 and @ngtools/webpack to 1.2.4, npm run build:prod shows this weird error
ERROR in Could not resolve "./src/app/app.module" from "./src/app/app.module".

However the build seems to complete anyway, and what's been generated in dist runs fine, so it might just be a spurious error.

It seems to be a problem with @ngtools/webpack . I tried updating all the dependencies. But this error still exists. I tried the steps given here. But it gives another error as mentioned here


Display the edit icon in settings with a small delay

Currently if you move the mouse fastly around the settings the icon apperas everywhere franticly. I would show it with a slight delay to make the experience smoother.
The gif does not illustrate well the franticness but you see what I am trying to point out :)

Currently this icon is shown by using editor decorations. I think editor contributions do not have control on how to display these. So one way is to move away from decorations to zone widgets or overlay widgets where we can do things like suggested.
Thanks.


Integrate FAISS in vector_db.py

Hi, can I please work on this issue? Thank you!

https://github.com/lucylililiwang/LLM-VM/blob/main/Integrate_FAISS.py


Draft: Chores/chart styling

Implementation of the different chart stylings/filters/toggles/accordeons, etc.

Due to a newer codebase, these changes will be implemented in  #57. This PR will be closed


Fix word-extraction substr bug in initialism code

Initialisms were not handled in the second word or later. E.g. for the given Thrift file,
service S {
  void get_id()
}

The generated code was using GetIdArgs instead of GetIDArgs. This was happening because fix_common_initialism was passing the position of the underscore to substr when extracting the word, when substr expects a length.

Tracked in THRIFT-3354 - good catch.


"add new page" button is pushed below visible area when adding 15+ pages

When adding to many pages the button to add more is pushed below the page and can't be clicked. I'm on version 10 build 286.
Have a lot of modules installed however none that interferes with journals (to my knowledge).

@daved181
Indeed. It's not hard to fix, I'll try in the near future.

@Xbozon
Thanks :)

kinda fixed it myself by adding a scrollbar to pages in storyteller.css
.page{
overflow:scroll;
overflow-x:hidden;
}

@daved181
I added support for scroll in v1.0.3, please update. You can turn it on in the settings, as the design is far from perfect yet.


Updated all dependencies and fixing typing issues

Updated all dependencies and code accordingly (resolving #56)
Dropped support for EOL python 3.7 (resolving #47)
Fixed overall typing issues
Pass mypy/black/ruff checks and unit tests, should be making CI passing again

This PR pass the unit testing but I still have some more manual testing to do to ensure that I did not break anything, once good it should be good for merging!

@Astropilot Since this is a breaking change, could py3.12 support be also added as part of this PR?

+1 here pydantic being 1.0... is causing hard errors.
e.g
ERROR: Cannot install -r requirements.txt (line 18), -r requirements.txt (line 23) and pydantic==2.5.3 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested pydantic==2.5.3
fastapi 0.109.0 depends on pydantic!=1.8, !=1.8.1, !=2.0.0, !=2.0.1, !=2.1.0, <3.0.0 and >=1.7.4
infisical 1.5.0 depends on pydantic!=1.7, !=1.7.1, !=1.7.2, !=1.7.3, !=1.8, !=1.8.1, <2.0.0 and >=1.6.2

+1 for this update

@ha-sante This package was deprecated, the new one is here: https://github.com/Infisical/sdk

Perfect! Thanks @gaby


chore(deps): pin dependency wireit to 0.4.3

This PR contains the following updates:

Package
Type
Update
Change

wireit
devDependencies
pin
^0.4.3 -> 0.4.3

Add the preset :preserveSemverRanges to your config if you don't want to pin your dependencies.

Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: pnpm-lock.yaml
Installing legacy tool pnpm v7.1.0

added 1 package in 796ms
7.1.0
Scope: all 2 projects
Progress: resolved 1, reused 0, downloaded 0, added 0
src/download/template                    | Progress: resolved 1, reused 0, downloaded 0, added 0
Progress: resolved 27, reused 0, downloaded 24, added 0
src/download/template                    | Progress: resolved 13, reused 0, downloaded 0, added 0
Progress: resolved 29, reused 0, downloaded 29, added 0
src/download/template                    | Progress: resolved 77, reused 0, downloaded 37, added 0
Progress: resolved 31, reused 0, downloaded 31, added 0
src/download/template                    | Progress: resolved 87, reused 0, downloaded 63, added 0
Progress: resolved 141, reused 0, downloaded 99, added 0
src/download/template                    | Progress: resolved 87, reused 0, downloaded 64, added 0, done
Progress: resolved 293, reused 0, downloaded 248, added 0
Progress: resolved 424, reused 0, downloaded 376, added 0
.                                        |  WARN  deprecated<EMAIL_ADDRESS>Progress: resolved 607, reused 0, downloaded 531, added 0
undefined
 ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies

.
└─┬ eslint-config-standard
  ├── ✕ unmet peer<EMAIL_ADDRESS>found 8.14.0
  └── ✕ unmet peer<EMAIL_ADDRESS>|| ^5.0.0": found 6.0.0


how to generate test npy for unseen classes

Hi @sandipan211 , thanks for sharing the great work! i tired transfering the code to custom dataset, but in the generattor training step, it shows test_xxx.npy is not found, how to generate the file?

Kindly refer to this previous reply

thanks!


Elevation required for Get- verb command?

Why does Get-WindowsOptionalFeature require elevation just to query what's even present \ available. It should be possible to see if something is installed or even exists without admin rights. This would be especially useful for detection scripts in SCCM when deployed to users (where the detection script evaluates in the context of the user)

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

ID: a6c867c5-8521-8bd1-6f48-a49bd3971738
Version Independent ID: 429b4dbf-b12b-6a68-b272-ed72f8843ef6
Content: Get-WindowsOptionalFeature (dism)
Content Source: docset/windows/dism/Get-WindowsOptionalFeature.md
Product: w10
Technology: powershell-windows
GitHub Login: @andreabarr
Microsoft Alias: v-anbarr

@toxicbubble  Thank you for your feedback.. The get-windowsoptionalfeature requires access to system files which is denied when running the cmdlet without elevated privileges.
Thank you and as such there are no changes needed to this document. @e0i
Thanks
Sri


POST custom fields with with complete template payload first when using bulk_fields

When using bulk_fields, custom fields as described in the template don't get posted as bulk_fields only takes the name and value. Looping through the templates first and posting the custom fields would get around this.

Deprioritizing for now. May revisit later.


Fix logging imports.

https://github.com/georgianpartners/foreshadow/pull/111/review_comment/create
convo: https://github.com/georgianpartners/foreshadow/pull/111#discussion_r310237912

not sure why this is an issue. I don't think this is much of trouble using from foreshadow.logging import logging. Closing.


AtomicFetchAndOp intrinsic

Implementation of atomic add and atomic sub.
I am not sure yet if I should move the helper FetchOp into the spec since it would remove an UB check.

Thanks, looking good. :)


能不能支持桌面tableview,chart等，类似javafx的tableview,chart

Could you please provide issue name and description in English?

@akurasov  He wants to know whether this project will provide some components whicn are  similar to the TableView and Chart in JavaFX in the future.

Table could be implemented via multiple Rows using the same layout. And for Charts existing 3rd party Swing components could be used

Todo: write tutorial about tables

it would be cool to have something like https://github.com/Shopify/react-native-skia or some other way to draw charts

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Add full-screen button for Playground side content

Description

Closes #2910
Added a full-screen button and associated functionality to the Playground side content container.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Code quality improvements

How to test

Go to the Source Academy Playground page
On the top right corner of the side content container, you can find the "Full-screen" maximize button. Clicking it should expand the side content container to full-screen.
There should now be an "Exit Fullscreen" minimize button on the top right corner. Clicking it should exit full-screen mode.

Checklist

[x] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 35.285%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
5185

Relevant Lines:
13728

💛  - Coveralls


[FEA] Support FIRST/LAST without grouping expressions

Is your feature request related to a problem? Please describe.
The FIRST and LAST aggregate functions are supported when used in conjunction with grouping
expressions but are not currently supported on the GPU in other cases.
For example, this is supported ...
SELECT dept, FIRST(first_name) FROM employee GROUP BY dept

... but this is not supported:
SELECT FIRST(first_name) FROM employee

Describe the solution you'd like
I would like to be able to use FIRST/LAST on the GPU without grouping expressions.
Describe alternatives you've considered
N/A.
Additional context
N/A.

This has been fixed.


Not possible to have perfect integers with timer node when values are over 22.

Operating system or device - Godot version:
Win10 64 bit; ATI 79xx GPU; 24 Gigs RAM; third-gen i7 CPU.
Godot 2.1 Beta (build from July20)
Issue description (what happened, and what was expected):
When typing an integer value for the timer node (for the wait time parameter), values over 22 will instead produce a decimal number that's just below the intended value.
So a value of 23 becomes 22.999999
And a value of 600 becomes 599.999987
Steps to reproduce:
Open Godot, add a timer node in an empty project, give it an integer value over 22
This shouldn't be too hard to fix I think.

totally normal

Note that in 3.0 we would have double precision floats, so should be less of a problem then (still it is a regression from 2.0, since the editor rounded them properly back then)

Actually, I've read this before posting a new issue. What comes to my mind is Particles2D and Inconsistent decimal places the Editor (Inspector) took. Also, still on Particles2D, some parameter start its strange values not from 22.3, instead from 33.5

Fixed by https://github.com/godotengine/godot/commit/9151eb591dcab408d3a7e4d9e3b3874c2e281acf
I guess this issue can be closed now...
I feeeel good (whoa-oa-oa!)

Closing as fixed then.

I think, fixed by 9151eb591dcab408d3a7e4d9e3b3874c2e281acf, tell us if it is still present, so that we can reopen it.


TVG Saver portability issue

There seems to be an issue with porting TVG Saver to Windows.
ThorVG Viewer Result:
[2192.svg in the example]

[2192.tvg in the example]

Like the above, all other tvg results are not working correctly.
Tested svg2tvg on the Windows.

in tvg saver, there are 2 calls of _fopen(), lines 173 and 196:
auto fp = _fopen(path.c_str(), "w+");

you should use the binary mode instead of the text mode

@vtorri yes, you were right with the binary mode on windows. this was responsible for the bunch of error, like 'corrupted tvg file', segfaults etc. thx for that
regarding multi call of the fopen - there are two occurrences, but only one is called. either flushTo is called and the saveEncoding is left before the file is opened inside it, or flushTo isn't called and saveEncoding opens the file, writes to it and closes it.
regarding preprocessor conditions:
it was introduced in https://github.com/thorvg/thorvg/commit/282b9288ab3763813c7bda953a1af9ee1d3b83e3, need to investigate...

Confirmed this issue was fixed.

The build was successful with MSVC when I removed that preprocessor. Need to verify on MacOS.