Underscore in author name fix.

Fix for issue with underscore being inserted into username.
Fixes #{#1901} {Issue with underscore being inserted into username}
What changes did you make and why?
After login store string with username without replacing spaces with underscore and passing this string to CurrentAccount as Bundle() in 3rd parameter userdata.
So it can be used when we need authors name afterwards.

Codecov Report

Merging #1982 into master will increase coverage by <.01%.
The diff coverage is 10%.

@@            Coverage Diff            @@
##           master   #1982      +/-   ##
=========================================
+ Coverage    4.12%   4.13%   +<.01%
=========================================
  Files         224     224
  Lines       11241   11246       +5
  Branches     1023    1024       +1
=========================================
+ Hits          464     465       +1
- Misses      10742   10746       +4
  Partials       35      35

Impacted Files
Coverage Δ

...a/fr/free/nrw/commons/upload/UploadController.java
0% <0%> (ø)
:arrow_up:

...n/java/fr/free/nrw/commons/auth/LoginActivity.java
0% <0%> (ø)
:arrow_up:

.../java/fr/free/nrw/commons/auth/SessionManager.java
16.41% <20%> (+0.54%)
:arrow_up:

Continue to review full report at Codecov.

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

Hi @hoplite390 , sorry for late testing but, underscore is still there in my test. Do you have any suggestion?:

Sorry, I misunderstood the issue first. But then I tested uploads, still my username has underscore on uploads.

@neslihanturan maybe you can help me to test it, or at least please write me how you managed to upload picture, because lately (after pulling changes from master to update my fork) im facing "Failed" when i try to do new upload ether on my real phone or emulator (Nexus 27).

Fails are a known issue:/ You can log out ad re-log in. This generally solves upload fails. Surely I can help with testing. Do you need logs, etc?

@hoplite390 If you share logcat, we might be able to help you with your uploads issue. :)

(Yeah sorry about that i should have done that in 1st place)
From emulator Nexus 5x api 27
2018-12-01 16:31:14.795 1412-1660/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
2018-12-01 16:31:15.128 1412-1424/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
2018-12-01 16:31:24.541 1595-1608/? E/memtrack: Couldn't load memtrack module
2018-12-01 16:31:25.464 26406-26406/fr.free.nrw.commons.beta E/BitmapFactory: Unable to decode stream: java.io.FileNotFoundException:  (No such file or directory)
2018-12-01 16:31:34.647 1595-1608/? E/memtrack: Couldn't load memtrack module
2018-12-01 16:31:37.363 26406-26406/fr.free.nrw.commons.beta E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
2018-12-01 16:31:37.364 26406-26406/fr.free.nrw.commons.beta E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
2018-12-01 16:31:43.682 26406-26406/fr.free.nrw.commons.beta E/BitmapFactory: Unable to decode stream: java.io.FileNotFoundException:  (No such file or directory)
2018-12-01 16:31:44.400 1412-1660/? E/SurfaceFlinger: Failed to find layer (InputMethod#0) in layer parent (no-parent).
2018-12-01 16:31:49.417 26406-26406/fr.free.nrw.commons.beta E/BitmapFactory: Unable to decode stream: java.io.FileNotFoundException:  (No such file or directory)
2018-12-01 16:31:52.419 26406-26434/fr.free.nrw.commons.beta E/ApacheHttpClientMediaWi: Error occurred while fetching auth token. Error code is  and message is
2018-12-01 16:31:52.650 26375-26730/? E/OMXNodeInstance: setConfig(0xaf720900:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
2018-12-01 16:31:52.681 26375-26379/? E/OMXNodeInstance: getConfig(0xaf720900:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
2018-12-01 16:31:53.021 26406-26434/fr.free.nrw.commons.beta E/ApacheHttpClientMediaWi: Error occurred while fetching auth token. Error code is  and message is
2018-12-01 16:31:54.265 1595-1595/? E/NotificationService: Muting recently noisy 0|fr.free.nrw.commons.beta|1|null|10086
2018-12-01 16:31:54.562 1595-1595/? E/NotificationService: Muting recently noisy 0|fr.free.nrw.commons.beta|1|null|10086
2018-12-01 16:31:55.030 26375-27326/? E/OMXNodeInstance: setConfig(0xaf19f3c0:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
2018-12-01 16:31:55.035 26375-27326/? E/OMXNodeInstance: getConfig(0xaf19f3c0:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
2018-12-01 16:31:56.230 26375-27326/? E/OMXNodeInstance: setConfig(0xaf720900:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
2018-12-01 16:31:56.233 26375-26379/? E/OMXNodeInstance: getConfig(0xaf720900:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
2018-12-01 16:31:56.737 26406-26415/fr.free.nrw.commons.beta E/SpellCheckerSession: ignoring processOrEnqueueTask due to unexpected mState=TASK_CLOSE scp.mWhat=TASK_CLOSE
2018-12-01 16:31:56.737 26406-26415/fr.free.nrw.commons.beta E/SpellCheckerSession: ignoring processOrEnqueueTask due to unexpected mState=TASK_CLOSE scp.mWhat=TASK_CLOSE
2018-12-01 16:31:57.300 26375-26730/? E/OMXNodeInstance: setConfig(0xaf720b40:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
2018-12-01 16:31:57.301 26375-26730/? E/OMXNodeInstance: getConfig(0xaf720b40:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
2018-12-01 16:31:58.097 26375-27326/? E/OMXNodeInstance: setConfig(0xaf720ba0:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
2018-12-01 16:31:58.104 26375-26730/? E/OMXNodeInstance: getConfig(0xaf720ba0:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
2018-12-01 16:31:58.221 1595-1608/? E/memtrack: Couldn't load memtrack module
2018-12-01 16:31:58.297 1595-1608/? E/memtrack: Couldn't load memtrack module
2018-12-01 16:31:59.003 1595-1595/? E/NotificationService: Muting recently noisy 0|fr.free.nrw.commons.beta|1|null|10086
2018-12-01 16:31:59.230 1595-1595/? E/NotificationService: Muting recently noisy 0|fr.free.nrw.commons.beta|1|null|10086
2018-12-01 16:32:00.072 26375-26377/? E/OMXNodeInstance: setConfig(0xaf720a20:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
2018-12-01 16:32:00.097 26375-26377/? E/OMXNodeInstance: getConfig(0xaf720a20:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
2018-12-01 16:32:01.044 26375-26377/? E/OMXNodeInstance: setConfig(0xaf720a20:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
2018-12-01 16:32:01.054 26375-26377/? E/OMXNodeInstance: getConfig(0xaf720a20:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
2018-12-01 16:32:01.851 26375-26379/? E/OMXNodeInstance: setConfig(0xaf720ea0:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
2018-12-01 16:32:01.852 26375-26379/? E/OMXNodeInstance: getConfig(0xaf720ea0:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
2018-12-01 16:32:03.673 26375-26379/? E/OMXNodeInstance: setConfig(0xaf720900:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
2018-12-01 16:32:03.685 26375-26730/? E/OMXNodeInstance: getConfig(0xaf720900:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
2018-12-01 16:32:13.720 26406-26434/fr.free.nrw.commons.beta E/ApacheHttpClientMediaWi: Result: fr.free.nrw.commons.mwapi.CustomApiResult@2c4ae63
2018-12-01 16:32:13.736 26406-26434/fr.free.nrw.commons.beta E/ApacheHttpClientMediaWi: internal_api_error_LocalFileLockError
2018-12-01 16:32:13.746 1595-4305/? E/NotificationService: No Channel found for pkg=fr.free.nrw.commons.beta, channelId=null, id=3, tag=null, opPkg=fr.free.nrw.commons.beta, callingUid=10086, userId=0, incomingUserId=0, notificationUid=10086, notification=Notification(channel=null pri=0 contentView=null vibrate=null sound=null tick defaults=0x0 flags=0x10 color=0x00000000 vis=PRIVATE)
2018-12-01 16:32:13.797 1595-1608/? E/memtrack: Couldn't load memtrack module
2018-12-01 16:32:17.758 4328-26486/? E/WakeLock: GCM_HB_ALARM release without a matched acquire!

Phone Xiaomi Redmi 5 plus api 27
2018-12-01 16:37:43.960 1566-2599/? E/ActivityTrigger: activityStartTrigger: not whiteListedcom.android.documentsui/com.android.documentsui.picker.PickActivity/27
2018-12-01 16:37:43.963 1566-2599/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.android.documentsui/com.android.documentsui.picker.PickActivity/27
2018-12-01 16:37:44.005 1566-2599/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.android.documentsui/com.android.documentsui.picker.PickActivity/27
2018-12-01 16:37:44.692 1566-1637/? E/ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
2018-12-01 16:37:46.638 1566-2599/? E/ActivityTrigger: activityResumeTrigger: not whiteListedfr.free.nrw.commons.beta/fr.free.nrw.commons.contributions.MainActivity/92
2018-12-01 16:37:46.640 574-612/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2018-12-01 16:37:46.652 574-612/? E/ANDR-PERF-UTIL: Failed to read
2018-12-01 16:37:46.652 574-612/? E/ANDR-PERF-UTIL: Failed to read
2018-12-01 16:37:46.652 574-612/? E/ANDR-PERF-OPTSHANDLER: Failed to read /sys/class/kgsl/kgsl-3d0/force_no_nap
2018-12-01 16:37:46.652 574-612/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [10, 7]
2018-12-01 16:37:46.673 1566-1587/? E/ActivityTrigger: activityStartTrigger: not whiteListedfr.free.nrw.commons.beta/fr.free.nrw.commons.upload.UploadActivity/92
2018-12-01 16:37:46.674 1566-1587/? E/ActivityTrigger: activityResumeTrigger: not whiteListedfr.free.nrw.commons.beta/fr.free.nrw.commons.upload.UploadActivity/92
2018-12-01 16:37:46.675 574-612/? E/ANDR-PERF-OPTSHANDLER: Failed to read /sys/class/kgsl/kgsl-3d0/force_no_nap
2018-12-01 16:37:46.675 574-612/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [10, 7]
2018-12-01 16:37:46.698 1566-1587/? E/ActivityTrigger: activityResumeTrigger: not whiteListedfr.free.nrw.commons.beta/fr.free.nrw.commons.upload.UploadActivity/92
2018-12-01 16:37:46.699 574-612/? E/ANDR-PERF-OPTSHANDLER: Failed to read /sys/class/kgsl/kgsl-3d0/force_no_nap
2018-12-01 16:37:46.699 574-612/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [10, 7]
2018-12-01 16:37:46.872 30299-30299/fr.free.nrw.commons.beta E/BitmapFactory: Unable to decode stream: java.io.FileNotFoundException:  (No such file or directory)
2018-12-01 16:37:47.039 1566-1637/? E/ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
2018-12-01 16:37:47.100 574-612/? E/ANDR-PERF-OPTSHANDLER: perf_lock_rel: updated /sys/class/mmc_host/mmc0/clk_scaling/enable with 1
     return value 2
2018-12-01 16:38:03.059 30299-30299/fr.free.nrw.commons.beta E/BitmapFactory: Unable to decode stream: java.io.FileNotFoundException:  (No such file or directory)
2018-12-01 16:38:11.654 30299-30299/fr.free.nrw.commons.beta E/BitmapFactory: Unable to decode stream: java.io.FileNotFoundException:  (No such file or directory)
2018-12-01 16:38:16.589 1566-14306/? E/ActivityTrigger: activityResumeTrigger: not whiteListedfr.free.nrw.commons.beta/fr.free.nrw.commons.contributions.MainActivity/92
2018-12-01 16:38:16.590 574-612/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2018-12-01 16:38:16.601 574-612/? E/ANDR-PERF-UTIL: Failed to read
2018-12-01 16:38:16.601 574-612/? E/ANDR-PERF-UTIL: Failed to read
2018-12-01 16:38:16.601 574-612/? E/ANDR-PERF-OPTSHANDLER: Failed to read /sys/class/kgsl/kgsl-3d0/force_no_nap
2018-12-01 16:38:16.602 574-612/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [10, 7]
2018-12-01 16:38:17.002 574-612/? E/ANDR-PERF-OPTSHANDLER: perf_lock_rel: updated /sys/class/mmc_host/mmc0/clk_scaling/enable with 1
     return value 2
2018-12-01 16:38:17.322 30299-30431/fr.free.nrw.commons.beta E/ApacheHttpClientMediaWi: Error occurred while fetching auth token. Error code is  and message is
2018-12-01 16:38:17.522 30299-30431/fr.free.nrw.commons.beta E/ApacheHttpClientMediaWi: Error occurred while fetching auth token. Error code is  and message is
2018-12-01 16:38:17.849 1566-2744/? E/NotificationService: Muting recently noisy 0|fr.free.nrw.commons.beta|1|null|10115
2018-12-01 16:38:22.138 1566-1769/? E/WifiConnectivityManager: Ignore scan due to heavy traffic
2018-12-01 16:38:23.567 1566-14305/? E/NotificationService: Muting recently noisy 0|fr.free.nrw.commons.beta|1|null|10115
2018-12-01 16:38:25.568 1566-14306/? E/NotificationService: Muting recently noisy 0|fr.free.nrw.commons.beta|1|null|10115
2018-12-01 16:38:53.340 1566-14305/? E/NotificationService: Muting recently noisy 0|fr.free.nrw.commons.beta|1|null|10115
2018-12-01 16:38:56.483 1566-2744/? E/NotificationService: Muting recently noisy 0|fr.free.nrw.commons.beta|1|null|10115
2018-12-01 16:39:01.468 1566-14306/? E/NotificationService: Muting recently noisy 0|fr.free.nrw.commons.beta|1|null|10115
2018-12-01 16:39:15.219 30299-30431/fr.free.nrw.commons.beta E/ApacheHttpClientMediaWi: Result: fr.free.nrw.commons.mwapi.CustomApiResult@a97c1b3
2018-12-01 16:39:15.246 30299-30431/fr.free.nrw.commons.beta E/ApacheHttpClientMediaWi: internal_api_error_LocalFileLockError
2018-12-01 16:39:15.254 1566-14306/? E/NotificationService: No Channel found for pkg=fr.free.nrw.commons.beta, channelId=null, id=3, tag=null, opPkg=fr.free.nrw.commons.beta, callingUid=10115, userId=0, incomingUserId=0, notificationUid=10115, notification=Notification(channel=null pri=0 contentView=null vibrate=null sound=null tick defaults=0x0 flags=0x10 color=0x00000000 vis=PRIVATE)
2018-12-01 16:39:36.287 845-1066/? E/Netd: Error deleting route ::/0 -> fe80::d0b0:fcff:feb4:2f31 wlan0 to table 1082: No such process
2018-12-01 16:39:36.320 1566-1792/? E/ConnectivityService: Exception in removeRoute: java.lang.IllegalStateException: command '33932 network route remove 266 wlan0 ::/0 fe80::d0b0:fcff:feb4:2f31' failed with '400 33932 removeRoute() failed (No such process)'
2018-12-01 16:39:41.197 845-1066/? E/Netd: Error adding route ::/0 -> fe80::d0b0:fcff:feb4:2f31 wlan0 to table 1082: File exists
2018-12-01 16:40:24.683 1566-1857/? E/AppScanObserverService: Result available, null observers for user: 0
2018-12-01 16:40:53.355 8512-8532/? E/CloudScheduler: update failed, not this time
2018-12-01 16:43:05.734 1566-1857/? E/AppScanObserverService: Result available, null observers for user: 0
2018-12-01 16:43:18.492 568-568/? E/WifiHAL: wifi_get_logger_supported_feature_set: Error -3 happened.
2018-12-01 16:43:18.493 1566-1769/? E/WifiVendorHal: getSupportedFeatureSet(l.975) failed {.code = ERROR_NOT_SUPPORTED, .description = }
2018-12-01 16:43:18.495 568-568/? E/WifiHAL: wifi_get_logger_supported_feature_set: Error -3 happened.
2018-12-01 16:43:18.506 1566-1623/? E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2018-12-01 16:43:18.506 1566-1623/? E/BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
2018-12-01 16:43:18.536 568-568/? E/WifiHAL: wifi_get_logger_supported_feature_set: Error -3 happened.
2018-12-01 16:43:18.537 1566-1769/? E/WifiVendorHal: getSupportedFeatureSet(l.975) failed {.code = ERROR_NOT_SUPPORTED, .description = }
2018-12-01 16:43:18.538 568-568/? E/WifiHAL: wifi_get_logger_supported_feature_set: Error -3 happened.
2018-12-01 16:43:18.547 1566-1623/? E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2018-12-01 16:43:18.547 1566-1623/? E/BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
2018-12-01 16:43:19.011 568-568/? E/WifiHAL: wifi_get_logger_supported_feature_set: Error -3 happened.
2018-12-01 16:43:19.012 1566-1769/? E/WifiVendorHal: getSupportedFeatureSet(l.975) failed {.code = ERROR_NOT_SUPPORTED, .description = }
2018-12-01 16:43:19.014 568-568/? E/WifiHAL: wifi_get_logger_supported_feature_set: Error -3 happened.
2018-12-01 16:43:19.025 1566-1623/? E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2018-12-01 16:43:19.025 1566-1623/? E/BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
2018-12-01 16:43:20.445 618-657/? E/libnav: AbaSuspend skips SVI deactivate: state was 3
2018-12-01 16:43:20.518 574-612/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
2018-12-01 16:43:20.518 564-564/? E/QTI PowerHAL: Error opening /sys/kernel/hbtp/display_pwr: No such file or directory
2018-12-01 16:43:20.916 2739-2739/? E/LibSecureUISvc: svc_sock_send_message(suisvc): invalid remote socket suitch
2018-12-01 16:43:20.916 2739-2739/? E/LibSecureUISvc: svc_sock_send_message(suisvc): invalid remote socket suilst
2018-12-01 16:43:21.273 568-568/? E/WifiHAL: wifi_get_logger_supported_feature_set: Error -3 happened.
2018-12-01 16:43:21.275 1566-1769/? E/WifiVendorHal: getSupportedFeatureSet(l.975) failed {.code = ERROR_NOT_SUPPORTED, .description = }
2018-12-01 16:43:21.276 568-568/? E/WifiHAL: wifi_get_logger_supported_feature_set: Error -3 happened.
2018-12-01 16:43:21.286 1566-1623/? E/BatteryExternalStatsWorker: no controller energy info supplied for wifi
2018-12-01 16:43:21.287 1566-1623/? E/BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
2018-12-01 16:44:06.291 845-1066/? E/Netd: Error deleting route ::/0 -> fe80::d0b0:fcff:feb4:2f31 wlan0 to table 1082: No such process
2018-12-01 16:44:06.294 1566-1792/? E/ConnectivityService: Exception in removeRoute: java.lang.IllegalStateException: command '33937 network route remove 266 wlan0 ::/0 fe80::d0b0:fcff:feb4:2f31' failed with '400 33937 removeRoute() failed (No such process)'```

@hoplite390 The logs doesn't look relevant. Can you add a filter for the app before checking logcat. If you are using Android studio then your log settings should like:

Thank you both for cooperation after more re-logs im now able to upload files. And i did find why my solution did not work anymore. UploadController.java it used to construct contribution. Now it is done in UploadModel.java so there is just one line that needs to be changed and it should work again. I will do commit and please try to re-test that one more time. It seems to work for me: https://commons.wikimedia.beta.wmflabs.org/wiki/File:FInal_Username_Testing.jpg

Tested it @hoplite390 , but unfortunatelly it says

Author: null

Probably one more thing (but im guessing) did you relog to application or not?
If not maybe i have explanation.
Because its possible that session Manager has your account stored without String rawUsername. (rawUsername = String value without added underscore) because i could not call just string.replace("_"," ") on every username in case somebody used underscore by their decision (and underscore was not just added by app). If there is somebody with "My_Username" or "My Username" app would show them both as "My_Username" so far. That is why upon login i store original string value from EditText usernameEdit. Maybe i should add: if rawUsername is null use username instead to prevent null for users that did not re-log.

I think you caught the reason. After your commit I will test with reloging and without, and report results here. Thanks for fast reply @hoplite390

Without login, my username with subtitle. With login, my name without subtitle as expected.


Extra check in SqliteStatement.execute

Ensure SqliteStatement.execute is not used with a SELECT which returns no row.

:+1: thanks!


[gpustack] Connection Error, HTTPConnectionPool(host='<IP_ADDRESS>', port=8008): Read timed out. (read timeout=300)

Describe the bug

Steps to reproduce

deploy embedding model of beg-m3 of gguf format with llama-box backend
using gpustack as dify embedding model provider
upload a lot of  text file to dify knowledge base

Result
[gpustack] Connection Error, HTTPConnectionPool(host='<IP_ADDRESS>', port=8008): Read timed out. (read timeout=300)
Expected behavior
success embedding model
Environment

GPUStack version: v0.41
OS: ubuntu
GPU: t4*4

Additional context
Add any other context about the problem here.

Could you provide more information about your environment? For example, what's the IP address of GPUStack? Which server is the <IP_ADDRESS> ip in the error?  Also please provide the model instance log of the bge-m3 embedding model.

server ip is right, and reranker model of bge-reranker-v2-m3  is test ok, only  bge-m3-gguf with q2 is unavailable for dify knowledge base.
2024-12-26T01:56:53+00:00 - gpustack.server.controllers - ERROR - Failed to find scale down candidates for model bge-m3: 1
2024-12-26T01:56:53+00:00 - gpustack.server.controllers - ERROR - Failed to reconcile model bge-m3: object of type 'NoneType' has no len()
2024-12-26T02:17:58+00:00 - gpustack.server.controllers - ERROR - Failed to reconcile model instance bge-m3-3Qb33: Could n

I download model from modelscope of gpustack/bge-m3-GGUF

Can you provide model instance logs following the following screenshot:

Does it work if you test it in the Playground UI?

yes ,playgroud UI test is ok

2024-12-26T01:56:15+00:00 - gpustack.scheduler.calculator - INFO - Calculated resource claim for full offload model instance bge-m3-q4km-GCeKd, claim: memoryEstimate(fullOffloaded=True, ram=layerMemoryEstimate(uma=513983520, nonuma=671269920, handleLayers=0), vrams=[layerMemoryEstimate(uma=993677896, nonuma=5953507912, handleLayers=24)], offloadLayers=25)
2024-12-26T01:56:53+00:00 - gpustack.server.controllers - ERROR - Failed to find scale down candidates for model bge-m3: 1
2024-12-26T01:56:53+00:00 - gpustack.server.controllers - ERROR - Failed to reconcile model bge-m3: object of type 'NoneType' has no len()
2024-12-26T02:17:58+00:00 - gpustack.server.controllers - ERROR - Failed to reconcile model instance bge-m3-3Qb33: Could not refresh instance '<Model at 0x7f713645dd00>'
2024-12-26T08:46:18+00:00 - gpustack.policies.candidate_selectors.vllm_resource_fit_selector - WARNING - Cannot get weight size for model bge-m3: No safetensors information found.
2024-12-26T08:46:18+00:00 - gpustack.policies.candidate_selectors.vllm_resource_fit_selector - INFO - Calculated resource claim for model instance bge-m3-lycPd, claim:<PHONE_NUMBER>.0
2024-12-26T08:46:19+00:00 - gpustack.policies.candidate_selectors.vllm_resource_fit_selector - WARNING - Cannot get weight size for model bge-m3: No safetensors information found.
2024-12-26T08:46:19+00:00 - gpustack.policies.candidate_selectors.vllm_resource_fit_selector - INFO - Calculated resource claim for model instance bge-m3-aEiAt, claim:<PHONE_NUMBER>.0
2024-12-26T09:35:34+00:00 - gpustack.policies.candidate_selectors.vllm_resource_fit_selector - WARNING - Cannot get weight size for model bge-m3: No safetensors information found.
2024-12-26T09:35:34+00:00 - gpustack.policies.candidate_selectors.vllm_resource_fit_selector - INFO - Calculated resource claim for model instance bge-m3-6f7SA, claim:<PHONE_NUMBER>.0
^Ccontext canceled

The log above is the log of GPUStack service, not the model instance. Could you check the model instance log by checking the view logs button?  Btw, which quantization version of bge-m3 are you using? Did you use any advanced parameters of llama-box. We will check if we can reproduce the issue in our environment. Thanks.


Customize Player

How to customize player , i just need player seek control, need to disabled like , share and fullscreen and logo as well

 <Vimeo
      videoId={vimeoId}
      params={
        'api=1&autoplay=1&controls=1&title=0&portrait=0&byline=0&dnt=1&pip=0'
      }
      handlers={videoCallbacks}
      style={{
        ...
      }}
      androidLayerType="hardware"
    />

try the params, this will work for some of the things you mentioned


cleanup & release prep

Coverage remained the same at 100.0% when pulling 567eae4f6b392b5f232007095b0e5634eea486fd on edgrams:cleanup into d83c681f6d5d5e275ff8408c40c7e1995e110feb on avroize:master.


Initial implementation of user management

Summary
The following PR is the initial implementation of User Management support in Minder.
Implementation details:

Adds a new GetInviteDetails endpoint for fetching invite metadata
Adds a new user ResolveInvitation endpoint for accepting/declining invitations
Adds a new user ListInvitations endpoint for listing all pending invitations for the logged in user
Extends the AssignRole endpoint with an email field

Can be used to assign roles, send new invitations and update an existing invitation
Note that sending the emails is going to be a follow-up

Extends the RemoveRole endpoint with an email field

Can be used to delete user permissions and delete an invitation

Adds a new UpdateRole endpoint for updating the role of a given user
Created or updated the minder CLI commands to accommodate for these changes:

minder user invite list, accept, decline, get
minder project role grant, deny, update

What's left:

[x] Resolve the sponsor's display name for GetInviteDetails
[x] Refactor parts of the code that are MVP and proceed testing the functionality
[x] Remove changes that were strictly for development purposes

Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

Closing this as all of split PRs got merged.


[KYUUBI #6248] Web SQL Editor supports run SQL snippets

:mag: Description
when some text is selected, only send the selected text.
Issue References 🔗

This pull request fixes #6248
Describe Your Solution 🔧
The Monaco Editor API is called to get the selected SQL statement, and without any other dependency.

Types of changes :bookmark:

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Behavior Without This Pull Request :coffin:
Behavior With This Pull Request :tada:
Related Unit Tests

Checklist 📝

[ ] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

Thanks for the quick PR! But could you please eliminate any as much as possible?

thanks, verified locally, will merge if style check passed

merged to master/1.9


Locked out of MultiBit - Password changed involuntarily, please help!

I am kind of freaking out right now, and could really use some help! To start my problem, a few weeks ago I have bought Bitcoins on localbitcoins.com. Reading into security issues, I thought it would be best to sent them to an electronical wallet. That's why I downloaded multibit, and sent some Bitcoins there some time ago. I've only made 3 transactions in total with it. Today, I have sent some amount to my brother, so he could profit from the rising price of bitcoins as well.
When I made the trasaction (this afternoon), I did not need a password. Today, localbitcoins.com was acting a bit weird (not loading some pages, very long loading times in general), which made me distrust localbitcoins for the amount of money I had in it (400 euros or something) - so I sent all of it to my MultiBit wallet, which is on my desktop. This took a long time (the loading) but it finally came through. After that, I wanted to send a small amount to another friend of mine, and I suddenly needed to use a password. I am 100% sure that I did not need a password when I sent bitcoins to my brother this afternoon, and I am 100% sure I did not change the password in between the two transactions. The really weird thing is that my BTC are not gone from my wallet, they are still in their. However, I can't send anything or change the password. I have good protection software on my desktop (licensed Norton antivirus), so I have no clue what exactly happened. I am also sure that no one has touched my desktop in the meantime.
TL;DR:
Bought Bitcoins on Localbitcoins
Tried to send the remaining BTC on localbitcoins to my MultiBit which has been working perfectly fine
Suddenly has a password and I didn't change it
Could anyone explain what happened? I remember that during the transaction from localbitcoins to my multibit there was a long waiting time and it said (establishing safe network).  I could shoot myself for not protecting it properly, which is totally my own fault. I didn't know MultiBit required a password, and I should definitely have researched it better. Please don't flame me for that, I could really use some help as I have lost a lot of money and am not a very wealthy student. Could anyone explain what happened and if there is a way to retrieve them?

@Fallace
did you recover your multibit wallet,
this is the issue which occurs a lot for older versions of multibit, I can recover your wallet if you still have this problem contact me at<EMAIL_ADDRESS>


Seperate component for model a-entity

Should be a separate react component so multiple can be added to the scene. Then model prop becomes models, an array of the models

Using .map() and aframe's own a-entity function accomplishes the same result. This way there's no react components within the a-scene


Wrong Page Type in Page Wizard

Describe the bug
In the "New Page Wizard" Tool, the Page Type for NavigatePage is wrong.
To Reproduce
Steps and to reproduce the behavior:

Go to 'New AL File Wizard'
Select Page Type "NavigatePane"
The page is not compilable
AL Code to reproduce the issue

Expected behavior
After configuring the page via the wizard, the page type "NavigatePage" and not "NavigatePane" should be set in the properties.
Screenshots

5. Versions:

AL Language: 4.0.194000

Business Central: Platform 15.0.37898.0 + Application 15.1.38071.0

I am closing this issue because it appears that it related to a 3rd party VS code extension. Please open an issue for that specific extension.


I want to be able to load the API document on the Action of the controller.

I want to be able to load the API document on the Action of the controller.
Because my program is lazy to load, I have no idea how much API it will eventually load at startup.
So I want to be able to generate the Swagger page on the Action of the controller based on the input parameters and load the API document that I generated at the specified path.
Please tell me how I can do it. And the extent to which Swagger supports lazy loading.

Please provide a minimal reproducible example as a GitHub repository that demonstrates the issue you're experiencing so we can look into this further.

请提供 可再现的最小例子 作为一个GUUUB存储库,它演示了您正在经历的问题,因此我们可以进一步研究这个问题。

in c# .net core 8.0, for webSocket action use this
[Route("[action]")]

this will throw a error for api doc.
I want to ignore the webSocket action for api doc.

Please provide a minimal reproducible example as a GitHub repository that demonstrates the issue you're experiencing so we can look into this further.

I'm sorry。I've forgotten what I want because it's been so long.
I thought it was my latest problem.

I want to ignore the webSocket action for api doc.

Hide the action like this.


Adding styled-components to the Main page

I suggest adding styled-components also on the Main page, maintaining a styling pattern in the project

Hey @thiagosanrocha , nice contribution.
But this feature already implementated in #9 by myself Hehehe.
What you think to implement the configurations to animation, removing all constants and values about animation config to another file ?

Hi @thiagosanrocha
To increase the project organization we close all opened PRs and create a new way to contribute using issues and PR templates and a kanban github project. Your PR is now based on Issue #31 and Issue #32. Please follow the README instructions and open a new PR, we awaiting your contribution!


Pinning ohai branch to get tests building

Description
Our external gem tests need to be pinned to the same branch of Ohai that
the Chef Client source code is. Otherwise we get a Bundler error.
Related Issue
https://buildkite.com/chef-oss/chef-chef-chef-15-verify/builds/77#29dfd399-1019-4707-8f3f-a19ea10cfac4
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] All commits have been signed-off for the Developer Certificate of Origin.

Can you add this to the instructions for prepping the stable branch here: https://github.com/chef/chef/blob/master/docs/dev/how_to/bumping_the_major_version.md

Thanks for getting that for me @tas50


[github.io] Selecting a Previous Version on a New API 404s

Let's say you're browsing the Azure.Core documentation. Specifically the serialization namespace.
https://azuresdkdocs.blob.core.windows.net/$web/dotnet/Azure.Core/1.4.0/api/Azure.Core.Serialization.html

You click the drop-down, and select a version before 1.4.0. 404 page not found.
This is not a BUG. This namespace simply didn't exist on those previous versions of the package. We need to add some static redirect or some other error-handling to direct these 404 accesses to a default error page for the specific package.

Looking into this.
We can direct the page to upper level if failed to retrieve the page.

Issue fixed in .net

Closed as issue has been resolved.


gpt2_demo @ d3f6e49 (latest) breaks

I usually install transformers_neuronx from git, and since the last commit says that it was updated for SDK release 2.12, I assumed it was the same version available from GitHub. However, running gpt2_demo with the GitHub version breaks:
(aws_neuron_venv_pytorch) ubuntu@ip-172-31-40-142:~$ gpt2_demo run gpt2-small
running GPT2ForSampling.from_pretrained
running model.to_neuron
....
Compiler status PASS
Traceback (most recent call last):
  File "/opt/aws_neuron_venv_pytorch/bin/gpt2_demo", line 8, in <module>
    sys.exit(main())
  File "/opt/aws_neuron_venv_pytorch/lib/python3.8/site-packages/transformers_neuronx/gpt2/demo.py", line 20, in main
    demo('gpt2', GPT2ForSampling, amp_callback)
  File "/opt/aws_neuron_venv_pytorch/lib/python3.8/site-packages/transformers_neuronx/gpt_demo.py", line 61, in demo
    run(args, model_name, model_cls)
  File "/opt/aws_neuron_venv_pytorch/lib/python3.8/site-packages/transformers_neuronx/gpt_demo.py", line 105, in run
    model.to_neuron()
  File "/opt/aws_neuron_venv_pytorch/lib/python3.8/site-packages/transformers_neuronx/gpt2/model.py", line 117, in to_neuron
    self.decoder_lm_head.to_neuron()
  File "/opt/aws_neuron_venv_pytorch/lib/python3.8/site-packages/transformers_neuronx/decoder.py", line 121, in to_neuron
    self.program.setup(self.layers, ln_lm_head_params)
  File "/opt/aws_neuron_venv_pytorch/lib/python3.8/site-packages/transformers_neuronx/decoder.py", line 872, in setup
    super().setup(layers, ln_lm_head_params)
  File "/opt/aws_neuron_venv_pytorch/lib/python3.8/site-packages/transformers_neuronx/decoder.py", line 827, in setup
    kernel.load()
  File "/opt/aws_neuron_venv_pytorch/lib/python3.8/site-packages/transformers_neuronx/compiler.py", line 376, in load
    self.model = torch.classes.neuron.ParallelModel(self.neff_bytes, self.tp_degree, self.g_start_device_id, self.g_device_count)
RuntimeError: __init__() expected at most 3 argument(s) but received 5 argument(s). Declaration: __init__(__torch__.torch.classes.neuron.ParallelModel _0, str _1, int _2) -> NoneType _0

I diffed the latest version of the wheel (https://pip.repos.neuron.amazonaws.com/transformers-neuronx/transformers_neuronx-0.5.58-py3-none-any.whl) against what's in git and it seems like git has many extra changes, so now I'm wondering if the pip wheel is outdated, or if they have diverged somehow.

I'm hitting the same issue trying to run the: Generative AI contents through Amazon Trainium and Inferentia workshop.
Error happens at the section: Port the model to Neuron SDK and deploy it on Inferentia
(aws_neuron_venv_pytorch) [ec2-user@ip-172-31-20-49 opt-2.7b]$ python3 model_neuron.py
Downloading (…)lve/main/config.json: 100%|████████████████████████████████████████████████████| 691/691 [00:00<00:00, 274kB/s]
Downloading pytorch_model.bin: 100%|██████████████████████████████████████████████████████| 5.30G/5.30G [00:26<00:00, 198MB/s]
Downloading (…)neration_config.json: 100%|███████████████████████████████████████████████████| 137/137 [00:00<00:00, 61.2kB/s]
running model.to_neuron
.........
Compiler status PASS
Traceback (most recent call last):
  File "model_neuron.py", line 37, in <module>
    model.to_neuron()
  File "/opt/aws_neuron_venv_pytorch/lib64/python3.8/site-packages/transformers_neuronx/opt/model.py", line 96, in to_neuron
    self.decoder_lm_head.to_neuron()
  File "/opt/aws_neuron_venv_pytorch/lib64/python3.8/site-packages/transformers_neuronx/decoder.py", line 121, in to_neuron
    self.program.setup(self.layers, ln_lm_head_params)
  File "/opt/aws_neuron_venv_pytorch/lib64/python3.8/site-packages/transformers_neuronx/decoder.py", line 872, in setup
    super().setup(layers, ln_lm_head_params)
  File "/opt/aws_neuron_venv_pytorch/lib64/python3.8/site-packages/transformers_neuronx/decoder.py", line 827, in setup
    kernel.load()
  File "/opt/aws_neuron_venv_pytorch/lib64/python3.8/site-packages/transformers_neuronx/compiler.py", line 376, in load
    self.model = torch.classes.neuron.ParallelModel(self.neff_bytes, self.tp_degree, self.g_start_device_id, self.g_device_count)
RuntimeError: __init__() expected at most 3 argument(s) but received 5 argument(s). Declaration: __init__(__torch__.torch.classes.neuron.ParallelModel _0, str _1, int _2) -> NoneType _0

Looks like this might be the relevant commit: https://github.com/aws-neuron/transformers-neuronx/commit/001b5c2f6c077e3c03e9305e8b1c1d44468bd230

Thanks @supersat @aaroniscode  @ashivadi . This is a known issue and we are working on it. https://github.com/aws-neuron/aws-neuron-samples/issues/24
For now please make the following change in your notebook, to install the SDK release 2.12 transformers-neuronx pip wheel:
pip install transformers-neuronx transformers -U

Thanks!


For ephys data, need interpolation function

Note that people typically run their data with the following flag on the ephys data

-interp  – (Default is -1 for infinite) Maximum number of dropped packets to interpolate over (linear). A value of -1 is infinite. 0 is no interpolation.

See: https://docs.spikegadgets.com/en/latest/basic/ExportFunctions.html

@samuelbray32 is this implemented?


Cucumber::Rails::Database.javascript_strategy is too simple

👓 What did you see?
When database_cleaner-redis AND database_cleaner-active_record are in play, I cannot correctly configure them for the Cucumber::Rails::Database.javascript_strategy. I'm forced to consolidate upon a single strategy.
✅ What did you expect to see?
I am able to set the correct strategy for any given database cleaner adapter I'm using.
📦 Which tool/library version are you using?
cucumber-rails v2.5.1
🔬 How could we reproduce it?
Steps to reproduce the behavior:

Set up some Rails app with cucumber-rails, Redis, and database-cleaner with both database_cleaner-active_record and database_cleaner-redis
Add the following to features/support/env.rb:

# Remove/comment out the lines below if your app doesn't have a database.
# For some databases (like MongoDB and CouchDB) you may need to use :truncation instead.
begin
  DatabaseCleaner[:active_record].strategy = :transaction
  DatabaseCleaner[:redis].strategy = :deletion
rescue NameError
  raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
end

Before('@javascript') do
  DatabaseCleaner[:redis].strategy = :deletion
end

Run your Cucumber suite
See error:

Using the default profile...
@javascript
Feature: Some feature
  As an...
  I want to...
  So that....

  Background:                                                           # features/something.feature:8
      The 'truncation' strategy does not exist for the redis ORM!  Available strategies: deletion (DatabaseCleaner::UnknownStrategySpecified)

📚 Any additional context?

This text was originally generated from a template, then edited by hand. You can modify the template here.

Reproduction https://github.com/jherdman/cucumber-rails-database-cleaner-repro. Simply running bin/cucumber after clone, and install will reproduce.
I think my ideal world would be the total elimination of the default JavaScript strategy. We already have the ability to do before/after/around hooks using tags for @javascript, why do we need anything more than that?

Should anyone find this and need a work around you can simply "alias" the deletion strategy as truncation as follows:
module DatabaseCleaner
  module Redis
    Truncation = Deletion
  end
end

Instead of removing the default strategy, how would you feel if instead the default was set to the new null strategy. Which does nothing?
This would be much easier to do (Yes it would still be a breaking change). But it would be a trivial task as opposed to a bigger task.

Perhaps simply offering a null strategy in which one must configure the Before/After hooks would be less disruptive? This would resolve my issue.

So we have a new null strategy. But this must be configured. However this still cannot be default set (We forcibly set the default as you are seeing).
What I'm proposing is not removing the forcible setting, but instead forcibly setting it to the NullStrategy. Which would be a trivial (breaking), change. This then in theory would not cause issues for yourself.
I can make a sample branch if you would prefer to trial out the behaviour?

And I pushed this down the priority queue again :( I'll try get to this soon, or failing that if you do feel free.

@jherdman given the lack of other commenting on here? I'm unsure if this is as important as originally mentioned.
Is this still an issue for you?

This is no longer an issue for me. Please feel free to close this issue if you feel that it's resolved to your satisfaction.

It's something I don't think I have enough knowledge of to make a breaking change on.
Is this no longer an issue because of the monkeypatch you have done? Or something else?

I'm no longer working on the project where this caused the problems for me.


parens in function property fail to parse

Describe the bug
parens in function property fail to parse.
dprint-plugin-typescript version: 0.51.0
Input Code
const x = {
prop: isCorrect
    ? fn => ({})
    : fn => true,
};

Expected Output
const x = {
    prop: isCorrect
        ? fn => ({})
        : fn => true,
};

(removing the additional () around the {} makes it parse)
Actual Output
Line 4, column 17: Expected :, got ,

      : fn => true,
                  ~

https://dprint.dev/playground/#code/MYewdgzgLgBAHjAvDA3gKAA4CcQYFwwCWEAwiFlgKbBRoz0wD8MAZmEgHwwAUKAvgEo6DAm04woWAK6UANGj4BuIA/language/typescript

Opened https://github.com/swc-project/swc/issues/2174

I just encountered another one of these:
    const wrappedApi: API<P> | undefined = api != null ? {
      process: async (params: Params): Promise<Response<P>> => {
        let response: Response<P>;
        return response;
      },
    } : undefined;

fails with:
Line 2, column 38: Expected =>, got :

  ync (params: Params): Promise<R
                      ~

see: https://dprint.dev/playground/#code/AQ4YwewOwZwF2AdwE4EMAO6CmATAgugJYBcweACgJIA85AfMAD7ACuUOWAZoVLsALzAMhYAEJBUFgBspwAPzAA3gChQodMghgsMGKVQwAnlDDAAFOlRoAtnuDkrqWwEpS5TdcIws1AEo70aG9aOgZ+BhU1NSksBGQAoKxSfxhA2B96AG5VKJB4uBZkKGB41MTs3IBfABockErgUjYObl4cTKA/language/typescript
Seems this was fixed in upstream in https://github.com/swc-project/swc/pull/2235 - can we pull in the new dependency?

actually, it might be a different bug - can you tell me how you created the repro for swc in https://github.com/swc-project/swc/issues/2174 please?

It looks like that one was fixed in https://github.com/swc-project/swc/issues/2196


Remove PHP EOL versions.

Removed PHP EOL versions from Travis CI build matrix and construct itself. New lowest platform version is PHP 5.6.

Thank you!


Add save_logfile param to Bot constructor to disable .log files gener…

For some of us, log files are not wanted so this add the ability to disable them when using Bot class.

Codecov Report

Merging #1047 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #1047   +/-   ##
=======================================
  Coverage   42.39%   42.39%
=======================================
  Files          29       29
  Lines        3354     3354
  Branches      549      549
=======================================
  Hits         1422     1422
  Misses       1792     1792
  Partials      140      140

Impacted Files
Coverage Δ

instabot/bot/bot.py
74.12% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks! Great finding and addition!


Fix for Issue # 10941, 10940.

Setting padding-top property to open/folded marker for Code Folding to keep it sync with line number on left gutter.

@MarcelGerber Can you have a look into this. This must fix issue #10940 & #10941

Works like a charm! Thanks.

@rroshan1 Can you please review and merge the PR?

Changes look good. Also, fix verified by Marcel.
Merging.

Weird -- I don't really understand how this fix works, which is a little scary.  Assuming the problem was some sort of accumulated error/deviation in the line-height, maybe the typical percentage of lines with fold icons is low enough that having the bad height only on lines with fold icons (and not on other lines, as before) means the error rarely adds up to  >= 1 pixel.  Hopefully it's something like that.
Anyway, sorry about the regression!

@peterflynn Yes, you are right. padding-top property was increasing the height of CodeMirror-foldgutter which should be in sync with CodeMirror-gutters. This property is used to keep the fold/open marker in line with line number on left gutter, so I specifically applied it to element open/folded foldgutter

@peterflynn The issue was not with .CodeMirror-foldgutter-blank, but with extra top padding applied to .CodeMirror-foldgutter itself instead.
So it's not even an edge case now, the issue is simply gone ;)


Add support for "one-shot" action selector programming

The P4 API WG decided (08/15/2018) to move forward with @konne-google's proposal.
This requires:

update to the Action message in p4runtime.proto
update to the P4Runtime spec

Create a pull request
https://github.com/p4lang/p4runtime/pull/42


Bug in open specified image

Expected behaviour
Read the specified image using CV2

Actual behaviour
Failed to read the image using CV2.
However, the specified image can be read normally using PIL and skimage.

Steps to reproduce

example code

import cv2
path = '24831_2545048982_3b384d0444_m'
image = cv2.read(path)

operating system
Linux
architecture (e.g. x86)
x86
opencv-python version
<IP_ADDRESS>.21

There's something wrong with the file. When I opened it in GIMP and saved it again it could be read just fine. OpenCV is using libjpeg-turbo under the hood and it might be more sensitive to corrupted files than for example default libjpeg. I'll update the libjepg-turbo version for the Linux builds in the next release but other than that there's really nothing I can do in this repo to fix this.

This image is a GIF (right-click the image, select "view image info" (Firefox)) but the file erroneouly has a .jpg extension. OpenCV doesn't support GIF.
So, this is not a bug.

@skvark @native-api Thank you for your patient answers, which probably solved my question. Thank you.


FluffyChat issues on private server

I am running a private server behind a traefik instance.
When registering Ntfy as distributor for FluffyChat I am getting the following error:
HTTP GET /_matrix/push/v1/notify - 404 - 40401 - page not found
Is there anything that has to be configured for this setup to work?

I have seen these 404s on ntfy.sh too, and I am not entirely sure why it's calling this endpoint. Maybe @karmanyaahm or @S1m would be better suited to answer.

Fluffychat checks if the UP server has a matrix gateway. If there's a 404, it uses the default  matrix.gateway.unifiedpush.org. This is expected and totally fine

Ok, i just noticed, that it seems to be working anyways. Great.
Can you maybe explain, what the matrix gateway doesor what it is for?

The matrix gateway converts the matrix format of push notifications into the UnifiedPush format of push notifications


Devel

Fixed: error when exporting to H5.

Reminders:

[x] Run invoke format to make sure the code follows the style guide,
[x] Add tests for new features or tests that would have caught the bug that you're fixing,
[x] Write detailed docstrings for all functions, classes and/or methods,
[x] If adding new functionality, unit test it and add it to the documentation.

Codecov Report

Merging #6 (de811b7) into master (9377956) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
  Coverage   49.41%   49.41%
=======================================
  Files          17       17
  Lines         603      603
=======================================
  Hits          298      298
  Misses        305      305

Impacted Files
Coverage Δ

evodcinv/_io/h5/_h5.py
38.46% <0.00%> (ø)

Continue to review full report at Codecov.

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


Add other testimonials

We can add more testimonials here in the comments to later add them to the website.

Techstars Startup Weekend was an unforgettable experience. I was looking to transition from a career in Education to the tech world for a while and when I heard of Startup Weekend I decided to take the leap of faith and get outside of my comfort zone. I had so many thoughts running through my head like, "Will anyone say anything about me being a teacher? Will anyone want me to be part of their group? Honestly, those questions did not matter because everyone was so welcoming and ready to work together. I ended up joining a great team of people with with careers in tech and outside of tech. Techstars start up weekend was such an amazing learning experience because it showed me how a company can be built in 52 hours. This was so rewarding and I would recommend it to anyone looking to learn,network, and be challenged.

Gina after Startup Weekend Latinx in 2017

I can take this one @dvidsilva
I need a link to Gina's img and LinkedIn profile, as well as "description" (work title, I assume).
And if you have more testimonials ready, I can add them as well.

@dvidsilva Any update on Gina's info?

@dvidsilva @SneX13 Was there any update on this by chance? 👀

@SneX13  @YourMobileGeek
please use the following: https://www.linkedin.com/in/gina-giardinieri/

@fvntr thank you, will do that. Sending PR later today @YourMobileGeek . Do you have more testimonials that should be added?

I am closing this for now. We can gather these via a form on our site. WIll make an issue for that. Thanks @SneX13 for your work on this!


Can you add a method to install ghauri using venv (am kali linux user ) ?

Hi,
Am a kali linux user and it's become hard to install the tool directly in system that's why i guess kali linux team use virtual environment to install external application to prevent interfere packages !
it will be a good thing to add the method of installation in README.md
regards

I will check this.

I tried installing it in Kali it worked fine for me


Dynamic Favicon

Related Issues
Related to https://github.com/descope/etc/issues/7047
Description
💬 Tries to replace the favicon dynamically if the SSO app has one configured

Need to work against the dynamicDsk branch, not main


Tool Help - CC toolbox Table to Line of Bearing  GPTool

Revised tool help.
TableTo2PointLineToolHelp.docx

This was merge to dev in #173.  Closing this issue.


Feature: Added Faithfulness score.

This PR addresses issue: #246. This includes:

adding faithufulness score in deepeval package
adding corresponding tests
updating the requirements file

Please note that allennlp is one of the libraries put under the requirements file. This library is no more maintained. However, this library is required in the one of the implementation parts of SummaC model implementation.

Some issues with the latest dependencies, might have to find another workaround

Yes, I am trying to see any alternative paths here :)

Thanks!

@penguine-ip things are working, ready for merge here, I believe. Also thanks @Vasilije1990 for the awesome fix in the dependencies side.

@Anindyadeep Thanks! I might start a new section on the docs for scores, welcome any suggestions on how to abstract things

@Anindyadeep Thanks! I might start a new section on the docs for scores, welcome any suggestions on how to abstract things

Yeah, even I am also up for creating the docs. Just one decision point I need, Should we start docs as a parallel thread, or should we add the other docs and start docs?


Add explicit support for PHP 8.1

blocked by https://github.com/cebe/php-openapi/pull/123

Codecov Report

Merging #23 (d2833f3) into main (ed3a0b7) will decrease coverage by 0.12%.
The diff coverage is n/a.

:exclamation: Current head d2833f3 differs from pull request most recent head 6297b2f. Consider uploading reports for the commit 6297b2f to get more accurate results

@@             Coverage Diff              @@
##               main      #23      +/-   ##
============================================
- Coverage     99.17%   99.05%   -0.13%
  Complexity       72       72
============================================
  Files            14       14
  Lines           242      211      -31
============================================
- Hits            240      209      -31
  Misses            2        2

Impacted Files
Coverage Δ

src/Merge/ReferenceNormalizer.php
97.36% <0.00%> (-0.31%)
:arrow_down:

src/OpenApiMerge.php
96.15% <0.00%> (-0.28%)
:arrow_down:

src/Reader/FileReader.php
100.00% <0.00%> (ø)

src/FileHandling/RegexFinder.php
100.00% <0.00%> (ø)

src/Console/Command/MergeCommand.php
100.00% <0.00%> (ø)

close #28


No software SEND function - possible via hardware keys?

Hi, love the keyboard so far and want to start by saying that I am not an experienced Android dev.
I'm using the Xiaomi Qin F21 Pro and am using a few apps without a send button next to the text input. Using the enter key (when remapped) also does nothing. I'm guessing this is because the SEND function is a softkey function and can't be remapped to a hardware based key, as evidenced by people trying (and failing) to do so with Bluetooth keyboards on Android. Would it be possible to, near to or next to the predictive text at the bottom of the screen, add a software-based SEND function to work-around this issue? It's making certain text fields incredibly difficult to fill out - I type what I want in T9 then have to switch to the AOSP keyboard just to press send.
Thanks.

Yes, I've noticed the same and I've taken care of it in #51. Currently, it is in old-skool-experience branch. I am going to test a bit and merge it in a couple of days.
Some background info about the problem:

It doesn't matter if it is a hardware or a software key. All commands go through a so called "input connection" and it is possible to interact with it anywhere in the code.
The Center/OK key is not the same as the Enter key on a full-sized keyboard. As a matter of fact, it is theoretcially possible to build a keyboard that has both. And it is up to the application to decide what to do when each of them are pressed.


feat: add update path accessor

Codecov Report

Merging #77 (1b58267) into feat/rfc9420 (3b5ceeb) will decrease coverage by 0.03%.
The diff coverage is 60.46%.

Additional details and impacted files
@@               Coverage Diff                @@
##           feat/rfc9420      #77      +/-   ##
================================================
- Coverage         80.56%   80.53%   -0.03%
================================================
  Files               172      172
  Lines             16960    16974      +14
================================================
+ Hits              13663    13670       +7
- Misses             3297     3304       +7


Update book.yml

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.06%) to 93.519%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
101

Relevant Lines:
108

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.06%) to 93.519%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
101

Relevant Lines:
108

💛  - Coveralls


[Feature Request] Option to download only specific chapters

It would be useful to have a chapters parameter in the MangaDex.download() function which allows the user to pass a list of specific chapters to download

Sorry for late reply
I cannot guarantee that this will be patched in next release. Because the base codes really out of update and need to do lot of rework (The base codes using MangaDex v3, meanwhile the MangaDex v3 is dead and MangaDex v5 is born). Right now I'm busy for school and some other projects that i have working on, maybe this will be added if i have free time.

This feature exist in v0.2.0.
Sorry for very late update.


[5.8][WIP] fix for #26791

After debugging #26791 which has problems with job serialization i found out that the job is improperly cloned when serializing.
The original problem was that the OP was dispatching a job that had a property which was an event (that implemented SerializesModels) and therefore the next listener in line didnt get the actual property but a ModelIdentifier.
At the moment only the $job is cloned in the Queue@createObjectPayload method.
return array_merge($payload, [
    'data' => [
        'commandName' => get_class($job),
        'command'     => serialize(clone $job),
    ],
]);

But when the underlying property is also an instance of (or well an object that uses) SerializesModels it will also serialize this property, which then results in the original property being overridden instead of only the cloned jobs property.
I might be wrong on this part but this does seem to fix the issue.
In the case my theory is right and this might become merged we'll have to decide if this has impact on Illuminate\Notifications\SendQueuedNotifications as this class has its own implementation of the magic method __clone.

I am closing this pull request because it lacks sufficient explanation, tests, or both. It is difficult for us to merge pull requests without these things because the change may introduce breaking changes to the framework.
Feel free to re-submit your change with a thorough explanation of the feature and tests - integration tests are preferred over unit tests. Please include it's benefit to end users; the reasons it does not break any existing features; how it makes building web applications easier, etc.
Thanks!

I have the feeling that the first sentence wasn't even read..

@koenhoeijmakers it's best that you resubmit with a failing test which proves that this is broken.

@driesvints makes sense, i'll see if i can resubmit this tomorrow.


Allow Sheet To Have Collapse Tree by Default

Just a little OCD in me, is it possible to allow the sheet to start as collapse tree instead of expand tree in the inventory, advantages, etc? It could just be a strange occurrence but my players reported that their sheet feels sluggish if the trees are expanded instead of collapse, of course I think that might have to do with the way that data is presented all at the same time.

Could you elaborate on how the sheet feels sluggish?

The major sluggish feel for us is when my player is trying to add or reduce the amount of items on their sheet.
Say some pieces of copper coin, where the player wants to reduce from 100 to 95. When the player clicks the arrow button to reduce, sometimes we have to wait because the sheet refreshes and then we have to scroll down again if the items are all the way at the bottom.
As for the collapsing part, it's not instantaneous obviously, but it sometimes takes a while for the containers to expand or collapse.
I don't know if this might have to do with us playing on Forge where we're connected onto a server but our latency to the server is relatively good, 15 ms for me so things should be fast.

Yeah, there's definitely some functions being run unnecessarily in the case of toggling collapsible items. Maybe in the case of item quantity updates too. We'll try to address this soon.


adds integration test steps in README

Description

adds how to run integration test in README

Testing
NA
Checklist:

[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] Any dependent changes have been merged and published in downstream modules

This is test forked PR from my other account to try out GHA on forked PRs.


Added support for OV 5.2 for cluster profile resources

Description
Added support for OV 5.2 for cluster profile resources
Issues Resolved
Check List

[x] New functionality includes testing.

[x] All tests pass for Python 2.7+ & 3.4+($ tox).

[ ] New functionality has been documented in the README if applicable.

[x] New functionality has been thoroughly documented in the examples (please include helpful comments).
[x] New endpoints supported are updated in the endpoints-support.md file.

[x] Changes are documented in the CHANGELOG.

It's a good practice to open separate PRs for resources even it's a minor change. This will make the review process easy and error-free.

Please review for now. Will raise seperate PRs from next time.


Bug: TextArea component issues with reset()

Info
When you have a TextArea component on a page with a FormBuilder (it doesn't need to be tied to the FormBuilder), and you reset that form, the TextArea component either doesn't appear or stops working as intended. This is tied to goaValue and reactive forms. If you remove the reactive form control from the TextArea component, it all works fine as intended.
Code
The code that can replicate the issue can be done in multiple ways:

  <form [formGroup]="testForm">
    <goa-form-item label="Court date"  [error]="errors['courtdate']">
      <goa-input goaValue formControlName="courtdate"  width="243px" type="date"></goa-input>
    </goa-form-item>
    <goa-form-item label="Charge(s)" [error]="errors['charges']" helpText="From the Traffic Safety Act or Criminal Code of Canada">
      <goa-textarea goaValue [formControl]="testText" width="944px" countby="character" maxcount="500" />
    </goa-form-item>
  </form>

  {{ testForm.controls["charges"].value }}

<goa-button (_click)="onClick()">
  Reset
</goa-button>

import { Component } from '@angular/core';
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';

@Component({
  selector: 'abgov-textarea',
  templateUrl: './textarea.component.html',
  styleUrls: ['./textarea.component.css']
})

export class TextAreaComponent {
  errors: { [key: string]: string } = {};
  displaytestForm = true;
  testText = new FormControl();

  testForm = this.fb.group({
    courtdate: ['',Validators.required],
    charges: ['',Validators.required],
  });

  constructor(private fb: FormBuilder,){}

  ngOnInit(): void {
    this.testForm.reset();
  }

  onClick() {
    console.log("reset");
    this.testForm.reset();
  }
}

The above code resets the form on ngOnInit, this means the TextArea component doesn't even appear. If you remove the ngOnInit and instead reset the form via the button. The TextArea component remains, and still records a value, but the character counter stops working.
Console Logs
The following are the logs shown when you reset a form that has a TextArea component on the same page:
main.ts:5 TypeError: Cannot read properties of null (reading 'length')
    at Mf.t.$$.update (TextArea.svelte:35:15)
    at re (Component.js:144:5)
    at new Lf (TextArea.svelte:36:67)
    at r.<anonymous> (Component.js:280:16)
    at Generator.next (<anonymous>)
    at fulfilled (main.js:24:24)
    at _ZoneDelegate.invoke (zone.js:368:26)
    at _Zone.run (zone.js:129:43)
    at zone.js:1257:36
    at _ZoneDelegate.invokeTask (zone.js:402:31)

Acceptance Criteria:

You can safely reset() a form with a TextArea component on the same page

@Spark450 Reach out to JP regarding the use case behind resetting the form

Spoke to Gesu (FSD), they have a workaround in place where they are writing code to clear each text area SetValue ("")
Being able to use reset() is still desirable, normal behaviour for Angular forms and the design system team will work on this at some point in the future. Given there is a satisfactory work around, the priority of this issue will be kept at medium.

PR #1959 should also fix this issue.
Sample playground test code below
html

  <form [formGroup]="testForm">
    <goa-form-item label="Court date"  [error]="errors['courtdate']">
      <goa-input goaValue formControlName="courtdate"  width="243px" type="date"></goa-input>
    </goa-form-item>
    <goa-form-item label="Charge(s)" [error]="errors['charges']" helpText="From the Traffic Safety Act or Criminal Code of Canada">
      <goa-textarea goaValue formControlName="charges" width="944px" countby="character" maxcount="500" countby="character" />
    </goa-form-item>
  </form>

  Live Value: {{ testForm.controls["charges"].value }}

<goa-button (_click)="onClick()">
  Reset
</goa-button>

ts
import { Component } from "@angular/core";
import {FormBuilder, FormControl, FormGroup, Validators} from "@angular/forms";

@Component({
  selector: "abgov-text-area",
  templateUrl: "./text-area.component.html",
})
export class TextAreaComponent {
  errors: { [key: string]: string } = {};
  displaytestForm = true;
  testForm: FormGroup;

  constructor(private fb: FormBuilder){
    this.testForm = this.fb.group({
      courtdate: ['',Validators.required],
      charges: ['',Validators.required],
    });
  }

  ngOnInit(): void {
    this.testForm.reset();
  }

  onClick() {
    console.log("reset");
    this.testForm.reset();
  }
}


Failed to escape IDLE during TX

Hello,
I've taken your advice and written the code to only do TX to check for some symptoms.
(i.e. changed it to one-way communication for testing)
The problem is that e32.service fails to return from IDLE after the following sequence.
In e32.c,
After L960 -> L972 -> L1001 -> L1131 -> L1197,
Oct 17 13:34:28 raspberrypi e32[26532]: e32_poll_input_enable
Oct 17 13:34:28 raspberrypi e32[26532]: e32_poll_socket_unix_data: received 18 bytes from unix domain socket: /home/pi/e32.tx.data
Oct 17 13:34:28 raspberrypi e32[26532]: e32_transmit: transmitted 18 bytes
Oct 17 13:34:28 raspberrypi e32[26532]: e32_poll_input_disable
Oct 17 13:34:28 raspberrypi e32[26532]: e32_poll_gpio_aux: transition from IDLE to TX state
Oct 17 13:34:28 raspberrypi e32[26532]: e32_poll_input_disable

It seems to be blocking after entering e32_poll_input_disable.
One of the possible causes is that my code is Non-Blocking.
So, I am not getting any results with recvfrom(10) after sendto.
This is because if I changed socket.socket to Non-Blocking to handle timeout exceptions, recvfrom will throw an exception along with it, and it will not recover unless my main process is restarted.(This is something I'm still working on the cause of :( )
The other possible cause is that there is a mismatch between the State Machine logic in e32.c and my actual usage.
I'm bind() one socket, and I'm only doing TX, but the problem is that e32 is blocking.
The logs are as follows, and the workaround is to initialize e32.service from scratch, and packets are being sent out normally again.
At this point, the driver is showing symptoms of a significant amount of data accumulating in the buffer.
Dozens of pieces of data are exposed at the same time, with all the bits being identical.
Even if I stop my code, it is still sending something based on my packet structure.
To stop the buffering, don't restart e32.service, stop it completely and then start it, this will fix it.
It looks like I may need to intervene in the control itself, rather than just a buffer for sending data, for clear control.

Cleared while creating the issue.
The issue is resolved by forcing a minimum delay time for LoRa dispatch.
By any chance, is there any way to know the status of e32.service, such as if it is waiting for a transmission by buffering?


show CL logs if unlock fails

@openoms is this still on your list for v1.7.2 release?

yes, just would like to dump the last 10 lines of the lightningd logs in case the unlock fails after  a minute.
Will have a look soon.


8T batching and compression: Confirm compression gains via playground and/or OATS testing

Upon conclusion of the standalone gist being updated, tested as working, and the backporting of the gist changes to the newrelic-infinite_tracing gem, we should then test the gem itself with a playground app and/or OATS.

Results provided.


SEMrush Error report - Duplicate title tag and meta description

Can you please look into this SEMrush Duplicate Title Tag issue - https://www.semrush.com/siteaudit/campaign/2056263/review/#issue/detail/6
It appears that a directory called “/fragments/…” was created that maybe highlighting certain sections and topic cards that are embedded throughout the section
We also have duplicate meta description errors that need to be corrected.
Please work with Raj to review along with the Google Search Console errors. It seems that Google is cracking down on these duplicate issues … can you please ask him if he’s seeing similar trends.
currently show 94 duplicate title tags and 63 duplicate meta descriptions

We should check if for /fragments/** the robots is correctly configured to not allow indexing. I think this should make google happy, because it would only index the page, not the fragment.
@MeghnaTewari @dev-rajneeshkumar could we also get access to check the report?

@duynguyen just checking with you, because maybe you have past experience from other projects with this
https://github.com/hlxsites/moleculardevices/blob/main/robots.txt allows access on the whole website. The fragments are not specifically referenced in the sitemap, but they will be discovered by crawlers because they are included in the markup of pages.
What  I am thinking is that we could use the bulk metadata metadata.xls to set
/fragments/** with robots : noindex
/drafts/** with robots: noindex,nofollow
Does this sound like a good plan?

@andreituicu I would do the same. shall we cross check in franklin-chat?

Cross checked with other projects and the google docs https://developers.google.com/search/docs/crawling-indexing/block-indexing . I've set the metadata accordingly in metadata.xml and published.
Can you please ask Graciela to re-execute the scan and confirm this fixes the errors? Thank you!

@MeghnaTewari @dev-rajneeshkumar can we close this? is it confirmed that the problem was solved?

No feedback in 1 week. Assuming it worked as expected. Can be reopened if it is still an issue. CC @mhaack  @MeghnaTewari @dev-rajneeshkumar

@andreituicu /fragments urls are still there in the report so reopening this issue.

Ask discussed with @dev-rajneeshkumar & Raj this is fixed


Make the logging page look more like the dashboard page

parent: rmars/style-followup
Follow up to #499
I've added our own js/css by creating a filter that adds things to the response body. Let me know your opinions on this.
Also colors/styles can be tweaked, opinions welcome.

:star: 🎄

(addressing esbie's comments in #505)


auto load stats

Auto load kittie stats without need for mouseover
Also supports page change without reload

hmmm this code sends too many requests I will look at another way that doesn't using a timeout


No root node in dynamic when creating empty project

Describe the bug
Dynamic is empty and there is no way to add something to it.
To Reproduce
Steps to reproduce the behavior:

create new empty project.
go to Application->Dynamic
See empty treeview

Expected behavior
Rootnote in treeview.
Screenshots
If applicable, add screenshots to help explain your problem.

Version is 1.8.4.

Hm i cant reproduce this issue.
Both current github state and release 1.8.4 works fine on my computer.
I create an empty new project, select 07B0 as MaskVersion.
The Dynamic Root gets created correctly.
You could try to workaround by editing the file by yourself:
Dynamics": [       {         "$type": "Kaenx.Creator.Models.Dynamic.DynamicMain, Kaenx.Creator.Share",         "IsExpanded": true,         "Name": "Root Knoten",         "Items": []       } ],
Or create a minimal project. Delete everything you dont need and save this as a template.

Save/restore fixed it for me too. For the reproduction I forgot to choose a Mask. Maybe a message "choose Mask-Type first" would help. Feel free to close this issue.
Some other small points I noticed:

For ComObject you might add a check for Number > 0. It took me a day to figure out why I got no GroupObjects on my device :)
When you uncheck "OpenKnx Project" it would be nice if the Manufacturer Id would be set do KNXA.
Is it intentional that you can't change the Maskversion once choosen? This makes it hard to use the minmal example for other mediums.

You made really much progress in the time I didn't look at this project. There is no need to crack KNX-MT any more ;)

Something else I just remembered: It would be nice if the Loadprocedure for ApplicationObject would be generated automatically. I guess most user don't know what they should add there. Of course they can just look at the minimal example to figure it out.


players[index] is undefined

For what use index=-1 indestoyPlayer(index);

in console write:localStorage.removeItem('multiviewPlayers')


[feature] sort user properties by name

Archi will sort by name by clicking on the "Name" table column header. I am making extensive use of the "user properties" feature and have defined a hierarchical naming convention to support it. I find myself always having to click this column header to re-sort the properties and it seems it might be relatively easy for Archi to do this automatically whenever the "Properties" tab is selected. It could even be controlled by a "Preferences" setting to maintain backward compatibility with Archi's current behavior.
Regards,
PEter

Just a note. Haven't forgotten this one. Focus now is on ArchiMate 3.0 support. If time permits...

Thanks for the update Phil!
Cheers,
Peter


Bugfix/handle empty stack

Its known that often times "Stack is empty" exception is hiding the underlying exception. It will be helpful for bot developers if the original exception is bubbled up instead of “Stack is empty” InvalidOperationException.
Fix -> Implemented fix to not pop stack if it is not empty.
Issue -> I searched for existing issues and this one came close -> https://github.com/Microsoft/BotBuilder/issues/2411

 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.:x: ujwalakhaire sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Horizontal Planes Treated Like Cuboids

I am trying to texture a plane, but as I did so, I discovered that it was mirroring the texture diagonally. After some testing, it appeared that the editor believed it was a cuboid, and what I was seeing was the back of the opposite face. This did not occur when the plane was along the X or Z axis.

Enable Effects/Single Texture to make planes.


cargo build|test|bench|... traverses entire source tree for unknown reason

In my project, I see a multi-second delay before cargo build and friends even start to operate. The following excerpt shows that trying to build an already built project takes a long time. Within that time, cargo will traverse the entire source tree and consume one entire core for more than 10 seconds.
➜  google-apis-rs git:(master) ✗ time cargo build
cargo build  2.42s user 6.83s system 99% cpu 9.259 total
➜  google-apis-rs git:(master) ✗ time cargo build
cargo build  2.33s user 7.73s system 99% cpu 10.069 total
➜  google-apis-rs git:(master) ✗

I can only assume that it tries to find something. Usually this will not play a huge role, my project tree is massive though so it starts to matter.
➜  google-apis-rs git:(master) ✗ du -sch *
4.0K    CONTRIBUTING.md
 12K    Cargo.lock
4.0K    Cargo.toml
4.0K    LICENSE.md
4.0K    Makefile
8.0K    README.md
 16M    etc
 22G    gen
376K    src
112M    target
 22G    total
➜  google-apis-rs git:(master) ✗ find . -type f | wc -l
  500798

I am posting this here just to verify that this recursive search is indeed required. Maybe there can be a  way to turn it off. I could imagine that it tries to find Cargo.toml files to get an idea of inter-project dependencies. However, my primary Cargo.toml file refers to no project path, so no search should be required.
How to reproduce
Please note that the following snippet will take hours to complete, but generates at least 250k files on disk. Generation of docs could fail depending the crate.io versions of certain dependencies - for now I maintain overrides to local repositories with working versions.
git clone https://github.com/Byron/google-apis-rs
cd google-apis-rs
make gen-all-cli docs-all
# first time build
cargo build
# now to reproduce the overhead
time cargo build
time cargo build

Meta
➜  google-apis-rs git:(master) ✗ cargo --version
cargo 0.0.1-pre-nightly (3499c8e 2015-04-05) (built 2015-04-05)

I've definitely been put off by this in the past and have wanted to fix this as well. I'll note though that if you depend on a repository (e.g. a git dependency) then Cargo must crawl the entire repository looking for Cargo.toml as you don't specify relative paths in the repository looking for dependencies.
Within the source repo, however, we should definitely only need to follow path depenencies.

I think this will be pretty easy to do as well, so tagging with E-easy

This is much more of a problem than just poor performance. If any of the subdirectories contains a broken symlink or for some other reason is untraversable, cargo with fail with the unhelpful error message:
The system cannot find the path specified. (os error 3)
(Note that nowhere does it actually print the problematic path, and to even get this much information requires passing --verbose!)

Ah I think this is a dupe of https://github.com/rust-lang/cargo/issues/1423, so closing in favor of that.


Test test_cashflows::test_non_matching_dates_add Fails with SIGABRT Signal

I am encountering an issue where the test test_non_matching_dates_add fails with a SIGABRT signal. The test is supposed to panic with the message "Dates must match." when adding SimpleCashflow instances with non-matching dates. However, instead of the expected panic, I am getting a SIGABRT signal, which indicates an abort signal in the process.
RUST_BACKTRACE=1 cargo test test_non_matching_dates_add -- --nocapture

running 1 test
thread 'cashflows::cashflow::test_cashflows::test_non_matching_dates_add' panicked at src/cashflows/cashflow.rs:72:9:
assertion `left == right` failed: Dates must match.
  left: 2024-06-25 4:14:44.398515 +00:00:00
 right: 2024-06-26 4:14:44.398515 +00:00:00
stack backtrace:
libunwind: stepWithCompactEncoding - invalid compact unwind encoding
error: test failed, to rerun pass `--lib`

Caused by:
  process didn't exit successfully: `RustQuant-c0a882e3717c1824 test_non_matching_dates_add --nocapture` (signal: 6, SIGABRT: process abort signal)

Original test
    // Test for non-matching dates during addition (should panic).
    #[test]
    #[should_panic(expected = "Dates must match.")]
    fn test_non_matching_dates_add() {
        let date1 = OffsetDateTime::now_utc();
        let date2 = date1 + Duration::days(1);
        let cf1 = SimpleCashflow::new(100.0, date1);
        let cf2 = SimpleCashflow::new(50.0, date2);
        let _ = cf1 + cf2;
    }

I added this test that failed as well.
    #[test]
    fn test_non_matching_dates_add_unwing() {
        let result = panic::catch_unwind(|| {
            let date1 = OffsetDateTime::now_utc();
            let date2 = date1 + Duration::days(1);
            let cf1 = SimpleCashflow::new(100.0, date1);
            let cf2 = SimpleCashflow::new(50.0, date2);
            let _ = cf1 + cf2;
        });

        assert!(result.is_err());
        if let Err(err) = result {
            if let Some(string) = err.downcast_ref::<String>() {
                assert_eq!(string, "Dates must match.");
            } else if let Some(&str) = err.downcast_ref::<&str>() {
                assert_eq!(str, "Dates must match.");
            } else {
                panic!("Unexpected panic message");
            }
        }
    }
    ```

The assertion fails as expected, so the test passes.
I am not sure why you're getting a SIGABRT. Are you using stable or nightly ?

I assume this is resolved due to your recent PR, so I will close. If it is still an issue, let me know.


[arch linux] ld can't find -lHttp_Parser

[100%] Linking CXX executable userver-samples-hello_service
/usr/bin/ld: невозможно найти -lHttp_Parser: Нет такого файла или каталога
collect2: ошибка: выполнение ld завершилось с кодом возврата 1

 ❯ pacman -Ql http-parser
http-parser /usr/
http-parser /usr/include/
http-parser /usr/include/http_parser.h
http-parser /usr/lib/
http-parser /usr/lib/libhttp_parser.so
http-parser /usr/lib/libhttp_parser.so.2.9
http-parser /usr/lib/libhttp_parser.so.2.9.4
http-parser /usr/share/
http-parser /usr/share/licenses/
http-parser /usr/share/licenses/http-parser/
http-parser /usr/share/licenses/http-parser/LICENSE-MIT

Apparently it's case-sensitive and package for arch linux comes with different case.
Manual replacement of -lHttp_Parser with -lhttp_parser in build files helped.

We search and link with lowercase -lhttp_parser https://github.com/userver-framework/userver/blob/0d31d03b15d9c19ae26d820c05f5f84a49fa999e/external-deps/Http_parser.yaml#L13
Looks like it is a CMake artifact. When the target was not defined CMake thinks that the target is a library. Could you please attach the CMake configuration output?

I've tinkered with the build flags a bit and -DUSERVER_CHECK_PACKAGE_VERSIONS=0 helped. I'll add it do docs for archlinux build. Closing the issue now.


MSC2078: Sending Third-Party Request Tokens via the Homeserver

Rendered
Spec PR is here: https://github.com/matrix-org/matrix-doc/pull/2101

Seeing as people mostly agree about the content, I'm going to propose FCP.
@mscbot fcp merge

@mscbot fcp merge

@mscbot fcp merge

Yes that's true. Though the immediate intention of this MSC is to prevent malicious identity servers resetting user passwords, the act of allowing homeservers to send out any token is in an effort to reduce trust in the identity server.
I will update the MSC to reflect this.

Thanks!
(also it looks like the mscbot didn't record my concern, but that's fine - I have the ability to scream loudly in many places if needed 😃 )

Yeah, t'was due to doing so in a review versus a normal comment. Bots will never change :)

@erikjohnston has pointed out that having /_matrix/identity/api/v1/validate/email/submitToken as the submit URL will make life hard for those running an identity server and homeserver on the same domain (like matrix.org) to both be put behind the same reverse proxy. In the homeserver implementation we're changing it to something specific to the homeserver. This probably leads me no longer heavily imply that /_matrix/identity/api/v1/validate/email/submitToken no longer be the URL homeservers use, as suggested in https://github.com/matrix-org/matrix-doc/pull/2078/files/395acf8e0650a147dbcc7340e48d2d4f21ea20c5#diff-0cb05be13fc19a9a45e4790d2089297d

It seems like it's too late to mention it at this point, however this is a breaking change for clients. Older clients which happily continue using /r0/.../requestToken will be unaware of the new field, leading them to be non-compliant because they'll say "go check your email and click the link" instead of "enter the token from your email".
I don't really know how to fix this without bumping the endpoint version, which is non-trivial for the client-server API.
Just highlighting this as a point of documentation, rather than blocking the whole 1.0 on it. It's certainly not the first time we've broken compatibility between minor versions of the spec, however I strongly suggest this be the last time we ever do this.

merged 🎉


plz make a better tutorial on how to start the telegram bot

plz make a better tutorial on how to start the telegram bot.
i'm stuck at step 7

Start your map with -wh http://<IP_ADDRESS>:4000 if you run both the map and this bot on the same machine.
You can also add to PokemonGo-Map's config a line webhook: http://<IP_ADDRESS>:4000

can you help me with the setup cuz it does not work :/ https://discord.gg/3rHYb


A mechanism for alerting style users of version bumps

This issue in the CFA repo should now be against this repo, so I'm moving it over.
@daguar: "@phae asked me to add this. I encountered breakage recently (I had used pre-version URL implementation), so it would be good to have some system to track and alert users."
@migurski: "Thanks guys. There are three pegged versions of the style guide (0, 1, 2). They differ in small ways mostly connected to fonts. I’ll add information about this to the front page."
@migurski: "Moving forward, it's going to be mostly-correct to peg to a version for anything that's not the website, and to use root for the website."

@phae: Looks like right now if you elect to 'Watch' a repo on Github you'll get notifications about releases/pull requests. MVP could be encouraging people to do so if they rely on the pattern library.
What do you think is an ideal solution for this? Put my email in a box, get an email with release notes/upgrade path info whenever a new release is pushed?

If all the stuff is open source on GitHub, we can theoretically use the GitHub API's search to find repos with the style URL included, yes?
Then when a version bump happens, maybe we can open issues on those repos?


Project Compilation diagnostic does not include relative path

Description:
When invoke the PackageCompilation.diagnosticResult API, it provides all the diagnostics within the given package. Although the diagnostic location only include the file name, making it hard to distinguish which file exactly when there are multiple files with same name in different modules.
Steps to reproduce:
Following project structure

Affected Versions:
SLP6-SNAPSHOT

Duplicate of  https://github.com/ballerina-platform/ballerina-lang/issues/27178


Feature: Multiple payment methods

User story
As an end user, I would expect to be able to purchase product with monthly QR payment. (Default)
As an end user, I would expect to be able to purchase product with instant cash payment.
As an end user, I would expect to be able to purchase product with instant QR payment.
As an end user, I would expect to be able to select my default payment method at kiosk.
As an end user, I would expect to be able to select my default payment method at mobile.
As an end user, I would expect to be able to select from all methods in web UI.
As an end user, I would expect to be able to pay with crypto. (ADR)
Acceptance criteria

[ ] I can purchase product and be invoiced monthly with QR method.
[ ] I can purchase product with cash method
[ ] I can purchase product with instant QR method
[ ] I can set default kiosk payment method at my profile page.
[ ] I can set default mobile payment method at my profile page.
[ ] I can select from a menu payment method for specific purchase.
[ ] I can purchase product using crypto.

Developer notes
We are not really fans of crypto.


Raincatch-125 - Refactor Location Field

Moved the Geo location logic to a Service.
Added updateModel()
Added unit tests for the controller, directive and Service.

Ping @nialldonnellyfh @paolobueno  Made those changes. Can you take another quick look?

Added extra comments, variable renaming
Removed the id from the error div.
Removed giving a default value if the geolocation service returns an error. The values in the input boxes remain unchanged.


#229 wp-mail-smtp install

Closes #229

Installs WP Mail SMTP plugin recommended by Pantheon

NOTE:

I got it working locally and confirmed it sent me an email, but we will need to configure this on live, so we should deploy this to live and configure there.

To Review

[x] Checkout Branch.
[x] Run npm run local (or npm run refresh if you want a fresh database.)
[ ] Go to http://the-world-wp.lndo.site/wp-admin.

...then...

[x] Confirm the plugin is installed (It might give you a SMTP wizard as soon as you log in.)

If you must test locally:

[x] If the Wizard is open, select Other SMTP. (I don't want to pay to do this through the Amazon API, which would require the pro module.)
[x] Go into 1pass and look up theworld.org SES SMTP for creds
[x] Enter the Creds
[x] email is<EMAIL_ADDRESS>[x] Send a test email
[ ] Go to the Users list, select another account set to an email address you have access to, send a password reset link
[ ] Confirm its in your inbox.
[x] OR logout and attempt a password reset. Ensure reset link is in inbox.

@brandonhundt or @rpeterman-gp if possible we can use this PR and add the [deploy:staging] to test if the automatic deploy to staging environment works properly. Then, you will need to do the deploy from test to live manually but it will help to test if the automatic process stops in the correct env.

@gtenaschuk Wouldn't the string to add be [deploy:test]? I didn't see any condition in the workflows to handle an environment called staging.

You Are right @rpeterman-gp !! the correct is [deploy:test] sorry, not sure why i confused it with staging if it is clear here https://github.com/PRX/cms.theworld.org/issues/227 🫤

@gtenaschuk Deploy to Test worked as expected! Thanks.


Add "28S rRNA" as locus_name enumeration in SRA.experiment.xsd

Dear ENA Team,
could you please add the large eukaryotic subunit to the enumerqation list for locus_name, similar to this:
https://github.com/enasequence/schema/blob/7fbf0178fca943544ea3739b12250961835a230a/src/main/resources/uk/ac/ebi/ena/sra/schema/SRA.experiment.xsd#L562-L568
https://en.wikipedia.org/wiki/28S_ribosomal_RNA
Many thanks!

Dear ENA Team,
is there a chance to get this added to the schema any time soon?
Best,
Ivo

Ok, lets do this now.

Great, thanks!

28S rRNA support has been added to Webin REST service:
https://www.ebi.ac.uk/ena/submit/drop-box/submit
Interactive submission support will be added later today or tomorrow.

Now supported by interactive Webin as well.

Better late than never, thank you very much @raskoleinonen !

Better late than never, thank you very much @raskoleinonen !

I meant I was (very late) saying "thanks" :)


use remaining args as the commit message

_git_commit_with_message(): use remaining args as the commit message instead of using the first arg only

Hm, what would happen with characters like ;?  For example:
g cmp Added something; Added something else
That would obviously get interpreted by the shell.  I guess in that case the user could either just escape it or still use quotes?

Yeah, I don't think there's a nice way to handle that outside of the shell.


Copy comments

This closes https://github.com/hpi-swa-lab/BP2020RH1/issues/73
Some notes on the implementation:
The copyMorph method previously was also used for a lot of stuff where copying may not be the word one would intuitively use. We introduced a parameter to this function, that should be true for a "real" copy, i.e., you actually want a deep copy of the morph object.
Then the idea for the copying and pasting is as follows:

Cache CommentIndicators, Comments,... that the original Morph holds
Remove these of the original Morph
Make a copy of the original Morph without these
Readd the cached elements to the Morph

The last thing to do was then handling some tricky cases when multiple Morphs are selected. Here we introduced the option to skip the copying from Morphs if their copy method returns a falsy value.
This was tested with short-clicking and dragging of the halo and also Strg-C.

I think we already have a test case for this, as it is easily testable behavior. Please write tests or adapt existing test cases to show:

Morph with comment on copy retains comment
Copy does not have a comment
(optionally) test comment indicators

I think we already have a test case for this, as it is easily testable behavior. Please write tests or adapt existing test cases to show:

Morph with comment on copy retains comment
Copy does not have a comment
(optionally) test comment indicators

I would like to see those changes ;)

Since abandon() is not yet present on this branch it will not be changed in this MR. See https://github.com/hpi-swa-lab/BP2020RH1/issues/98

I would like to see those changes ;)

Since abandon() is not yet present on this branch it will not be changed in this MR. See https://github.com/hpi-swa-lab/BP2020RH1/issues/98


Separating module and custom_app repo

Issue template
Is there a way to specify  a custom app location, instead of placing our app into the micro_ros_zephyr_module folder?
I'm not sure how to separate the module repo from our app repo, as the app sits within the module under src/

Hardware description:
Nucleo_h743zi
Version or commit hash:
Humble

You can copy modules/libmicroros to your project's modules folder


AttributeError: module 'django_filters.widgets' has no attribute 'DateRangeWidget'

What I'm trying to achieve
Installation of Saleor on Windows 10.
Steps to reproduce the problem

Run python manage.py migrate

What I expected to happen
Migrate application data to database.
I've tried running python -m pip install -r requirments.txt to intstall all of the necessary packages. Unfortunately, this does not istall all of the packages. I have been running python manage.py migrate over and over for a while and have been installing the missing packages manually. I would like to know how I will be able to install the missing attribute 'DateRangeWidget' using pip. I can not find a command. Or any other fix that will allow me to continue installing these packages manually.
System information
Operating system: Windows 10
Browser: Chrome

What's the version of django_filters you have installed?


getting (ConnectionError, HTTPError) and no retries

Hi there
i am using this library to send notification to my clients
sometimes i get the following error
except (ConnectionError, HTTPError) as exc:
    # Encountered some Connection or HTTP error - retry a few times in
    # case it is transient.
    rollbar.report_exc_info(
        extra_data={'token': token, 'message': message, 'extra': extra})
    raise self.retry(exc=exc)

but AFAIU in this case there should be retires
but my clients claim they did not get the notification at all
can you  please help finding a way to do retries

I can't say for sure, but I left a comment in my code about a year ago saying
"this usually happens because we are making too many requests from the same IP"
and then I waited 5 seconds before trying again.
Hopefully that helps

https://docs.expo.dev/push-notifications/sending-notifications/#push-receipt-errors


Output the payload for debugging

Thank you for great action!
Would it be possible to mute output from this line:
https://github.com/BrandonLWhite/pipx-install-action/blob/946ed53790ab69ced3e47ec8e5c5f632b5bc8f37/src/main.js#L16-L19
Would it be possible to use debug instead of info?
Thank you!

Ah yes, thanks for pointing this out.  It's not serving much of a purpose and so should just be removed.


Add proxy test to Travis

@tyler-ball I updated the tests to run from the bundle, which appears to be working :) Mind taking a re-look?

:+1:


Remove woql_view

In my opinion, the woql_view.py module should be removed. It uses a very old version of terminusdb-client which may not even work anymore with the newer TerminusDB versions.
Removing this also decreases the surface area of the Python client which makes it easier to maintain.

Fixed in 6d4567bed1d6ebd9fa5ce40632c23851bf37ee41


Create class and Default test exclusion rule

This PR closes #98
Added class extension to dynamically be able to exclude tests on defaults.
Currently only adds one test exclusion, but it should be easy to add more if needed.

The TestName property on SkipTest was specified as a [string], now it's a [string[]] and is called TestNames instead. Well done, works like a charm!