count of entities for nested tables is misleading

The count of entities maxes out at the limit for display in the nested entity table. For instance, you might have 100s of related entities but you configure the limit to 25. On the record page it will show you "Nested Table Name Here (25)".
This leaves the user not knowing:

does this mean I am seeing all 25 related entities, or
am I seeing 25 out of some unknown number of entities?

We know it is the latter but users would not. We may need to lazily get the count so the user has an indication that there are more records available.

And also when going into the "View all records" table doesn't seem to be an
idea of count in that view
On Tue, Nov 15, 2016 at 11:26 AM, robes<EMAIL_ADDRESS>wrote:

The count of entities maxes out at the limit for display in the nested
entity table. For instance, you might have 100s of related entities but you
configure the limit to 25. On the record page it will show you "Nested
Table Name Here (25)".
This leaves the user not knowing:

does this mean I am seeing all 25 related entities, or
am I seeing 25 out of some unknown number of entities?

We know it is the latter but users would not. We may need to lazily get
the count so the user has an indication that there are more records
available.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/informatics-isi-edu/chaise/issues/776, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AKDL2WtZANY505y7oHOdk4je7YEN_RHxks5q-gdigaJpZM4Ky65o
.[image: Web Bug from
https://github.com/notifications/beacon/AKDL2U1C1grbQNyONWsovRl9yKkuBOAHks5q-gdigaJpZM4Ky65o.gif]
{"api_version":"1.0","publisher":{"api_key":"
05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":
{"external_key":"github/informatics-isi-edu/chaise","
title":"informatics-isi-edu/chaise","subtitle":"GitHub
repository","main_image_url":"https://cloud.githubusercontent.com/assets/
143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","
avatar_image_url":"https://cloud.githubusercontent.com/
assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png
","action":{"name":"Open in GitHub","url":"https://github.
com/informatics-isi-edu/chaise"}},"updates":{"snippets":[{"
icon":"DESCRIPTION","message":"count of entities for nested tables is
misleading (#776)"}],"action":{"name":"View Issue","url":"https://github.
com/informatics-isi-edu/chaise/issues/776"}}}

What about using 25+? To indicate that there are more and we don't have to try to go through all the rows to get an aggregate..

PR #797 has been merged into master, closing this issue now.


Add levels of logging

Level 1:  user logging
Level 2: operations level
Level 3: Developer level

Log rotation


Add presentation links, fix MD issues

Fix MarkdownLint issues.
Add presentation slide and video links for future use (see slide and video icons at http://stedman.github.io/ajs-11ty/posts/ )

LGTM


GTK 3.0 development libraries || Fedora

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Pardon me if I am filling this slot wrongly, I am a bit new to the GitHub
Trying to install flutter for app development, I have run into a series of problems. I have successfully resolved many, however these remaining two problems seem a bit more presistent.
I use fedora, and I have gotten very little help from searching online.
Actual results
[griphen@fedora licenses]$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.2, on Fedora Linux 38 (Workstation Edition) 6.2.15-300.fc38.x86_64,
locale en_GB.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.
[✓] Chrome - develop for the web
[✗] Linux toolchain - develop for Linux desktop
✗ GTK 3.0 development libraries are required for Linux development.
They are likely available from your distribution (e.g.: apt install libgtk-3-dev)
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Community Edition (version 2022.1)
[✓] VS Code (version 1.78.2)
[✓] Connected device (2 available)
[✓] Network resources
! Doctor found issues in 2 categories.
Logs

Logs

<!-- Paste your logs here -->

Flutter Doctor output
[griphen@fedora licenses]$ flutter doctor -v
[✓] Flutter (Channel stable, 3.10.2, on Fedora Linux 38 (Workstation Edition) 6.2.15-300.fc38.x86_64,
locale en_GB.UTF-8)
• Flutter version 3.10.2 on channel stable at /home/griphen/.flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 9cd3d0d9ff (4 days ago), 2023-05-23 20:57:28 -0700
• Engine revision 90fa3ae28f
• Dart version 3.0.2
• DevTools version 2.23.1
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at /home/griphen/.android/Android/Sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✗] Linux toolchain - develop for Linux desktop
• clang version 16.0.4 (Fedora 16.0.4-1.fc38)
• cmake version 3.26.4
• ninja version 1.11.1
• pkg-config version 1.8.0
✗ GTK 3.0 development libraries are required for Linux development.
They are likely available from your distribution (e.g.: apt install libgtk-3-dev)
[✓] Android Studio (version 2022.2)
• Android Studio at /home/griphen/.android/android-studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
[✓] IntelliJ IDEA Community Edition (version 2022.1)
• IntelliJ at /opt/idea
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.78.2)
• VS Code at /usr/share/code
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (2 available)
• Linux (desktop) • linux  • linux-x64      • Fedora Linux 38 (Workstation Edition)
6.2.15-300.fc38.x86_64
• Chrome (web)    • chrome • web-javascript • Google Chrome 113.0.5672.126
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 2 categories.

For the two Android issues:

You need Android's command-line tools. See https://developer.android.com/tools/sdkmanager
You'll have to accept the licenses that come with the Android SDK. Either use the command shown by the doctor check flutter doctor --android-licenses
or use path/to/sdkmanager --licenses. See https://developer.android.com/tools/sdkmanager#accept-licenses

You might need to tackle 1 first, not sure if the SDK manager is already bundled from the start.
For the GTK 3.0 issue, I suggest you look into installing that dependency for your distro. (Not a Linux dev, so I don't know off the top of my head how to do this)

What is the Flutter bug you are trying to report? Is flutter doctor incorrect about the presence of the GTK libraries?

[✗] Linux toolchain - develop for Linux desktop
✗ GTK 3.0 development libraries are required for Linux development.
They are likely available from your distribution (e.g.: apt install libgtk-3-dev)
After running flutter docto, this output is what's left to be checked right.
I tried the apt install libgtk-3-dev but that didn't work. and I have no idea how I'll get it right. So far I have resolved every other issue but this one.

Thanks @navaronbracke  . I had eventually been able to fix the license issue with the help community forum. Didn't know I had fallen asleep behind my device.
I was about to continue searching for the result when I saw the response/comments here.
@stuartmorgan, I replied to your question about 13 minutes. To iterate, I'm stuck on the last unchecked box below.
[✗] Linux toolchain - develop for Linux desktop
✗ GTK 3.0 development libraries are required for Linux development.
They are likely available from your distribution (e.g.: apt install libgtk-3-dev)
Unless maybe it is not an issue?

Thanks @navaronbracke  . I had eventually been able to fix the license issue with the help community forum. Didn't know I had fallen asleep behind my device.
I was about to continue searching for the result when I saw the response/comments here.
@stuartmorgan, I replied to your question about 13 minutes. To iterate, I'm stuck on the last unchecked box below.
[✗] Linux toolchain - develop for Linux desktop
✗ GTK 3.0 development libraries are required for Linux development.
They are likely available from your distribution (e.g.: apt install libgtk-3-dev)
Unless maybe it is not an issue?
@stuartmorgan Is flutter doctor incorrect about the presence of the GTK libraries?      I have no idea, cuz I don't even know whether the ✗ GTK 3.0 development libraries  are installed anywhere in my device or not. Personally I haven't explicitly installed it anywhere so it's difficult approachingn the issue

Thank you all so much!  I have resolved this final GTK3 Development issue as well.
As @navaronbracke advised, I installed the GTK dependencies for my distro and I have nothing unchecked now. Below are the resources for the problems I faced;

GTK 3 Development Libraries: Needed to install on device:  https://snapcraft.io/install/gtk-3-examples/fedora
Note: I didn't use snapd... I just went on to use the dnf install

Android License: https://www.fluttercampus.com/guide/201/android-sdkmanager-not-found-error-flutter/

Below is what can be seen after running              flutter doctor           and            flutter doctor -v
Thank you @navaronbracke
Thank you @stuartmorgan
👋🙂
[griphen@fedora ~]$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.2, on Fedora Linux 38 (Workstation Edition) 6.2.15-300.fc38.x86_64,
locale en_GB.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Community Edition (version 2022.1)
[✓] VS Code (version 1.78.2)
[✓] Connected device (2 available)
[✓] Network resources
• No issues found!
[griphen@fedora ~]$ flutter doctor -v
[✓] Flutter (Channel stable, 3.10.2, on Fedora Linux 38 (Workstation Edition) 6.2.15-300.fc38.x86_64,
locale en_GB.UTF-8)
• Flutter version 3.10.2 on channel stable at /home/griphen/.flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 9cd3d0d9ff (4 days ago), 2023-05-23 20:57:28 -0700
• Engine revision 90fa3ae28f
• Dart version 3.0.2
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at /home/griphen/.android/Android/Sdk
• Platform android-33, build-tools 33.0.2
• Java binary at: /usr/bin/java
• Java version OpenJDK Runtime Environment (Red_Hat-<IP_ADDRESS>.7-4.fc38) (build 17.0.7+7)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
• clang version 16.0.4 (Fedora 16.0.4-1.fc38)
• cmake version 3.26.4
• ninja version 1.11.1
• pkg-config version 1.8.0
[✓] Android Studio (version 2022.2)
• Android Studio at /home/griphen/.android/android-studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
[✓] IntelliJ IDEA Community Edition (version 2022.1)
• IntelliJ at /opt/idea
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.78.2)
• VS Code at /usr/share/code
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (2 available)
• Linux (desktop) • linux  • linux-x64      • Fedora Linux 38 (Workstation Edition)
6.2.15-300.fc38.x86_64
• Chrome (web)    • chrome • web-javascript • Google Chrome 113.0.5672.126
[✓] Network resources
• All expected network resources are available.
• No issues found!


Create Eva Scholten submission hackaton week 1

I hope I'm doing this pull request right :/

Well done on taking part in the week 1 hackathon!
You’ve implemented a great solution for finding all of the land in a continent. To extend this solution you could add a function to check for more continents in the world and then you could count them too.
You’ve made great use of lists, loops, and mathematical operators in your code and it’s obvious how much work you’ve put in. You’ve definitely learnt a lot in your first week and I look forward to seeing your solution for the next challenge!


Add support for SUBDATE()

Implements the SUBDATE() built-in function and cleans up a few other spots.
Related to: https://github.com/dolthub/dolt/issues/7277

Thanks for the thorough review! You found some good behavior differences there between Dolt and MySQL. I dug into these a little more and opened tracking issues for them:

https://github.com/dolthub/dolt/issues/7304
https://github.com/dolthub/dolt/issues/7302
https://github.com/dolthub/dolt/issues/7300


[Bug]:  CATCH ERROR: NOK: Contract limit exceeded on rinkeby Retrying

Version

[X] Yes

General Question

[X] No

What happened?
A bug happened!
What have you tried?
I Googled and asked the community in the discord server but could not find a solution.
Relevant log output
CATCH ERROR: NOK: Contract limit exceeded on rinkeby
Retrying

Protect your information

[X] I Agree

Try getting a new api key and using that edit the config.js and upload metadata . Then create new contract

This worked thank you


Fixed ConcurrentModificationException when properties stored in Map a…

This is the fix for the issue I reported under:
ConcurrentModificationException when properties stored in Map after "spring.profiles" #180

Fixed in 7828a0.


Ubuntu 20.04 Support

This was successfully built and pushed to the Docker registry here
However, CloudStack deb build failed with the following:
+ VERSION=<IP_ADDRESS>-SNAPSHOT~bionic~bionic
++ lsb_release -sc
+ DISTCODE=focal
+ '[' false == true ']'
+ '[' '' '!=' '' ']'
+ /bin/cp debian/changelog debian/changelog.20210811T200917
+ dch -b -v <IP_ADDRESS>-SNAPSHOT~bionic~bionic~focal -u low -m 'Apache CloudStack Release <IP_ADDRESS>-SNAPSHOT~bionic~bionic'
dch warning: new version (<IP_ADDRESS>-SNAPSHOT~bionic~bionic~focal) is less than
the current version number (<IP_ADDRESS>-SNAPSHOT~bionic~bionic).
+ sed -i '0,/ UNRELEASED;/s// unstable;/g' debian/changelog
+ dpkg-checkbuilddeps
dpkg-checkbuilddeps: error: Unmet build dependencies: python-mysql.connector | python3-mysql.connector python (>= 2.7) nodejs (>= 12)
Packaging DEB failed

So this needs some debug and probably change the version of python-mysql.connector

Fixed issues with deps on Ubuntu 20.04. However, this requires some update in CloudStack itself. I'll need to make a PR there too to make this work with the current 4.16.0 master

Closing due to inactivity


19.03 rootless install

Description
Based on issue # 112, it looked like there was a need to install docker from multiple channels.  I took a pass at it.  Overall, it now provides three channels from which docker-ce can be installed: test, stable, and nightly.
However it looks like the binaries need to be retagged as docker.tgz on:

https://download.docker.com/

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "19.03-rootless-install" git@github.com:zelahi/docker-install.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354610288
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Any update?

I think for now I'm going to close this PR.  We're looking at re-doing the infra right now.  So I think it would be better to open a new PR once the pathing and building for that is set in stone


show ghosts when watching replay

Since Nadeo broke/disabled keyboard actions while watching a replay, I think having ghosts automatically enabled with this plugin would be helpful. Currently it's: click record (or multiple) to watch it -> realize ghosts are off -> go out of replay to enable ghosts -> finally click record again to watch with ghosts
If it helps, detecting a replay being watched is currently like so (at least what I've found):
App.Network.ServerInfo.CurGameModeStr ends with _Local
App.CurrentPlayground.UIConfigs[0].UISequence is CGamePlaygroundUIConfig::EUISequence::UIInteraction
App.PlaygroundScript is not null

You should be able to test this by using the debug tab in plugin settings.
I think UIInteraction might be used in other places (in solo) but not sure.
There are some other ways to detect watching a ghost, too, like the ghost vehicle vis ent ID is set at an offset in the GameTerminal.
I can probably add something

Can confirm, toggling ghosts in the plugin settings works while watching a replay. I haven't seen UIInteraction used elsewhere (in combination with the local gamemode and null playground script), but then again I don't always have a window open showing the current sequence.
UIInteraction is also used between rounds in COTD, Royal, and Hotseat, but we can't watch replays in those modes so that shouldn't matter.

Since this is fixed in the latest game update, I'll close the issue as not required.


locally stored result templates

90% of the time the first thing I do upon loading a /query is to replace return Object.assign({}, response, { docs: response.docs.slice(0, 50) }); with return Object.assign({}, response, { docs: response.docs.map(d=>d._id) });
This isn't universal though. It would be nice if we could store, even locally, result processing templates to choose from, and preload the last one you used.

heck yeah, i kept thinking remotely stored templates on the couch (to replace these horrible hashed urls), which would still be nice, but much better to start with locally saved ones.
anyways here's a short term for at least removing that splice https://github.com/kdoran/lookout/pull/32


Error on 'rekit create myApp'

Hi,
I really like the rekit concept. I tried it today without success.
rekit create myApp
Welcome to Rekit, now creating your project...
Copying files...
Getting the latest dependencies versions...
Failed to get dependencies. The project was not created. Please check and retry.
{ Error: getaddrinfo ENOTFOUND supnate.github.io supnate.github.io:443
at errnoException (dns.js:28:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'supnate.github.io',
host: 'supnate.github.io',
port: 443 }

It looks like a network issue. Please check if you could access internet in your terminal.

Yes, thanks for the fast response. You are right. It was a connection issue in our company :-(


C++11 ; always UbSan & LSan

Current coverage is 26.30%

Merging #1705 into master will increase coverage by +0.08% as of df5f31b

@@            master   #1705   diff @@
======================================
  Files         1872    1873     +1
  Stmts        79017   79092    +75
  Branches         0       0
  Methods          0       0
======================================
+ Hit          20725   20805    +80
  Partial          0       0
+ Missed       58292   58287     -5

Review entire Coverage Diff as of df5f31b

Powered by Codecov. Updated on successful CI builds.


main function

Make a main function to call all any of the filters.

@ishita27 Please assign me this issue. I would like to work on it.

Hey, can you please complete this issue asap, once you complete it, taking the main function as a base we can quickly add more filters


JWT payload is not decoded properly

I was just trying to implement a jwt token auth with refresh token for my app, however, i was getting this error when ember-simple-auth-token tries to decode the jwt received from the server
Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
I looked into the issue for a bit, tracked it down to this line: https://github.com/jpadilla/ember-simple-auth-token/blob/master/addon/authenticators/jwt.js#L284
The thing is we try to do a base64 decode, however as specified in the JWT rfc7519(https://tools.ietf.org/html/rfc7519), the payload is base64url encoded, so window.atob will fail to decode it.

I seemed to have fixed this, I have also submitted the PR for the same. If someone can look into it please


FIRMessaging is already connected, iOS push notifications

Describe the bug
I have been stuck on this issue for days now. I have had push notifications for iOS working however now I cannot get them to work again after altering my code. Initially I had the grantPermission, checkPermission and getToken functions in deviceReady. I have moved this code from deviceReady to my login, autologin and logout functions. I.e. every time login, autologin or logout is called, the app checks for permissions and gets the token to store in DB on app server.
Interestingly, the same code works on my Android problem with no issues, so it is purely an iOS/Xcode issue.
I can send notifications from my app server and from the firebase console and they both appear in the xcode debugger (See console logs), but they do not push to the device itself. The requests I send from my app server are in the format in the console log.
I have tried switching between legacy and new build systems, refreshing profiles keys certificates etc in Apple Dev account and in Firebase project settings, forcing the app to use release APNS certificates in entitlements, moving code back to how it was before the issue (back into deviceReady and out of my login, autologin and logout functions), reinstalling ios platform, reinstalling firebase plugin, adding remote-notification to .plist file and every other known slap-dash fix I could find in the Issues thread and online.
I keep seeing the error 'Already connected to FCM' (see console logs) and thought that this will be the issue, however I can't find any method of not trying to reconnect and just keeping one connection open.
Can anyone else PLEASE help or provide insight on how to get past this. This is paid work for a client and I am working on a deadline which is fast approaching. Any help at all will be greatly appreciated.
Console Logs
**2019-03-19 14:05:42.158206+0000 AppName[16382:4492960]- [I-ACS036002] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist
2019-03-19 14:05:42.335729+0000 AppName[16382:4492866] You've implemented -[ application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2019-03-19 14:05:42.336363+0000 AppName[16382:4492866] Apache Cordova native platform version 4.5.5 is starting.
2019-03-19 14:05:42.336425+0000 AppName[16382:4492866] Multi-tasking -> Device: YES, App: YES
2019-03-19 14:05:42.359342+0000 AppName[16382:4492866] Using UIWebView
2019-03-19 14:05:42.360592+0000 AppName[16382:4492866] [CDVTimer][console] 0.054002ms
2019-03-19 14:05:42.360685+0000 AppName[16382:4492866] [CDVTimer][handleopenurl] 0.048995ms
2019-03-19 14:05:42.361866+0000 AppName[16382:4492866] [CDVTimer][intentandnavigationfilter] 1.157999ms
2019-03-19 14:05:42.361937+0000 AppName[16382:4492866] [CDVTimer][gesturehandler] 0.039935ms
2019-03-19 14:05:42.362045+0000 AppName[16382:4492866] Starting Firebase plugin
2019-03-19 14:05:42.362064+0000 AppName[16382:4492866] [CDVTimer][firebaseplugin] 0.110030ms
2019-03-19 14:05:42.367653+0000 AppName[16382:4492866] [CDVTimer][splashscreen] 5.573034ms
2019-03-19 14:05:42.367680+0000 AppName[16382:4492866] [CDVTimer][TotalPluginStartup] 7.187009ms
2019-03-19 14:05:42.825162+0000 AppName[16382:4492866] GoogleService-Info.plist found, setup: [FIRApp configureWithOptions]
2019-03-19 14:05:42.841186+0000 AppName[16382:4492965] 5.7.0 - [Firebase/Analytics][I-ACS023007] Analytics v.50101000 started
2019-03-19 14:05:42.841274+0000 AppName[16382:4492965] 5.7.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2019-03-19 14:05:42.849287+0000 AppName[16382:4492866] [Crashlytics] Version 3.10.7 (130)
2019-03-19 14:05:42.882574+0000 AppName[16382:4492982] 5.7.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging to ensure proper integration.
2019-03-19 14:05:42.937207+0000 AppName[16382:4492965] [NetworkInfo] Could not successfully update network info for descriptor <CTServiceDescriptor 0x281df6fc0, domain=1, instance=2> during initialization.
2019-03-19 14:05:42.938499+0000 AppName[16382:4492965] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x281df30c0, domain=1, instance=1>
2019-03-19 14:05:42.940904+0000 AppName[16382:4492965] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x281df6fc0, domain=1, instance=2>
2019-03-19 14:05:42.942918+0000 AppName[16382:4492980] 5.7.0 - [Firebase/Messaging][I-FCM002023] The object <AppDelegate: 0x281da6880> does not respond to -messaging:didReceiveRegistrationToken:. Please implement -messaging:didReceiveRegistrationToken: to be provided with an FCM token.
2019-03-19 14:05:43.153076+0000 AppName[16382:4492866] Resetting plugins due to page load.
2019-03-19 14:05:51.495179+0000 AppName[16382:4493053] [Fabric] failed to download settings Error Domain=FABNetworkError Code=-5 "(null)" UserInfo={status_code=403, type=2, request_id=1170a959ccaf2f31077c7e9287908a32, content_type=application/json; charset=utf-8}
2019-03-19 14:05:52.674024+0000 AppName[16382:4492866] Finished load of: file:///var/containers/Bundle/Application/ABE3E379-3B8A-48A2-92C9-38CF2CBC6633/AppName.app/www/index.html
2019-03-19 14:05:52.678714+0000 AppName[16382:4492866] deviceready has not fired after 5 seconds.
2019-03-19 14:05:52.678760+0000 AppName[16382:4492866] Channel not fired: onDOMContentLoaded
2019-03-19 14:05:53.610749+0000 AppName[16382:4492866] Connected to FCM.
2019-03-19 14:05:53.617082+0000 AppName[16382:4492866] InstanceID token: fT379u-ykTI:APA91bG7oQDHQVB8tz26aJy8GppsmMx-Z3aieiDq4M2B4fpjI42oFHH9TYX-Y696n4bmrGCVQwP2Lz4uG8ytyjGklth6fZQ1CswMq4Ukrma5UkEZObWqnjPI9loSZUJDPzsg4djxXqtQ
2019-03-19 14:05:53.677709+0000 AppName[16382:4492866] THREAD WARNING: ['FirebasePlugin'] took '14.102295' ms. Plugin should use a background thread.
2019-03-19 14:05:55.724800+0000 AppName[16382:4492866] Permission already granted
2019-03-19 14:05:55.724882+0000 AppName[16382:4492866] Firebase Token from cordova: fT379u-ykTI:APA91bG7oQDHQVB8tz26aJy8GppsmMx-Z3aieiDq4M2B4fpjI42oFHH9TYX-Y696n4bmrGCVQwP2Lz4uG8ytyjGklth6fZQ1CswMq4Ukrma5UkEZObWqnjPI9loSZUJDPzsg4djxXqtQ
2019-03-19 14:06:15.746363+0000 AppName[16382:4492866] Received data message: {
"collapse_key" = "app.com.AppName";
from = #Sender ID#; (removed for security)
notification = {
body = test;
e = 1;
tag = "campaign_collapse_key_3486046908152770206";
title = test;
};
}
2019-03-19 14:06:22.394002+0000 AppName[16382:4492866] Unable to connect to FCM. Error Domain=com.google.fcm Code=2001 "FIRMessaging is already connected" UserInfo={NSLocalizedFailureReason=FIRMessaging is already connected}
2019-03-19 14:06:25.380693+0000 AppName[16382:4492866] Unable to connect to FCM. Error Domain=com.google.fcm Code=2001 "FIRMessaging is already connected" UserInfo={NSLocalizedFailureReason=FIRMessaging is already connected}**
Plugin Version
2.0.5
Smartphone (please complete the following information):

Device: iPhone XS Max 64GB
OS: iOS 12.1.4
Browser: n/a
Version: n/a

Additional context
Add any other context about the problem here.

** FIXED **
After hours and hours, I have found a fix. Firstly, I do a remove iOS platform and a reinstall of iOS platform to ensure every plugin is installed properly.
I then set the Xcode project build settings to Legacy Build. I then go into the directory platforms/ios/cordova/lib and edit the file copy-www-build-step.js, comment out line 56 which is shell.rm('-rf', path.join(dstDir, 'embedded.mobileprovision'));
I then check the capabilities tab in Xcode to ensure push notifications are enabled, and that background mode 'remote notification' is enabled.
Then I build the solution and install to device, and voila, we have lift off.
For anyone wondering, the only firebase code I have in my project is in deviceready() and is as follows:
`if (typeof window.FirebasePlugin !== 'undefined') {
        window.FirebasePlugin.hasPermission((data) => {
            if (data.isEnabled) {
                console.log("Permission already granted");
            } else {
                window.FirebasePlugin.grantPermission(() => {
                    console.log("Permission granted", data.isEnabled);
                }, (error) => {
                    console.error("unable to grant permission", error);
                });
            }
        }, error => {
            console.log("hasPermission failed", error);
        });

        window.FirebasePlugin.getToken((token) => {
            handleToken(token);
        }, (error) => {
            //alert("error inside getToken, token: [" + token + "], error: [" + error + ']');
        });

        window.FirebasePlugin.onTokenRefresh((token) => {
            handleToken(token);
        }, (error) => {
            //alert("error inside onTokenRefresh, token: [" + token + "], error: [" + error + ']');
        });
    }`

I also have a function called handleToken which posts the token to be stored in my app server database.


Get-BootKey requires admin privileges even with offline audit

Is there a reason why Get-BootKey requires to be run as an administrator when processing an offline SYSTEM file? I understand the need for SeBackupPrivilege when grabbing the file out of the registry, but not otherwise.
Thanks for the great tool.

Hi, SeBackupPrivilege is also required when temporarily mounting the offline registry file.


[SPARK-33107][BUILD][FOLLOW-UP] Remove com.twitter:parquet-hadoop-bundle:1.6.0 and orc.classifier

What changes were proposed in this pull request?
This pr removes com.twitter:parquet-hadoop-bundle:1.6.0 and orc.classifier.
Why are the changes needed?
To make code more clear and readable.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing test.

Test build #129638 has started for PR 30005 at commit bca92f6.

Test build #129638 has finished for PR 30005 at commit bca92f6.

This patch fails executing the dev/run-tests script.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129638/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34242/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34242/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34242/
Test PASSed.

Test build #129639 has started for PR 30005 at commit 7c6afc7.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34243/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34243/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34243/
Test PASSed.

Test build #129639 has finished for PR 30005 at commit 7c6afc7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129639/
Test PASSed.

Dumb question, but does this propose to remove Hive 2.x support entirely? that does seem too aggressive?
Or else is this just further baking in Hive 2.3 as the default? the profile would need to stay around if so.

does this propose to remove Hive 2.x support entirely? that does seem too aggressive?

No. I think this just make hive-2.3 "more default" by removing the profile. Not sure if that's a good idea tho.

+1 for using another separate JIRA for that.
I don't have a strong opinion here. This is technically a correct change since the current master has one default Hive, and I don't see a plan about using other Hive at this moment.
But I would also keep the profile for the time being just in case. Removing Hive 1.2 is pretty a big change and I think we don't know yet how much impact it has.

How about only cleaning up pom.xml, please see the first commit: https://github.com/apache/spark/pull/30005/commits/286ccc5d3025b6ff2da34c22e670746fd92e21f4

I am good with that.

Test build #129655 has started for PR 30005 at commit 286ccc5.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34259/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34259/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34259/
Test PASSed.

Merged to master!

Test build #129655 has finished for PR 30005 at commit 286ccc5.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129655/
Test FAILed.


Unclear error message on missing connection

* What went wrong:
An exception occurred applying plugin request [id: 'org.danilopianini.multi-jvm-test-plugin', version: '0.2.0']
> Failed to apply plugin 'org.danilopianini.multi-jvm-test-plugin'.
   > Could not create an instance of type org.danilopianini.multijvmtesting.MultiJVMTestingExtension.
      > java.lang.ExceptionInInitializerError (no error message)

also
* What went wrong:
An exception occurred applying plugin request [id: 'org.danilopianini.multi-jvm-test-plugin', version: '0.2.0']
> Failed to apply plugin 'org.danilopianini.multi-jvm-test-plugin'.
   > Could not create an instance of type org.danilopianini.multijvmtesting.MultiJVMTestingExtension.
      > Could not initialize class org.danilopianini.multijvmtesting.MultiJVMTestingExtension_Decorated

https://gradle.com/s/ubrrk3vag7w4o

These errors look like a corruption of the build, the lines are not even existing in the code.


Git Repos Tab

Suggested new feature or improvement
Show a menu where you can see all your downloaded repos and see info about them. You could also open then in like vs code or vim.
Scenario
For people to see the projects that they have and manage them in one spot on there pc, or to make new repos on your Git Hub account.
Additional details
It could have a tag on the left bar under the configuration tab. Or even show you the revision history.

this may address this request.  Add Projects page #1049

@Fish-Soup-Dev, take a look at Add Projects page https://github.com/microsoft/devhome/pull/1049 and see if this addresses your issue!

related to #679

Hi, please take a look at the proposed experience here to see if this solves your issue: https://github.com/microsoft/devhome/issues/2161


[release-4.9] Bug 2034566: alerts: update latency thresholds

Backport of #1284 to release-0.9
Update latency thresholds used to compute the kube-apiserver SLO to
align with results from sig-scalability.
https://github.com/kubernetes/community/blob/master/sig-scalability/slos/api_call_latency.md#definition

If the Bugzilla associated with the PR has the "FastFix" keyword, the subjective assessment on the issue has already been done and a customer is impacted. These PRs should be prioritized for merge.

[ ] verified
[x] does not apply

The bug has significant impact either through severity, reduction in supportability, or number of users affected.

[x] verified
[ ] does not apply

For branches that are in the Maintenance lifecycle phase:

[ ] The bug is a critical fix, no reasonable workaround exists, and a recommendation for upgrade has been ruled out, or
[ ] The bug is a security related bug
[x] Branch not in maintenance mode yet (current release + previous release for 90 days after current GA; everything older is in maintenance)

The severity field of the bug must be set to accurately reflect criticality.

[x] verified

The PR was created with the cherry-pick bot OR the PR’s description is well formed with user-focused release notes that state the bug number, impact, cause, and resolution. Where appropriate, it should also contain information about how a user can identify whether a particular cluster is affected.

[x] verified

/assign @sttts

/lgtm
/approve
It needs the backport risk form.

Holding since the verify job seems to have issues.
/hold

/bugzilla refresh

/retest

/label cherry-pick-approved

/bugzilla cc-qa

Launched one 4.9 cluster with this PR successfully, verification steps see https://bugzilla.redhat.com/show_bug.cgi?id=2034566#c1

Unholding since the original problem doesn't occur anymore.
/unhold


Fix SQS messageAttributes

Hey! Currently SNS messageAttributes are not passed to SQS.
This PR adds the ability to receive the messageAttributes published to SNS in the SQS event.
I'm looking for feedback on this PR

Thankyou once again Andre, I have added these changes in myself and added you to the contributors list.


consider removing MINIMAL_DEPOSIT (audit #1)

Adam Kolar | g0, [09/06/2022 14:46]
I wonder if instead of having a constant MINIMUM_DEPOSIT it wouldn't be better to have a dynamic minimum deposit value equal to: pool.balance / pool.totalShares
Adam Kolar | g0, [09/06/2022 14:47]
If I understand correctly, the purpose of MINIMUM_DEPOSIT is to prevent people from depositing while receiving 0 shares.
Adam Kolar | g0, [09/06/2022 14:50]
Note that analogous problem can occur in withdraw after pool balance is reduced by a claim, one share can be worth less than 1 lpToken and that can lead to withdrawal amount being rounded to 0.
Adam Kolar | g0, [09/06/2022 14:54]
Also since there's an implication that transferredAmount can differ from _amount (due to transfer fee tokens?) you should probably check minimum deposit against transferredAmount or even better just check that userShares > 0.
jelle gerbrandy, [09/06/2022 15:41]
[In reply to Adam Kolar | g0]
the MINIMUM_DEPOSIT logic is there since v1 and I agree it is a bit clumsy - just checking that userShares > 0 is much more elegant, we should try that out. Personally, I am not so convinced at all that we need special logic to deal with dust.

Adam Kolar | g0, [09/06/2022 15:49]
[In reply to jelle gerbrandy]
You could actually replace the dust logic with more general _minShares check in the deposit function and maybe _minTokens in the withdraw function.

What do you mean exactly with  _minShares logic?

Also, without the minimum deposit we won't be able to have the rewardDepositors no?

honestly I am not understanding at all what MINIMUM_DEPOSIT is doing in rewardDepositors

So about rewardDepositors, this was really weird for me too but I think I understand now. So the minimum deposit was there to ensure that the pool balance will not go too high so that if someone deposits more than the minimum reward they might still get 0. But now it will no longer be an issue

But now it basically means if you deposit in a pool with big balance you might overpay for a share, what should we do about that (if at all)?

ok, a scenario:
1- first user deposits 1 WEI and gets 1 share
2- someone calls rewardDepositors and deposits R tokens (lets say it's worth 1M$)
3- second user deposits d tokens and gets  pool.totalShares * transferredAmount / lpSupply = 1 * d/(R+1) tokens and so
a) must depoist at least R (i.e. > 1M$) tokens to get a share
b) if deposits 1.9M$ tokens, will get 1.9/R = 1 share, which will give her a claim on 50% of 2,9R tokens, i.e. she will overpay by almost .5M$
There is an attack here - anyone can do steps 1 and 2 and then take some of the share of the others.
So this is not acceptable, of course
So basically, the logic is:
sharesRecevied = totalShares * yourDeposit / (totalDeposits + rewards)
Note that if no rewards are added and no payouts are done, then totalShares == totalDeposits, and so all is well.
If only payouts re done, than totalDeposits < totalShares, and there will be rounding errors, but they will not be a problem.
The problem is with the rewards here - basically, if (totalDeposits + rewards) >> totalShares, there is a problem.
The original lines in rewardDepositors are, which checks exactly that 🔥
            poolInfos[_pid].totalShares) revert AmountToRewardTooBig();```

So I guess we should not remove that 😅

Yeah that's just the overpayment I mentioned above. But I left it intentionally because it's just possible for the depositors to calculate the correct amount to deposit, which seemed to me to make more sense than limiting the reward functionality...
But I guess we can also do the opposite and ensure no overpayment is done by limiting the reward depositors functionality

Or we could calculate the amount overpaid and return/ not take it... What do you think?

I'd be for adding the check in rewardDepositors, i.e. check in rewardDepositors that there are enough totalShares. I guess that would be enough.
(I asked shay on tg if we can just remove rewardDepositors, which makes everything more straightforward, so let's wait for his answer)

OK, we will remove the rewardDepositors function which will allow us to remove all this minimumdeposit stuff


fix: Logout example improvements

Current example code doesn't invalidate the session, which is usually desired.
This fix invalidates the session and redirects to logout page.

ping @marcushellberg

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


chai 3.5 peerDependencies

when i run:

npm install --save-dev grunt-webdriver

i got the follow error. Looks like it still using very old version of chai?
24049 error peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!
24049 error peerinvalid Peer<EMAIL_ADDRESS>wants chai@>= 1.6.1 < 2
24050 verbose exit [ 1, true ]

sorry looks like is from my dependncy


Investigate supporting async api

Async API is a specification for describing event driven architecture, that aims to keep near compatibility with openapi specifications:

Part of this content has been taken from the great work done by the folks at the OpenAPI Initiative. Mainly because it's a great work and we want to keep as much compatibility as possible with the OpenAPI Specification.

It would be good to investigate adding support for this, possible templates could include:

GCP PubSub
AWS SNS/SQS
Azure Service Bus
RabbitMQ
Kafka
ZeroMQ

https://www.asyncapi.com/docs/tutorials/getting-started/coming-from-openapi

I was looking to add this to one of my golang projects a while ago, but due to their limited support, they don't currently offer a standard or native websocket solution for it, instead they use watermil and only support RabbitMQ as the provider, which made it clear it wasn't an option without a custom template.
However for node, they already offer @asyncapi/nodejs-ws-template as a template, which is just a standard websocket solution with no third party requirements, which I would love to see this as an option here, if you do in the future plan to offer Async API with the generation.


parse NSNumber response always nil

It's not same as #73
json :
["expression_literal_id": 1, "value": yes, "id": 1]
mapper
class Answer: NSManagedObject ,Mappable {
@NSManaged var id: NSNumber?
override init(entity: NSEntityDescription, insertIntoManagedObjectContext context: NSManagedObjectContext?) {
let appDelegate =
UIApplication.sharedApplication().delegate as! AppDelegate
    let managedContext = appDelegate.managedObjectContext
    super.init(entity: entity, insertIntoManagedObjectContext: managedContext)
}

required init?(_ map: Map) {
    let appDelegate =
        UIApplication.sharedApplication().delegate as! AppDelegate

    let managedContext = appDelegate.managedObjectContext

    let entity = NSEntityDescription.entityForName("Answer", inManagedObjectContext: managedContext)
    super.init(entity: entity!, insertIntoManagedObjectContext: managedContext)

    mapping(map)
}

func mapping(map: Map) {

           id <- map["id"]

}

}
id is always nil

NSNumbers are not explicitly supported by ObjectMapper but I believe they should map correctly. I'm not sure why this is not working for you.
Closing this for now, if you are still having this problem feel free to elaborate.


Add the Impersonate module

Module usage
List available tokens
cme smb  -u USERNAME -p PASSWOD -M impersonate
Impersonate user token

To list tokens: cme smb  -u USERNAME -p PASSWORD -M impersonate -o MODULE=list
To run comand as user: cme smb  -u USERNAME -p PASSWORD -M impersonate -o MODULE=exec TOKEN=<TOKEN_ID> CMD=whoami
To escalate dom admin: cme smb  -u USERNAME -p PASSWORD -M impersonate -o MODULE=adduser TOKEN=<TOKEN_ID> CMD="username password 'group admin du dom'  \domaincontroller"

I did test it but while I'm connected as administrator on my DC, the impersonate binary don't find any session.
On my other server, only the command 'whoami' or dir is working, I have the feeling whoami /all is failing because of the space.

I have added double quotes to make sure that commands with spaces are run correctly. Also I have change the binary a bit to evade EDR's. !)

I've rework the options :)
Very stable on my side !!
I will not merge until the code of impersonate is public so I can build it myself.

I'm thinking about adding an optional FILE option to specify a recompiled version just in case the embedded gets flagged.
Anyway, I'll release the code of the original binary with the blog post (about a week I'd say) :)!

Yes, an option with a file will be perfect, check the module procdump for example :)

Here is the code of the embedded binary https://github.com/sensepost/impersonate/tree/main/CME_module :)


Persisted state across argument changes

Hi! We're looking at upgrading from can-get-used-to-this and was wondering about the issue of persisting state across argument changes. According to the class based resource library, persisted state isn't natively supported by a function approach.
Just to make sure I understand, this means that the output will change it's identify in JS (e.g. a new object is created) when arguments change. If I'm right, that's a massive performance issue as a resource is often used to return a model which anchors the entire UI. Changing an argument would cause the entire UI to rerender. This seems like such an problematic choice, I'm assuming I must be misunderstanding it or I'm just unaware of a relatively easy and accessible solution.
Could you provide any insight on this? How can the function approach to resources return stable objects as the arguments change? If that's not possible, how are the performance implications mitigated?
Thank you!

What sort of public API are you working with?
Resources are a primitive for managing "a thing with cleanup", and anything beyond that is kind of an exercise in delaying tracked-entanglement to the user.
For example, in https://github.com/NullVoxPopuli/ember-resources/issues/1056, we go over a few ways of achieving similar results to "the old way of doing things", but in terms of the new apis.
Like, if you want to return a stable object as arguments change -- we first need to define what it means for arguments to change.
If we can pass a function, or object of getters, we can use an approach like this to achieve a stable return object:
import { use, resource } from 'ember-resources';

class MyDoubler {
    constructor(inputFn) { this.inputFn = inputFn; }

    get num() {
      return this.inputFn() * 2;
    }

    // not required, if you don't want
    destroy() {}
}

function Doubler(inputFn) {
  let state = new MyDoubler(inputFn);

  return resource(({ on, owner }) => {
    setOwner(state, owner);

    // not required if you don't want
    on.cleanup(() => state.destroy());

    return state;
  });
}

class Demo {
  @tracked something = 3;

  @use doubler = Doubler(() => this.something);

  get theValue() {
    return this.doubler.num; // 6
  }
}

at the same time, https://github.com/NullVoxPopuli/ember-modify-based-class-resource/ is also built on stable, public APIs, and has no intention of being abondoned or anything like that and provides the behavior you may be used to (with the modify hook).
For more philosophy reasons for why we don't, in general, want a modify hook, see here: https://github.com/NullVoxPopuli/ember-resources/issues/1054#issuecomment-1858492428
Now, something that is important is that resources aren't a hammer that we use for every nail -- resources are more of a specific screwdriver for a specific set of screws.
Many folks can get away with these sorts of stable references (like if they don't need per-arg-change-cleanup):
class MyClass {
  constructor(fooFn) {
    this.#fooFn = fooFn;
  }

  get foo() {
    return this.#fooFn();
  }
}

class Demo {
  // stable!
  myInstance = new MyClass(() => this.args.foo);
}

and if you need ownership / destruction linking, you may be interested in https://reactive.nullvoxpopuli.com/functions/link.link.html


POST_enable_authy redirects back to the same page

Seems the Authy::API.register_user method doesn't fetch the user and redirects back to the same page (to fill the phone again)
I tried to run on rails console, but it returns a blank object:
    @authy_user = Authy::API.register_user(
      :email =><EMAIL_ADDRESS>      :cellphone => "myvalidnumber",
      :country_code => "validcountrycode"
    )

    => {}

What should I do?

I have dropped an answer on authy-ruby#71, hopefully it helps!

This library is no longer actively maintained. The Authy API has been replaced with the Twilio Verify API. Twilio will support the Authy API through November 1, 2022 for SMS/Voice. After this date, we’ll start to deprecate the service for SMS/Voice. Any requests sent to the API after May 1, 2023, will automatically receive an error.  Push and TOTP will continue to be supported through July 2023.
Learn more about migrating from Authy to Verify.
Please visit the Twilio Docs for:

Verify + Ruby (Rails) quickstart
Twilio Ruby helper library
Verify API reference
Coming soon: Look out for a new Devise plugin to use Twilio Verify with Devise

Please direct any questions to Twilio Support. Thank you!


std::bad_alloc

Maybe this is on my end. I'm new to compiling source on linux. It compiles fine but when I run it I get the following output...
mcmap 2.1
McRegion world format detected.
Scanning world...
Min: (-166|-121) Max: (225|255)
Image dimensions are 18954x8570, 32bpp, 619.64MiB
Pass 1 of 4...
terminate called after throwing an instance of 'std::bad_alloc'
what():  std::bad_alloc
Terrain takes up 1169.69MiBAborted

Figured it out sorry to bug you with this.

For googlers: I fixed it by freeing up more memory as my laptop didn't have enough to render the map.


Please update the content

Although I can follow, but the content is little outdated with my Visual Studio 2017 15.7.5

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

ID: 2e3b23da-ff3d-daf6-c56a-2b8ddf79f805
Version Independent ID: 5ea39e72-fcfc-ddbe-2f4d-f4166dfbe5a8
Content: Use Grunt in ASP.NET Core
Content Source: aspnetcore/client-side/using-grunt.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@benoityip  thanks for reporting.

Thanks for contacting us.
We don’t have the resources to invest in this area, so we are closing the issue. Should your request generate enough  👍 responses, we’ll reconsider.


Application exits when runs on hololens but works perfectly in Unity Editor

Hi,
When application is deployed to Microsoft Hololens, app opens asking to enter IP address. When server IP address is entered and submitted, it exits the application within few seconds. But in unity editor point cloud is rendered perfectly.
Unity Version - 5.6.0
Visual Studio Version - Visual Studio Community 2015.
LiveScan3d SDK - Livescan3d-1.0.0-vc12
Build Type - XAML UWP
Could you please have a look into this issue.
Thanks

Hi! Can you access the HoloLens device protal from the server machine? Also, have you checked the firewall settings?
Thanks,
Marek

Now it works. Thanks a lot !!!

Hi,
Can this sdk work with Kinect v1 ???
If no, can u please tell how any possibility with the source code to make it work with Kinect v1.
Thanks
Krishna

现在它起作用了。多谢！！！

I also encountered this problem, how did you solve it? thank you


Intergration of QSPI support into SPI bus

Is your enhancement proposal related to a problem? Please describe.
currently devices that support QSPI seem to require separate "bus" drivers from SPI devices
e.g
the ft813 supports single, dual and quad SPI configurations but requires setting of a register to switch between to dual or quad spi
and therefore requires a write in single mode to switch to dual/quad mode
currently this appears it would require both the standard SPI bus implementation and an one or more of the apparent variants of existing QSPI drivers as there appears to be no qspi bus.
Describe the solution you'd like
The SPI bus can support Quad SPI, and Dual, bus configurations and can switch modes at request of the device driver.

device drivers can request switching to Dual or Quad spi modes and get either a successful or a mode not supported response

existing controller drivers that don't implement mode switching get any automatic not supported, from a default api function

an api function to return a bus controllers supported mode list/bitmap with a default api response if single where not implemented

target modes that require additional pins return "not configured" if appropriate pins are not configured

spi controller drivers implement the specifics of (de)composing data to/from the separate lines

Describe alternatives you've considered
an alternate QSPI bus that be substituted for a standard SPI bus in device drivers, like can be done with I2C
e.g
COND_CODE_1(DT_INST_ON_BUS(inst, spi),
(DEVICE_CONFIG_SPI(inst)),
(DEVICE_CONFIG_I2C(inst)));

Additional context
related #51344

after reading more extensively there appears to be some support for QSPI on the spi bus in some drivers e.g drivers/spi/spi_xec_qmspi.c
but not others,
e.g the nordic qspi controller(drivers/flash/nrf_qspi_nor.c) seems seems to implement a flash controller only
i cant find a driver that implements nordic,nrf-qspi anywhere even though compatible: "nordic,nrf-qspi" is used in several places
e.g. dts/arm/nordic/nrf52840.dtsi
however none ive found so far seem to provide the option to either switch mode e.g single -> quad
or read/write in a specified mode

@firebladed please look at #39991 and way more recently #70723
So far the issue of enabling dual/quad/octal into generic SPI API has always been the lack of hardware other than flash memory devices. And thus manufacturers come with specifically tailored controller (like nordic) only meant to work against flash memory.
I have seen only one specification of a generic SPI controller exposing dual/quad/octal modes, but never got my hand on the actual hardware.


Meet/trivial

Reviewers Checklist

[ ] Appropriate logging is done.
[ ] Appropriate error responses.
[ ] Handle every possible exception.
[ ] Make sure there is a docstring in the command functions. Hint: Lookout for
botcmd and re_botcmd decorators.
[ ] See that 100% coverage is there.
[ ] See to it that mocking is not done where it is not necessary.

ack 3a5dc64 7e7c267 bd29979

@rultor merge

@rultor merge

@meetmangukiya OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@meetmangukiya Done! FYI, the full log is here (took me 2min)


Bug: Amendments table tasklist item has an expand behaviour when there are no items

Describe the Bug:
The tasklist link to 'Amendments and other revisions' now displays a caret if there are no sub-items, that shouldn't be the case

Thank you @Sepehr-Sobhani !


Center of gravity not working for singleton function

The center_of_gravity method for sets created with the singleton function does not return the correct centre of gravity.
Steps to reproduce:
>>> from fuzzylogic.classes import D
>>> from fuzzylogic.functions import singleton
>>> D = Domain("D", 0, 1)
>>> D.s = singleton(0.5)
>>> D.s.center_of_gravity  # expected 0.5
0

This cannot work reliably since the centre of gravity is calculated by sampling over the domain and chances are high that the support of the singleton function is never hit.
Since the centre of gravity is trivially known for singleton sets, perhaps a feasible approach would be to implement singleton as a subclass of Set with the center_of_gravity method returning the stored value from the constructor?

Hmmmm... hold on a second.
You created a domain with step-size 1, which constructs an array with values of memberships at those steps, so it's no surprise that 0.5 is never hit.. so, works as intended, so far.
What you are actually proposing is the ability to manipulate the layout of the array more directly and add specific sample-points, I guess. Ideally, singleton should add its value to the domain on assignment somehow, yes? That should be feasible.

Maybe that example was not the best because of the step-size was inappropriate anyway.
Here is another example:
>>> from fuzzylogic.classes import Domain
>>> from fuzzylogic.functions import singleton
>>> D = Domain("D", 0, 1000)
>>> D.s1 = singleton(500)
>>> D.s1.center_of_gravity  # expected 500
500.0
>>> D.s2 = singleton(500.1)
>>> D.s2.center_of_gravity  # expected 500.1
0

What you are actually proposing is the ability to manipulate the layout of the array more directly and add specific sample-points, I guess. Ideally, singleton should add its value to the domain on assignment somehow, yes? That should be feasible.

This could solve the problem. However we need to consider how exactly singleton sets should interact with non-singleton sets. If we union a singleton set with a non-null set, should the singleton influence the centre of gravity at all or not? I think strictly speaking it should not so in that case the extra sample point should be removed again.
Another possibility would be to adjust the width of the singleton function to the step-size, such that it always includes exactly one sample point.

Hi,
thank you for this nice package.
I am very new and I am not coming from an informatics background. Thus, I may be wrong, but isnt the center_of_gravity in the following line a function and not an attribute?
While I am exploring your package I get an error saying that you cannot multiply a function with a float.
In my local version I changed the line to say: center_of_gravity() and it works (though I expected a different result)
https://github.com/Python-Fuzzylogic/fuzzylogic/blob/1edc8fc37829594f9b73879114d0ffe3342691d9/src/fuzzylogic/classes.py#L447

Hi and thank you :-)
You're absolutely correct. Seems I missed to test that properly when I updated the functionality and added rudimentary caching.
However, since you're new I'll point out (so you don't learn the wrong lesson from my mistake) that methods (functions attached to a class) and attributes are not as distinct in python as you may think. In python, you can replace an attribute behind the scene by a function call. This feature of the language is called a "property". It works nicely for simple lookups and as I recall, the center_of_gravity used to be such a property before I realized that the underlying call can be quite computationally heavy. It is recommended to avoid hiding such heavy calls behind properties in general because users of the lib would rightfully assume light-weight operations when they access attributes, so they might make heavy use of such calls, leading to unexpected performance problems.


No warning/error when importing a type only import without type annotation

When importing types without type annotation, it will throw an error.
There should be a warning when you are importing a type only import - i.E. importing Ref without type will not be highlighted in editor, but will throw an uncaught syntax error because the import will be invalid.
// example.vine.ts
// should error or throw
import { ref, Ref } from "vue";

Sidenote:
This would not throw an error when done inside a *.vue file.

Good point you prompted to avoid this potential mistake.
That seems a lint issue to me.
I'll consider integrate this feature with @antfu/eslint-config's type aware rules to check.

I mean technically yes, but you get an error from vite when not using 'type' - where as in normal vue components, this does not happen (only linter complains)

I mean technically yes, but you get an error from vite when not using 'type' - where as in normal vue components, this does not happen (only linter complains)

Heard your reply! This problem is resolved in v0.1.35, please bump your dependency to try ~
Thanks for your kindly cooperation 💖


Add documentation for etcd-only support

Add documentation to reflect etcd-only support functionality #2635
Include various configurations

node with etcd-only role
node with all roles
node with no etcd
disable roles

Note:
On a node with all roles, etcd can be disable by passing disable-etcd: true in config.yaml.
To enable etcd on the same node back again, remove the disable-etcd entry from the config.yaml and restart k3s as opposed to setting disable-etcd: false (which aligns with removing the --disable-etcd flag in the CLI)

also need this documents for use etcd with k3s

@ShylajaDevadiga please review PR at your next availability.


[minor stuff] api.json update for tag

Tag 1.5.1 created, but api.json still contains version 1.5.0.
Expected is: api.json to contain the exact tag version.
Possible solution is to re-generate api.json before creating new tag (via some pipeline script).

Thank you for this note, we are gradually automating CI/CD for v1, will definitely do that in the next steps


Not work

Hi not work
npm run dev
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "dev"
npm ERR! node v6.11.2
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>dev: NODE_ENV=development nodemon -w index.js -w routes.js -w constants.js -w graphql index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>dev script 'NODE_ENV=development nodemon -w index.js -w routes.js -w constants.js -w graphql index.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the cms-draft package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     NODE_ENV=development nodemon -w index.js -w routes.js -w constants.js -w graphql index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs cms-draft
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls cms-draft
npm ERR! There is likely additional logging output above.

Looks like a Windows issue with the inline environment variable.
I updated the master and added cross-env for Windows support, please try again.

Error: secret option required for sessions
at session (C:\Users\Александр Коява\Desktop\bb\node_modules\express-session\index.js:199:12)
at Layer.handle [as handle_request] (C:\Users\Александр Коява\Desktop\bb\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\Александр Коява\Desktop\bb\node_modules\express\lib\router\index.js:317:13)
at C:\Users\Александр Коява\Desktop\bb\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\Users\Александр Коява\Desktop\bb\node_modules\express\lib\router\index.js:335:12)
at next (C:\Users\Александр Коява\Desktop\bb\node_modules\express\lib\router\index.js:275:10)
at expressInit (C:\Users\Александр Коява\Desktop\bb\node_modules\express\lib\middleware\init.js:40:5)
at Layer.handle [as handle_request] (C:\Users\Александр Коява\Desktop\bb\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\Александр Коява\Desktop\bb\node_modules\express\lib\router\index.js:317:13)
at C:\Users\Александр Коява\Desktop\bb\node_modules\express\lib\router\index.js:284:7

You'll need to set environment variables for the app to work, see readme:
https://github.com/orbiting/cms-draft#development
SESSION_SECRET is just a random string, see expressjs/session.
You will also need to setup a GitHub app and set GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET: see developer.github.com


Fix sdist file inclusion to just pack the Git-tracked files

The current setup mixes up incompatible technologies — setuptools-scm and check-manifest. The former uses a setuptools hook to auto-include all the Git-tracked files but following the recommendations from the latter adds extra non-tracked rubbish from various build processes on top.
Some big blobs inflate the sdist too much. Strictly speaking, they shouldn't even be in Git but it is what it is. I've originally fixed this about 2.5 years ago by adding a single exclusion via https://github.com/ansible/molecule/pull/1924.
Later on, that setup has been broken by https://github.com/ansible-community/molecule/pull/2943 at which point it allowed random build artifacts to slip through the misconfiguration.
This change does not attempt to exclude small text files because they do not affect the size of the sdist too much (less than 1KB). Adding extra entries introduces undesired maintenance burden and is therefore not a commonly accepted practice when it comes to setuptools-scm managed projects. The considerations are explained in https://github.com/ansible-community/molecule/pull/3314#issuecomment-981618612 and https://github.com/pypa/setuptools_scm/issues/190#issuecomment-492339946.
See the commit messages for more specific details.
Supersedes #3314.
PR Type

Bugfix Pull Request

This is not a regression but an intended outcome as proven by the linked discussions and linked explanations. Did you read my comments?

+1


Feature Request: Persistent Filters in DBeaver's DATA Tabs

Dear DBeaver Development Team,
I hope this message finds you well. I am writing to submit a feature request regarding the DATA tabs in DBeaver, specifically regarding the persistence of applied filters.
Currently, when I close the DBeaver software or even just a table within it, the applied filters disappear, requiring me to reapply them upon reopening. This can be time-consuming and inconvenient, especially when working with complex datasets that require intricate filtering.
Therefore, I kindly request that you consider implementing a feature that retains the applied filters within the DATA tabs even after closing and reopening the software or individual tables. By doing so, users like myself would greatly benefit from the improved workflow efficiency and uninterrupted data analysis.
Having persistent filters would allow us to seamlessly resume working on our projects without having to manually recreate the filters every time we reopen DBeaver or specific tables. It would save valuable time and enhance productivity, particularly for users dealing with large datasets and frequent data exploration.
I understand that implementing this feature might require additional development and coding efforts. However, I believe it would significantly enhance the user experience and make DBeaver even more user-friendly and efficient.
Thank you for considering my request. I greatly appreciate your dedication to continuously improving DBeaver and providing a powerful tool for database management and exploration. I look forward to the possibility of seeing this feature implemented in a future update.
If you require any further information or clarification regarding this request, please do not hesitate to contact me. Your feedback and updates on this matter would be highly appreciated.
Once again, thank you for your attention to this feature request, and I wish you continued success with the development of DBeaver.
THX

Hi, @120dev!
DBeaver has already got such feature. You just need to push Save filter settings button.

Does it work for you?

I confirm that this dropdown with filter conditions history is empty after restart

Thank you for feature request. I'll change the issue title to make more specific.

I also add to the request that persist by table name, for example, many of my projects has the same DB structure and many of my filters has the same conditions between connections.


Make LocalNameHash smaller

It's a bit ironic that LocalNameHash tries so hard to compress 12-byte names into 64 bits, but Option<u64> makes it 16 bytes large.
I've changed Option to -1 to keep it 64-bit.

Since the hash is reversible, I've also added a useful Debug impl for it.


feat(fe): StreamFragmenterV2

now in our frontend, we have a stream StreamFragmenter which inputs a plan prost tree and then generates and outputs fragments prost. there is a visitor pattern when the planNode converts to prost tree. so it can not accept a DAG plan constructed with planNode.
we need a new StreamFragmenterV2 on frontend convert the plan node DAG/Tree to prost fragments directly. and there are some rewriting in the StreamFragmenter, which depend on rewrite on the prost tree. we can maintain it now and implement the v2.
@ice1000's plan:

[x] Removed struct StreamFragmenter (#5064)
[x] Assign table_id in to_prost_body methods (#5086)
[ ] Generate graphs in to_prost_body methods

Are we going to have two different prost trees?

Why are there 2 prost trees? We just need to remove an intermediate phase 🤔 (It exists because previously stream fragmenter is not in frontend)
old: plan node dag -> prost node tree -> prost fragments dag
new: plan node dag -> prost fragments dag

BTW, is currently plan node tree or DAG? 😇 @st1page https://github.com/singularity-data/risingwave/issues/2312

It is still a tree. DAG can be represented with the current plan node definition, but I don't know whether there could be problems with that.

The prost tree is still used in the test TestCase::apply_query, what to do with it?

BTW, is currently plan node tree or DAG? 😇 @st1page #2312

It is a tree now. And generating a DAG plan is meaningless and expensive until we solve this issue.

The prost tree is still used in the test TestCase::apply_query, what to do with it?

I think we can remove it. Instead, maybe we can use the prost fragments for test directly?

closed by https://github.com/risingwavelabs/risingwave/pull/6956


Refine list icons

Some of the existing list icons feel a bit off…
Some alternatives explored:

the plus sign is also way too small.

What about the approach in the 2nd row?

the plus sign is also way too small.

What about the approach in the 2nd row?

That would be an option, but we would need a matching design for list-minus

but we would need a matching design for list-minus

Comment updated…

Still not entirely sure about this, the two sets feel quite different in meaning.
To me the current icons seem to be communicating the addition or deletion of a single item to a list, yours read much more like "create a new list", "remove list" etc.

I'm not sure about this one either. The X, minus, and plus are less obvious now they are in the list icon. I think this breaks a bit the functionality of the icon.
I think we should keep it as it is.

the two sets feel quite different in meaning.
To me the current icons seem to be communicating the addition or deletion of a single item to a list, yours read much more like "create a new list", "remove list" etc.

Well list-x in particular (within the context I am trying to use it) is meant to be “clear all”… Maybe more appropriate as (clear) text-x?

I vote not to move forward with these changes, I think the 100% view is much less clear with the new versions.

I agree with @danielbayley, these changes break the function of these icons. by decreasing the size of the plus in list-plus the plus looks a bit like a dot on 100% scale. Please when designing icons try to look more on 100% scale. I've the feeling with a lot of PRs I need to mention this too many times.
Icons are mainly used and rendered on 100% scale in applications, so it is important that the icon is recognizable and tells the message of the use case of the icons. So sometimes icons maybe looks a bit weird designed on a zoomed-in scale, but when zoomed out the icon is telling the message perfectly.
I close this one for now.


Kxi 20829 arrowkdb batching

https://kxl.atlassian.net/browse/KXI-20829
Write the table records in batches to arrow files and streams

There is only byte type yet supporing batching, working through the remaining basic types,
I had to scrap unit-test and transform it to example, because of high memory and disk space requirements,
may be too large for TravisCI workers.


Prevent to add  with ctrl+b?

How to prevent to add <b> with ctrl+b ?

I opened twice the same issue so I close this one. The first one opened is:
https://github.com/neilj/Squire/issues/357


Add inspect command for context

Inspect will print out all information held inside the provided context file.
fn inspect context <context>

@msgodf yep makes sense, let me change!

One last point (honestly) - would it be worth telling the user what the current context is set to?


IPSec breaks hostns to externalTrafficPolicy=Local service with remote backend pod

https://github.com/cilium/cilium/pull/14611 breaks connections from the hostns of one node to a remote pod via a NodePort service with externalTrafficPolicy=Local: node1 -- VIP --> pod@node2.

node1 sends SYN to node2 via network (because VIP is node's IP).
SYN is received on node2 and DNATed by kube-proxy to pod's IP. It is not SNATed because externalTrafficPolicy=Local.
pod receives SYN from node1's IP.
pod answers with SYN+ACK to node1's IP.
SYN+ACK is sent through tunnel because of the present patch. It is thus not reverse DNATed and has srcIP=pod's IP.
node1 receives SYN+ACK from pod's IP, answers with RST.

A service without externalTrafficPolicy=Local isn't affected because the SYN will be SNATed on node2, so the SYN+ACK will be sent to node2's IP and will go through the proper kube-proxy logic to be reverse DNATed and reverse DNATed.
The failure is demonstrated by a new test at https://github.com/cilium/cilium/pull/14628.

We discussed this in an ad-hoc meeting and considered three options:

Route traffic from lxc* to cilium_vxlan through the stack so that the reverse DNAT isn't skipped.

This is expected to also fix https://github.com/cilium/cilium/issues/12542.
Potential performance impact as we won't use redirect() anymore.

Use socket-level DNAT on the sender with host-reachable-services.

Implies a requirement of Linux 4.19.59, but IPsec+vxlan already requires 4.19.0 today anyway.

Require use of the kube-proxy replacement.

This is the preferred fix on the long term but we are not there yet.
It's a bigger datapath change and maybe a riskier to recommend to users.

We will attempt fix (1) first and fallback to (2) if it doesn't work. Fix (3) is the long term solution to this sort of issues and we're currently targeting IPSec+kube-proxy replacement support for v1.10.

We discussed this in an ad-hoc meeting and considered three options:

Route traffic from lxc* to cilium_vxlan through the stack so that the reverse DNAT isn't skipped.

This is expected to also fix https://github.com/cilium/cilium/issues/12542.
Potential performance impact as we won't use redirect() anymore.

Use socket-level DNAT on the sender with host-reachable-services.

Implies a requirement of Linux 4.19.59, but IPsec+vxlan already requires 4.19.0 today anyway.

Require use of the kube-proxy replacement.

This is the preferred fix on the long term but we are not there yet.
It's a bigger datapath change and maybe a riskier to recommend to users.

We will attempt fix (1) first and fallback to (2) if it doesn't work. Fix (3) is the long term solution to this sort of issues and we're currently targeting IPSec+kube-proxy replacement support for v1.10.


Watching sub-directories by design?

I noticed that by default, calling Add() on a directory will also watch any sub-directories, but not files within those sub-directories. That means if I have a directory structure like this:
├── root_dir
│   ├── sub_dir

and then do this:
w := watcher.New()
...
w.Add('/root_dir')

And then run touch root_dir/sub_dir, a WRITE event is fired.
Just wondering.... is this by design? Or should nested dirs be ignored unless added explicitly or recursively?

Unless of course you are referring to ignoring specific events for a subdirectory/file based on paths or types, which in that case would be a different story for me to think about =]


Doesn't handle strings yet

Haven't got to those levels - when I've played a bit more, fix this

OK this wasn't really "strings" per se, it was indirect addressing


spelling mistake in Channel.NotifyPublish

Hi,
The NotifyPublish documentation in channel.go says:
"There will be one and only one Confimration Publishing starting with the
delviery tag of 1 and progressing sequentially until the total number of
Publishings have been seen by the server."
it should be "Confirmation" and "delivery".

Thank you!


Login to dockerhub before building eve

When building eve and pulling container dependencies, we may hit the Docker Hub imposed limit of 100 pulls per day (for anonymous pulls). Step to solving this problem is to login into Docker Hub before pulling. That way we will get 200 pulls per day instead of 100 (which are potentially shared with other users of BuildJet runners). We can also consider upgrading our Docker Hub account to the Pro version with 5000 pulls a day.

OK, apparently I don't know how to do this :(

@yash-zededa Could you please check what I'm doing wrong here? I'm getting error:
Run docker/login-action@v3
  with:
    ecr: auto
    logout: true
Error: Username and password required

Yash will do it the proper way...

Yash will do it the proper way...

Is there one?.. I though this one was fine.

Yash will do it the proper way...

@yash-zededa, is there one?.. I though this one was fine.

@OhmSpectator This is fine, but I need to make a few more changes, so I will create a PR for this.
Additionally, the publish.yml is also encountering the Docker rate limiting issue.


C++ API Documentation and Tutorial

Thanks the MXNet team for releasing the framework. However, I think its current documentation for C++ API is not complete (e.g., How to install MXNet C++ API, Use MXNet in C++, etc.). Has the team any plan to add documentation or offers any tutorial (e.g., like the fantastic tutorials for Gluon) in the near future?

Hi,
Does this request is in process? I still can't find intuitive example or doc about c++
Thanks

Hello @ahkarami please refer to README Files in [cpp-package] (https://github.com/apache/incubator-mxnet/blob/master/cpp-package/README.md) and [cpp-package/example] (https://github.com/apache/incubator-mxnet/blob/master/cpp-package/example/README.md) folders.
Also, the C++ documentation on mxnet website  is up-to-date.  The documentation for classes in mxnet::cpp namespace can be found here
I hope this helps.

@mxnet-label-bot add [Pending Requester Info]

Dear @leleamol,
Thank you very much for your nice attempts. I think the MXNet C++ API has improved, but adding more comprehensive examples and tutorials would be helpful.

Thanks @leleamol,
I agree with you there. I think it is better to close this issue in this state.

@mxnet-label-bot Can we close this issue as per the last comment?


Customization in dependency to align the widget according to application theme

Hi there!
I hope you are doing fine. I am Ayesha Iftikhar a flutter developer and I have recently used your contactus  package. Although it is a great package and saves a lot of time I noticed something that mostly functions/things like the font of company name, tagline, and their weights are fixed along with the color of the divider is also fixed but the thing is almost every product have its own theming conventions including everything starting from text font to colors.
So I have devised a little solution for that. I would be delighted if you accept/merge my pull request and allow others have the benefit from that work too.
Thanks and Regards,
Ayesha Iftikhar

@AyeshaIftikhar Thanks for the PR, it will be great if you provide a working demo along with that so that it becomes easy for me too to checkout the PR. Thank You!

I will provide you the demo as soon as possible.
Thanks and Regards,
Ayesha Iftikhar
+923137128036
On Tue, Mar 23, 2021 at 9:12 PM Abhishek Doshi @.***>
wrote:

@AyeshaIftikhar https://github.com/AyeshaIftikhar Thanks for the PR, it
will be great if you provide a working demo along with that so that it
becomes easy for me too to checkout the PR. Thank You!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AbhishekDoshi26/contactus/pull/5#issuecomment-805032874,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APDNEYT52MV55JUQLKKRYXTTFC4VTANCNFSM4ZVODWGQ
.

I will provide you the demo as soon as possible. Thanks and Regards, Ayesha Iftikhar +923137128036
…
On Tue, Mar 23, 2021 at 9:12 PM Abhishek Doshi @.***> wrote: @AyeshaIftikhar https://github.com/AyeshaIftikhar Thanks for the PR, it will be great if you provide a working demo along with that so that it becomes easy for me too to checkout the PR. Thank You! — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APDNEYT52MV55JUQLKKRYXTTFC4VTANCNFSM4ZVODWGQ .

I just updated the comment. Please go through it once again.
Thank you!

Sure... I will look through these too,

I have added the text button instead of flat button and the code is properly formatted. You can check now. I have also shared the output screen recording with you.

Thank you 😊


Go interfaces in 08-wasm contract API prevent clean codec usage

Summary
Interfaces in Go are behavioural and do not infer concrete types when marshalling to and from JSON.
Using interface fields such as exported.Height and exported.Path fail to unmarshal cleanly when using encoding/json.
Problem Definition
The following code fails with: json: cannot unmarshal object into Go struct field verifyMembershipMsg.verify_membership.height of type exported.Height
msg := types.VerifyMembershipMsg{
	Height:           clienttypes.NewHeight(0, 1),
	DelayTimePeriod:  0,
	DelayBlockPeriod: 0,
	Proof:            []byte("proof"),
	Path:             commitmenttypes.NewMerklePath("ibc"),
	Value:            []byte("value"),
}

bz, err := json.Marshal(msg)
suite.Require().NoError(err)

var newMsg types.VerifyMembershipMsg
err = json.Unmarshal(bz, &newMsg)
suite.Require().NoError(err)

The same behaviour can be seen in this plain Go snippet: https://go.dev/play/p/4pTpCzAnS5e
It's possible to infer the type by assigning an empty pointer of the desired type. But this approach is less than desirable.
I don't think this affects rust implementations of contracts as they are parsing raw values into their own types, however when trying to leverage Go stdlib encoding/json the issue arises with the MockWasmEngine and surfaces itself here: https://github.com/cosmos/ibc-go/blob/feat/wasm-clients/modules/light-clients/08-wasm/types/mock_engine_test.go#L186
Proposal
I don't have a concrete proposal at the moment. But possible options could be:

Just break the contract APIs and ensure they are using concrete types instead of interfaces.
Find a different approach to routing callbacks in the MockWasmEngine.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

This is currently blocking #4826 as well as many other testing issues

Closed by #4909


Fix threshold requirement for lazy loading

Lazy loading previously used a rootMargin of 200px and a threshold of 1.0, which requires the entire image to be contained within an area that expands 200px past the screen. This PR makes it reflect what I think was the intended behavior: if any portion of the image enters an area 200px past the screen, load it.
This fixes large (or even medium - anything +200px) images not being loaded until a certain amount more than zero of the [blank] image has been displayed on screen, rather than loading in advance of entering the screen.

Note - the previous rootMargin/threshold date back to when lazy loading was first added: https://github.com/hsmusic/hsmusic-wiki/commit/25798012d6a0ab3ba0c439f372bbedc5943ac47e#diff-6eefdff08fdd9b9b7bb9fac5cfc67bcae87572ff896292d6927bfbd14ea0c8e7


Output mixes tabs and spaces.

It's something small really. I'm raising as an issue for myself to come back PR as soon as I have a moment.
👾

Can you describe the idea ?

Currently the output of the generator mixes tabs and spaces. I'm going to modify it to standardise 2-space tabbing.

Normally, the entire project is standardized with :
indent_style = space
indent_size = 4


social media icons added

I would like to inform you that social media icons have been successfully integrated into all websites, complete with hover functionality for enhanced user interaction.

This is my second contribution as earlier too Updates Needed for About Us and Cart Pages #183 #226
Please mark this as level 2 for my contribution .

This is my second contribution as earlier too Updates Needed for About Us and Cart Pages #183 #226
Please mark this as level 2 for my contribution .

@Anjaliavv51 please check my PR  request


LSP unit testing of completions

Thanks for digging into this, the LSP definitely needs all the help it can get! :clap:


Added no.of forks,issues,pr's and license,repo size

@avinashkranjan I have added no.of forks,issues,pr's,stars and license,repo size in the bottom of readme file. Please check this pr for the issue #157 .
Before:

After:

@avinashkranjan  please merge the PR

This works good @srisatya1197

Thanks @oshi36 ma'am.


About the exported FBX file

Hello Arthur, thanks for your excellent work. But I have one question when trying to use the exported .fbx file. I export the .fbx file using your code convert2fbx.py. Then I import the .fbx file into Blender. What I want to do is to see the imported mesh and bones in the view of the camera system in Blender. I set the camera type as Perspective, and FOV as 60 degress. however, I do not know how to set the translation of the camera. I tried cam_trans and cam from .npz file exported from simple_romp, but both seemed not the correct answer. I also tried just set the camera at the world coordinate (0, 0, 0), but still not work. When I view the .fbx file from this camera view (I set the original image as the background of the camera view), the result is not the same as what simple_romp rendered.
The following figures show simple_romp rendered image and image I view from Blender camera.
Could you please tell me what is the correct camera parameters when I want to get the same image when viewed from Blender's camera as what is rendered by simple_romp?
Thank you.

Good question. There is some in-convenient design in current code leads to such problem.
Note that the cam_trans is related to a root that is the mean of left and right hip joints, instead of the root joint (0-th pelvis joint of smpl) used in blender view.
To get the cam_trans that is related to the root joint (0-th pelvis joint of smpl), you just need to cam_trans + joints[0] (assuming cam_trans is of shape 3, and  joints is of shape Nx3, N is joint number).

Thanks for your reply Arthur!
So I followed your advice and reply code in covert2fbx.py
https://github.com/Arthur151/ROMP/blob/a349c6bf4d6229b8fba2e900d38ef210888937d0/simple_romp/tools/convert2fbx.py#L229-L230
by
        poses[inds] = frame_results[frame_name]['smpl_thetas'][0]
        trans[inds] = frame_results[frame_name]['cam_trans'][0]
        joints[inds] = frame_results[frame_name]['joints'][0]
        trans[inds] += joints[inds][0]

and remain the rest of the code the same.
In Blender, I still set the Perspective Camera of FOV 60 degrees at the world center.
However, the result seems still not correct.
Could you please help me find out what is wrong this time?
Thank you !


Change working directory on exit?

I want my cwd in nvim to change when I press q in Yazi.nvim, I only quickly looked here but is this possible?

Hi, this is not currently supported. As a workaround you can maybe use the keymaps.change_working_directory key before you quit yazi.
I could see if I can implement this in the future, so let's keep this open until then.

I remembered that this was also discussed in https://github.com/mikavilpas/yazi.nvim/issues/83
It seems to have a custom implementation that you could try using in your own config, if you want to have something working for yourself until I implement this.


Update data-lake-analytics-data-lake-tools-get-started.md

Hi @pablissima, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (paulettm). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Moving from quickfix list resets position if buffer is hidden

When moving to an error from the quickfix list or with, say :cnext, with the buffer hidden, the current position in the list is reset to 1.
This prevents taking advantage of :cnext because each time a buffer is brought up, the position is reset.

I don't understand. Can you record the behavior with this tool? https://asciinema.org/

https://asciinema.org/a/aBAMuiTFuaEhfaAK3Bz2vfvrw

Thank you for the asciicinema recording. That will be very helpful.

I thought about this for a few hours, and I don't think anything can be done about it. Updating the list with setqflist resets the position, and that can happen at any time. Instead, I'll open an issue for adding a separate set of commands for jumping through errors across all buffers, as a replacement for :cnext and :cprev.

Here is that issue: #1241


Enhancement: Page Refresh after Shared Component Properties updated

Required Information

[AEM 6.3 SP1 CFP2]
[ACS AEM Commons Version 3.14.8]

Expected Behavior
Using the ACS Commons Shared Component Properties feature for storing Header / Footer configuration. The shared properties are stored at /content/my-site/gb/en level and are being read properly in all pages that use said component.
The component's shared properties can be edited on any page in the hierarchy and after editing the shared (or global) properties dialog, the current page should refresh so that authors could see the outcome of this configuration without manually refreshing the page.
Actual Behavior
After editing the shared (or global) properties dialog, the current page does not refresh so authors cannot see the outcome of this configuration without manually refreshing the page. A typical listener afteredit="REFRESH_PAGE" doesn’t seem to work since the properties are modified at a higher level than the page where editing is done.
Steps to Reproduce
Starting from a vanilla instance of AEM at the above version, install the demo packages available here: https://adobe-consulting-services.github.io/acs-aem-commons/features/shared-component-properties/index.html
Use the shared component properties on a page in /content/my-site/gb/en/abc/cde page for instance and after changing the shared properties, although they are stored as expected in /content/my-site/gb, the cde.html page does not refresh.

@HitmanInWis I understand you might be able to help on this or potentially suggest if there is some way around that I’ve not identified yet?

Hi @ichirital thanks for reaching out!
We wrote the initial feature, and I'll be happy to add this enhancement to pour internal backlog, though I'm unsure how quickly we'll be able to get to it.  If you have access to engineers (or are one yourself) please feel free to submit a pull request addressing the issue.
One potential workaround to try is to ensure the node exists in the JCR for the component you are modifying from.  If the component is templated onto a page but without a node, this behavior can happen.  I believe if the node exists on the page (either by templating it in or by going to the standard config dialog and saving even if there are no configs to set) then the afteredit="REFRESH_PAGE" setting will work.

Hi @HitmanInWis, I would appreciate if you could add it to the backlog. Thank you!

Added!  However, if anyone else sees this and wishes to make a contribution before we get to it, please feel free!


Expo 51 and Rn 74.1 fails at runtime

installed  "@react-native-menu/menu": "0.9.1" worked great for months
updated expo 49 to 51
did pod install on rnmm 0.9.1
at runtime, get message Invariant Violation: requireNativeComponent: "RCTUIMenu" was not found in the UIManager.
also what was the breaking changes from 0.9.1 to 1.n.n?  missing migration guide

What about using v1.0.2?

Same error here
Invariant Violation: requireNativeComponent: "MenuView" was not found in the UIManager.

Any update on this? I am on expo 51 and got the same "MenuView" was not found in the UIManager error

Make sure you create a development build of your Expo app after installing @react-native-menu/menu
If you get this error after upgrading to a later Expo SDK, you can try deleting your android and ios directories. If you add the following to your .gitignore file, then the Expo build servers will be able to generate them on the fly during the build process:
/android/
/ios/

Any updates on this? I did what @wodin suggested but got the same result. Expo 51 & RN 0.74.5. Thanks!