Gray Note Editor

Acknowledgement

[X] I have read Getting-Started and FAQ

🐛 Describe the bug
The note/part editor (? idk what it's actually called) is grayed out. Just a gray window no matter what. Picture included:

Explains how to reproduce the bug

Open OpenUtau
Load any given file
Doubleclick the part you want to edit
Gray window.

Notes: Voicebank, project file, etc. is not relevant, I've tried a ton of different banks and files. Tested in two Mac devices, both in MacOS 14, different versions. Always the same gray window. Tested in different versions of OpenUtau, same results.
OS & Version
macOS 14.0, 14.1
Logs
2023-12-22 13:26:06.966 -05:00 [INF] Logging initialized.
2023-12-22 13:26:07.135 -05:00 [INF] Unix 14.0.0
2023-12-22 13:26:07.139 -05:00 [INF] Darwin 23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15 14:41:34 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T8103 X64 X64
2023-12-22 13:26:07.141 -05:00 [INF] OpenUtau v0.1.327.0 osx.14-x64
2023-12-22 13:26:07.142 -05:00 [INF] Data path = /Users/me/Library/OpenUtau
2023-12-22 13:26:07.142 -05:00 [INF] Cache path = /Users/me/Library/Caches/OpenUtau
2023-12-22 13:26:07.887 -05:00 [INF] Initializing application.
2023-12-22 13:26:08.142 -05:00 [INF] Initializing culture.
2023-12-22 13:26:08.453 -05:00 [INF] Initialized culture.
2023-12-22 13:26:08.453 -05:00 [INF] Initializing theme.
2023-12-22 13:26:08.499 -05:00 [INF] Initialized theme.
2023-12-22 13:26:08.500 -05:00 [INF] Initializing OpenUtau.
2023-12-22 13:26:08.510 -05:00 [INF] Searching singers.
2023-12-22 13:26:08.546 -05:00 [INF] Search all plugins: 00:00:00.0258132
2023-12-22 13:26:08.559 -05:00 [INF] Search all legacy plugins: 00:00:00.0111694
2023-12-22 13:26:08.565 -05:00 [INF] Initialized OpenUtau.
2023-12-22 13:26:08.565 -05:00 [INF] Initializing audio.
2023-12-22 13:26:08.568 -05:00 [INF] ReleaseSourceTemp /Users/me/Library/Caches/OpenUtau
2023-12-22 13:26:08.832 -05:00 [INF] Search all singers: 00:00:00.3211121
2023-12-22 13:26:08.873 -05:00 [INF] Initialized audio.
2023-12-22 13:26:08.873 -05:00 [INF] Initialized application.
2023-12-22 13:26:08.949 -05:00 [INF] Framework initialization completed.
2023-12-22 13:26:09.126 -05:00 [INF] Creating main window.
2023-12-22 13:26:09.698 -05:00 [INF] Initialized main window component.
2023-12-22 13:26:09.996 -05:00 [INF] Main window checking Update.
2023-12-22 13:26:10.000 -05:00 [INF] Created main window.
2023-12-22 13:26:10.355 -05:00 [INF] SchedulePreRender
2023-12-22 13:26:10.564 -05:00 [INF] Publish notification Load project
2023-12-22 13:26:13.567 -05:00 [INF] Checking update at: https://github.com/stakira/OpenUtau/releases/tag/build/0.1.327
2023-12-22 13:26:13.570 -05:00 [INF] Checking appcast: https://github.com/stakira/OpenUtau/releases/download/build/0.1.327/appcast.osx-x64.xml
2023-12-22 13:26:16.218 -05:00 [INF] Publish notification Start loading project
2023-12-22 13:26:16.235 -05:00 [INF] %VOICE%不二音サマキ_empress
2023-12-22 13:26:16.341 -05:00 [INF] SchedulePreRender
2023-12-22 13:26:16.429 -05:00 [INF] Publish notification Load project
2023-12-22 13:26:16.430 -05:00 [INF] undoGroup started
2023-12-22 13:26:16.431 -05:00 [INF] undoGroup ended
2023-12-22 13:26:16.431 -05:00 [INF] SchedulePreRender
2023-12-22 13:26:16.431 -05:00 [INF] Publish notification Pre-render notification.
2023-12-22 13:26:16.432 -05:00 [INF] Publish notification Voice color remapping.
2023-12-22 13:26:16.460 -05:00 [INF] Publish notification Finish loading project
2023-12-22 13:26:16.498 -05:00 [INF] Publish notification Phonemized
2023-12-22 13:26:17.053 -05:00 [INF] undoGroup started
2023-12-22 13:26:17.080 -05:00 [INF] undoGroup ended
2023-12-22 13:26:17.080 -05:00 [INF] SchedulePreRender
2023-12-22 13:26:17.085 -05:00 [INF] Publish notification Pre-render notification.
2023-12-22 13:26:17.210 -05:00 [INF] undoGroup started
2023-12-22 13:26:17.273 -05:00 [INF] Publish notification Start loading pianoroll window
2023-12-22 13:26:17.373 -05:00 [INF] Publish notification Select expression dyn
2023-12-22 13:26:17.388 -05:00 [INF] Publish notification Select expression dyn
2023-12-22 13:26:17.390 -05:00 [INF] Publish notification Select expression pitd
2023-12-22 13:26:17.393 -05:00 [INF] Publish notification Select expression dyn
2023-12-22 13:26:17.394 -05:00 [INF] Publish notification Select expression clr
2023-12-22 13:26:17.395 -05:00 [INF] Publish notification Select expression dyn
2023-12-22 13:26:17.396 -05:00 [INF] Publish notification Select expression eng
2023-12-22 13:26:17.397 -05:00 [INF] Publish notification Select expression dyn
2023-12-22 13:26:17.398 -05:00 [INF] Publish notification Select expression vel
2023-12-22 13:26:17.531 -05:00 [ERR] undoGroup already started
2023-12-22 13:26:17.532 -05:00 [INF] undoGroup ended
2023-12-22 13:26:17.532 -05:00 [INF] SchedulePreRender
2023-12-22 13:26:17.532 -05:00 [INF] Publish notification Pre-render notification.
2023-12-22 13:26:17.532 -05:00 [INF] undoGroup started
2023-12-22 13:26:17.533 -05:00 [INF] undoGroup ended
2023-12-22 13:26:17.533 -05:00 [INF] SchedulePreRender
2023-12-22 13:26:17.533 -05:00 [INF] Publish notification Pre-render notification.
2023-12-22 13:26:17.538 -05:00 [INF] undoGroup started
2023-12-22 13:26:17.538 -05:00 [INF] undoGroup ended
2023-12-22 13:26:17.538 -05:00 [INF] SchedulePreRender
2023-12-22 13:26:17.538 -05:00 [INF] Publish notification Pre-render notification.
2023-12-22 13:26:17.802 -05:00 [INF] Publish notification Finish loading pianoroll window
2023-12-22 13:26:17.806 -05:00 [INF] Publish notification Select expression dyn
2023-12-22 13:26:17.807 -05:00 [INF] Publish notification Select expression pitd
2023-12-22 13:26:17.808 -05:00 [INF] Publish notification Select expression clr
2023-12-22 13:26:17.808 -05:00 [INF] Publish notification Select expression eng
2023-12-22 13:26:17.809 -05:00 [INF] Publish notification Select expression vel
2023-12-22 13:26:17.872 -05:00 [INF] Publish notification Load part
2023-12-22 13:26:17.874 -05:00 [INF] Publish notification Select expression pitd
2023-12-22 13:26:17.874 -05:00 [INF] Publish notification Select expression dyn
2023-12-22 13:26:17.901 -05:00 [ERR] No active undoGroup to end.
2023-12-22 13:26:18.008 -05:00 [INF] Created bitmap 996, 60
2023-12-22 13:26:22.223 -05:00 [INF] undoGroup started
2023-12-22 13:26:22.231 -05:00 [INF] ExecuteCmd Change singer
2023-12-22 13:26:22.298 -05:00 [ERR] Avatar can't be found
2023-12-22 13:26:22.420 -05:00 [INF] Publish notification Voice color remapping.
2023-12-22 13:26:22.424 -05:00 [INF] undoGroup ended
2023-12-22 13:26:22.424 -05:00 [INF] SchedulePreRender
2023-12-22 13:26:22.425 -05:00 [INF] Publish notification Pre-render notification.
2023-12-22 13:26:22.619 -05:00 [INF] Publish notification Phonemized
2023-12-22 13:26:23.112 -05:00 [WRN] Part rendered. not on main thread
2023-12-22 13:26:23.119 -05:00 [INF] Publish notification Part rendered.
2023-12-22 13:26:23.775 -05:00 [INF] undoGroup started
2023-12-22 13:26:23.782 -05:00 [INF] undoGroup ended
2023-12-22 13:26:23.783 -05:00 [INF] SchedulePreRender
2023-12-22 13:26:23.785 -05:00 [INF] Publish notification Pre-render notification.
2023-12-22 13:26:23.930 -05:00 [INF] undoGroup started
2023-12-22 13:26:23.955 -05:00 [INF] Publish notification Select expression dyn
2023-12-22 13:26:23.972 -05:00 [INF] Publish notification Select expression pitd
2023-12-22 13:26:23.973 -05:00 [INF] Publish notification Select expression clr
2023-12-22 13:26:23.977 -05:00 [INF] Publish notification Select expression eng
2023-12-22 13:26:23.979 -05:00 [INF] Publish notification Select expression vel
2023-12-22 13:26:24.059 -05:00 [INF] Publish notification Load part
2023-12-22 13:26:24.060 -05:00 [INF] Publish notification Select expression pitd
2023-12-22 13:26:24.061 -05:00 [INF] Publish notification Select expression dyn
2023-12-22 13:26:24.125 -05:00 [INF] undoGroup ended
2023-12-22 13:26:24.126 -05:00 [INF] SchedulePreRender
2023-12-22 13:26:24.126 -05:00 [INF] Publish notification Pre-render notification.
2023-12-22 13:26:24.619 -05:00 [WRN] Part rendered. not on main thread
2023-12-22 13:26:24.620 -05:00 [INF] Publish notification Part rendered.

Occams Razor or something, simple fix to the problem. I maximized the window and the content came back. It's still a weird issue, tho.


Prefix based routing

Currently we treat all addresses equally, with the 128 bits as the complete "prefix", this should be configurable in AODVv2.
This eases the configuration of the router client set as we only have to add a prefix with the proper length.

This is done, can be improved later.


connecting graph in graph to scene via output proxies - object invisible

requires Stop -> Play to reappear.

seems to have been fixed by scene refactor

correction - this is fixed by #937


Coral on master

Hello,
Firstly, great job with the tutorials!
I am experimenting with Snorkel and realized that the generative model in snorkel.learning does not support coral based definition. I believe it only covers the dependencies manually defined between the LFs but not through the AST analysis. I have found some PR https://github.com/HazyResearch/snorkel/pull/938 related to coral based tutorials but they are not available on the master. Is there any issue with the above PR or is it safe to work on it?

Thank you for feedback on the tutorial!
As a temporary workaround for Coral, you can set a type for the dependency (SIMILAR can work) that is picked up from AST analysis and run Snorkel. For example deps = [(0, 1, 0)] means LFs at indices 0 and 1 are correlated since they are SIMILAR.
We are planning a new release for Snorkel later this summer with a revised generative model and dependency learning model, which will directly handle the dependencies from Coral as well.
Closing this issue for now, feel free to reopen with questions!


Repo sync for protected CLA branch

The pull request is created from main637802009344455959 to main to fix git push error for protected CLA branch

@opbld16 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Linux testing (Arch Linux)

I'm going to attempt building and get this working on my Arch machine. I'm also going to build a PKGBUILD  to put on the AUR.

Let me know if you have any success. I haven't been able to get the AppImage to work.

I tested the latest AppImage on Manjaro Plasma 5.12.5. It failed with a memory access error.

Did you have any success? I just did the same thing using debtap to give me someplace to start. My packages is working now. let me know if your interested, or if anyone wants the package

@Buttars Were you able to build it successfully? I'm trying the following but it errors out at error<EMAIL_ADDRESS>postinstall: electron-builder install-app-deps.
package() {
    cd $srcdir/$pkgname-$pkgver
    npm install -g --user root --prefix "$pkgdir"/usr
    find "${pkgdir}"/usr -type d -exec chmod 755 {} +
}

I tried the AppImage on Arch. Got this error :
module.js:545
throw err;
^
Error: Cannot find module '/tmp/.mount_androiWB9FJn/resources/electron.asar/browser/init.js'
at Function.Module._resolveFilename (module.js:543:15)
at Function.Module._load (module.js:473:25)
at Function.Module.runMain (module.js:683:10)
at startup (bootstrap_node.js:196:16)
at bootstrap_node.js:622:3

I added pacman to the build list. I can get it to build normally and it creates a pacman file which installs. Granted it installs in /opt rather than /usr but I can live with that

@jjgalvez I don't understand a single thing you just said. I'm guessing you mean you created a PKGBUILD that installs in /opt? How did you get it to build?

sorry I wasn't very clear. I didn't have any trouble building from source. All I did was npm install, followed by npm build. in the package.json file in the build section I added "pacman" to the list of supported builds and node created a .pacman file that I was able to install with sudo pacman -U.The build ended up in /opt which is typical for electron based apps

@jjgalvez That's a little beyond my knowledge. I don't know much about building electron packages.

I can confirm a simple repackage of the deb with debtap then installing with pacman works perfectly on Manjaro Linux (Arch based).

debtap worked for me as well

No need for debtap.
pkgname=android-messages-desktop-bin
_pkgname=android-messages-desktop
pkgver=0.3.0
pkgrel=1
pkgdesc="Android Messages as a cross-platform desktop app"
arch=('x86_64')
url="https://github.com/chrisknepper/android-messages-desktop"
license=('MIT')
depends=('electron')
provides=(android-messages-desktop)
source=("$url/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.deb")
md5sums=('cf56270fc29d367f0a7218ecd05ad716')

package() {
    tar -xf data.tar.xz
    cp -r usr/ $pkgdir
    cp -r opt/ $pkgdir
}

I modified it a bit to always remain up to date with releases
`pkgname=android-messages-desktop
pkgver=0.3.0
pkgrel=1
pkgdesc="Android Messages as a Cross-platform Desktop App"
arch=(x86_64)
url="https://github.com/chrisknepper/android-messages-desktop"
license=('MIT')
groups=()
depends=('electron')
makedepends=('curl')
provides=("android-messages-desktop")
conflicts=("android-messages-desktop")
replaces=()
backup=()
options=()
install=
source=("$(curl -s https://api.github.com/repos/chrisknepper/android-messages-desktop/releases/latest | grep -E 'browser_download_url.*amd64.deb' | cut -d: -f2- | tr -d '"')")
noextract=()
md5sums=('SKIP')
latest_ver() {
curl --silent https://api.github.com/repos/chrisknepper/android-messages-desktop/releases/latest | grep tag_name | cut -d: -f2 | tr -d '"v,'
}
prepare() {
if [[ $pkgver < $(latest_ver) ]]; then
sed -e "s/$pkgver/$(latest_ver)/g" -i ../PKGBUILD
echo There is a new release available please rerun makepkg
exit 0
fi
}
build() {
tar xf data.tar.xz
}
check() {
tar xf control.tar.gz ./md5sums --to-command='md5sum -c -'
}
package() {
mv ${srcdir}/usr ${pkgdir}/usr
mv ${srcdir}/opt ${pkgdir}/opt
install -Dm755 "${pkgdir}/opt/Android Messages/android-messages-desktop" "${pkgdir}/usr/bin/android-messages-desktop"
}
`

@uttarayan21 I tried your PKGBUILD, but your source line might have a typo:
$ makepkg -si
==> Making package: android-messages-desktop 0.3.0-1 (Wed 11 Jul 2018 09:41:20 AM MDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: Unknown download protocol:  https
    Aborting...

Perhaps your /etc/makepkg.conf doesnt have the
          'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
          'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'rsync::/usr/bin/rsync --no-motd -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

https /line or maybe your version of curl was compiled without ssl
I just tried it in my machine it seems to work fine

@uttarayan21 My DLAGENTS section matches yours. I have curl 7.60.0-1. It's a core package, so I don't see how it would be compiled any differently.

It really was a typo thanks for pointing that out, I modified my local version and forgot to update it here

@uttarayan21 I'm not sure the symlink is necessary, but either way it didn't work:
==> Starting package()...
ln: failed to create symbolic link '/home/yochanan/Documents/pkgbuilds/android-messages-desktop/pkg/android-messages-desktop/usr/bin/android-messages-desktop': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

@uttarayan21 This worked:
package() {
	cp -r ${srcdir}/usr ${pkgdir}/usr
	cp -r ${srcdir}/opt ${pkgdir}/opt
    mkdir ${pkgdir}/usr/bin
	ln -sf "${pkgdir}/opt/Android Messages/android-messages-desktop" "${pkgdir}/usr/bin/android-messages-desktop"
}

Hmm.. Does it launch when you call it from shell ?
I think it will look for the build time position of
${pkgdir}/opt/Android Messages/android-messages-desktop

when called instead of
/opt/Android Messages/android-messages-desktop

But I might be wrong

@uttarayan21 Yes, it launches from shell.

Hmmm it works ... updating the script and removing the .install file.
I actually did that before and suspected it might not work so changed it before trying to test it.

Hey all,
The latest version (0.4.0) includes a .pacman file which, from my understanding, should be sufficient for running on Arch. Would you all be able to let me know how that works?

downloaded and installed with sudo pacman -U updated from version .3
just fine
Jose
On 7/14/18 6:05 PM, Chris Knepper wrote:

Hey all,
The latest version (0.4.0) includes a .pacman file which, from my
understanding, should be sufficient for running on Arch. Would you all
be able to let me know how that works?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/chrisknepper/android-messages-desktop/issues/30#issuecomment-405052956,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFLa_In08ngziCLyh24LPbBzcT72TEn6ks5uGms8gaJpZM4U-NBC.

It works great, thanks @chrisknepper! There was one oddity, however. Running it from the terminal produced the following:
APPIMAGE env is not defined, current application is not an AppImage

Obviously it doesn't effect anything, just thought I'd let you know.
Here's a PKGBUILD for it I'm thinking of uploading to the AUR. It installed successfully, so it should be good to go. However, if anyone has any critiques or suggestions before I upload it, let me know. Anyone here is welcome to be a Co-Maintainer.
pkgname=android-messages-desktop
pkgver=0.4.0
pkgrel=1
pkgdesc="Android Messages as a cross-platform desktop app"
arch=('i686' 'x86_64')
url="https://github.com/chrisknepper/android-messages-desktop"
license=('MIT')
depends=('electron')
provides=(android-messages-desktop)
source=("${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}.pacman")
md5sums=('fd08bc795496e7060d240c00b569d322')

package() {
    install -d "${pkgdir}/opt"
    cp -R "${srcdir}/opt/Android Messages" "${pkgdir}/opt/"
    install -D -m644 "${srcdir}/usr/share/applications/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
    for icon_size in 16 24 32 48 64 128<PHONE_NUMBER>; do
        icons_dir="/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
        install -d "${pkgdir}/${icons_dir}"
        install -m644 "${srcdir}${icons_dir}/${pkgname}.png" \
                      "${pkgdir}${icons_dir}/${pkgname}.png"
    done
    mkdir ${pkgdir}/usr/bin
    ln -sf "${pkgdir}/opt/Android Messages/android-messages-desktop" "${pkgdir}/usr/bin/android-messages-desktop"
}

@yochananmarqos Your PKGBUILD worked for me. I'd love to see this up in the AUR. I'd be willing to help maintain but I'm not a maintainer there and haven't worked much with actually editing and updating these. I may be able to help with small tweaks here and there if needed however.

android-messages-desktop is now in the AUR. If you already have Android Messages Desktop installed in any shape or form, uninstall it and install it via an AUR helper like yay to make sure you receive updates.
@jacob-swenson All you have to do is register (if you haven't already), provide me with your username and I'll add you as a Co-Maintainer.

@yochananmarqos my username is jswenson91. Go ahead and add me. It will be a good learning experience for me.

Shouldn't you list the additional dependencies listed in the pacman file?
Jose
Get Outlook for Android
On Sun, Jul 15, 2018 at 7:54 PM -0400, "yochananmarqos"<EMAIL_ADDRESS>wrote:
android-messages-desktop is now in the AUR. If you already have Android Messages Desktop installed in any shape or form, uninstall it and install it via an AUR helper like yay to make sure you receive updates.
@jacob-swenson All you have to do is register (if you haven't already), provide me with your username and I'll add you as a Co-Maintainer.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@jacob-swenson It said jswenson91 was an invalid username.
@jjgalvez Whoops, good catch. They're almost all dependencies for electron, but it turns out electron isn't actually required. I added them and pushed an update. Could you edit your above post and remove the unnecessary spaces and quote? Replying via an email client apparently is not ideal.
@chrisknepper I added a PR to add the link to AUR package to the README.

Sorry it's actually jswenson without the 91

@yochananmarqos sorry it's jswenson without the 91

@yochananmarqos edited, and thanks for putting this up on AUR, makes keeping it up to date much simpler.

@jacob-swenson I added you and also added @chrisknepper as the Packager.

@yochananmarqos just wanted to say thanks again for putting this up on AUR. This morning I did an update using pikaur (my current favourite AUR helper) and it picked up that android -messanger needed to be updated and updated it. No need to remove it first. I love it when this stuff works like its supposed to.

@jacob-swenson Thanks! I hadn't even noticed 0.50 was released yet.

Is anybody else having issues since the recent set of Arch updates? I ran a Syu today and now Android Messages just segfaults.  I've even tried rebuilding from source with the same problem. I'm guessing there's some package that needs to be rebuilt from source (had a few already due to the Python 3.7 update) but can't see which one is the problem here. Any input or thoughts would be greatly appreciated!
Thanks!

@jacob-swenson What packages updated besides python? I'm using Manjaro, so I won't see those updates for a week or so.

@yochananmarqos quite a bit. Here's my updates from today: https://pastebin.com/m82vs7Kw

@jacob-swenson I'm not sure. I guess I'll see what happens when the updates hit Manjaro Stable.

I'm having the same issue

I edited the pkgbuild file so that it no longer puts everyting under opt, but rather depends on electron and puts the application under usr/lib as other applications.
Please consider changing the pkgbuild file. I am attaching my pkgbuild file for reference
Maintainer: Mark Wagie<EMAIL_ADDRESS>Co-Maintainer: jswenson
Packager: Chris Knepper<EMAIL_ADDRESS>pkgname=android-messages-desktop
pkgver=0.7.0
pkgrel=1
pkgdesc="Android Messages as a cross-platform desktop app"
arch=('x86_64')
url="https://github.com/chrisknepper/android-messages-desktop"
license=('MIT')
depends=('electron' 'c-ares' 'ffmpeg' 'gtk3' 'http-parser' 'libevent' 'libvpx' 'libxslt' 'libxss' 'minizip' 'nss' 're2' 'snappy' 'libnotify' 'libappindicator-gtk2' 'libappindicator-gtk3' 'libappindicator-sharp')
provides=(android-messages-desktop)
source=("${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}.pacman")
md5sums=('d61810468879d8da2fa543448b84e251')
package() {
install -D -m644 "${srcdir}/opt/Android Messages/resources/app.asar"
"${pkgdir}/usr/lib/${pkgname}/resources/app.asar"
install -D -m644 "${srcdir}/opt/Android Messages/resources/electron.asar"
"${pkgdir}/usr/lib/${pkgname}/resources/electron.asar"
sed -i "s|"/opt/Android Messages/android-messages-desktop"|/usr/bin/electron /usr/lib/${pkgname}/resources/app.asar|" "${srcdir}/usr/share/applications/${pkgname}.desktop"
install -D -m644 "${srcdir}/usr/share/applications/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
for icon_size in 16 24 32 48 64 128<PHONE_NUMBER>; do
icons_dir="/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
install -d "${pkgdir}/${icons_dir}"
install -m644 "${srcdir}${icons_dir}/${pkgname}.png"
"${pkgdir}${icons_dir}/${pkgname}.png"
done
}

@jjgalvez Great idea! Since electron is now being used, we don't need it's dependencies. I also tweaked the sed line. I'll go ahead and push it to the AUR.
# Maintainer: Mark Wagie<EMAIL_ADDRESS># Co-Maintainer: jswenson
# Packager: Chris Knepper<EMAIL_ADDRESS>pkgname=android-messages-desktop
pkgver=0.7.0
pkgrel=1
pkgdesc="Android Messages as a cross-platform desktop app"
arch=('x86_64')
url="https://github.com/chrisknepper/android-messages-desktop"
license=('MIT')
depends=('electron' 'libnotify' 'libappindicator-gtk2' 'libappindicator-gtk3' 'libappindicator-sharp')
provides=(android-messages-desktop)
source=("${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}.pacman")
md5sums=('d61810468879d8da2fa543448b84e251')

package() {
    install -D -m644 "${srcdir}/opt/Android Messages/resources/app.asar" "${pkgdir}/usr/lib/${pkgname}/resources/app.asar"
    install -D -m644 "${srcdir}/opt/Android Messages/resources/electron.asar" "${pkgdir}/usr/lib/${pkgname}/resources/electron.asar"
    sed -i 's|Exec="/opt/Android Messages/android-messages-desktop"|Exec=electron /usr/lib/android-messages-desktop/resources/app.asar|g' "${srcdir}/usr/share/applications/${pkgname}.desktop"
    install -D -m644 "${srcdir}/usr/share/applications/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
    for icon_size in 16 24 32 48 64 128<PHONE_NUMBER>; do
        icons_dir="/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
        install -d "${pkgdir}/${icons_dir}"
        install -m644 "${srcdir}${icons_dir}/${pkgname}.png" "${pkgdir}${icons_dir}/${pkgname}.png"
    done
}

Fantastic thanks
Jose

As for now, I see this issue / project has been taken care of. Shout out to @yochananmarqosout and all those who put in the time to make this work. I really appreciate it. Although, I am going to close this issue in favor of the AUR page for issue tracking relating the PKGBUILD.


Connectivity issue alert box goes over the scroll bar.

How To Reproduce: Get disconnected for a while.
Environment: Mozilla Firefox 51.0.1

Yeah, that's not great.  The plan is actually to move that error out of the right sidebar into something that comes down from the top.

Will we be switching to something like OfflineJS or will we work on top of current library?

@brockwhittaker what are your thoughts on this?

Let's stick with our current library for now, since we have some relevant custom logic.

This is fixed via that whole alert widget having been replaced with a better one :).
Thanks for the bug report @souravbadami and investigation @jajodiaraghav!


⚠ Slack has degraded performance

In 7157d74, Slack (https://status.slack.com/api/v2.0.0/current) experienced degraded performance:

HTTP code: 200
Response time: 201 ms

Resolved: Slack performance has improved in 02da364 after 2 hours, 22 minutes.


Assertion failed: m_flx_latest_version <= version

How frequently does the bug occur?
Sometimes
Description
The crash occurs from time to time and triggers at :
Realm.asyncOpen(configuration: getFlexibleConfig()) { (result) in }
configuration :
  func getFlexibleConfig() -> Realm.Configuration{
        let user = app!.currentUser
        var config = user!.flexibleSyncConfiguration(initialSubscriptions: { subs in
            subs.append(
                QuerySubscription<uploads> {
                    $0.deviceId == self.RLM_DEVICE_ID && $0.realmUserId == user!.id
                })
        },rerunOnOpen: true)

        config.objectTypes = [uploads.self,place.self,details.self]
        return config
  }

Right after the auth using
login(credentials: Credentials.emailPassword(email: username, password: password))
Stacktrace & log output
/Users/realm/workspace/realm_realm-core_release_12.11.0/src/realm/sync/client.cpp:1002: [realm-core-12.11.0] Assertion failed: m_flx_latest_version <= version
0   Realm                               0x00000001040de154 _ZN5realm4utilL18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 28
1   Realm                               0x00000001040de09c _ZN5realm4util9terminateEPKcS2_lOSt16initializer_listINS0_9PrintableEE + 328
2   Realm                               0x0000000104109434 _ZN5realm4sync14SessionWrapper17on_flx_sync_errorExNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE + 412
3   Realm                               0x0000000104138898 _ZN5realm4sync10ClientImpl10Connection27receive_query_error_messageEiNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEExy + 236
4   Realm                               0x0000000104134ee4 _ZN5realm5_impl14ClientProtocol22parse_message_receivedINS_4sync10ClientImpl10ConnectionEEEvRT_NSt3__117basic_string_viewIcNS8_11char_traitsIcEEEE + 360
5   Realm                               0x0000000104132ab4 _ZN5realm4sync10ClientImpl10Connection33websocket_binary_message_receivedEPKcm + 60
6   Realm                               0x0000000104191ea8 _ZN12_GLOBAL__N_19WebSocket17frame_reader_loopEv + 1188
7   Realm                               0x0000000104184e04 _ZN5realm4util7network7Service9AsyncOper22do_recycle_and_executeINS0_14UniqueFunctionIFvNSt3__110error_codeEmEEEJRS7_RmEEEvbRT_DpOT0_ + 152
8   Realm                               0x000000010418498c _ZN5realm4util7network7Service14BasicStreamOpsINS1_3ssl6StreamEE16BufferedReadOperINS0_14UniqueFunctionIFvNSt3__110error_codeEmEEEE19recycle_and_executeEv + 240
9   Realm                               0x00000001041878f0 _ZN5realm4util7network7Service4Impl3runEv + 408
10  Realm                               0x000000010410d1b0 _ZN5realm4sync6Client3runEv + 36
11  Realm                               0x0000000104291824 _ZNSt3__1L14__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN5realm5_impl10SyncClientC1ENS2_INS7_4util6LoggerENS4_ISB_EEEERKNS7_16SyncClientConfigENS_8weak_ptrIKNS7_11SyncManagerEEEEUlvE0_EEEEEPvSN_ + 44
12  libsystem_pthread.dylib             0x000000022d5e19ac _pthread_start + 148
13  libsystem_pthread.dylib             0x000000022d5e0e68 thread_start + 8!!! IMPORTANT: Please report this at https://github.com/realm/realm-core/issues/new/choosedyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/usr/lib/libMTLCapture.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib

Can you reproduce the bug?
Yes, sometimes
Reproduction Steps
Try Realm.asyncOpen with a flexibleSync configuration that has queries. I did however tested to query with an optional field and saw the crash immediately, it was resolved when I removed that and rebuilt. Then it started to reproduce again without the optional field and any other changes.
Version
10.32.2
What SDK flavour are you using?
MongoDB Realm (i.e. Sync, auth, functions)
Are you using encryption?
No, not using encryption
Platform OS and version(s)
IOS 15.6
Build environment
Xcode version: 14.0
Dependency manager and version: Cocoapods 1.11.3
Note: We downgraded the xCode from 14.1 inorder to be able to build Realm 10.32.2. Related Issue

Crash still occurs on 10.32.3

I was able to confirm that this crash occurs when using flexible Realm.Configuration with query field that was not added as a queryable field on Atlas.
From .trace logs
Received QUERY_ERROR "Client provided query with bad syntax: unsupported query for table "uploads": key "logDescription" is not a queryable field" (error_code=300, query_version=11)
The crash keeps happening from time to time, even though the non-queryable field is removed. I believe the only solution is to delete the local realm file in a such query error case

Sorry for the very long wait for a response on this. I believe this was fixed in https://github.com/realm/realm-core/commit/0ba911c1d39d8bb167c854124cd790d6b00867ee which was released in realm core v13.1.0.


Create barebones RichReporter

To start, it shouldn't really do anything different than pytest's builtin TerminalReporter. Functionality can come later.
Two examples:

pytest-sugar
pytest-pretty-terminal

Closed in #7


Design proposal for consumption of OpenAPI

Use Cases for consumption of OpenAPI document, this includes (but probably not limited to):

Use by functions require type information (e.g. setNamespace). Such functions also require additional metadata such as ref maps which is related to this discussion.
Use by kpt package merging strategies
Search/Replace

will be covered by https://github.com/GoogleContainerTools/kpt/issues/1521


Posix log implementation of tlog-tiles

This is largely a copy and paste job from both the experimental Betty repo and from serverless. The primary motivation to have this posix implementation right now is to generate test data, such as that used in #49.
There has been little in the way of optimization. The primary concern was minimal code changes in order to get a working posix log to generate test data.

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


compare results between Jsquad prompt with title and without title

Model
jsquad w/o title
jsquad w/ title

rinna-japanese-gpt-1b/EM
26.18
30.19

rinna-japanese-gpt-1b/f1
44.68
47.12

rinna-gpt-neox-3.6b-instruction-sft-v2/EM
44.91
47.55

rinna-gpt-neox-3.6b-instruction-sft-v2/f1
59.38
61.63

Llama2-2.7b/EM
58.37
59.93

Llama2-2.7b/f1
69.52
70.82

@mkshing
could you check this PR?
if I missed something, please let me know.

@mkshing
Thanks for your comments.
I understand the situation, and let's exclude result.json and harness.sh from this PR.

@mkshing
Will you please check the updated PR?
I've made JSQuAD tasks v1.2 inherit from the original ones (v1.1) because it's easy to see what I changed in v1.2.
Please let me know if I missed something.

@kumapo Awesome! Thank you!
Maybe you haven't excluded result.json and harness.sh yet? I saw jsquad.py but it looks good to me! So, let me merge this PR after you exclude the changes under models. Thanks.

@mkshing
Sorry, I forgot that.
I've updated the PR now result.json and harness.sh updates are excluded now.

@kumapo thank you!! LGTM!

@kumapo sorry but could you try to resolve this error in the action?
https://github.com/Stability-AI/lm-evaluation-harness/actions/runs/6294683571/job/17086866139?pr=84

@kumapo Thank you for trying to resolve it. But, I see the errors come from the entire code rather than your PR. So, please let me merge this PR now!
Thank you so much for your effort again 🙏

@mkshing
Actually, I was wondering if it would have been better to fix all the problems.
Thank you for your quick reply.


Added Hover over the 'support' section in Contribute

Issue - #4489
#4489 Added Hover over the 'support' section in Contribute

Hi @nrmd-naveen , thank you for your contribution
As the issue creator has itself showed interest to fix the issue and raised PR, he/she has been assigned.
So I am closing this PR.
From next time, try to get assigned to issue first before raising PR.
You can check for other open issues or you can raise your own issue as well.

Ok That's Fine !


Error decoding data from vim command

I ran vim in daudin to see how it would go. All went well until I exited.
>>> vim Makefile
Traceback (most recent call last):
  File "/home/terry/s/me/daudin/daudinlib/interaction.py", line 58, in runCommand
    nCommands)
  File "/home/terry/s/me/daudin/daudinlib/pipeline.py", line 128, in run
    handled, doPrint = self._tryShell(fullCommand, print_)
  File "/home/terry/s/me/daudin/daudinlib/pipeline.py", line 238, in _tryShell
    result = self.sh(command, print_=print_)
  File "/home/terry/s/me/daudin/daudinlib/pipeline.py", line 283, in sh
    return run(stdin, *args, **kwargs)
  File "/home/terry/s/me/daudin/daudinlib/pipeline.py", line 374, in _shPty
    return ANSI_esc.sub('', result.decode('utf-8')).replace('\r\n', '\n')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbd in position 145: invalid start byte

I have a feeling we should just silently (unless debugging is on) swallow such errors. It would be good to know why this one happens and fix it, but OTOH we probably don't want all the data that vim writes to the terminal to be stored in the _ pipeline variable.  But how to distinguish with cases we do want, e.g., when running ls?

@terrycojones Is it possible to dynamically detect output characters that move the cursor and assume from there?

Hi @rybot666 I'm not sure what you mean exactly. Do you mean that if an escape sequence is detected in the output then not keep the ouput from the command at all? The trouble is that sometimes you probably want the output stripped of the escape sequences (as in the case of e.g., ls --color=always or git status) whereas at other times you probably just want to throw all the output away (as with use of e.g., vim).  Maybe there should be a helper command supplied which can strip escape sequences out of output.  Thanks for commenting!

@terrycojones I mean only detect specific escape sequences (cursor moving) as only interactive programs use them. You could also have a syntax to "ignore this command" in pipes

Something I noted.
If I enter vim from daudin then copy code for external use with ctrl c I crash with:
Vim: Caught deadly signal TERM
Vim: Finished
Any chance that ctrl-c can be ignored while in another application?

@john9631 No terminal does this - control C is a well known keyboard code for "end this program". VIM has its own keybinds to copy, as does Emacs

Ctrl C is commonly mapped in vim to copy for the external environment.
https://vim.fandom.com/wiki/Quick_yank_and_paste
If you haven't tried it @rybot666 I highly recommend you try ptpython, an enhanced python shell that integrates vim in both ptpython and ptipython modes.

Something I noted.
If I enter vim from daudin then copy code for external use with ctrl c I crash with:
Vim: Caught deadly signal TERM
Vim: Finished
Any chance that ctrl-c can be ignored while in another application?

Hi @john9631 - thanks for commenting. Yes, this should be straightforward, and I guess there's no reason not to just catch & ignore Ctrl-C in general. Are you actually using daudin day-to-day?
Sorry for being a bit slow. I accidentally "updated" the firmware on my main laptop and now it only boots into Windows, not Linux. Will hopefully have that sorted soon... and then can get back to doing more useful things!

Thanks @terrycojones, yes I have been using it most days although I did alias it to psh.

Thanks @terrycojones, yes I have been using it most days although I did alias it to psh.

Great! :-)
I have just pushed a new version 0.0.17 which should ignore control-c in interactive use. Thanks for posting the issue.

@john9631 No terminal does this - control C is a well known keyboard code for "end this program". VIM has its own keybinds to copy, as does Emacs

The new version is now ignoring SIGINT. So if your terminal happens to send that signal when control-c is pressed, it will be ignored. If it pastes text from the clipboard, that should work fine. If a SIGINT comes from elsewhere (e.g., a kill command from some other command line) it will also be ignored.

@terrycojones Is it possible to dynamically detect output characters that move the cursor and assume from there?

@rybot666 The latest code detects a UnicodeDecodeError and sets the UNIX command's output to the empty string. An alternative would be to just put the bytes into the return value. At least for now the ugly error is silenced (you can still see it with debug / traceback on).

Thanks @terrycojones, yes I have been using it most days although I did alias it to psh.

Great! :-)
I have just pushed a new version 0.0.17 which should ignore control-c in interactive use. Thanks for posting the issue.

Hmm, I spoke too soon! I'm going to have to look into this a bit more. The vim is running in a pseudo-tty and actually I'm detecting the control-c on stdin and then calling a Python subprocess method to terminate the process (hence the SIGTERM not a SIGINT). That's obviously wrong (especially considering @rybot666's comment that control-c isn't necessarily bound to send an interrupt). daudin should just let the default thing happen (whatever that is). I think I put that code in to handle control-c pretty early (before I started using a pseudo-tty) when I realized I couldn't interrupt a launched sub-process, but maybe it's no longer needed. I'll have a play...

OK, just pushed version 0.0.18 which does something more sensible - passes a SIGINT along to the  pseudotty subprocess. So vim gets a Control-C and prints a message whereas a ping gets interrupted, etc.  Thanks @john9631 and @rybot666. See how it is for you, if you have time & interest.

Working fine here.  Exactly as expected.   I see what you mean about psh being gone too - namespace pollution - so I've changed my mapping to dsh for daudin adding to sh, dash, bash and zsh currently on the machine to my knowledge.


[BREAKING CHANGE] change minimum node version to 15

add support for:

Logical OR assignment https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_OR_assignment
String.replaceAll https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll

honorable mentions (but likely no effect on mcdev):

Promise.any https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/any
AggregateError https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError

merged into develop branch


Touch swipe on Safari iOS scrolls the page

Hi,
This concerns Safari on iOS 12.
With touch swipe active, when I swipe the slides (horizontally) the whole page also scrolls (vertically).
Looking through the Slider Pro code, I can see there is a section that aims to stop this behavior from happening, but it doesn't seem to be working.
Is this a Safari bug, or a problem with Slider Pro?

Hi. It appears to be an iOS bug: https://bugs.webkit.org/show_bug.cgi?id=184250, https://bugs.webkit.org/show_bug.cgi?id=185656
If you're using the latest release, only the first swipe will allow vertical scrolling; the following swipes should block it. However, vertical scrolling will be blocked only if the swipe is from the start horizontally. If you start with a vertical swipe and then swipe horizontally over the slider, both the slider and the page will be scrollable.


⚠ ClamAV has degraded performance

In e2249e1, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 78 ms

Resolved: ClamAV performance has improved in 88d6010 after 12 minutes.


TDecayFit error

Looks like a problem with that last pull
Compiling bin/AddToChannelNumber              [ERROR]
libraries/libTGRSIFit.so: undefined reference to `TDecayFit::CopyInternalParameters(int const&, double*)'
collect2: ld returned 1 exit status
make: *** [bin/AddToChannelNumber] Error 1

hmm, that function shouldn’t exist… Fix upcoming shortly.

On Oct 26, 2015, at 5:40 PM, jsmallcombe<EMAIL_ADDRESS>wrote:
Looks like a problem with that last pull
Compiling bin/AddToChannelNumber [ERROR]
libraries/libTGRSIFit.so: undefined reference to `TDecayFit::CopyInternalParameters(int const&, double)'
collect2: ld returned 1 exit status
make: ** [bin/AddToChannelNumber] Error 1
—
Reply to this email directly or view it on GitHub https://github.com/GRIFFINCollaboration/GRSISort/issues/552.

Should be fixed on current version now. Not sure how it got passed my compiler.

On Oct 26, 2015, at 5:40 PM, jsmallcombe<EMAIL_ADDRESS>wrote:
Looks like a problem with that last pull
Compiling bin/AddToChannelNumber [ERROR]
libraries/libTGRSIFit.so: undefined reference to `TDecayFit::CopyInternalParameters(int const&, double)'
collect2: ld returned 1 exit status
make: ** [bin/AddToChannelNumber] Error 1
—
Reply to this email directly or view it on GitHub https://github.com/GRIFFINCollaboration/GRSISort/issues/552.

All good at this end. cheers.


When using a network drive at work: 1) %clear generates this error: The system cannot find the path specified. 2) Spyder project explorer is blank.

Problem Description
I'm having this issue on at work, not at home. I'm only observing it when my Spyder project is located on a drive different from where Anaconda is installed (That's my understanding).
C:\Users\MYNAME\AppData\Local\Continuum\anaconda3\Scripts\anaconda.exe - this is my local drive. This is where Anaconda is installed. I CANNOT access these the files in this directory from another machine in my organization.
\MYORGNAME\MyDocs\R\MYNAME\directory. I think that's another drive? This is where my Spyder project is. I CAN access these files from any machine in my organization. My understanding is that this is a different drive from where Anaconda is installed.
In this situation, I am having two issues. 1) %clear generated this error: The system cannot find the path specified. 2) Spyder project explorer is blank.
Both issues go away if i move my Spyder project here: C:\Users\MYNAME - in any of the subfolders.
This is a bit inconvenient, because there was a reason I was putting my Spyder project in \MYORGNAME\MyDocs\R\MYNAME\directory - I wanted to access them from another machine (laptop, tablet etc.)
What steps reproduce the problem?

Put a Spyder project on a network drive in your organization.
Type %clear in the console
See if the the Project Explorer displays the files in the project

What is the expected output?

% clear should clear the console.
Project Explorer should display the files in the project.

What do you see instead?

%clear generates this error: The system cannot find the path specified.
Spyder project explorer is blank.

Versions

Spyder version: 3.3.6
Python version: Python 3.7.3 64-bit
Qt version: Qt 5.9.6
PyQt version: PyQt5 5.9.2
Operating System name/version: Windows 10

Dependencies

IPython >=4.0     :  7.4.0 (OK)
cython >=0.21     :  0.29.6 (OK)
jedi >=0.9.0      :  0.13.3 (OK)
matplotlib >=2.0.0:  3.0.3 (OK)
nbconvert >=4.0   :  5.4.1 (OK)
numpy >=1.7       :  1.16.2 (OK)
pandas >=0.13.1   :  0.24.2 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pyflakes >=0.6.0  :  2.1.1 (OK)
pygments >=2.0    :  2.3.1 (OK)
pylint >=0.25     :  2.3.1 (OK)
qtconsole >=4.2.0 :  4.4.3 (OK)
rope >=0.9.4      :  0.12.0 (OK)
sphinx >=0.6.6    :  1.8.5 (OK)
sympy >=0.7.3     :  1.3 (OK)

Thanks, but someone else reported the same these days. So I'm closing this one as a duplicate of #10762.


Calling Upload fails when passed the Stream object returned from OpenRead call

For example,
using (var sourceStream = client.OpenRead(sourcePath))
{
client.Upload(sourceStream, destinationPath);
}
FluentFTP.FtpException : Error while uploading the file to the server. See InnerException for more info.
---- System.InvalidOperationException : You cannot modify the position of a FtpDataStream. This property is updated as data is read or written to the stream.
at FluentFTP.FtpClient.UploadFileInternal(Stream fileData, String remotePath, Boolean createRemoteDir, FtpExists existsMode, Boolean fileExists, Boolean fileExistsKnown)
at FluentFTP.FtpClient.Upload(Stream fileStream, String remotePath, FtpExists existsMode, Boolean createRemoteDir)

This has been fixed long ago.
See #711, #859


Add callback mechanism into LwM2mClientObserver for when the unexpected error occurred

Ref #933
Done

Add onUnexpectedErrorOccurred() method to LwM2mClientObserver interface
Call LwM2mClientObserver#onUnexpectedErrorOccurred() on DefaultRegistrationEngine when it raises RuntimeException at task loop.
Support this error handling system on the client demo project

I integrated this in master (commits d0f27053efbc123eb393e12171d194de3a0e8529, a1bacb5bd15630e6099a7475839e7256ae62bca0, 1da2600459bdddded26a762396d5a106aaece21d, 7a013f04b40f60de00866eecd64ce5f89532fcf2)
I rewrite history to get more consistent commits.
I fixed a javadoc formatting issue in LwM2mInstanceEnabler.
I change a little bit the last commit by using anonymous class (see 7a013f04b40f60de00866eecd64ce5f89532fcf2), in this commit I also change LeshanClient.this.destroy(true); to  LeshanClient.this.destroy(false);` (because I was afraid in some condition that we could face a kind of infinite loop)
Thx @moznion for this new contribution :pray: !

Many thanks for your support, @sbernard31 !


Playground: Improved responsive display.

This isn't the whole story for mobile support, but by golly it goes a
long way towards it.

iPad:

iPhone:


artisan vendor:publish doesn't work when tag and provider are both used.

If you use --tag and --provider it will respond with: Nothing to publish for tag [].
Example of bug: https://gist.github.com/arleslie/9979c62e9f5152edd72c

Which version of Laravel are you using?

Closed due to insufficient information. Please create a new issue if you want to provide enough information, as per our contribution guidelines.

I read the contribution guidelines. Not really seeing what the issue is.
The example is a clear way to reproduce and the title of the issue states what the bug is as well as a code sample.
The only thing missing is the version of laravel which is 5.1.


Kaspersky standard is blocking the tool.

Describe the bug
I have Kaspersky Standard and when I try to load the tool from my PowerShell(admin) it will not open, and I get a red text wall. When I disable Kaspersky, it works fine.
Screenshots

Additional context
I'm on win10pro 21h2 build 190441889

The same thing is happening to me (I use Karspersky Security Cloud)
winver: W11Pro 21H2 build 22000978
Looks like it was flagged as malware by Kaspersky Servers

Known issue with many antiviruses. Short of converting it all to C# program there isn't much I can do.


C library halting

Can you check if this branch fixes the halting problem.  I had to add a closeLibrary function to the applicationAPI to shut down everything properly.  It lets the test cases run to completion on Windows and Linux.  I still had a few issues on mingw that I haven't figured out how to track yet.

I tested this on my Mac using the Python examples and it worked. I updated the Python examples in this branch.

The pi receivers exited immediately after disconnecting from the broker; the pi senders had a pause (~5s) after disconnecting and then were forced to close -- much better than hanging forever.

My understanding of the shutdown process with shared libraries is still evolving particularly when it comes to threading,  I suspect there is also some compiler differences as well.  Windows seems to destroy the threads before destructing the static variables.  I think Linux might handle the ordering a bit differently.  and Different compilers on Linux might do things a bit differently as well.  Hopefully we will get the shutdown process figured out eventually.  Anyway I put a timeout in most of the shutdown loops now so it will just give up trying to shut things down properly if it has to wait too long.

As part of the timeout during shutdown, is freeing the zmq socket one of the things that doesn't get done properly?

I think it was more a problem with the zmq_context not shutting down rather than an improper shutdown of the cores.  So in case with the shared library it would shutdown the threads before the disconnect signal was processed.  This lead to the broker not receiving the shutdown signal.  That is the primary reason for the need for a close library.  so all the signals in all the threads have a chance to be processed.    Are you still getting cases where it times out?

Is that with both pi_sender and pi_sender2?

Any way you can halt a debug at the timeout message and print the stack trace for the all the process threads?

It is both pi_sender and pi_sender2.
Odd how I can't find a way to save or copy paste stack traces in totalview, and gdb doesn't want to run it because of issues with ld library (mismatched versions?).
Here are images of the stack traces for pi_sender threads. Two of them don't have symbol info other than epoll_wait_nocancel.

the stop should be on the std::cerr line where it prints out the message.  it could go through that loop normally a few times.  the epoll threads are part of the zmq stuff and the logger isn't really relevant.

The stack traces for the other threads are in the same places when it stops on the std::cerr line.

Ok I will try a few more things tonight and we can try some more tomorrow.

Lets try this again,  I made a few more updates to the destruction routine.  @nightlark  see if it works now?

Stack trace has the same locations for the halting problem with both pi_senders, and the nonlings_fed1.

can you turn on all the logging and see what the output is for all the federates.

Ah, it's user error for the most recent hanging. I'd been starting an extra helics_broker since I originally tried starting a pi_receiver first and thought it was expecting one when it failed to connect.
It looks like the group of commits 60915ad - 57b172c "More attempts at clearing up some tsan race conditions" fixed the halting problem. The commit prior to that group of commits (f275b5e) has issues with destroying objects.
All of the examples with the most recent commit (a9bf19b) seem to be shutting down without any issues.

Well that is good to hear.  I was really running out of things to try especially since I couldn't replicate the issue on any of my systems.    If you think it is ready go ahead and merge the pull requests, and we can start reducing the number of branches again.


Unable to open template without power bi report server

Describe the bug
When open single project template i get

To Reproduce
Download single project and try to open it.
Desktop (please complete the following information):

OS: Windows 10

Hi there,
I don't test against/or provide support for Power Bi Report Server I'm
afraid. Sorry about that :(
Thanks,
Nick
On Thu, Mar 16, 2023 at 4:28 PM Tobias Larsson @.***>
wrote:

Describe the bug
When open single project template i get
[image: image]
https://user-images.githubusercontent.com/12168854/225687413-ed3358e9-a784-46bf-b7ae-025e9f2f0ca7.png
To Reproduce
Download single project and try to open it.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
[image: image]
https://user-images.githubusercontent.com/12168854/225687515-94eb5814-3932-429c-93bb-9f22a2579cfa.png
Desktop (please complete the following information):

OS: Windows 10

[image: image]
https://user-images.githubusercontent.com/12168854/225687675-8406129a-b656-4a26-af29-a16a995ce5c5.png
—
Reply to this email directly, view it on GitHub
https://github.com/nbrown02/FlowViz/issues/94, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHACM2W4JUTLBWEL7OALFK3W4M5ULANCNFSM6AAAAAAV5OIULY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Drop base images

Drop base images as it creates an issue where dependencies introduced via requirements.txt are not properly tested in CI.

just for the reference PR where base image was introduced https://github.com/SUSE/pcw/pull/350/files


indentguide: use indent size from doc instead of config

same as #31

Notice I merged this into #1 https://github.com/lite-xl/lite-xl-plugins/pull/1/commits/83d4e62a9750caabdfd04a129708a42944fe66ab

Closing since this is already merged as mentioned above


Controller

Accidentally Merged @saams4u 's PRs into my controller. I need to bring them into the main with this.


Metadata tagging

Metadata tagging
Recaf should allow metadata to be attached to both classes (Maybe even specific fields/methods) and files. My current thinking is:

Tags - Things like networking / io / gui / entry-point etc to indicate behavior
Key-value pairs - Useful if the user wants to tag things in groups, they can then look for items with the key and see the different values for all matched items

Automatic tagging
Some degree of tagging should be automated. For this, Recaf should be able to declare rules that when matched, assign metadata to the matched item. For example:
Rules can include:

Any reference to X
Any reference to a type with tag T
Parent in hierarchy contains X
Parent in hierarchy contains a type with tag T
N count of T tagged references
P percent of tagged items match T tag
ContainsString S with matchmode M
>= file size S
<= file size S
== file size S
likely obfuscated

Design concerns:

Tagging the current resources must not interfere with rules, so if java.net.Downloader is tagged T and we tag an incoming class Example as T this should not affect N count of T sorts of rules.

Default rules:

Recaf can supply a default set of rules for classes in the JDK

Custom rules:

In addition to explicitly declaring types, allow users to tag entire maven-artifacts. For example, tag okhttp as networking so any reference to a class from okhttp will can contribute to rules that rely on references to tagged items

How rules get applied:

When Recaf opens a workspace, run the rules on all items of the primary resource
When a class is added to the primary resource (or renamed) run it on the class

UI Integration
The workspace navigator should allow something like:

meta>networking to list all classes tagged with networking
meta<networking to hide all classes tagged with networking
meta=networking to list all classes tagged with networking, and only networking

Context menus should provide an option to edit the associated metadata of the selected item.
Persistence
These values can be associated with the relative paths to items and persistently stored in a sub-directory of the Recaf directory.

May be able to combine some aspects of this into #717 - where comments can be tagged


[FILEBEAT] deployement - Update strategy

Describe the feature:
Add a way to set the update strategy for deployment from values.yaml. Default value is RollingUpdate
Describe a specific use case for the feature:
We need to set Recreate instead RollingUpdate` because of we ingest log file inside container (with NFS share). So the filebeat registry is store on PVC and must be accessed from only one instance.

Running into a similar issue, but using a PVC for persisting Filebeat registry.

Unfortunately daemonset doesnot support Recreate update strategy. It only supports OnDelete and RollingUpdate. I dont think this is doable as of now.
https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/#daemonset-update-strategy

Since 7.12, we have availability to deploy filebeat as deployment instead daemonset. So i speak about deployement (like title say).

still valid

This is still an issue

still valid


Implement GUI for API keys

Why is SSE not used? :trollface:

Why is SSE not used? :trollface:

because this is not a server-originated event, it's fully controlled by a client


feat: add role subscriptions

Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:

discord/discord-api-docs#5724

Upstream PR merged

This needs a rebase

this needs a rebase

Rebased


Doesn't work with Edge or latest IEs

I was hoping this would work with the latest versions of Edge and Internet Explorer 11 but that doesn't seem to be the case.
Always returns an error Object doesn't support property or method 'includes' as seen here:
https://www.dropbox.com/s/rg8xrhbb7dt72o2/Screenshot 2016-06-28 16.37.03.png?dl=0

Hi @lmartins, good catch! Thanks
Check out newest version 2.0.2 - it should work fine on Edge.
However I'm working on IE11 now as there is something wrong anyway, I'll let you know when it's fixed.

Good news @lmartins,
I did some work and now AOS works on IE >= 10.
Previous browsers doesn't have transition support so I'm gracefully disabling AOS, so it doesn't affect not supported browsers anymore :)
Check out newest AOS 2.0.4 and have a good evening.
Thanks for your contribution!

Thanks @michalsnik I just confirmed it's running fine IE11+.


Help figuring out TimeLock - Locked BTC

I´m trying the time lock function, as it´s the only user friendly time lock that I know,

I created a timelocked address: 3BoRYBLQ9qCsrdvD7E4b7co4twDGABrr5i
I´m requiered to sign it with: 1H38KGDmN1QZdYSjAHirZsCGFEukuj7y9j
The redeem script is: 03ab7b08b1752103dbbefac75d4d0daea9894bdcf7ae704c8480719e57cae46fcc7ea6727a895f1fac

So I then generate this transaction (once the block 555947 has passed):
0100000001a1514025f92a3448e6b1ec53935793173f344ff9e9a90d451daa516411e8b589000000002903ab7b08b1752103dbbefac75d4d0daea9894bdcf7ae704c8480719e57cae46fcc7ea6727a895f1facffffffff01905f0100000000001976a9148150a7c747304266aef2e557ca861111a7d99c2288ac00000000

And then sign it with the private keys of: 1H38KGDmN1QZdYSjAHirZsCGFEukuj7y9j This is the part I´m not sure, but these is the only private key that I have

I get this signed transaction:<PHONE_NUMBER>a1514025f92a3448e6b1ec53935793173f344ff9e9a90d451daa516411e8b5890000000073483045022100af4524540fae794a6bf240668211eb226fc75539d23b2445c7633a03175f58e602202f85a7a35a8a4dcd45730be5c2b5b0efe1f723b798102fdc9015e46a8c4803da012903ab7b08b1752103dbbefac75d4d0daea9894bdcf7ae704c8480719e57cae46fcc7ea6727a895f1facffffffff01905f0100000000001976a9148150a7c747304266aef2e557ca861111a7d99c2288ac00000000

When I try to broadcast it, I get an error: 64: non-mandatory-script-verify-flag (Locktime requirement not satisfied)

What I´m missing or doing wrong?
Please advise, as I want to put more meaningful amounts, and also can I trust that this service will be still working for example 5 years from now? I want to put some BTC for my sons on TimeLock
Thank you

Hi there,
It seems a bug existed when building at transaction which prevented you spending from a timelocked address. Your funds are totally safe, the bug is in the creation of the transaction not the address.
I've just fixed it and issued a few updates.
Please try again with the latest update, all my tests seem to show its working.

Thanks! I have sent my transaction, everything is working fine now with this transaction and with another one created a couple of days before that had the same issue.
Please help me understand more this service if possible: Can I trust this for 5 or 10 years to be online and working, does it even have to? Or can I save this and use it in the future? Maybe I can create and sign the future transaction now and just save it and broadcast it in the future after the timelock from anywhere that a transaction can be broadcasted?

Its impossible to say but its very likely the addresses will still be valid in future, to many people use them now for the feature to be removed.
Further more, even if the coinb.in was offline and you couldn't obtain a copy as you have your private keys and redeem script you are good to go and can use it with bitcoin core or clients to recover your bitcoins.


Create packagegroups for easier package management

Create two new package groups: one for security-framework and another for ima-evm-utils.

Looks good, merging.


made map pin use shift+p (re: #117)

Signed-off-by: Ben Jackman<EMAIL_ADDRESS>

see: #117

Looks good, I failed to anticipate the issues mapping directly to P could cause, so this is a definite improvement. Thanks for contributing!


Simdec APP needs a reload to work

Seems like when the dashboard is starting in GCP, it needs to be reloaded once to work. This is not the case with the sampling page. Which tells me that something is going on there with the simdec app.

Yes, I'm getting the same experience


Add json editor component

Change Summary

Added a jsonEditor component [resolves #95]

relates to #77

[x] did you link this PR to an issue?
[x] did you lint your changes to both javascript and scss?
[x] "I'm pretty sure I'll be able to read and understand this PR, even if I wasn't the author." - said the PR author

lgtm

closing this in favour of #96


Chess: Move F8 to E7

Please do not change the title. Just click "Submit new issue". You don't need to do anything else :D

@tmchuynh done! Successfully played move f8e7 for current game.
Thanks for playing!


can't get a working pair of vcf2db - gemini

Hi @brentp !
Thanks so much for supporting half of the ecosystem just by yourself!
In an old project I suddenly can't get a pair of vcf2db.py - gemini working with gts fields compression.
I create a db as usually with:
vcf2db.py cohort.vcf.gz. cohort.ped. cohort.db

The cohort is large ~ 1000 samples.
then I query it with:
gemini \
query \
--header \
-q "select chrom, start, end, ref, alt, variant_id, gene, aaf, gts.REAL_SAMPLE_ID from variants limit 100" cohort.db

and I'm getting:
chrom	start	end	ref	alt	variant_id	gene	aaf	gts.REAL_SAMPLE_ID
Traceback (most recent call last):
  File "/bcbio/bin/gemini", line 7, in <module>
    gemini_main.main()
  File "/bcbio/anaconda/envs/python2/lib/python2.7/site-packages/gemini/gemini_main.py", line 1249, in main
    args.func(parser, args)
  File "/bcbio/anaconda/envs/python2/lib/python2.7/site-packages/gemini/gemini_main.py", line 439, in query_fn
    gemini_query.query(parser, args)
  File "/bcbio/anaconda/envs/python2/lib/python2.7/site-packages/gemini/gemini_query.py", line 169, in query
    run_query(args)
  File "/bcbio/anaconda/envs/python2/lib/python2.7/site-packages/gemini/gemini_query.py", line 141, in run_query
    for row in gq:
  File "/bcbio/anaconda/envs/python2/lib/python2.7/site-packages/gemini/GeminiQuery.py", line 771, in next
    val = row[source][idx]
  File "/bcbio/anaconda/envs/python2/lib/python2.7/site-packages/gemini/GeminiQuery.py", line 449, in __getitem__
    self.cache[key] = self.unpack(self.row[key])
  File "/bcbio/anaconda/envs/python2/lib/python2.7/site-packages/gemini/compression.py", line 94, in snappy_unpack_blob
    dt = lookup[blob[0]]
KeyError: 'U'

Both vcf2db.py and gemini were installed via bioconda in bcbio, python2 environment (worked just well untill recently).
https://github.com/chapmanb/cloudbiolinux/blob/master/contrib/flavor/ngs_pipeline_minimal/packages-conda.yaml#L350
I tried to install a fresh vcf2db.py in python3 environment with:
git clone git@github.com:quinlan-lab/vcf2db.git
# with python3.10 I had a conflict with cyvcf2 with a downgrade list, so I used python3.9
conda create -n vcf2db_python3 python=3.9
conda install -n vcf2db_python3 -c conda-forge gcc snappy
conda install -n vcf2db_python3 -c conda-forge python-snappy
conda install -n vcf2db_python3 -c bioconda cyvcf2 peddy
conda activate vcf2db_python3
which pip
cd vcf2db
pip install -r requirements.txt

This received htslib1.13, python-snappy=0.6.0,snappy=1.1.8
When I create a database with python vcf2db.py from vcf2db_python3 env and trying to read with gemini I am getting the same error.
I tried also to make python-snappy versions the same in python2 gemini environment and in vc2db_python3 by
conda install -n vcf2db_python3 python-snappy=0.5.4 -c conda-forge

still the same snappy unpack blob error.
Let me know if you have any ideas - I am ready to put in efforts to resolve this.
Sergey

This solved for me by downgrading cyvcf2
conda install -n python2 cyvcf2=0.10.0
Now I have
# Name                    Version                   Build  Channel
cyvcf2                    0.10.0           py27h355e19c_0    bioconda

instead of
Original
# Name                    Version                   Build  Channel
cyvcf2                    0.30.11          py27h3ce6e29_0    bioconda

Hi, thanks for figuring this out (I was at a loss for what to do).


Nan in evaluation

Hi
When I use your code for evaluation, [vald] Control L2 dist: nan
This happens for your pretrained model. Could you please look into this.
==================== Replication 0 ====================
Time: 2024-05-24 23:24:18.863608
========== Evaluating Matching Score ==========

---> [ground truth] Matching Score: nan
---> [ground truth] R_precision: (top 1): 0.5082 (top 2): 0.6905 (top 3): 0.7897
---> [vald] Matching Score: nan
---> [vald] R_precision: (top 1): 0.3643 (top 2): 0.5586 (top 3): 0.6846
Time: 2024-05-24 23:24:23.930179
========== Evaluating Control ==========
---> [vald] Control L2 dist: nan
---> [vald] Skating Ratio: 0.0568
---> [vald] Trajectory Error: (traj_fail_20cm): 0.0039 (traj_fail_50cm): 0.0020 (kps_fail_20cm): 0.0029 (kps_fail_50cm): 0.0010 (kps_mean_err(m)): nan
Time: 2024-05-24 23:24:25.589527

Hi I tried to run the evaluation with the pretrained model using the following command:
bash ./eval_omnicontrol.sh ./save/omnicontrol_ckpt/model_humanml3d.pt 0 100

Here is my log:
==================== Replication 0 ====================
Time: 2024-05-27 17:05:05.680433
========== Evaluating Matching Score ==========
---> [ground truth] Matching Score: 2.9838
---> [ground truth] R_precision: (top 1): 0.5069 (top 2): 0.6972 (top 3): 0.7869
---> [vald] Matching Score: 5.0465
---> [vald] R_precision: (top 1): 0.4043 (top 2): 0.5889 (top 3): 0.6904
Time: 2024-05-27 17:05:13.171648
========== Evaluating Control ==========
---> [vald] Control L2 dist: 0.0573
---> [vald] Skating Ratio: 0.0528
---> [vald] Trajectory Error: (traj_fail_20cm): 0.2725 (traj_fail_50cm): 0.0605 (kps_fail_20cm): 0.0598 (kps_fail_50cm): 0.0101 (kps_mean_err(m)): 0.0573
Time: 2024-05-27 17:05:16.169228
========== Evaluating FID ==========
---> [ground truth] FID: 0.0017
---> [vald] FID: 0.3267
Time: 2024-05-27 17:05:20.134575
========== Evaluating Diversity ==========
---> [ground truth] Diversity: 9.4727
---> [vald] Diversity: 9.8427
!!!
What gpu version, os version are you using. The conda environment is exactly yours so I assume that can't create problems

Ok, I narrowed down the problem:
MotionEncoderBiGRUCo throws up a Nan from time to time

Hi，I tried to  use the same command and I met the question when calculating FID.

Hi @MichaelaQ , could you please help check where the NaNs come from? Right now I cannot reproduce this error. Maybe it's a data issue or not...

Hi @MichaelaQ , could you please help check where the NaNs come from? Right now I cannot reproduce this error. Maybe it's a data issue or not...

Hi,I think there is something wrong with the ground_truth.The number of ground_truth is 4640，I want to know what the classification of ground_truth is like.When I evaluate_matching score on groud_truth,there are two Nan in the ground_truth.

Thank you for the information! I'm currently working on it and will inform you once I've identified the cause of the NaNs in the ground truth.

I suspect that the issue is caused by the broken data in HumanML3D data. Please check similar issues #190, #110, #18, #33, #88, #95 to see if they can help.

Thank you，when I remove 007975.npy and M007975.npy,the  problem is solved


expose no-op caches in getBindingsProxy

@mrbbot I've used classes as you've suggested 🙂 (thanks for the suggestions! 😄)
Please have another look 🙂


Add or Improve the Programs

You can add programs or improve the existing once by renaming them or by adding comments

Hi @iampavangandhi I would like to contribute by adding fibonacci in Python

Hey ! Check my PR #8

@iampavangandhi can I add second largest number in an array?


webmock 3.18.1 and openid_connect 2.2.0 are not compatible

I am using rspec and webmock to unit test a class that uses openid_connect to interact with our institutional openid connect system for oauth authentication. I have a test that is failing, and I cannot figure out how to make it pass.
The class constructor takes an access token, and then uses the following code to authenticate the user, and store the userinfo in an accessor attribute on the instance.
client = OpenIDConnect::Client.new(
      identifier: ENV['OIDC_CLIENT_ID'],
      host: ENV['OIDC_HOST'],
      userinfo_endpoint: '/oidc/userinfo'
)
oidc = OpenIDConnect::AccessToken.new(
  access_token: access_token,
  client: client
)
ui = oidc.userinfo!
@user_info = UserInfo.new ui.raw_attributes

Our unit test uses webmock to mock this call with a predictable response body in json format
subject { described_class.new(access_token: access_token) }
let(:access_token) { SecureRandom.hex }
before(:example) do
  expect(subject.access_token).to eq(access_token)
  stub_request(:get, "https://#{auth_host}/oidc/userinfo")
    .with(headers: { 'Authorization' => "Bearer #{access_token}" })
    .to_return(status: response_status, body: response_body.to_json, headers: {})
end
let(:access_token) { auth_access_token }
let(:response_status) { 200 }
let(:response_body) do
  {
    sub: sub,
    dukeNetID: dukeNetID,
    dukeUniqueID: dukeUniqueID,
    name: Faker::Name.name,
    email: Faker::Internet.email
  }
end
it { expect(call).to eq(true) }

This fails
NoMethodError:
       undefined method `with_indifferent_access' for "{\"sub\":\"lula@bashirian.co\",\"dukeNetID\":\"pattie.jerde093\",\"dukeUniqueID\":\"0226088785\",\"name\":\"Angella Boyle\",\"email\":\"vanetta@pacocha.co\"}":String

               res.body.with_indifferent_access
                       ^^^^^^^^^^^^^^^^^^^^^^^^

I tried changing our response to a ActiveSupport::HashWithIndifferentAccess
before(:example) do
  expect(subject.access_token).to eq(access_token)
  stub_request(:get, "https://#{auth_host}/oidc/userinfo")
    .with(headers: { 'Authorization' => "Bearer #{access_token}" })
    .to_return(status: response_status, body: response_body, headers: {})
end
let(:response_body) do
  ActiveSupport::HashWithIndifferentAccess.new(
    sub: sub,
    dukeNetID: dukeNetID,
    dukeUniqueID: dukeUniqueID,
    name: Faker::Name.name,
    email: Faker::Internet.email
  )
end

This fails too
     Failure/Error:
       stub_request(:get, "https://#{auth_host}/oidc/userinfo")
         .with(headers: { 'Authorization' => "Bearer #{auth_access_token}" })
         .to_return(status: response_status, body: response_body, headers: {})

     WebMock::Response::InvalidBody:
       must be one of: [Proc, IO, Pathname, String, Array]. 'ActiveSupport::HashWithIndifferentAccess' given

access_token.rb line 31 wants calls res.body.with_indifferent_access, but this method is only available on an ActiveSupport::HashWithIndifferentAccess, which is really only available in rails, and webmock does not allow one to be stubbed as a respone.

I got this to work, so I closed the issue but this is here for posterity in case someone else encounters this. I had to return a json response, and add 'Content-Type' => 'application/json' to my stubbed response headers to make it work correctly
stub_request(:get, "https://#{auth_host}/oidc/userinfo")
  .with(headers: { 'Authorization' => "Bearer #{auth_access_token}" })
  .to_return(status: response_status, body: response_body.to_json, headers: {'Content-Type' => 'application/json'})


Preventing struct level validation when field level validation fails

[x] I have looked at the documentation here first?
[x] I have looked at the examples provided that may showcase my question here?

Package version
v10.15.0
Issue:
Disclaimer: am fairly new to go-playground/validator
When using field level validation with registered struct validation,
it seems both validation level always run which is kind of unnecessary an can lead to unexpected results,
like in my current application of these two validation level for login system.
Streamlined Code sample, to showcase or reproduce:

type LoginUserDto struct {
    Email string `validate:"required"`
    Password string `validate:"required"`
    Remember boolean `validate:"required"`
}

func main() {
    validate.RegisterStructValidation(verifyLoginCredentials, LoginUserDto{})
}

func verifyLoginCredentials(sl validator.StructLevel) {
    loginData := sl.Current().Interface().(LoginUserDto)

    // query database for user with loginData.Email
    var user string

    if user == nil {
        sl.ReportError(loginData.Email, "Email", "Email", "exists", "")
        return
    }

    // compare loginData.Password with user.HashedPassword
    passwordMatched := Compare( loginData.Password, user.HashedPassword )

    if !passwordMatched {
        sl.ReportError(loginData.Password, "Password", "Password", "checkpassword", "")
        return
    }
}

Observations
Now regardless of whether the Email or the Password field fails the field level validation (required i.e they have no value),
the struct level validation still executes which very unnecessary and expensive,
I also observed that the order of validation is field level first the struct level, which is awesome!
Question
Given that the field level validation executes before the struct level,
is there a way to halt the execution of the struct level validations,
in cases where the struct level requires/assumes the field level validation to pass

@eddiedane not currently, there is no way to early stop validation in this specific way.
There is a way on fields of a struct that are a struct using the structonly tag, but needs to be a field of a struct in order to have a tag registered.
Usually when people are doing Struct Level validation are not also doing field level using tags that I'm aware of and would validate in the struct level manually. eg.
type LoginUserDto struct {
	Email    string
	Password string
	Remember bool
}

func main() {
	validate.RegisterStructValidation(verifyLoginCredentials, LoginUserDto{})
}

func verifyLoginCredentials(sl validator.StructLevel) {
	loginData := sl.Current().Interface().(LoginUserDto)

	// validate is email, not blank etc. etc..
	if loginData.Email == "" {
		sl.ReportError(loginData.Email, "Email", "Email", "exists", "")
		return
	}
	// validate other fields.

	// query database for user with loginData.Email
	var user string

	if user == nil {
		sl.ReportError(loginData.Email, "Email", "Email", "exists", "")
		return
	}

	// compare loginData.Password with user.HashedPassword
	passwordMatched := Compare(loginData.Password, user.HashedPassword)

	if !passwordMatched {
		sl.ReportError(loginData.Password, "Password", "Password", "checkpassword", "")
		return
	}
}

The other option would be to to use field level validations without struct level as all the database etc validation can also be done there as it has access to the parent struct. eg.
v := validator.New()
	v.RegisterValidation("password", func(fl validator.FieldLevel) bool {
		loginData := fl.Parent().Interface().(LoginUserDto)

		// query database for user with loginData.Email
		var user string
		if user == nil {
			return false
		}

		// compare loginData.Password with user.HashedPassword
		passwordMatched := Compare(loginData.Password, user.HashedPassword)

		if !passwordMatched {
			return false
		}
		return false
	})

I hope that provides some guidance.

Awesome @deankarn, thanks for your response,
I guess using one of the validation levels will do for now,
I was following the example on struct level validation,
it included both field level and struct level validation, maybe it should be updated to avoid confusion.


UNABLE_TO_GET_ISSUER_CERT_LOCALLY

Installed wunderline

npm install wunderline

Run auth w/ new app (entered client id and access token)

NODE_DEBUG=request wunderline auth

REQUEST { method: 'get',
  json: true,
  baseUrl: 'https://a.wunderlist.com/api/v1',
  headers:
   { 'X-Access-Token':
      'XXXXX',
     'X-Client-ID': 'XXXX' },
  uri: '/lists',
  callback: [Function] }
REQUEST make request https://a.wunderlist.com/api/v1/lists
REQUEST response body undefined
{
  "code": "UNABLE_TO_GET_ISSUER_CERT_LOCALLY"
}

Do you have a (ssl intercepting) proxy set? The CA certificate of that proxy is probably missing your system trust store.

Is there way I can set the proxy eg. any commands?

Is there way I can set the proxy eg. any commands?

You probably don't want to set a proxy but find out if there's one active on your current system/network to find out why wunderlist is reporting this error.

Thanks @Thor77


Update existing test.yaml to the new format

In this PR we have introduced a new format for test.yaml which should be updated in kyverno/policies as well. The old format will be removed in 1.8.0
New YAML are more in line with kustomize (with k8s style apiVersion and kind)
apiVersion: cli.kyverno.io/v1alpha1
kind: PolicyTests
metadata:
  name: test-simple
spec:
  policies:
    - policy.yaml
  resources:
    - resources.yaml
  results:
    - policy: disallow-latest-tag
      rule: missing
      resource: test
      kind: Pod
      status: pass

Reference : kyverno/issues/2323

This has been taken care of.


Dev

in preparation for v2024.3.13

Codecov Report
Attention: Patch coverage is 54.05405% with 17 lines in your changes are missing coverage. Please review.

Project coverage is 38.17%. Comparing base (2908f6f) to head (3995fe9).

Files
Patch %
Lines

src/napari_chatgpt/utils/openai/gpt_vision.py
66.66%
6 Missing :warning:

...chatgpt/omega/tools/napari/delegated_code/utils.py
33.33%
4 Missing :warning:

...i_chatgpt/omega/tools/napari/viewer_vision_tool.py
0.00%
4 Missing :warning:

...tgpt/omega/tools/napari/delegated_code/stardist.py
0.00%
2 Missing :warning:

src/napari_chatgpt/utils/openai/max_token_limit.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #38      +/-   ##
==========================================
- Coverage   38.23%   38.17%   -0.06%
==========================================
  Files         183      183
  Lines        5438     5457      +19
==========================================
+ Hits         2079     2083       +4
- Misses       3359     3374      +15

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[WIP] Fixes actions on same-state transitions

Just giving this a shot. This makes a 'fix' to work as I'd expect (see #74) but now there is a failing test.
Needs (from my perspective):
[ ] machineDidUpdate utility probably needs to be improved to better detect changes
[ ] Transitioning to a nonexistent state (transition(FOO)) should act as it did before.
Let me know if this is helpful, I'm happy to continue working on this. If not, I can just call transition with an empty object.

Ping @good-idea :)


S2 Alert banner and search field token updates

Description
Update the following alert banner token values, desktop only scale:

alert-banner-minimum-height
alert-banner-top-to-workflow-icon
alert-banner-top-to-text from
alert-banner-bottom-to-text

Updated the following search field token value, desktop and mobile scale:

search-field-minimum-width-multiplier

More information captured in alert banner Jira ticket and search field Jira ticket.

Motivation and context
These changes occurred as a result of scaling things for S2 design language and experiences.

Related issue

Types of changes

 [ ] Patch (bug fixes, typos, mistakes; non-breaking change which fixes an issue)
 [X] Minor (add a new token, changing a value; non-breaking change which adds functionality)
 [ ] Major (deleting a token, changing token value type; fix or feature that would cause existing functionality to change)
Checklist:

 [X] I have signed the [Adobe Open Source CLA](https://opensource.adobe.com/cla.html).
 [X] I updated the token in all applicable sets. This applies if updating, adding, or deleting a token that has data across different sets (for example, if the value differs across color themes.)


Fixes MicrosoftDocs/azure-docs#16513

Fixing typo in comment:  storae -> storage

#sign-off

@erickson-doug can you please merge this PR when you have a chance. Thanks! Jason

@erickson-doug can you please merge this PR when you have a chance. Thanks! Jason

@sptramer can you help merge? We need a .readme on this repo to describe who to contact, or maybe put the merge instructions in the PR template. I think Doug doesn't read the github notifications.


[AIRFLOW-2016] assign template_fields for Dataproc Workflow Template sub-classes

JIRA

[X] My PR addresses a bug discussed in recent comments comments on the following JIRA:

https://issues.apache.org/jira/browse/AIRFLOW-2016

In those comments I confirmed with the original submitter for that ticket, @DanSedov , that the existing code has a problem and that it is correctly addressed by this commit.
Description

[X] This change moves the template_fields for the DataProc WorkflowTemplate operators out of the base operator and into the derived classes.  This is necessary because the derived classes only use subsets of the templated fields, and so when task instances are instantiated for them, errors are thrown for the fields that are missing.

Tests

[X] My PR is a small bug fix that will be difficult to test in unit tests, but I have tested it on our Airflow deployments and confirmed that it fixes the problem.  Prior to this commit, the WorkflowTemplate operators are not usable because of this bug.

Commits

[X] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[X] No new functionality is provided

Code Quality

[X] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

+@fenglu-g Looks like I applied templates incorrectly


Additional break line

Hey, nice work, love the functional syntax!
Is it me or the this syntax is adding an additional break line?
console.log('-----START-----');
const ls = await $(_`ls`);
console.log(ls);
console.log('-----END-----');

This is not happening with:
console.log('-----START-----');
await _`ls`;
console.log('-----END-----');

Any reason?

Hmm interesting will take a look.


WFLY-8809 Misc attribute/parsing cleanup in clustering subsystems

https://issues.jboss.org/browse/WFLY-8809

Retest this please


Table Joins

Can an enhancement be added to enable table joins? A lot of times I need to query two tables at once to produce the results I need.

Hi Johnny,
Thanks for using DD!
To be honest, I have received requests for table joining more than once,
but it would disrupt too much inside DD to implement it. However, I /am/
thinking of a way to link multiple DD windows to each other, thus enabling
some sort of table joining. The sad part for now is that it is on my
long-list, not my shortlist of things to do.
kind regards,
Patrick Tingen
Op do 7 mrt. 2019 om 15:52 schreef johnnyhaff<EMAIL_ADDRESS>
Can an enhancement be added to enable table joins? A lot of times I need
to query two tables at once to produce the results I need.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/patrickTingen/DataDigger/issues/48, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFuwHTUw8QI89ldfBixWLnBcVB-GnHcNks5vUSekgaJpZM4bjYAu
.

That's too bad, but I understand.
From:   Patrick Tingen<EMAIL_ADDRESS>To:     patrickTingen/DataDigger<EMAIL_ADDRESS>Cc:     johnnyhaff<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Date:   03/07/2019 10:07 AM
Subject:        Re: [patrickTingen/DataDigger] Table Joins (#48)
Hi Johnny,
Thanks for using DD!
To be honest, I have received requests for table joining more than once,
but it would disrupt too much inside DD to implement it. However, I /am/
thinking of a way to link multiple DD windows to each other, thus enabling
some sort of table joining. The sad part for now is that it is on my
long-list, not my shortlist of things to do.
kind regards,
Patrick Tingen
Op do 7 mrt. 2019 om 15:52 schreef johnnyhaff<EMAIL_ADDRESS>
Can an enhancement be added to enable table joins? A lot of times I need
to query two tables at once to produce the results I need.
?
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/patrickTingen/DataDigger/issues/48, or mute the
thread
<
https://github.com/notifications/unsubscribe-auth/AFuwHTUw8QI89ldfBixWLnBcVB-GnHcNks5vUSekgaJpZM4bjYAu
.

?
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/patrickTingen/DataDigger","title":"patrickTingen/DataDigger","subtitle":"GitHub
repository","main_image_url":"
https://github.githubassets.com/images/email/message_cards/header.png
","avatar_image_url":"
https://github.githubassets.com/images/email/message_cards/avatar.png
","action":{"name":"Open in GitHub","url":"
https://github.com/patrickTingen/DataDigger
"}},"updates":{"snippets":[{"icon":"PERSON","message":"@patrickTingen in
#48: Hi Johnny,\n\nThanks for using DD!\n\nTo be honest, I have received
requests for table joining more than once,\nbut it would disrupt too much
inside DD to implement it. However, I /am/\nthinking of a way to link
multiple DD windows to each other, thus enabling\nsome sort of table
joining. The sad part for now is that it is on my\nlong-list, not my
shortlist of things to do.\n\nkind regards,\nPatrick Tingen\n\n\nOp do 7
mrt. 2019 om 15:52 schreef johnnyhaff
\u003cnotifications@github.com\u003e:\n\n\u003e Can an enhancement be
added to enable table joins? A lot of times I need\n\u003e to query two
tables at once to produce the results I need.\n\u003e\n\u003e ?\n\u003e
You are receiving this because you are subscribed to this thread.\n\u003e
Reply to this email directly, view it on GitHub\n\u003e
\u003chttps://github.com/patrickTingen/DataDigger/issues/48\u003e, or mute
the\n\u003e thread\n\u003e
\u003chttps://github.com/notifications/unsubscribe-auth/AFuwHTUw8QI89ldfBixWLnBcVB-GnHcNks5vUSekgaJpZM4bjYAu\u003e\n\u003e
.\n\u003e\n"}],"action":{"name":"View Issue","url":"
https://github.com/patrickTingen/DataDigger/issues/48#issuecomment-470562314
"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage",
"potentialAction": { "@type": "ViewAction", "target": "
https://github.com/patrickTingen/DataDigger/issues/48#issuecomment-470562314
", "url": "
https://github.com/patrickTingen/DataDigger/issues/48#issuecomment-470562314
", "name": "View Issue" }, "description": "View this Issue on GitHub",
"publisher": { "@type": "Organization", "name": "GitHub", "url": "
https://github.com" } } ]


C# tutorial with Simulated Device for VS Code.

@jeffreyCline,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@jeffreyCline please make changes:

on the top level, all the samples for C# should be put under dotnet folder.
No need to have "vscode", I don't see anything specific here for vscode.
No need to have "windows", the dotnet core sample should be cross platform.


argocd: 2.3.3 -> 2.3.4

Description of changes
Fixes CVE-2022-29165, CVE-2022-24904 and CVE-2022-24905.
https://github.com/argoproj/argo-cd/releases/tag/v2.3.4

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1

1 package built:

argocd

@bryanasdev000 I saw you closed #174378 but I was a bit unsure to what changes you wanted to do. Happy to do them if needed.

Forgot to reference it, here it is https://github.com/NixOS/nixpkgs/pull/175226 , basically the same update but I added a new ldflag.

I looked for another PR but I missed it. Sorry for the noise.

@LeSuisse no problem, you can contribute to the review! Also seeing your PR I think I forgot another thing, backport :P


Fixed 32-bit build error in tensor_forest.

This patch fixes the build error described in #11229.

Can one of the admins verify this patch?

I signed it!

Fixed the CLA to include my work email in addition to my personal one. I signed it!

Thanks for finding this!  The change actually isn't the best solution, so I'll fix this internally.  Should be committed in a day or so.

Hi @gilberthendry,
I'm not sure if you've fixed this yet, but it seems to me that
typedef Eigen::TensorMap<
    Eigen::Tensor<const float, 1, 1, long>, 0>  // NOLINT(runtime/int)
    SingleDimStorageType;

at tensorflow/contrib/tensor_forest/kernels/v4/input_target.h:23
should be replaced with:
typedef Eigen::TensorMap<
    Eigen::Tensor<const float, 1, 1, Eigen::DenseIndex>, 0>  // NOLINT(runtime/int)
    SingleDimStorageType;

to match
template <typename T, int NDIMS = 1, typename IndexType = Eigen::DenseIndex>
struct TTypes {
// Rank-<NDIMS> tensor of scalar type T.
typedef Eigen::TensorMap<Eigen::Tensor<T, NDIMS, Eigen::RowMajor, IndexType>,
Eigen::Aligned> Tensor;

at tensorflow/tensorflow/blob/master/tensorflow/core/framework/tensor_types.h:24
Be aware Eigen::DenseIndex has been depreciated as of Eigen 3.3.0 and should be replaced by Eigen::Index, so it might be worth sticking Eigen::Index in there instead.

Actually I replaced it with tensorflow::TTypes<float, 1>::ConstTensor, which is more portable I think.

4de7361c43adc65c442359104a17c449a02eee7a and 14101a8ba173b44179b2a9317781f140eb61b0a1 seems to have fixed this issue for me, I managed to successfully compile and run Tensorflow on a 32-bit Raspberry Pi 3. Cheers @gilberthendry for fixing this bug!

Yes, thanks @gilberthendry! I'm closing my pull request now


Avoid proxy being marked ready prematurely when fetch times out

Fixes https://github.com/istio/istio/issues/31818
This makes CDS,LDS,EDS, and RDS wait indefinitely for response. Without
this, if Istiod takes >15s to response, we may prematurely be marked as
ready. This is trivially reproduced by adding a sleep in Istiod - the
pod will be "ready" despite having no listeners
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@howardjohn Are we seeing timeouts recently for listeners? That part of the code did not change recently. We were always setting default 15s for cluster and listener in bootstrap.
BTW, if Istiod does not respond we do have a readiness probe that checks whether we have received atleast one response for cluster and listener https://github.com/istio/istio/blob/master/pilot/cmd/pilot-agent/status/ready/probe.go#L64 - Is this not helping for Cluster and Listener?
I do think for EDS (and possibly RDS) we should not wait forever though - one bad cluster not receiving endpoints could block Envoy?

BTW, if Istiod does not respond we do have a readiness probe that checks whether we have received atleast one response for cluster and listener https://github.com/istio/istio/blob/master/pilot/cmd/pilot-agent/status/ready/probe.go#L64 - Is this not helping for Cluster and Listener?

Ah I may have been checking the wrong thing - I was looking only at server info. So maybe its not as big of an issue. Its weird i have never seen LDS/CDS timeout and all of the sudden I have seen it like 5 times this week (all because I was doing weird things like broken in-progress code, overloading my machine, etc), but maybe its just a coincidence

I do think for EDS (and possibly RDS) we should not wait forever though - one bad cluster not receiving endpoints could block Envoy?

Is there a valid case of one cluster not getting endpoints though? I would think its all or nothing - either Istiod responds with all the endpoints or none of them. Unfortunately, we cannot tell envoy "wait if all endpoints are blocked, but continue if only a few are". But being marked ready with 0 endpoints would not be good?

Is there a valid case of one cluster not getting endpoints though?

I need to check but if we do not endpoint updates from k8s for a newly created cluster or a service entry does not have endpoints in it - Do we still send empty endpoints for these cases to Envoy?

For multicluster - that is a separate issue, we block the entire Istiod startup but envoy is not impacted. (https://github.com/istio/istio/pull/31771)
For empty SE - we send empty response. This was a bug a while back that we fixed.

For newly created cluster I mean - new service pods coming and we sent cluster to Envoy but endpoints are not available at?

If that happens we would send envoy empty CLA


Github Actions: tagging means pushing to PyPI

looks like this kind of action is doable.

Yep.
If you still want to release manually (adjust the version in setup.cfg & the changelog), all you got to do is copy this file: https://github.com/peopledoc/procrastinate/blob/master/.github/workflows/deploy.yml and add PYPI_TOKEN in the repository configuration secret env vars.
If you also want the version number to be derived from your tag, remove your version number from setup.cfg and add this file: https://github.com/peopledoc/procrastinate/blob/master/pyproject.toml
If you also want not to have to adjust the changelog in the code, given it's already present here:

Remove the changelog file
Add those two files:

https://github.com/peopledoc/procrastinate/blob/master/.github/workflows/release-drafter.yml
https://github.com/peopledoc/vault-cli/blob/master/.github/release-drafter.yml (adjust as necessary)

When it's time to make a release, Release-Drafter will have prepared a draft for you. Adjust & publish the release, this will create a tag, which will trigger the steps above.

I see that the changelog is currently not included in your sphinx doc. If you want to do it like it's done here: use https://github.com/peopledoc/sphinx-github-changelog