ConnectBot crashes when connecting to SSH servers

Bug description
ConnectBot crashes when trying to connect to any of several SSH severs.
This happens using password or public-key (tested with RSA) authentication.
Steps to reproduce

Open ConnectBot
Touch a host to start an SSH connection
Crash

Expected behavior
Should see a remote shell prompt instead of crash.
Android device

OS: Android 7.0
ConnectBot Version: 1.9.7 (beta from Play Store)

Server information
(one of them:)

OS: Ubuntu Server 20.04 LTS
SSH Software and Version: OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020
Pubkeys used (if applicable): Ed25519

Additional context
Everything worked fine before the last ConnectBot update; although I'm not sure which version was installed, it was up-to date with whichever version was available before on the Play Store (beta enabled).
Here's the server log and stacktrace (from ADB) for the same connection:

server.log

Jul 11 23:13:05 ubuntu sshd[3520]: message repeated 8 times: [ debug1: server_input_global_request: rtype<EMAIL_ADDRESS>want_reply 1]
Jul 11 23:13:06 ubuntu sshd[3419]: debug1: Forked child 3530.
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: Set /proc/self/oom_score_adj to 0
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: rexec start in 5 out 5 newsock 5 pipe 7 sock 8
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: inetd sockets after dupping: 4, 4
Jul 11 23:13:06 ubuntu sshd[3530]: Connection from <IP_ADDRESS> port 42893 on <IP_ADDRESS> port 22 rdomain ""
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: Local version string SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: Remote protocol version 2.0, remote software version TrileadSSH2Java_213
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: no match: TrileadSSH2Java_213
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: permanently_set_uid: 111/65534 [preauth]
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: list_hostkey_types: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519 [preauth]
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: SSH2_MSG_KEXINIT sent [preauth]
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: SSH2_MSG_KEXINIT received [preauth]
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: kex: algorithm: curve25519-sha256 [preauth]
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: kex: host key algorithm: ssh-ed25519 [preauth]
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: kex: client->server cipher: aes256-ctr MAC<EMAIL_ADDRESS>compression: none [preauth]
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: kex: server->client cipher: aes256-ctr MAC<EMAIL_ADDRESS>compression: none [preauth]
Jul 11 23:13:06 ubuntu sshd[3530]: debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]

stacktrace.txt

07-12 00:13:06.185 15275 15321 E AndroidRuntime: FATAL EXCEPTION: Thread-4
07-12 00:13:06.185 15275 15321 E AndroidRuntime: Process: org.connectbot, PID: 15275
07-12 00:13:06.185 15275 15321 E AndroidRuntime: java.lang.IllegalStateException: Arithmetic error in curve multiplication with the public key:<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000
07-12 00:13:06.185 15275 15321 E AndroidRuntime: 	at com.google.crypto.tink.subtle.Curve25519.curveMult(Curve25519.java:332)
07-12 00:13:06.185 15275 15321 E AndroidRuntime: 	at com.google.crypto.tink.subtle.X25519.computeSharedSecret(X25519.java:103)
07-12 00:13:06.185 15275 15321 E AndroidRuntime: 	at com.google.crypto.tink.subtle.X25519.publicFromPrivate(X25519.java:121)
07-12 00:13:06.185 15275 15321 E AndroidRuntime: 	at com.trilead.ssh2.crypto.dh.Curve25519Exchange.init(Curve25519Exchange.java:43)
07-12 00:13:06.185 15275 15321 E AndroidRuntime: 	at com.trilead.ssh2.transport.KexManager.handleMessage(KexManager.java:574)
07-12 00:13:06.185 15275 15321 E AndroidRuntime: 	at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:614)
07-12 00:13:06.185 15275 15321 E AndroidRuntime: 	at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:310)
07-12 00:13:06.185 15275 15321 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:761)

Regarding the "public key" seen on the stacktrace<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000):
I've seen stacktraces with different, maybe random, values there before. But now every host I test crashes with that value there, everytime.

This looks like a critical randomness failure. I'll investigate what could be going wrong.

Thanks for the report. This looks like a bug in Tink. I'll investigate.

Can you share the private key that caused the issue?

@thaidn thank you for your reply.
Just to be clear, do you mean the value of privateKey here?
(this link is for Tink 1.4.0, whereas 1.4.0-rc2is being used)

Yes, if it is not inconvenient for you to do so.

I've managed to reproduce the crash with the debug variant of ConnectBot using the debugImplementation of sshlib 2.2.14 and tink 1.4.0-rc2. I set a breakpoint on the line where the IllegalStateException is thrown to read the variables from memory for 3 separate instances of the crash. These include the variables for each scope leading to the private key.
Here are the privateKey values and other variables:

privateKey = {119, 127, 11, -105, -122, -51, -112, 119, -27, 112, -79, 72, -59, 105, 100, 111, 119, -18, 81, -76, 104, -81, 55, 8, 42, -77, -1, 39, 64, 124, 83, -69}; from variables_crash1.txt

privateKey = {-73, 17, 51, 40, 0, 92, 31, 85, -16, 53, 86, 8, -64, 99, 63, -72, 38, -123, 37, -25, -54, -97, -126, 104, 11, -94, -56, -119, 14, -45, 62, -111}; from variables_crash2.txt

privateKey = {127, -83, -16, 85, -38, 15, 97, -44, -19, 80, 109, 68, 2, 100, 103, -71, -41, 87, 115, 10, -27, -58, -86, -39, -52, 31, -1, 32, -72, 46, 86, -115}; from  variables_crash3.txt

Please let me know if you need more info or if there is a better way to present these.

Thanks for the excellent investigative work, @luismrsilva. That will help a lot.

Unfortunately it looks like we couldn't reproduce. com.google.crypto.tink.subtle.X25519.publicFromPrivate doesn't crash with any of the provided private keys.
@kste had a closer look at this, and reported that:

I tried ~2^30 random scalars multiplied by the base point, but did not get any error in the collinearity check.
Using the debug output provided on Github, I could reproduce that the values dumped cause the collinearity check to fail.
Using the private keys provided on Github, I could not reproduce that if you multiple those by the base point it will lead to the observed error.

Especially the last point makes it difficult to progress further, as I'm not sure if it's platform specific issue happening and can't get to the same state with the given private key. From Tink 1.4.0-rc2 to the current head there haven't been any changes to the field arithmetic, so it seems unlikely that the bug would not be present in the current head.

@luismrsilva would you mind sharing the code that produced the crashes?

@luismrsilva please also report the platform on which you reproduced this issue. Maybe this is platform-specific.

Thank you for your replies and for looking into this.
For the crashes above I had the code as such:

Checkout commit b933dc10d5030712bdfdf87fdbffaa873accd66b (tag: v1.9.7, tag: git-v1.9.7);
Apply this patch to change the relevant dependencies to debugImplementation.

It crashes on a phone with Android 7.0 (NRD90M).
Unfortunately, I could not reproduce it on other devices. Tested:

Device with Android 6.0.1;
Device with Android 8.1.0;
Emulator with Android 7.0 x86 (x);
Emulator with Android 7.0 arm64-v8a (same arch as the phone where the crash happens);

Therefore I'd say it's platform-specific.

I did some more digging, having hardcoded the privateKey from crash1 above (another patch over v1.9.7), calling X25519.publicFromPrivate(privateKey) on HostListActivity.onResume() so I don't have to keep choosing a host (I tired using an androidTest for that, but I get an error about sharedId when trying to install it on the phone).
I've narrowed down the issue to the execution of the following function, on line 294, when  i == 3 && j == 7:
monty(nqx2, nqz2, nqpqx2, nqpqz2, nqx, nqz, nqpqx, nqpqz, q);
I say this because if I set two conditional breakpoints, one on line 294 and the other on line 295, with i >= 3 && j == 7, I see that before the function executes the variables in scope are the same compared to an instance on Emulator (x) and a crashing instance; after that function executes, variables differ between the instances.
Data on the breakpoints (data is from before that line executes):

Line
Emulator (ok)
Device (crash)
Variables

294
294_emu_ok.txt
294_dev_ok.txt
Equal

295
295_emu_ok.txt
295_dev_bad.txt
Differ

However, if I step into the function and run each line one by one, comparing variables every time, I find no differences. Maybe this is timing-sensitive? Maybe I messed up somewhere.
Anyway, the problem definitely happens inside this for, not before it.

If you step line-by-line it goes into interpreter mode and doesn't run the precompiled code. It would be useful to have the files from /data/dalvik-cache/ for Connectbot to see what it's compiling into.
I suspect that you're right this is a device-specific issue and it has a modified runtime compiler.

Thank you for your reply.
Do you have any suggestion on how I could get the dalvik-cache files? I've manage to cd into /data/dalvik-cache/arm64/ in adb shell on the phone, but it has no permission to list files there and I don't have root.
I listed the files in the emulator (as root), which in this case are in /data/dalvik-cache/x86/, hoping to figure the path for the files, but there's no mention of ConnectBot or any of the relevant libraries. There are only .art and .oat files starting with system@framework@boot.

If you installed a debug version of Connectbot, you can use run-as in the adb shell which should give you access to whatever the application can see including .oat files. I'm not sure about the file layout in Nougat. I'll try to check with an emulator later and update here where an app's compiled .dex files should be.

The .oat files should be in /data/app/[org.connectbot something]/oat/[processor]/... but it might be easier to manually acquire the .oat file:

curl https://github.com/connectbot/connectbot/releases/download/git-v1.9.7/ConnectBot-git-v1.9.7-google.apk -o connectbot.apk -SL
adb push connectbot.apk /data/local/tmp
adb shell dex2oat --dex-file=/data/local/tmp/connectbot.apk --oat-file=/data/local/tmp/connectbot.oat
adb shell oatdump --oat-file=/data/local/tmp/connectbot.oat > connectbot-oatdump.txt
gzip connectbot-oatdump.txt

Then upload that connectbot-oatdump.txt.gz to the issue.

Thank you for your replies.
I've run the provided commands.
Here is the bzip2-compressed output (9.2 MiB), compressed as zip so GitHub would let me upload it: connectbot-oatdump.txt.bz2.zip
I could not find .oat files for the debug version (using run-as org.connectbot.debug) on the phone:

ls in /data/data/org.connectbot.debug/ shows cache/, code_cache/, databases/, lldb/, shared_prefs/.
cache/ and code_cache/ are empty.
/data/app/org.connectbot.debug/ does not exist.

/data/app/org.connectbot/ does not exist either.
/data/app/ does exist.

This also affects bVNC Free (com.iiordanov.freebVNC v5.0.1) on the same phone, which crashes with the same exception, same stack trace, except it shows random public keys instead of always showing<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 (tested some 5 times).

I've built ConnectBot v1.9.6 and it works fine on the phone.
I though it might be using a different tink version and wanted to compare these, but it appears that v1.9.6 does not use tink at all.
This table shows which versions are used with links to where the library is listed as a dependency and finally imported.

ConnectBot
sshlib
tink
(import)

v1.9.6
2.2.9
-
djb.Curve25519

v1.9.7
2.2.14
1.4.0-rc2
com.google.crypto.tink.subtle.X25519

@luismrsilva I'd advise against using djb.Curve25519 until we know for sure what happened.
The failure in Tink could be working as intended. Tink has a novel defense against fault attacks including faulty hardware. It throws the exception reported here when it encounters an unexpected computation result. If you accepted the result, at best it wouldn't work at all (i.e., because it'd different from the result on the server side), at worst you'd leak the private key.

Oh, djb.Curve25519 in 2.2.9 was replaced with Tink in 2.2.15 which coincided with this error. The other side is most likely OpenSSH, so nobody is using djb.Curve25519 in this exchange.
My original aim was to get rid of djb.Curve25519 with the switch to Tink, of course.

Thanks @kruton.
Just an update: I've bought an ASUS phone running MediaTek and will have it in a week. Will update once I've got more information.

Hi,
Adding that I have an ASUS tablet on Android 7 that also does not work, but works on my Moto G7 running Android 10. Using keys. Similar as above:
SSH log shows:
9944 2022-02-07 10:49:03.342 Connection closed by x.x.x.x port 46845 [preauth]
The app shows:
Source file:
Curve25519.java
Source class:
com.google.crypto.tink.subtle.Curve25519
Source method:
curveMult
Line number:
332
Stack trace:
java.lang.IllegalStateException: Arithmetic error in curve multiplication with the public key: xxxxxx
at com.google.crypto.tink.subtle.Curve25519.curveMult(Curve25519.java:332)
at com.google.crypto.tink.subtle.X25519.computeSharedSecret(X25519.java:103)
at com.trilead.ssh2.crypto.dh.Curve25519Exchange.setF(Curve25519Exchange.java:67)
at com.trilead.ssh2.transport.KexManager.handleMessage(KexManager.java:703)
at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:614)
at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:310)
at java.lang.Thread.run(Thread.java:761)

https://github.com/connectbot/connectbot/commit/f9f0590b68cc5779c0bd4685fc6ae36d70d462e1 talks about fixing a bug that sounds a lot like this one. Is it really fixed? I'm having the same problem with F-Droid's ConnectBot 1.9.8 build on an Archos Oxygen 70 (MTK 8163A, rev 2 shipped with Android 7).

The bug is there for me w/ the v1.9.8 F-Droid release. I even tried a newer release approx 2 months ago but it appears that they are just auto-builds with updated libraries.

1.9.10 still crashes on my Archos Oxygen 70.


Add setting to disable "Enable Trigger Happy triggers" button in Token Controls

I don't ever turn it off, and the button takes space. I'd be very thankful for such a setting.

Added in latest (to be pushed) release.
On Tue, Jun 1, 2021 at 5:23 AM Bolt7 @.***> wrote:

I don't ever turn it off, and the button takes space. I'd be very thankful
for such a setting.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/League-of-Foundry-Developers/fvtt-module-trigger-happy/issues/32,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCHH77NTL6NOTIUGVBKCDTTQPOYNANCNFSM453LLEOA
.


chore(deps): update common-dev-assets digest to 64fc718

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
1d43759 -> 64fc718

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline


Proxy settings not fully respected in windows

I am on windows 8.1 update 1 using Atom 0.136.0
I have added the following to .atom/.apmrc (for testing purposes I also tried putting it in the global config .apmrc file as well):
https-proxy=http://myproxy:8080
http-proxy=http://myproxy:8080
strict-ssl=false
No spaces exist in this configuration. All items are configured very specifically to instructions. I even tried using the ip address of the proxy to eliminate the possibility of a dns issue as suggested. Everything works fine unless it is calling npm. That is when the git connection fails.
Once those are added, the settings view can see all the packages available, search etc. (without this I get a connection error). However when calling git on package install it fails to connect. I can call git from the command line and from other applications without issue since the global git proxy configuration is set. I also run this on a Mac (same network proxy etc) and it works fine. Any help would be much appreciated.  Error: Command failed: Cloning into bare repository 'C:\Users\NAME.atom.node-gyp.atom.apm_git-remotes\https-github-com-Benvie-harmony-collections-git-df214100'...
npm ERR! fatal: unable to access 'https://github.com/Benvie/harmony-collections.git/': Failed connect to github.com:443; No error
npm ERR!
npm ERR!     at ChildProcess.exithandler (child_process.js:648:15)
npm ERR!     at ChildProcess.emit (events.js:98:17)
npm ERR!     at maybeClose (child_process.js:756:16)
npm ERR!     at Process.ChildProcess._handle.onexit (child_process.js:823:5)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR!     http://github.com/npm/npm/issues
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "e:\utils\Atom\resources\app\apm\node_modules\atom-package-manager\bin\node.exe" "e:\utils\Atom\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\bin\npm-cli.js" "--globalconfig" "e:\utils\Atom\resources\app\apm\node_modules\atom-package-manager.apmrc" "--userconfig" "C:\Users\NAME.atom.apmrc" "install" "C:\Users\NAME.atom.node-gyp.atom.apm\minimap\3.3.1\package.tgz" "--target=0.17.0" "--arch=ia32" "--msvs_version=2013"
npm ERR! cwd C:\Users\NAME\AppData\Local\Temp\apm-install-dir-114910-5044-flzuiu
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.4
npm ERR! code 128
npm

Atom now sets the environment variables for APM when shelling out by interrogating Chrome directly. This should alleviate many common scenarios for proxy users.  Please open a new issue if you experience any additional problems with it.


HSCore-sql

This module to work with SQL

It should use HikariCP

Bukkit has MySQL and SQLite drivers, but without bukkit, you can't run it as standalone so, you should make it under the bukkit module; otherwise, you can add the drivers as dependencies, but they have 2-3mb~ size so.

here is the recommend options for hikaricp if you want to use it;
https://github.com/Infumia/DB/blob/master/src/main/java/tr/com/infumia/db/Credentials.java

here is the recommend options for hikaricp if you want to use it;
https://github.com/Infumia/DB/blob/master/src/main/java/tr/com/infumia/db/Credentials.java

nice

Bukkit has MySQL and SQLite drivers, but without bukkit, you can't run it as standalone so, you should make it under the bukkit module; on the other hand, you can add the drivers as dependencies, but they have 2-3mb~ size so.

currently I don't add the dependencies. I will leave the option for others. I'll think of a way around it soon


Resurrect LightHouse on the Bitcoin Cash chain

https://github.com/vinumeris/lighthouse/issues/202
I think we should resurrect LightHouse on the Bitcoin Cash chain, whether it's still useful or not.
LightHouse was once a big thing in Bitcoin World. As for me, it's our obligation to have the available code on the Bitcoin (Cash) chain.
I would like to sponsor this movement. My budget is enough for it.
So, how can we start?

The XT client support for GETUTXOS is still there in the Bitcoin Cash version.

@dgenr8 Thank you. Now it's only a matter of time.

@jli225 I have a working build of lighthouse that uses bitcoinj.cash as it's backing library.  The client works and can create and complete projects.  I haven't broadcast my test project yet as there's no lighthouse server running and I haven't had time to set one up and test it.  If someone wants to build on this that would be great as I doubt I will have time to work on this for at least a few more months.
https://github.com/bitcoinj-cash/lighthouse


AES detection is broken on linux/arm64 and issues a warning

Description
WARN[0000] Failed to detect CPU features. Assuming that AES acceleration is not available.
Due to yet another bug in golang.org/x/sys/cpu, this time with the cpu.Initialized flag.

Other linux architectures, such as amd64 and arm(32), are OK. They both set the cpu.Initialized flag.


Allow for Consul UI w/o nginx install

Added two new variables:
consul_install_nginx: true
consul_install_nginx_config: true
To allow for Consul UI install w/o nginx - I feel it's common for people to have their own roles for nginx and the fact that nginx is installed potentially conflicts with that and was a suprise for me as well.
Also set to latest Consul version and updated README for that.

I set the variables to true to preserve backwards compatibility, but I do think they should be false by default.


release 3.12 on chocolatey

After updating from 3.11 to 3.12 Windows is now telling me to not run the application.  Downgraded back to 3.11 and am having no issues

Hi,
this is niet chocolaty  and this is the smartscreen error as stated in the notes:

We cannot prevent this without paying a lot for a coding certificate :(

@dsplaisted Can't you get a code certificate bargain ;)
Maybe we could add a funding badge for buying a code certificate?

https://gripdev.wordpress.com/2015/04/08/appveyor-github-and-chocolatey-automatically-build-your-project-and-publish-updates-it-to-chocolatey/

Superseded by https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/issues/46


Development

Change log:

Fixing text label text button after upload success
Refactor UI at index.html

Change log:

Fixing text label text button after upload success
Refactor UI at index.html

It looks great to me, thank you!


orders are being paid but not being created

Expected behavior
New order should be created after an succesfull payment.
Actual behavior
New orders are not being created in Prestashop, the transaction is succesfull and showing in Mollie.
Steps to reproduce the behavior

Environment

PrestaShop version: <IP_ADDRESS>
Mollie module version: 5.0.1
PHP version: 7.3.33

Hi @Maikel726,
Our developer has looked over the details, and it seems that the issue could be related to the webhook not being caught, or some misconfigurations.
In order to resolve the issue, could you please provide you BO+FTP details to<EMAIL_ADDRESS>Additionally, did any errors appear in the mollie.com history?
Looking forward to your reply!
Best regards,
Invertus Support team

Hi @Maikel726! Hope that you are doing well today.
Our developer has checked the issue and found that the order was not created, because the security key is not the same in Mollie meta_data and what we expect.
Could you let us know if this happens to all orders or just one? It seems that perhaps the order was created on an older Mollie version, and when it was completed, it was updated - on newest Mollie version the security key validation was changed.
If you wish to create this order, a fast temporary fix would be to add this line:
if ($key !== $apiPayment->metadata->secure_key) {    break;}
in src/transactionService.php : line 115, but only for this order and then call the Webhook again with this URL: https://www.autotravelshop.nl/module/mollie/webhook?id=tr_cMSuKFKz8g
Let us know if the issue persists and we will try further investigating why the security key is being generated differently in this shop!
Looking forward to your reply!
Best regards,
Invertus Support team

Hi @Maikel726,
Due to inactivity, I will mark this issue as resolved. Let us know if you will have any other questions or if the issue occurs again!
Best regards,
Invertus Support team

Hi,
Where can i exactly find this file? the issue came back in another shop of me.

Hi @loonas I think i've found the file but the fix does not work. Should i send the credentials to ur developers?

Thank you for the update @Maikel726!
Yes, please share the BO+FTP credentials to<EMAIL_ADDRESS>so that our team could check and investigate the issue further.
Looking forward to your reply!
Best regards,
Invertus Support team

Hi @Maikel726,
Our developer has checked the details and had some additional questions. Could you share the order or payment ID from Mollie – Effortless payments  for the order that failed to be created?
Our developer would be able to call Webhook with that ID and check if something is breaking.
If the payment is using order API, then we need order ID; if it's payment API, then we need payment ID.
Additionally, a screenshot from Mollie.com history would be helpful, as we would be able to check if it had any errors or if Webhook was even called from Mollie.com.
Looking forward to your reply!
Best regards,
Invertus Support team

Hi,
The payment ID is "tr_58JuKNEh9z" there are no errors in the webhook history.

Please let me know if you need additional information.

Thank you for the information @Maikel726!
Our developer will look into it and we will let you know as soon as we have any news.
Best regards,
Invertus Support team

Hi @Maikel726! Hope that you are doing well today.
Our developer has checked the issue, and found out that the order is not created because security key is wrong. After debugging why the key might be wrong, the developer found out that the cart has no customer ID and no security key inside it.
It seems that other modules or theme have some custom logic, that creates this issue. For the security, we need to generate keys using cart security key, customer ID, and module name. Right now it looks like before Mollie payment it had the customer ID and key, and one key was generated, but when we check in the Webhook and try to re-create the key, it is not the same, because the cart is missing customer information.
Here is the code snippet of how the cart is being checked when creating the order - as you can see the ID, customer ID and security key:

Could you possibly share more details on why is the cart like this? It seems that some other modules or theme are altering it.
Best regards,
Invertus Support team

Thank you for your reply @Maikel726,
In this case, we would recommend checking your active modules or theme, that could affect the cart ID, or customer ID. As the issue is related to a third-party module, we are unable to check the issue further as it is out of the Mollie scope.
In case the issue appears again, please do let us know and we will be able to investigate it further.
Best regards,
Invertus Support team

Hi @Maikel726,
Due to inactivity, I will mark this issue as resolved. Let us know if you will have any other questions or if the issue occurs again!
Best regards,
Invertus Support team

Hi @loonas
we have the same problem with some orders. We can find a lot of order with "paid" status but without order created.
Could you check these 2 payment IDs to see if the problem is the secure key ? We need to fix it but we don't have sufficient information.

tr_4hXCGvpWpz
tr_MMcQ2bAHpR (we use the webhook URL to create order)

Thanks

Hello there @alohaoanna!
Our developer will look into it and we will let you know as soon as we have any news.
Best regards,
Invertus Support team

Hello there @alohaoanna!
Could you please share the BO+FTP+SSH credentials to<EMAIL_ADDRESS>so that our team could check and investigate the issue further.
Looking forward to your reply!
Best regards,
Invertus Support team

Hello there, @alohaoanna!
We have sent you a reply via email, please let us know if the solution helps!
Best regards,
Invertus support team.

Hi @alohaoanna,
Due to inactivity, I will mark this issue as resolved. Let us know if you will have any other questions or if the issue occurs again!
Best regards,
Invertus Support team


Question about SVG in Leaflet 1.0.0

I am working on an application that allows users to add N number of custom layers, paths, basically anything on top of a base layer. These layers can be anything from KML, WMS, WFS, SHP, etc. Sometimes, these layers are also specified in GeoJSON format (i.e. SHP or just plane GeoJSON). When adding these layers, we allow them to "sort" them by to be "above/below", basically modifying the z-index.
My question is more of a design decision question. It looks like all the GeoJSON being ingested is being inserted into a single G element inside of the root SVG, regardless of how many different GeoJSON "data sets" being added.
Could all the elements being added be grouped together into a single G (group)? So, basically if I'm adding 3 different GeoJSON datasets we would have 3 separate G elements (groups)? Does this question make sense?

I think what you're looking for is panes, which allows you to get fine-grained control over z-index and grouping things where the normal bringToFront/bringToBack is not enough.
Check the panes tutorial if you haven't already!

Actually,  my question was why is there only one SVG G element being added to the overlay pane regardless of how many GeoJSON datasets are being added. I think it would make more sense to create a G element for EACH GeoJSON dataset added to the map. But, I'll play around with it and make a PR.
Thanks.

@ismail44 ok, sorry if I misunderstood. What is it that you want to achieve by putting the datasets into separate g elements?

I want to have discreet control of the ordering of each G element that
comes from a disparate dataset. So, say I have 2 separate GeoJSON datasets
I am adding to the map, I would like each to have its own G representation.
That way, I can manipulate the DOM to order them appropriately. Currently,
all the data, regardless of their source datasets, gets create as a PATH
element inside of just ONE G element. If each GeoJSON dataset had it's own
G element, then I would be able to move it around the DOM (because
apparently z-index doesn't work inside of SVG????).
On Sun, Apr 10, 2016 at 4:52 PM, Per Liedman<EMAIL_ADDRESS>wrote:

@ismail44 https://github.com/ismail44 ok, sorry if I misunderstood.
What is it that you want to achieve by putting the datasets into separate
g elements?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Leaflet/Leaflet/issues/4403#issuecomment-208068696

I think custom panes here is the correct option.

Sure, I can get to whatever pane I need from querying my map object.
However, I need a way to take all the separate PATH elements and order them
in the DOM. Currently, though, I don't think there's a way to say, "This
GeoJSON produced this set of PATH elements".
On Mon, Apr 11, 2016 at 8:23 AM, Yohan Boniface<EMAIL_ADDRESS>wrote:

I think custom panes here is the correct option.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Leaflet/Leaflet/issues/4403#issuecomment-208314225

What we mean is that you should put your different objects into separate panes, and then control the order of the panes, not of the paths.
The renderer abstraction exists since Leaflet doesn't always use SVG, and panes is a renderer-neutral way to do what I think you want to do.
You can of course always reach in to the internals and do whatever you want with the SVG elements.

Subclassing the SVG renderer might be another option, and make it add paths in the structure you want. See https://github.com/Leaflet/Leaflet/blob/master/src/layer/vector/SVG.js#L102

I got you... yeah... I was just creating the "stock" L.geoJson... but, I
see what you are saying. Yes, subclassing is a good idea. I didn't think
about that! Thanks!
On Mon, Apr 11, 2016 at 9:23 AM, Per Liedman<EMAIL_ADDRESS>wrote:

Subclassing the SVG renderer might be another option, and make it add
paths in the structure you want. See
https://github.com/Leaflet/Leaflet/blob/master/src/layer/vector/SVG.js#L102
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Leaflet/Leaflet/issues/4403#issuecomment-208339395


fix: update balance reference when creating a new DAO

Issue: Customize DAO form references daoBalance from previously opened dao

Closing this now.


SNOW-841487 [Local Testing] Raise NotImplementedError for unsupported features

Please answer these questions before submitting your pull requests. Thanks!

What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes #NNNN

Fill out the following pre-review checklist:

[ ] I am adding a new automated test(s) to verify correctness of my new code
[ ] I am adding new logging messages
[ ] I am adding a new telemetry message
[ ] I am adding new credentials
[ ] I am adding a new dependency

Please describe how your code solves the related issue.
This PR aims to go over half of the integ tests under /scala and make sure that tests either

(1) can run in local testing mode (@pytest.mark.localtest) or

(2) raise NotImplementedError with meaningful error messages (pytest.mark.xfail(raises=NotImplementedError) or

(3) is not applicable skipped because it's testing SQL-only features (pyest.skipif).
A few existing issues to address:

[ ] Preserve nullability of columns in result schema
[ ] Emulate snowflake data types
[ ] Fix DataFrame.count() for dataframes with 0 rows

looks like test_list_files_in_stage is failing.. is it because we changed the test util?


Implement database design to Supabase PostgreSQL

https://dbdiagram.io/d/PDC-Database-66abcd508b4bb5230efde1c3

[ ] add task for port forwarding for supabase on docker container
[ ] add SQLModel as ORM and pycopg2 as db driver
[ ] setup connection with Postgres
[ ] setup model directory structure
[ ] implement db operations by using model-based repository
[ ] setup user and user_profile model/tables

Closing this issue.
Will keep on adding additional models as required as part of separate issues.


Update ember-simple-auth to v1.4.2

This PR updates ember-simple-auth to v1.4.2 to take advantage of the bug fix in https://github.com/simplabs/ember-simple-auth/pull/1477
This will enable/unblock https://github.com/TryGhost/Ghost-Admin/pull/922

[x] Commit message has a short title & issue references
[x] Commits are squashed
[ ] The build will pass (run ember test from the repo root - will be core/client if working from the submodule in Ghost).

Changes Unknown when pulling ef7f362c301f758e5b1da274d055e28e9f07eb99 on Turbo87:simple-auth into ** on TryGhost:master**.


Implement level switching in UE from menu

What
Using the menu, switch level backend may be implemented before this.
Sub-issues

[ ] Create new level
[ ] Create a trigger, button click for now
[ ] When trigger occur, load new level
[ ] Make it circular

Good source: YouTube

Closed after meeting with client. This was not a priority


Unreviewed Content bypass no longer working

Thanks for the great extension!
I am having problems that the feature interoduced in #2 no longer works.

I am using Fennec 133.0.3 (Build #1330320) with the addon version 0.5.0 installed via Firefox addons. The regular 18+ bypass works.
Happy to provide more details as required.

Hi @SebGay,
thank you for reporting this issue. I had a look and the "Unreviewed Content" popup has also been moved around by Reddit.
I pushed the necessary change and created a new extension version 0.5.1 that resolves this issue:
https://addons.mozilla.org/de/firefox/addon/reddit-nsfw-unblocker/versions/
Happy holidays! 🎄


Slug in url

For some reason, my API project uses slugs in the url. Is there any way I can get this generator to work with slugs? As it is, whenever I try to generate the api docs, there is an error and the generator stops right there.
Thanks!

ok, found issue. If anyone come across this, need to set the bindings variable...


RR.getStore is not a function

Hi ,
I have recently using react-recollect and I was trying to debug. I was trying to access the store in console using RR.getStore but got the error as mentioned above. I also called RR.debugOn().
Please help me out here.
Thanks in advance,
Shivam

This is because getStore is not a function.
__RR__.internals.store will log the store.
See the documentation of __RR__ for more: https://github.com/davidgilbertson/react-recollect#window__rr__
RR.debugOn() will also not work as it's missing the underscores around the 'RR'.


jsr310 support (Date & Time)

As the JDK8 replacement to JodaTime, it would be nice if the java.time types were optionally code generated for date type fields.

Second this - need java 8 date time, given that JDK 7 is actually deprecated, and java.util.Date is basically fundamentally broken, this should definitely be an option.

Unfortunately it gets messy because Android will probably never upgrade to Java 8. So the Android backport may need to be supported too.

+1

Implemented in #469

Nice job, thanks!


ATEM Mini Dynamic names of Media Pool

Your new build fixes the connection with my ATEM Mini Pro ISO, but when I use custom code in my Companion App, it no longer updates with the name of the media in the ATEM Controller Media Pool. The code I'm using is: $(atem:still_1) in the text field.
Thank you for all you do.

I've just given this a try myself and the variables are updating as expected.
What atem firmware version are you running? It shouldn't have broken, but it is possible

I've just given this a try myself and the variables are updating as expected.
What atem firmware version are you running? It shouldn't have broken, but it is possible

I'm using the v8.5.2 which is the latest for the ATEM Mini ISO Pro which I run. I'm running Companion v2.2.0-c81e24b-2796-win64. Perhaps I'm setting the button up incorrectly. Here is a screen capture of my Companion setup as well as my ATEM Controller app with the media library open.
Finally, I've added an image showing Companion with it's web buttons open so you can see I'm still only seeing $NA.
I appreciate your help.

I'm using the v8.5.2 which is the latest for the ATEM Mini ISO Pro which I run. I'm running Companion v2.2.0-c81e24b-2796-win64. Perhaps I'm setting the button up incorrectly. Here is a screen capture of my Companion setup as well as my ATEM Controller app with the media library open.
Finally, I've added an image showing Companion with it's web buttons open so you can see I'm still only seeing $NA.
I appreciate your help.

Ah that makes sense, I am glad you figured it out :)
It wasnt that you selected the model, but that you changed the label field in the instance config. That field is what companion uses as the prefix for variable names

Ah that makes sense, I am glad you figured it out :)
It wasnt that you selected the model, but that you changed the label field in the instance config. That field is what companion uses as the prefix for variable names


Refactor Twilio & SendGrid Implementations to be more Spring-Like

The configuration, properties, & environment-disabling configurations for Twilio & SendGrid demonstrate some antipatterns and are less Spring-like than they ought to be.
This ticket aims to move them closer to Best Practices :tm:

wont fix


fix(darkmode): use config params to enable/disable darkmode

For using the darkmode configure your settings as follow:
[Params]
  darkmode = true

Thanks!


Added the code for matrix transpose in C++

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
The code takes input as a matrix and outputs the transpose of given matrix. This code is added to NeoAlgo/C-Plus-Plus/cp
Checklist

[Yes] I've read the contribution guidelines.
[Yes] I've checked the issue list before deciding what to submit.
[Yes] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Issue related to this PR : #3421

@HarshCasper  Thank you for reviewing my PR. I have updated the README file. Please check if it is correct.

@HarshCasper @ankitaggarwal23  I have made the changes. But now it is showing 4 failing checks. What should I do now?

@ankitaggarwal23 I have made the said changes. I hope it is correct now. Really sorry for the inconvenience caused by my silly mistakes.


Improve handling of presences

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[x] Internal code
[ ] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
This destroys the remaining ties between member cache and presence cache

Where are we in regards to this PR?
Has the situation changed since the StageChannel weirdness?


Allow multiple compendiums to populate ability browser

Allowing multiple compendiums to populate the ability browser would allow easy sharing of homebrew and allow for the eventual expansion to be optional instead of implemented into the core compendium

Refactored Ability browser to allow abilities loaded from multiple sources.
Added the ability for modules to register themselves to the ability browser


Fix ContentBlock data type

Please check this PR 🙇
The following error occurred.
Uncaught TypeError: block.getData(...).get is not a function

I think that the data type of ContentBlock needs to be a instance of Immutable.Map .
ref: https://github.com/facebook/draft-js/blob/master/src/model/immutable/ContentBlock.js#L38

LGTM! Thanks


error while accepting TLS connection tls handshake eof

Describe the bug
I encountered this issue when connecting through the company's proxy on version 7.x. I've tested it on version 7.5 and the issue persists. However, when using client and server versions 6.x, the issue does not occur. I tried setting up a proxy server to test it on version 7.5, and it worked fine. But when running it on the company's proxy, it doesn't work and reports the error as mentioned.
To Reproduce
command client v6: wstunnel -u -L "<IP_ADDRESS>:9999:<IP_ADDRESS>:9382" "wss://PUBLIC:9380" -p "<IP_ADDRESS>:8080"
command client v7: wstunnel client -L "udp://9999:<IP_ADDRESS>:9382" "wss://PUBLIC:9380" -p "http://<IP_ADDRESS>:8080"
Desktop (please complete the following information):
At the company, my computer runs on Windows 7, while the testing machine is running Windows 10.
company -- pc ( win 7 ) -- client v6 -- proxy <--> server v6 ( worked )
company -- pc ( win 7 ) -- client v7.xx -- proxy <--> server v7.xx ( notworking )
my testing -- pc ( win 10 ) -- client v7.xx -- proxy <--> server v7.xx ( worked )

Hello,
Would you mind starting the client with the env variable RUST_LOG=trace wstunnel client ... and sending me the output (you can send it by email)
Does the server receive some incoming connection, or not at all ?

Hello,
Would you mind starting the client with the env variable RUST_LOG=trace wstunnel client ... and sending me the output (you can send it by email)
Does the server receive some incoming connection, or not at all ?
You can try also to use release https://github.com/erebe/wstunnel/releases/tag/v7.6.0, I tried to be less strict in the http proxy parsing.

Yeah, it worked, but network speed still slower than version 6.

Great :)
How do measure/see it is slower ?
P.s: if you use udp to tunnel a vpn traffic, be sure to add ?timeout_sec=0 to your tunnel.

2023-10-28T14:06:44.872861Z  INFO tunnel:tunnel{peer="CLIENT_IP:55069"}: wstunnel::tunnel::server: Doing TLS handshake
2023-10-28T14:06:44.913559Z  INFO tunnel:tunnel{peer="CLIENT_IP:55069" id="018b769b-f06c-7cbc-bd7b-4efd40056056" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::server: connected to Udp { timeout: None } Ipv4(<IP_ADDRESS>) 43822
2023-10-28T14:07:11.654521Z ERROR tunnel:tunnel{peer="CLIENT_IP:54904" id="018b769a-41fe-721b-84e4-012ca169ca42" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: error while reading from websocket rx unexpected end of file
2023-10-28T14:07:11.654581Z  INFO tunnel:tunnel{peer="CLIENT_IP:54904" id="018b769a-41fe-721b-84e4-012ca169ca42" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: Closing local rx <== websocket rx tunnel
2023-10-28T14:07:11.654728Z  INFO tunnel:tunnel{peer="CLIENT_IP:54904" id="018b769a-41fe-721b-84e4-012ca169ca42" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: Closing local tx ==> websocket tx tunnel
2023-10-28T14:07:11.662441Z ERROR tunnel:tunnel{peer="CLIENT_IP:55025" id="018b769b-475d-7166-b5cc-88ba80673e94" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: error while reading from websocket rx unexpected end of file
2023-10-28T14:07:11.662463Z  INFO tunnel:tunnel{peer="CLIENT_IP:55025" id="018b769b-475d-7166-b5cc-88ba80673e94" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: Closing local rx <== websocket rx tunnel
2023-10-28T14:07:11.662533Z  INFO tunnel:tunnel{peer="CLIENT_IP:55025" id="018b769b-475d-7166-b5cc-88ba80673e94" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: Closing local tx ==> websocket tx tunnel
2023-10-28T14:07:11.666579Z ERROR tunnel:tunnel{peer="CLIENT_IP:55035" id="018b769b-6020-751e-b3db-e8985066ada8" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: error while reading from websocket rx unexpected end of file
2023-10-28T14:07:11.666597Z  INFO tunnel:tunnel{peer="CLIENT_IP:55035" id="018b769b-6020-751e-b3db-e8985066ada8" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: Closing local rx <== websocket rx tunnel
2023-10-28T14:07:11.666696Z  INFO tunnel:tunnel{peer="CLIENT_IP:55035" id="018b769b-6020-751e-b3db-e8985066ada8" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: Closing local tx ==> websocket tx tunnel
2023-10-28T14:07:11.671812Z ERROR tunnel:tunnel{peer="CLIENT_IP:55069" id="018b769b-f06c-7cbc-bd7b-4efd40056056" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: error while reading from websocket rx unexpected end of file
2023-10-28T14:07:11.671831Z  INFO tunnel:tunnel{peer="CLIENT_IP:55069" id="018b769b-f06c-7cbc-bd7b-4efd40056056" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: Closing local rx <== websocket rx tunnel
2023-10-28T14:07:11.671903Z  INFO tunnel:tunnel{peer="CLIENT_IP:55069" id="018b769b-f06c-7cbc-bd7b-4efd40056056" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: Closing local tx ==> websocket tx tunnel
2023-10-28T14:07:23.696533Z  INFO tunnel: wstunnel::tunnel::server: Accepting connection
2023-10-28T14:07:23.696601Z  INFO tunnel:tunnel{peer="CLIENT_IP:55101"}: wstunnel::tunnel::server: Doing TLS handshake
2023-10-28T14:07:23.736694Z  INFO tunnel:tunnel{peer="CLIENT_IP:55101" id="018b769c-880e-77fb-82aa-8101121435e3" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::server: connected to Udp { timeout: None } Ipv4(<IP_ADDRESS>) 43822
2023-10-28T14:07:26.970467Z ERROR tunnel:tunnel{peer="CLIENT_IP:55101" id="018b769c-880e-77fb-82aa-8101121435e3" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: error while reading from websocket rx unexpected end of file
2023-10-28T14:07:26.970519Z  INFO tunnel:tunnel{peer="CLIENT_IP:55101" id="018b769c-880e-77fb-82aa-8101121435e3" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: Closing local rx <== websocket rx tunnel
2023-10-28T14:07:26.970649Z  INFO tunnel:tunnel{peer="CLIENT_IP:55101" id="018b769c-880e-77fb-82aa-8101121435e3" remote="<IP_ADDRESS>:43822"}: wstunnel::tunnel::io: Closing local tx ==> websocket tx tunnel
These are logs from my server. I conducted a test by downloading a 1MB file. On version 6, the speed was 100kbps (due to the company's restrictions), while on version 7.6, it was 0.1kbps. And in the logs, it keeps repeating continuously with client connected -> proxy connected -> handshake with the host

Can you try the new release https://github.com/erebe/wstunnel/releases/tag/v7.7.0 and let me know ?
Wireguard requires respecting its udp framing, which wstunnel was not doing before.

Can you try the new release https://github.com/erebe/wstunnel/releases/tag/v7.7.2 and let me know ?
Wireguard requires respecting its udp framing, which wstunnel was not doing before.

You was right; I'm using WireGuard. With the latest version 7.7.2, everything is working smoothly. That amazing! some coffee as a token of my appreciation.

Thank you :)
You may want to use release https://github.com/erebe/wstunnel/releases/tag/v7.8.0 to get the full speed :)


currently failing on rails edge (6.1)

Looks like it may be particular to the new "single model serialized to json field" feature we just added in #89... they may have removed the feature we are using for this from Rails 6.1?? DOH!
Needs more investigation.
  1) AttrJson::Model with ActiveRecord serialize to one column will cast from hash
     Failure/Error: record_instance.other_attributes = embedded_model_attributes

     ArgumentError:
       wrong number of arguments (given 2, expected 1)
     # ./spec/single_serialized_model_attribute_spec.rb:58:in `block (2 levels) in <top (required)>'

  2) AttrJson::Model with ActiveRecord serialize to one column can assign and save from model class
     Failure/Error: record_instance.other_attributes = model_value

     ArgumentError:
       wrong number of arguments (given 2, expected 1)
     # ./spec/single_serialized_model_attribute_spec.rb:44:in `block (2 levels) in <top (required)>'

 3) AttrJson::Model with ActiveRecord serialize to one column with existing value can set to nil
     Failure/Error: let(:record_instance) { record_class.new(other_attributes: embedded_model_attributes)}

     ArgumentError:
       wrong number of arguments (given 2, expected 1)
     # ./spec/single_serialized_model_attribute_spec.rb:72:in `block (3 levels) in <top (required)>'
     # ./spec/single_serialized_model_attribute_spec.rb:75:in `block (3 levels) in <top (required)>'

This may actually be a bug in rails itself, breaking serialization with a custom coder or custom type.
Serialization tries to:
        if coder.respond_to?(:assert_valid_value)
          coder.assert_valid_value(value, action: "serialize")
        end

But then default assert_valid_value (which is no-op) now takes a single argument instead of a splat, so it calls it and raises....
Have to figure out how to reproduce with simple example to report to rails.... It might be reproducible with any custom Serialize on a jsonb column.
Why did the signature of default assert_valid_value change?

Why did the signature of default assert_valid_value change?

Looks like it was done in an unrelated commit, weird. https://github.com/rails/rails/commit/d29d4598972e85df7ee42f5aa969b51d1b14d615

Problem was that a Serialization "Coder" has a assert_valid_value with a different signature than an ActiveModel::Type. Trying to use the same object for both wound up colliding, we've separated them in #93 , better OO design anyway.


Update docs for raw FFI use

I noticed some issues in these docs while working on #4588. Opening this PR so that one doesn't get bogged down.

Updates the listing of build config variables in the top-level API doc page
Updates the top-level pyo3-ffi docs to pull the content of the string-sum example from the examples folder. The content that is there now is substantially out of sync from the content in the examples folder and that seemed wrong to me.
Added a note in the narrative docs about the sequential example and mention multi-phase initialization in the top-level pyo3-ffi docs.

I think check-guide is failing because there isn't a tagged release yet where the new examples exist:
/Users/goldbaum/Documents/pyo3/target/doc/pyo3_ffi/index.html]:
✗ [404] https://github.com/PyO3/pyo3/tree/v0.23.0-dev/pyo3-ffi/examples/sequential | Failed: Network error: Not Found

Not sure how to work around or ignore that.

Not sure how to work around or ignore that.

Removed the links, we can always add better cross-referencing later.


v0.6.0 preview implementation

the basic working implementation for v0.6.0, this is ready for review, test, comment and suggest changes.
#connect #277

it basically works so let's merge this.


Perf exp

Having fun with more settings and FRAG3

run performance tests please
library

run performance tests please
cs

@wburns @tristantarrant C/S perf tests tests failed with following error:
Caused by: java.lang.IllegalArgumentException: frag_size (60000) has to be < TP.max_bundle_size (8700) at org.jgroups.protocols.FRAG2.init(FRAG2.java:108)

run performance tests please
cs

@tristantarrant what @Holmistr wrote applies for FRAG3, too:
Caused by: java.lang.IllegalArgumentException: frag_size (60000) has to be < TP.max_bundle_size (8700)

Sorry, but what configuration is being used to run the server. I've used clustered.xml as packaged with the server itself and it starts up fine

We can close this for now


updated package.json

updated package bluebird from 3.4.0 to 3.5.0
Npm link :  https://www.npmjs.com/package/bluebird
Repository link : https://github.com/petkaantonov/bluebird/releases

Coverage remained the same at 97.143% when pulling 3b50be5fd5484f7a24e7e9fb8d94e9df7b8d2dd3 on EsrefDurna:master into 6b998300e8cc2f732d80f99b7ecea37c97ab6ded on jamestalmage:master.


Functionality of getScriptTags in SSR environment

💬 Questions and Help
I don't know if I'm understanding getScriptTags correctly or what the expected output is supposed to be, but let me explain the scenario. When I run npm start (lets call this "CLEAN FIRST LOAD") I'm seeing getScriptTags output correctly. If within my app I then navigate to a secondary route, refresh the page (lets call this "AFTER [PAGE]"), I'm getting the script tags from the route + the prior route(s) i visited. When I open dev tools, do an Empty Cache and Hard Reload on the secondary page I routed to through the app to see what its loading, it's still loading the same thing as the "AFTER [PAGE]" script tags reflected.
Below is an example of 3 routes and their behaviors based on the above:
HOME - CLEAN FIRST LOAD
<script id="__LOADABLE_REQUIRED_CHUNKS__" type="application/json">["common","vendor","home-Home"]</script>
<script async data-chunk="sh" src="/js/vendor-5a9c19183ba2e88e1301.js"></script>
<script async data-chunk="sh" src="/js/sh-8473955dffde6ad3e3dc.js"></script>
<script async data-chunk="home-Home" src="/js/common-5634e5a16b4dbc673ccf.js"></script>
<script async data-chunk="home-Home" src="/js/home-Home-ef0fd99d1ce04bece9f8.js"></script>

HOME - AFTER SEARCH
<script id="__LOADABLE_REQUIRED_CHUNKS__" type="application/json">["common","vendor","search-SearchDesktop","map-SearchMap","SpotListFilters","home-Home"]</script>
<script async data-chunk="sh" src="/js/vendor-5a9c19183ba2e88e1301.js"></script>
<script async data-chunk="sh" src="/js/sh-8473955dffde6ad3e3dc.js"></script>
<script async data-chunk="search-SearchDesktop" src="/js/common-5634e5a16b4dbc673ccf.js"></script>
<script async data-chunk="search-SearchDesktop" src="/js/search-SearchDesktop-bd6f07aa40f7323e76c9.js"></script>
<script async data-chunk="map-SearchMap" src="/js/map-SearchMap-a97cdae9123eeddc82f3.js"></script>
<script async data-chunk="SpotListFilters" src="/js/SpotListFilters-48cb863f409449393e04.js"></script>
<script async data-chunk="home-Home" src="/js/home-Home-ef0fd99d1ce04bece9f8.js"></script>

SEARCH - CLEAN FIRST LOAD
<script id="__LOADABLE_REQUIRED_CHUNKS__" type="application/json">["common","vendor","search-SearchDesktop","map-SearchMap","SpotListFilters"]</script>
<script async data-chunk="sh" src="/js/vendor-5a9c19183ba2e88e1301.js"></script>
<script async data-chunk="sh" src="/js/sh-8473955dffde6ad3e3dc.js"></script>
<script async data-chunk="search-SearchDesktop" src="/js/common-5634e5a16b4dbc673ccf.js"></script>
<script async data-chunk="search-SearchDesktop" src="/js/search-SearchDesktop-bd6f07aa40f7323e76c9.js"></script>
<script async data-chunk="map-SearchMap" src="/js/map-SearchMap-a97cdae9123eeddc82f3.js"></script>
<script async data-chunk="SpotListFilters" src="/js/SpotListFilters-48cb863f409449393e04.js"></script>

SEARCH - AFTER HOME
<script id="__LOADABLE_REQUIRED_CHUNKS__" type="application/json">["common","vendor","home-Home","search-SearchDesktop","map-SearchMap","SpotListFilters"]</script>
<script async data-chunk="sh" src="/js/vendor-5a9c19183ba2e88e1301.js"></script>
<script async data-chunk="sh" src="/js/sh-8473955dffde6ad3e3dc.js"></script>
<script async data-chunk="home-Home" src="/js/common-5634e5a16b4dbc673ccf.js"></script>
<script async data-chunk="home-Home" src="/js/home-Home-ef0fd99d1ce04bece9f8.js"></script>
<script async data-chunk="search-SearchDesktop" src="/js/search-SearchDesktop-bd6f07aa40f7323e76c9.js"></script>
<script async data-chunk="map-SearchMap" src="/js/map-SearchMap-a97cdae9123eeddc82f3.js"></script>
<script async data-chunk="SpotListFilters" src="/js/SpotListFilters-48cb863f409449393e04.js"></script>

CHECKOUT - CLEAN FIRST LOAD
<script id="__LOADABLE_REQUIRED_CHUNKS__" type="application/json">["common","vendor","checkout-Checkout"]</script>
<script async data-chunk="sh" src="/js/vendor-5a9c19183ba2e88e1301.js"></script>
<script async data-chunk="sh" src="/js/sh-8473955dffde6ad3e3dc.js"></script>
<script async data-chunk="checkout-Checkout" src="/js/common-5634e5a16b4dbc673ccf.js"></script>
<script async data-chunk="checkout-Checkout" src="/js/checkout-Checkout-e8b683364f5f348a5027.js"></script>

CHECKOUT - AFTER HOME
<script id="__LOADABLE_REQUIRED_CHUNKS__" type="application/json">["common","vendor","home-Home","checkout-Checkout"]</script>
<script async data-chunk="sh" src="/js/vendor-5a9c19183ba2e88e1301.js"></script>
<script async data-chunk="sh" src="/js/sh-8473955dffde6ad3e3dc.js"></script>
<script async data-chunk="home-Home" src="/js/common-5634e5a16b4dbc673ccf.js"></script>
<script async data-chunk="home-Home" src="/js/home-Home-ef0fd99d1ce04bece9f8.js"></script>
<script async data-chunk="checkout-Checkout" src="/js/checkout-Checkout-e8b683364f5f348a5027.js"></script>

As you can see, subsequent loads look like they're almost caching prior loads and adding them to the getScriptTags values. Is this expected?

ugh, literally foot in mouth yet again, i figured it out right after posting this. I had the creation of my ChunkExtractor outside of the response from the server so it was just concatenating files that were loaded. Again, sorry for the noise.


Using shortcuts in the EditorFileDialog freezes the editor

Godot version:
d897131
Issue description:
Trying to do any shortcut in the EditorFileDialog will result in the editor completely freezing.

I'm able to reproduce on arch linux with the same commit. Attatched is an example project. Steps to reproduce:

open example project in editor
click on sprite node in scene tree
click on the [empty] dropdown button next to the Texture property in the inspector
click on Load
press CTRL + H ( keyboard shortcut to toggle hidden files )

Godot will then become unresponsive
godot-issue-30366.zip

The behavior is not the same if a file is selected by clicking on its icon in the EditorFileDialog before pressing CTRL + H. Rather than becoming responsive, Godot will successfully hide shown hidden files, then on the next input event, the file dialog will disappear, but the editor will still remained blacked out as if it was there. Everything else functions as normal besides that.

When debugging the hang, send a continue signal to the gdb command by doing kill -CONT [pid of godot gdb process] to print the stacktrace

The freeze is the while loop on line 1402 in core/ucaps.h never exiting

The function findn in core/ustring.cpp is infinitely hanging

The behavior is not the same if a file is selected by clicking on its icon in the EditorFileDialog before pressing CTRL + H. Rather than becoming responsive, Godot will successfully hide shown hidden files, then on the next input event, the file dialog will disappear, but the editor will still remained blacked out as if it was there. Everything else functions as normal besides that.

This is a separate bug, I will open a new issue on it. I believe I have found a possible fix for this issue and will open a PR


error city name in geofeed

"US,US-KY,Lousiville" may be "US,US-KY,Louisville"

"US,US-KY,Lousiville" may be "US,US-KY,Louisville"

"US,US-KY,Louisville"


Fix broken make

github.com/davecheney/profile moved to github.com/pkg/profile. they've also updated the library. with this change we will be able to build again fullerite

Closing #279

+1


Improve Mersenne Twister performance

On my machine generating 1024_1024_32 random numbers takes about 10 seconds.
Here: http://www.fixstars.com/en/opencl/book/OpenCLProgrammingBook/mersenne-twister/ (and complete downloads here http://www.fixstars.com/en/opencl/book/sample/) you can find implementation that does the same amount of work in about 0.35s.

I'm also very interested in this. On my machine (12 CPU cores + GTX 680) 10MB takes about 1.6 seconds to generate, which is better than for @etam, but still very slow.
Also, I was wondering what were the developers' thoughts on adding more engines. Doing a search on GPU random number generations I stumbled on a few including https://github.com/clMathLibraries/clRNG and http://cas.ee.ic.ac.uk/people/dt10/research/rngs-gpu-uniform.html. The MWC64X one is of particular interest for me as I don't need an extremely long period but performance is much more important. Licenses are BSD.

I'd recommend improving current Philox implementation. Right now in Boost.Compute it's designed badly and has poor performance, It can be improved to achieve 200 - 350 GB/s (50 - 90 GSamples/s)  on modern top GPUs (depending on GPU and it's architecture). It's really simple RNG. You can also implement XORWOW, which should achieve similar or higher performance.

There's a Philox implementation? I only see a ThreeFry and a linear congruential along with the MT engine. Also the ThreeFry is not in the API overview and doesn't compile when used in conjunction with uniform_real_distribution since its generate() method doesn't take an scaling kernel.

Oh, sorry, my mistake, indeed it's ThreeFry. Nonetheless, it's fast. I think that adding Philox to Boost.Compute is the best option to have fast random number generator, and should not be so hard. Unfortunately, recently I don't have enough free time to do it.


[EXECUTOR/REP PR REVIEW]: disable log rate limit metrics for tasks

We noticed that staging containers were generating log rate metrics but not other metrics, and those log rate metrics didn't have the correct tags.
These two PRs make it so tasks no longer emit log rate metrics.

https://github.com/cloudfoundry/rep/pull/47
https://github.com/cloudfoundry/executor/pull/86

These two issues have been merged. We are expecting the autobumps to automatically roll in the changes into diego-release.
@mkocher Is there a rush to get this into the release?

no rush, this has been a minor bug for a while


jupyterlab 1.0.2 support

Hi @lckr ,
Thanks for developing this packages. I was trying to install and got this error:
jupyter labextension install @lckr/jupyterlab_variableinspector
An error occured.
ValueError: This extension does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab              Extension      Package
>=1.0.1 <2.0.0          >=0.19.0 <0.20.0@jupyterlab/application
>=1.0.1 <2.0.0          >=0.19.0 <0.20.0@jupyterlab/apputils
>=1.0.1 <2.0.0          >=0.19.0 <0.20.0@jupyterlab/console
>=3.0.0 <4.0.0          >=2.1.4 <3.0.0 @jupyterlab/coreutils
>=1.0.1 <2.0.0          >=0.19.0 <0.20.0@jupyterlab/notebook
>=4.0.1 <5.0.0          >=3.1.4 <4.0.0 @jupyterlab/services
See the log file for details:  /tmp/jupyterlab-debug-afe481ac.log
(sci) [xxx ~]$ jupyter lab --version
1.0.2

Seems that jupyterlab 1.0.2 is not supported yet?
Thanks!

I merged in an update recently that should fix this (see https://github.com/lckr/jupyterlab-variableInspector/issues/99). does it work if you try the git clone install method?

Worked! Thank you.


Add :max_body to Hackney Adapter

To avoid filling the memory when response is huge and not expected, Hackney has an option to read the body up to a specified MaxLength.
https://github.com/benoitc/hackney/blob/3f6d481ffbf4ddacc1c7fe1614030a06f39e04cc/src/hackney_response.erl#L271
What do you think of adding this option to the Hackney adapter?

https://github.com/teamon/tesla/pull/528


About config.PRE_ORI

Hi Yang, thank you for your kind words about DocDiff! As mentioned in the readme under "Notes!", we have been working on applying DocDiff to natural scenes with pattern diversity. We made modifications to the config.yml file by setting PRE_ORI: 'False' and TIMESTEPS: 1000. However, we encountered some problems.
In the trainer.py file of the DocDiff code, specifically lines 189 to 194, we have the following code snippet:
if self.pre_ori == 'True':
if self.high_low_freq == 'True':
residual_high = self.high_filter(gt.to(self.device) - init_predict)
ddpm_loss = 2*self.loss(self.high_filter(noise_pred), residual_high) + self.loss(noise_pred, gt.to(self.device) - init_predict)
else:
ddpm_loss = self.loss(noise_pred, gt.to(self.device) - init_predict)
else:
ddpm_loss = self.loss(noise_pred, noise_ref.to(self.device))
When self.pre_ori is set to 'False', the ddpm_loss causes noise_pred to learn noise_ref. However, noise_ref represents the added noise. During the training stage, the visualization of 'noise_pred.cpu() + init_predict.cpu()' will result in a noisy init_prediction!
It seems that the issue lies in the visualization step, where the noisy init_prediction is being displayed.

I'm looking forward to your reply as well. Thank you again for your outstanding work.

是的，你说的没错，这里是有问题。我会修改代码。也欢迎您把您在自然场景复现的结果进行pull，使DocDiff更加全面。

具体来说，要先通过逆向公式来计算出residual再相加

好的，感谢您的回复！还有一个问题，为什么在做测试的时候，很多图像存在这种颜色差异很大的问题，不知道您是否遇到过类似的问题。


Review Wasm Code

Review @dane1122's wasm/javascript code.

https://git.autodesk.com/t-leeday/lammps-browser

my c++ code is inside the emscripten/ folder and is called lmps_web.cpp

@dane1122 I'm just going to dump a bunch of commentary here, let me know if you have questions or anything.

Code architecture

I see you're using a couple of different javascript files and globals. I think that's fine for a small project like this, but if it starts to be confusing for you as the author, you can use modules to declare the imports/exports of a file.

Your use of the molviewer looks awesome.  I might ask you for help with the animation API later :)
Calling C++ methods via JS

Tell me if this is right: lmps_web.cpp is compiled to emscripten.*, which exports C++ stuff as the Module global in the browser?

I appear to be able to run this in the latest stable Chrome.  Shouldn't I need Canary?  Is this falling back to asm.js?

Is the part where you download emscripten.wasm and set it on Module part of the generated emscripten code?  Talking about this: https://git.autodesk.com/t-leeday/lammps-browser/blob/master/emscripten/lmps.html#L91

Blocking the UI

I noticed that clicking some of the buttons blocks the UI (the browser freezes for a bit).  I know that you and Dion were talking about using Web Workers, right?  That might be a good way to alleviate this problem.  Or maybe it doesn't matter at all for this demo :)

The "RUN MINIMIZATION" button doesn't work for me, gives a console error.

I think that's it, it's awesome that you've gotten all of this to work!  In the future if you want me to review changes you make, it might be worth it to open a pull request and have me review your changes there.  Maybe it doesn't matter for a 1 person project though, whatever you prefer.

Regarding https://git.autodesk.com/t-leeday/molecule-simulation:

It's possible to break things in weird ways by entering crazy values into the inputs. It might not matter for the sake of this demo, but that could be smoothed out with some input validation.

Hey Justin, thank you for looking into this for me!

Code Architecture

Thank you so much! In the https://git.autodesk.com/t-leeday/molecule-simulation repository, I tried to the JS code into separate JS files!

Calling C++ methods via JS

You have it right! lmps_web.cpp is compiled into emscripten.* which exports C++ stuff as the Module global.
The compile command https://git.autodesk.com/t-leeday/lammps-browser/blob/master/emscripten/README.md allows us to fallback to asm.js if wasm isn't supported on the browser!
That part of the code was generated by emscripten when I used the compile command to output as emscripten.html instead of emscripten.js. I realized that it's required to run things in wasm so I just took that code snippet!

Blocking the UI

I use lammps-browser to primarily develop c++ code. In the molecule-simulation repository, I ensure to run the lammps code as a separate webworker to prevent blocking of UI
I just fixed "RUN MINIMIZATION" and pushed it to master.. Should work now :)

Regarding https://git.autodesk.com/t-leeday/molecule-simulation repository

It's posible to break things by entering crazy values... Usually the x, y, z values should be within -10 to +10... I will definitely put in some input validation!

I was thinking the same thing about the viewer! It looks a bit too wide right now. I will try to find the size that works well on the page.

Thank you Justin for taking the time to look into this! To make pull requests, do I need to add you as a contributor??

@dane1122 About separate js files, if you use something like webpack, then instead of relying on globals, you can do things like this:
import { DEMO_PDB } from './demo.js';

It helps a lot with encapsulation.  I wouldn't worry about it unless the code starts to get unmanageable for you without it though.
For the input validation, there are some easy attributes you can add to them that might be all you need in this case (like min and max).  See input on MDN.
And for pull requests, it looks like both of your repos are "public" on the private Autodesk github, so I think I should be able to access them fine.  Just tag me as a reviewer and I should get a notification.


Application doesn't closes after prompt for "continue with this script?"

I didn't see it posted before. This has been happening on the past few versions. I'm on 3.2.5 now. I've also noticed temp files in the folders that aren't being cleaned up which I believe happens when you end the script. Once you click "No" it just sits there and you can't force close it, you have to exit out of the terminal window to get it to close. Although if I do one model it seems to close fine but doesn't when I do my normal run of 30+ models. I looked for logs but didn't see any.

What do the temp files look like?

Yeah it's having issues because the files can be decrypted
You need to setup a cdm
The cdrm2 and cdrm are both down
The only options are keydb and manual

I went through and set up cdm a couple hours ago so I think these are left overs from before as their date/time stamps are older.

try 3.3.2

Can you run with
ofscraper --output debug

Also what operating system are you on

Windows 11.
I ran the above command and it didn't complete. It didn't spit out any extra debug after selecting "No." Is there anything you need from the terminal before the selection?

try
ofscraper --log debug
see if the issue still happens
If it does if you could send the log file.

So weirdly enough it finished after selecting no with --log debug set. But I did leave it alone for a few hours because I started it at work and couldn't get back to my pc till now. I'm gong to upgrade to the latest and give it a go now again and see what happens.

Upgraded to latest and ran with debug and it worked fine. Ran it immediately after without debugging and it hangs after selecting no.

Can you show the log file there might be something useful

ofscraper_main_profile_2023-09-05.log

run 3.3.5
with --output debug
There are now some special log statements with information about open threads

I updated to the latest and ran the script with output on and it worked as normal. I then tried after normally and it completed as normal as well. I'll keep an eye on it and report if it happens again.

I've also noticed temp files in the folders that aren't being cleaned up which I believe happens when you end the script.

Same issue here.  I have 78 tempaudio and 78 tempvid files. Been trying to resolve it in Discord for days. Using 3.3.10.

@fightcancer2
Please update
Make a new issue if your still having issue


fix: 🐛 fix involved tx + venues endpoints

JIRA Link
DA-1262
Changelog / Description
fixes getInvolvedConfidentialTransactions and getConfidentialVenues throwing internal server errors
Checklist -

[ ] New Feature ?
[ ] Updated swagger annotation (if API structure is changed) ?
[ ] Unit Test (if possible) ?
[ ] Updated the Readme.md (if required) ?

Blocked on this PR: https://github.com/PolymeshAssociation/polymesh-private-sdk/pull/29
The lock file will need to be updated after release


Sass can't import regular .css files

OS:  Mac OSX 10.11.5 El Capitan

Versions:
angular-cli: 1.0.0-beta.9
node: 4.4.7
os: darwin x64

package.json:
{
  "name": "my-project",
  "version": "0.0.0",
  "license": "MIT",
  "angular-cli": {},
  "scripts": {
    "start": "ng serve",
    "postinstall": "typings install",
    "lint": "tslint \"src/**/*.ts\"",
    "test": "ng test",
    "pree2e": "webdriver-manager update",
    "e2e": "protractor"
  },
  "private": true,
  "dependencies": {
    "@angular/common": "2.0.0-rc.4",
    "@angular/compiler": "2.0.0-rc.4",
    "@angular/core": "2.0.0-rc.4",
    "@angular/forms": "0.2.0",
    "@angular/http": "2.0.0-rc.4",
    "@angular/platform-browser": "2.0.0-rc.4",
    "@angular/platform-browser-dynamic": "2.0.0-rc.4",
    "@angular/router": "3.0.0-beta.1",
    "@angular/router-deprecated": "2.0.0-rc.2",
    "@angular/upgrade": "2.0.0-rc.4",
    "angular2-in-memory-web-api": "0.0.14",
    "core-js": "^2.4.0",
    "es6-shim": "0.35.1",
    "moment": "^2.14.1",
    "ng2-bootstrap": "^1.0.17",
    "ng2-select": "^1.0.3",
    "reflect-metadata": "^0.1.3",
    "rxjs": "5.0.0-beta.6",
    "systemjs": "0.19.27",
    "underscore": "1.8.3",
    "zone.js": "0.6.12"
  },
  "devDependencies": {
    "angular-cli": "1.0.0-beta.9",
    "codelyzer": "0.0.20",
    "ember-cli-inject-live-reload": "1.4.0",
    "faker": "^3.1.0",
    "jasmine-core": "2.4.1",
    "jasmine-spec-reporter": "2.5.0",
    "karma": "0.13.22",
    "karma-chrome-launcher": "0.2.3",
    "karma-jasmine": "0.3.8",
    "node-sass": "3.8.0",
    "protractor": "3.3.0",
    "ts-node": "0.5.5",
    "tslint": "3.11.0",
    "typescript": "1.8.10",
    "typings": "0.8.1"
  }
}

Repro steps.
app was created using the CLI.
I have a style.scss file at the root of the src dir.
style.scss successfully imports other .scss files from src/assets/stylesheets (using no file extension in the import statements) like so:

@import 'assets/stylesheets/vendor/tether/tether';
@import 'assets/stylesheets/functions';
@import 'assets/stylesheets/vars';
@import 'assets/stylesheets/mixins';
all files are .scss files except the 'tether' file is 'tether.css' which throws errors as if the file is not found. If I simply rename the tether.css file to tether.scss, then it works. Note that the importing of .css files (without extension) is a core feature of sass.

failure log

$ ng serve
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
Livereload server on http://localhost:49152
Serving on http://localhost:4200/
File: /Users/awf/Documents/projects/my-project/tmp/sassplugin-input_base_path-gvZTPqkY.tmp/0/src/style.scss (12)
The Broccoli Plugin: [SASSPlugin] failed with:
Error: File to import not found or unreadable: assets/stylesheets/vendor/tether/tether
Parent style sheet: /Users/awf/Documents/projects/my-project/tmp/sassplugin-input_base_path-gvZTPqkY.tmp/0/src/style.scss
    at Object.module.exports.renderSync (/Users/awf/Documents/projects/my-project/node_modules/node-sass/lib/index.js:420:22)
    at SASSPlugin.compile (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/lib/broccoli/angular-broccoli-sass.js:52:25)
    at /Users/awf/Documents/projects/my-project/node_modules/angular-cli/lib/broccoli/angular-broccoli-sass.js:32:14
    at Array.forEach (native)
    at SASSPlugin.build (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/lib/broccoli/angular-broccoli-sass.js:28:22)
    at /Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/broccoli-caching-writer/index.js:152:21
    at lib$rsvp$$internal$$tryCatch (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1036:16)
    at lib$rsvp$$internal$$invokeCallback (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1048:17)
    at lib$rsvp$$internal$$publish (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1019:11)
    at lib$rsvp$asap$$flush (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1198:9)
    at nextTickCallbackWith0Args (node.js:420:9)
    at process._tickCallback (node.js:349:13)

The broccoli plugin was instantiated at:
    at SASSPlugin.Plugin (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/broccoli-plugin/index.js:10:31)
    at SASSPlugin.CachingWriter [as constructor] (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/broccoli-caching-writer/index.js:21:10)
    at new SASSPlugin (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/lib/broccoli/angular-broccoli-sass.js:20:12)
    at Object.Plugin.build.exports.makeBroccoliTree (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/lib/broccoli/angular-broccoli-sass.js:72:12)
    at Angular2App._buildTree (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/lib/broccoli/angular2-app.js:133:27)
    at new Angular2App (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/lib/broccoli/angular2-app.js:53:23)
    at module.exports (/Users/awf/Documents/projects/my-project/angular-cli-build.js:10:10)
    at Class.module.exports.Task.extend.setupBroccoliBuilder (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/angular-cli/lib/models/builder.js:55:19)
    at Class.module.exports.Task.extend.init (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/angular-cli/lib/models/builder.js:89:10)
    at new Class (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/core-object/core-object.js:18:12)
    at Class.module.exports.Task.extend.run (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/angular-cli/lib/tasks/serve.js:15:19)
    at /Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/angular-cli/lib/commands/serve.js:64:24
    at lib$rsvp$$internal$$tryCatch (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1036:16)
    at lib$rsvp$$internal$$invokeCallback (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1048:17)
    at /Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:331:11
    at lib$rsvp$asap$$flush (/Users/awf/Documents/projects/my-project/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1198:9)

Closed as issue was made obsolete by #1455.


Content Translation?

Has there been any thought into handling content translation?
Example you may have the Interface in English, but you are adding content for different languages like a email template in different languages, or a product that is translated into different languages.
Not seeing any docs referring to this.

How the content can be translated highly depends on the use case.
For example, in OroCommerce localized content can have two dimensions (website and locale), not one (locale). As a result, there could be multiple (and different) translations for the same piece of content and for the same language (e.g. translation to German for the main website and for the secondary website, which may be two different translations either because they need to be different, or because two different departments are managing the content, etc.)

Has a UI been developed to manage the different translations?
Any picture or screenshot you can share?

@mbessolov the use case I am looking at the moment is something such as a Product Description
There would be the original/source product description (usually the primary language of the system) and then there would be translations of that product.
So for example:
you would have Product ABC and a English Description for that product
Then you would have Product ABC translated into Spanish, where the Description is in Spanish.
Another example would be with Tags.  When you add a Tag you may want to translate the tag for other languages.
Anyone work on a general translation UI and pattern?

Some examples of content translation management UIs:

OroCommerce (rough, it's still alpha, we are going to rework this UI significantly after beta) - both Products and Categories of the Master Catalog have some localizable fields by default. For example on the Category edit page , fields Title, Short Description and Long Description have a folder like icon to the right. If you click on this icon, it will show additional fields for each of the configured locales.

Akeneo PIM - they also have more than one dimension (two - channel and locale). For example check the Product edit page  - http://demo.akeneo.com/#url=/enrich/product/1101?dataLocale=en_US  (login: admin ,  password: admin , go to Enrich -> Products -> click on any product -> click on "Compare/Translate" button on the product edit page)

OroCommerce (rough, it's still alpha, we are going to rework this UI significantly after beta) - both Products and Categories of the Master Catalog have some localizable fields by default. For example on the Category edit page , fields Title, Short Description and Long Description have a folder like icon to the right. If you click on this icon, it will show additional fields for each of the configured locales.

AHHH!!! I was looking for a icon such as: http://fortawesome.github.io/Font-Awesome/icon/language/
The folder through me off! :)

You see now why it needs to be reworked.
Thank you for the suggested icon, we'll use it for now. Hopefully it will be less confusing than a folder icon (and more "accurate" than a globe icon, which we've decided not to use).

:+1:


refactor: move some metrics from CLI to engine/apic

CreateEnclave
StopEnclave
DestroyEnclave
RunFinished

These metrics were previously tracked from the CLI and hence would miss cloud runs. Moved it to APIC/Engine so they are always tracked.

Par of #1619


Build fails: android-pdf-viewer-2.8.2.pom can't be found

Bug Report
Hi,
I've created a new React Native App and installed the latest versions of the Readium toolkits in the React Native Android / iOS projects. On iOS everything builds fine, while on Android I'm getting an error message when trying to run the app.
What happened?
Could not HEAD 'https://www.jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. Received status code 401 from server: Unauthorized

Expected behavior
The build should complete successfully and the app should start.
How to reproduce?
Create a new React Native App:
npx react-native init ReadiumTest--template react-native-template-typescript
cd ReadiumTest

Update android/build.gradle according to the documentation (add readium_version, jitpack.io repo is already there)
Update android/app/build.gradle according to the documentation (add dependencies to the Readium Kotlin-toolkit)

npx react-native run-android
Environment

Readium version: 2.2.0

Development environment

OS: MacOS 12.4
IDE: Android Studio 2021.2.1

Additional context
Build log:
FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
   > Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2.
     Required by:
         project :app > com.github.readium.kotlin-toolkit:readium-navigator:2.2.0
      > Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2.
         > Could not get resource 'https://www.jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'.
            > Could not HEAD 'https://www.jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. Received status code 401 from server: Unauthorized

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

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

BUILD FAILED in 4s

For reference, the solution to this problem is to make sure that jcenter is still in the list of repositories in the root build.gradle file - then the build works and everything is fine.

Yep, jcenter() is needed as a repository in the gradle files until #31 is resolved.

I add the jcenter() and same issue come with me any help plz
add on settings.gradle  on :
pluginManagement{
repositories {
jcenter()
}
}
and on
dependencyResolutionManagement{
repositories {
jcenter()
}
}

@chrfalch @stevenzeck plz help here .. i am blocked i cant work with team ... my team has same code and works fine with them why with me not worked ?

The latest versions of Kotlin Toolkit supports this fine now - so you should upgrade your toolkit version - without it I'm unable to help unfortunately :) Good luck!


testing: document the usage of export_test.go

While I am trying to introduce the usage of export_test.go to someone new to Go, I failed to find a document regarding this feature neither in testing nor in go command, not even in the wiki.
I am not sure if I overlooked somewhere, but I would propose documenting this somewhere more visible, such as the testing package's document.

To me this sounds like something more for a blog post or a wiki page than the testing package documentation.  The export_test.go approach follows from the way that cmd/go works.

From the cmd/go docs there is

Test files that declare a package with the suffix "_test" will be compiled as a separate package, and then linked and run with the main test binary.

The actual format may be different, I think the problem here is there is no official introduction about this, and if I search google export_test.go the source that introduces it is from a third-person blog.
I don't really remember how I learned that it is possible to use export_test.go with package pkg instead of package pkg_test to export internal objects of a package to test. Maybe the cmd/go docs mean in this way, but it is too obscure for a person to be aware of the special existence of export_test.go other than external_test.go.

I just realized, dup of #25223
it's on tip: https://pkg.go.dev/testing@master

It might has some overlaps with #25223, but I think my original intention for opening this issue is about the existence of export_test as a special case. The general *_test.go is something different.

It adds an entire section with examples on using an package abs_test.
Isn't that what this issue is about?

Oh, that's interesting. I thought for exporting purpose, internal members must use the special name export_test, but it seems can be any name:
$ cat a.go
package xxx

var a = 1

$ cat b_test.go
package xxx

var A = a

$ cat c_test.go
package xxx_test

import (
        "testing"

        "./xxx"
)

func TestXXX(t *testing.T) {
        t.Log(xxx.A)
}

The overall usage is a bit tricky because from the current doc https://github.com/golang/go/commit/f3a1f9220a8a5265842f5cb877c4dc6d08f75c68
// ... and only its exported identifiers may be used.
// This is known as "black box" testing.

It is a bit hard to realize the mixture of two kinds of *_test files, where one is package xxx and the other is package xxx_test

@seankhliao Thanks.  @changkun Can we improve the comments there?
There is nothing special about "export_test.go".  The way it behaves just follows from the rules about _test.go files and about the package name.


[Docs] SwiftSample Firebase Auth Links Broken in Documentation

https://github.com/firebase/firebase-ios-sdk/blob/master/FirebaseAuth/Tests/Sample/README.md
links to several resources that are 404 like https://github.com/firebase/firebase-ios-sdk/blob/master/FirebaseAuth/Tests/Sample/SwiftSample/AuthCredentialsTemplate.swift

Thanks for reporting!