Android Oreo only Force Close with icon requests

Hi,
I received several feedbacks from users. It's an Oreo bug (100% of bug reports in the Play Store Dev Console).
Unfortunately I only run Nougat on my devices.
Here is the log:
java.lang.NullPointerException:
at android.view.View$4.setValue (View.java:24453)
at android.view.View$4.setValue (View.java:24451)
at android.animation.PropertyValuesHolder$FloatPropertyValuesHolder.setAnimatedValue (PropertyValuesHolder.java:1379)
at android.animation.ObjectAnimator.animateValue (ObjectAnimator.java:990)
at android.animation.ValueAnimator.setCurrentFraction (ValueAnimator.java:654)
at android.animation.ValueAnimator.setCurrentPlayTime (ValueAnimator.java:617)
at android.animation.ValueAnimator.start (ValueAnimator.java:1046)
at android.animation.ValueAnimator.start (ValueAnimator.java:1065)
at android.animation.ObjectAnimator.start (ObjectAnimator.java:852)
at android.animation.ValueAnimator.startWithoutPulsing (ValueAnimator.java:1058)
at android.animation.AnimatorSet.handleAnimationEvents (AnimatorSet.java:1142)
at android.animation.AnimatorSet.doAnimationFrame (AnimatorSet.java:1046)
at android.animation.AnimationHandler.doAnimationFrame (AnimationHandler.java:146)
at android.animation.AnimationHandler.-wrap2 (Unknown Source)
at android.animation.AnimationHandler$1.doFrame (AnimationHandler.java:54)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:964)
at android.view.Choreographer.doCallbacks (Choreographer.java:778)
at android.view.Choreographer.doFrame (Choreographer.java:710)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:952)
at android.os.Handler.handleCallback (Handler.java:789)
at android.os.Handler.dispatchMessage (Handler.java:98)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6803)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:767)
Thank you!

Nexus 6P - Oreo (OPR5)
CandyBar library v3.4.1
All fine

@Primokorn Make sure you are using latest release, also if you still got the crash report, check the app version and make sure it's the latest.

@danimahardhika I've just received a new email from a user.
He's using the latest version of my icon pack which is based on CandyBar v3.4.1.
As recommended I always clean the project before compiling.

@Primokorn did you edit the library? or you work only wiyh a sample project?

@Primokorn The log doesn't show anything related to CandyBar. Probably this is just a random crash, like user close the app when there's a running process (loading or building icon request).
As @xorRisont said, the dashboard works fine on Android Oreo

@xorRisont I follow the wiki (by updating build.gradle as always).
@danimahardhika Okay then I'll ask them to send a full log. It may help to understand the force closes.

@danimahardhika I found a (unstable) AOSP rom to flash on my Nexus 5 to try my icon pack on Oreo.
Here is a part of the log
com.osheden.raya is the icon pack.
I can't post the log due to the instability of the ROM. I got about 4000 lines in 5s...

@Primokorn please try in Android Emulator

@xorRisont I've never tried the emulator but I'll try tomorrow and keep you informed.

@Primokorn
@danimahardhika
https://youtu.be/UdoZUBs5Urs

@Primokorn
https://youtu.be/UdoZUBs5Urs
i can make video with all dashboard's functional

The emulated devices don't start on my computer (Manjaro Linux) so I can't try with an emulator...

@Primokorn ok. your iconpack don't start  on any device (8.0) or broke some function?

@xorRisont The dashboard force closes when opening the icon request tool.
I use Candybar for all my icon packs and only Raya force closes. I finally found a solution to get the emulator working and I tested other icon packs.
I have uploaded the full log. Maybe you can find something.
I tried to clean and rebuild the project. I don't know what to do now...
log.txt

It seems like you are modifying the library and because the log shows there's a required resource that missing.

How could I do that?
I think I'll start from scratch by creating a brand new app/dashboard.

@danimahardhika So I created a new icon pack from scratch using v3.4.1 and I also have a force close with the icon request tool :-(
Is there anything I can do to solve this problem?

@Primokorn What device are you using? And tell me what exactly are you doing? When the crash happened?

@danimahardhika I tried with this ROM on my Nexus 5 and a Pixel (8.0 system image) with the Android Studio Emulator.
From the main screen of the dashboard, I select the Icon Request card then the app force closes.

Tried on Nexus 6 and Pixel with Android Oreo everything works fine.
Make sure you have updated your Android SDK. Make sure to have latest version of android support repository and android support library.
Also make sure to put appfilter.xml inside xml folder.

I'll do but I launched the SDK manager so everything should be up to date.
Actually I think it could be caused by the config file (java folder).
I'm not at home but I'll try with the config file of a working icon pack.

@danimahardhika The problem was indeed with the file .../java/com/osheden/raya/applications/CandyBar.java
diff
On the left, the working config
On the right, the file that doesn't work on Oreo.
My computer is not powerful so I can't make many tests until I find the line that creates the error.

I'll take a look into it

Hey, I'm getting crash reports with a similar issue. The user is also running Oreo and the app crashes when icon request is pressed. I attached the crashlog, hope it can be useful.
crashlog.txt

@Primokorn @aiocen I can't find which part that causing this problem. Tried on emulator and my own device, everything works fine. Already tried using @Primokorn configuration also works fine. I really needs some help. It will be more helpful if you know about logcat.

@danimahardhika I have no device that runs Oreo. I'll try to install a stable build on my OnePlus 3T.
Emulator requires too much power to run.
What do you need in the log? The part where the crash happens, right?

@Primokorn Yes, the current log posted here doesn't really help


[bug] libgtk-x11-2.0.so.0: cannot open shared object file when installing plugins

Insomnia Version: v5.16.1
Operating System: ubuntu18.04

Details
When installing a plugin, Insomnia complains that /snap/insomnia/12/insomnia: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Howere, there is  libgtk-x11-2.0.so.0 in my computer.
locate libgtk-x11-2.0.so.0
/snap/chromium/274/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/snap/chromium/274/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.30
/snap/electronic-wechat/7/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/snap/electronic-wechat/7/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.30
/snap/gnome-3-26-1604/59/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/snap/gnome-3-26-1604/59/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.30
/snap/insomnia/12/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/snap/insomnia/12/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.30
/snap/slack/6/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/snap/slack/6/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.30
/snap/tusk/15/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/snap/tusk/15/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.30
/snap/zeal-casept/26/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/snap/zeal-casept/26/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.30
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.32
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.32

I just played around with this a bit and it seems like this happens in both the Snap and AppImage packages. I assume it has something to do with the plugin install script launching a new process. It seems to be breaking out of the app container and not being able to find the dependencies anymore.
For now, if you're using Ubuntu, the deb package should work. You can also install plugins into the plugins folder manually using npm or yarn.

Have the same issue on Fedora 29 when clicking on Install plugin.
Insomnia 6.3.2 installed using snap
Insomnia npm error: Command failed: /snap/insomnia/24/insomnia --no-deprecation /snap/insomnia/24/resources/bin/yarn-standalone.js info Insomnia --json
/snap/insomnia/24/insomnia: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory

gtk3 is installed and dependency is at /usr/lib64/libgtk-3.so.0

I am having the same issue using Ubuntu 18.04.2 LTS and Insomnia 6.3.2 installed using snap

Same here on Ubuntu 19.04 using the snap

same problem in kde neon based on ubuntu 18.04.2

I'm having the same issue in Pop!_Os

Manual installation worked for me. Note, that I have installed Insomnia on Fedora using snap.

Go to your plugins directory:

cd /home/user/snap/insomnia/current/.config/Insomnia/plugins

Install the plugin manually (in this case it's insomnia-plugin-default-headers plugin):

npm install insomnia-plugin-default-headers

Reload insomnia plugins: Tools -> Reload plugins

@gschier:
I suggest to put this into Plugins documentation. I can make a PR if desired.

Manual installation worked for me. Note, that I have installed Insomnia on Fedora using snap.

Go to your plugins directory:

cd /home/user/snap/insomnia/current/.config/Insomnia/plugins

Install the plugin manually (in this case it's insomnia-plugin-default-headers plugin):

npm install insomnia-plugin-default-headers

Reload insomnia plugins: Tools -> Reload plugins

@gschier:
I suggest to put this into Plugins documentation. I can make a PR if desired.

I tried this but can't install manually.

Manual installation worked for me. Note, that I have installed Insomnia on Fedora using snap.

Go to your plugins directory:

cd /home/user/snap/insomnia/current/.config/Insomnia/plugins

Install the plugin manually (in this case it's insomnia-plugin-default-headers plugin):

npm install insomnia-plugin-default-headers

Reload insomnia plugins: Tools -> Reload plugins

@gschier:
I suggest to put this into Plugins documentation. I can make a PR if desired.

I tried this but can't install manually.

I use
yarn add insomnia-plugin-default-headers
instand of npm install insomnia-plugin-default-headers,
it will download to the directory, it ok

Manual installation worked for me. Note, that I have installed Insomnia on Fedora using snap.

Go to your plugins directory:

cd /home/user/snap/insomnia/current/.config/Insomnia/plugins

Install the plugin manually (in this case it's insomnia-plugin-default-headers plugin):

npm install insomnia-plugin-default-headers

Reload insomnia plugins: Tools -> Reload plugins

@gschier:
I suggest to put this into Plugins documentation. I can make a PR if desired.

I tried this but can't install manually.

I use
yarn add insomnia-plugin-default-headers
instand of npm install insomnia-plugin-default-headers,
it will download to the directory, it ok

What is YARN? a testing command??

@asyba: Perhaps, don't use sudo for installing nmp plugins?

@asyba: Perhaps, don't use sudo for installing nmp plugins?

I try that, but is not working.

@asyba:
OK, how did you install insomnia in the first place?

@asyba:
OK, how did you install insomnia in the first place?

sudo snap install insomnia

@asyba:
I think your issue is not related to Insomnia. Something is wrong with your nodejs installation. Search on npm update check failed, fix and then retry.

@asyba:
I think your issue is not related to Insomnia. Something is wrong with your nodejs installation. Search on npm update check failed, fix and then retry.

Ok, I fix that,
but again the same error. I check Insomnia folder and there is no package.json file, so How we can install plugins if there is no pacakge.json file??

@asyba:
It works for me.
[user.local@localhost manuscript_screening]$ cd /home/user.local/snap/insomnia/current/.config/Insomnia/plugins
[user.local@localhost plugins]$ npm install insomnia-plugin-aws-cognito-token
npm WARN saveError ENOENT: no such file or directory, open '/home/user.local/snap/insomnia/62/.config/Insomnia/plugins/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/user.local/snap/insomnia/62/.config/Insomnia/plugins/package.json'
npm WARN plugins No description
npm WARN plugins No repository field.
npm WARN plugins No README data
npm WARN plugins No license field.

+<EMAIL_ADDRESS>added 20 packages from 83 contributors and audited 49 packages in 5.418s
found 0 vulnerabilities

npm install insomnia-plugin-aws-cognito-token

mm I skip the audit, but nothing happens in the Insomnia app it doesn't show there.

@barseghyanartur it will work if I install the app from .deb file or from apt-get ?
Or the plugin error is the same on those scenarios?

I installed it with snap on both ununtu and fedora.

I installed it with snap on both ununtu and fedora.

I fix it with "npm init" , what version of npm and node do you have?
I have npm 6.13.4
node v12.16.1

Node.js: v13.5.0
npm: {
npm: '6.13.4',
ares: '1.15.0',
brotli: '1.0.7',
cldr: '36.0',
icu: '65.1',
llhttp: '2.0.1',
modules: '79',
napi: '5',
nghttp2: '1.40.0',
node: '13.5.0',
openssl: '1.1.1d',
tz: '2019c',
unicode: '12.1',
uv: '1.34.0',
v8: '7.9.317.25-node.23',
zlib: '1.2.11'
}

I'm getting this on Ubuntu 20.04 with Insomnia installed via snap (v7.1.1). Manually installing in the plugin dir works for me at least.
Any progress on a fix for this?

Insomnia v2020.4.1 installed via snap v2.46.1+20.04
I am getting:
Error: Yarn error /snap/insomnia/105/insomnia: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

    at file:///snap/insomnia/105/resources/app.asar/bundle.js:99635:16
    at ChildProcess.exithandler (child_process.js:311:5)
    at ChildProcess.emit (events.js:223:5)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:430:11)
    at Socket.emit (events.js:223:5)
    at Pipe.<anonymous> (net.js:664:12)

while trying to install plugin.
This shared library seems to be installed:
/snap/gnome-3-28-1804/128/usr/lib/x86_64-linux-gnu/libX11.so.6
/snap/gnome-3-28-1804/128/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
Manually installing plugin as suggested above works.

For the ones who wish to use bash; You can add an executable script with the following contents:
#!/bin/bash

plugins=( \
    "insomnia-plugin-XXXX" \
    "insomnia-plugin-YYYY"
)

echo -e 'Install Insomnia plugins'

pluginsDir="$HOME/snap/insomnia/current/.config/Insomnia/plugins"

which yarn || sudo apt install yarn

for plugin in "${plugins[@]}"; do
    (cd $pluginsDir && yarn add $plugin)
done

echo -e 'done'

For the ones who wish to use bash; You can add an executable script with the following contents:
#!/bin/bash

plugins=( \
    "insomnia-plugin-XXXX" \
    "insomnia-plugin-YYYY"
)

echo -e 'Install Insomnia plugins'

pluginsDir="$HOME/snap/insomnia/current/.config/Insomnia/plugins"

which yarn || sudo apt install yarn

for plugin in "${plugins[@]}"; do
    (cd $pluginsDir && yarn add $plugin)
done

echo -e 'done'

any solution?

any solution?

Solution:
cd /home/$USER/snap/insomnia/current/.config/Insomnia/plugins
npm init -y
npm install insomnia-plugin-name


Allow override of webhook port in Helm chart

1. Issue, if available:
No issue
2. Description of changes:
This change allows the override of the port used by the webhook deployment when using the Helm chart. This is useful in clusters where the AWS CNI is not used (host networking is required) and we want to ensure pods don't accidentally step on each other's toes if we have other webhook admission controllers. We're specifically mapping the ports used by these controllers to prevent these types of collisions, so having the ability to override the port is quite useful.
3. Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: link to issue
[X] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tuananh your helm chart CI checks are already coming in handy :)

Haha... yeah! I'll have to look at how you're doing that because I know we run into similar problems. Certainly a nice check to have in place.
On another note... I didn't do any bumping of the chart version. I assumed you'd take care of that whenever you do your next release (which looks to be on the same lifecycle as karpenter itself)?

Yes -- for now. Planning on cutting a release this afternoon.

Haha... yeah! I'll have to look at how you're doing that because I know we run into similar problems. Certainly a nice check to have in place.

Just a simple dirty check that's run on make dev and make ci: https://github.com/aws/karpenter/blob/main/Makefile#L42


Add SocketException and 'insufficient data written' to retryable exceptions

This fixes #1180 and #1018

Coverage increased (+0.006%) to 85.849% when pulling 42a1571a913d4f962ad1702ed1e7db38d9e2a420 on mziccard:storage-retry-exceptions into 8acf3c3fb7b2fdc1322435e81d1273ab0278f3c4 on GoogleCloudPlatform:master.

FYI @fonzy2013
@aozarov Do you mind having a look? This also retries the 'insufficient data written' exception, more background can be found at #1018

LGTM

@mziccard which release should I use for this fix? 0.2.8 or 0.29-SNAPSHOT?

@fonzy2013 I wrote you here on Friday (its seems notification got lost :(): 0.2.8 contains this fix. For more details on the changes contained in 0.2.8 have a look at our release notes


Adding a Button on Login

Pull Request
Related Issues:
[List any related issues or reference them using the syntax #180.]
Fixes #180
Description:
I have added continue with google button on Login page.
Checklist:

[x] I have tested my changes.
[x] My code follows the project's coding standards.
[ ] I have updated the documentation (if applicable).

Screenshots:

@SHIVAA17 can you add an animation to 'OR' just like the other elements in the form?

okay mentor .I will try it out.If any help is required i will ask on slack

@SHIVAA17 sure

I have added Animation to OR (text).please review it

I have done.created a new branch
On Wed, 13 Dec 2023, 6:27 pm Ankit Kr Chowdhury, @.***>
wrote:

Merged #197 https://github.com/ani1609/Spendwise/pull/197 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/ani1609/Spendwise/pull/197#event-11235611167, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ARYDVTWRTSEN45AHYQ72FN3YJGQ2ZAVCNFSM6AAAAABAR427JCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGIZTKNRRGEYTMNY
.
You are receiving this because you were mentioned.Message ID:
@.***>


Test CPU version of micm with nvhpc

building both cpu and gpu versions and running cpu tests in github actions

Codecov Report
Patch and project coverage have no change.

Comparison is base (467c02b) 97.14% compared to head (688c547) 97.14%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #238   +/-   ##
=======================================
  Coverage   97.14%   97.14%
=======================================
  Files          32       32
  Lines        2590     2590
=======================================
  Hits         2516     2516
  Misses         74       74

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


JRuby support?

I see that Zeus only claims that MRI and Rubinius are compatible. What features specifically are missing in JRuby that Zeus needs? I did not see any forking, nor C extensions, nor C ext dependencies...
Spring will soon support JRuby, after some hacking on UNIXSocket by @mrbrdo. It would be nice if other popular preloading/prebooting systems worked on JRuby too...

Oh, I just saw #297 :-(
Where is fork used? Wouldn't it be possible to just launch a new process?

Ok, I see...it's very similar to how Spring uses fork, no?
See https://github.com/rails/spring/pull/449 where @mrbrdo has introduced a pooled subprocess model when fork is not available.

Unfortunately fork is pretty fundamental to what Zeus does today so JRuby support isn't planned (per #297). Sorry!


updating height and width of datatable to auto in Pharmacare Account

Updated styling of lightning data table of  Pharmacare Account to auto

@crystalz2022  @NataliaNikishina  @rahulmantriSFDC
Could you please verify it.
This request is based on the observation seen yesterday in the UAT environment smoke testing. Thank You!

No longer valid


V2， use  navCtrl.push(..) in a modal page , there display dislocation

Ionic version:  (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ...  (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

Expected behavior:

use  navCtrl.push(..) in a modal page , there display dislocation。

Steps to reproduce:

Related code:
insert any relevant code here

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
insert the output from ionic info here

Hello, thanks for opening an issue with us! I am going to close this issue as a duplicate of https://github.com/driftyco/ionic/issues/8631


refactoring the video creative process

@jeanstemp - in response to https://github.com/prebid/Prebid.js/issues/4979, I revisited the video creative docs. Please take a look when you get a chance. I suspect it needs some work. Happy to chat.

thanks Jean


build: update golang.org/x/crypto/ssh

This pulls in a fix for golang/go#18861.
Fixes #290.

This is the diff: https://github.com/golang/crypto/compare/bed12803fa9663d7aa2c2346b0c634ad2dcd43b7...728b753d0135da6801d45a38e6f43ff55779c5c2


Toggling windows between browser tabs on amsul.com/pickadate.js causes the pickadate to reload itself

Step 1: load amsul.com/pickadate.js
Step 2: click the text field to make it pop up [Try me...]
Step 3: Toggle to another window after clicking away without clicking anything else on the page.
(ctrl + t) a new tab and then click to it within your browser to load the other web page.
Step 4: Return to amsul.com/pickadate.js (clicking the previous tab, now 2 open) and the same fire event will cause the datePicker to load and gray the background out immediately upon clicking the action to toggle back to the web domain.

Found this bug working on a angular app with the JS library, my solution was to blur it using the onClose built into pickadate.js
Thanks!

Date Picker not unfocusing correctly #770 is the identical issue (with solutions), once I found it this morning decided to close this. No point of duplicates.


How to add a custom simple network and be able to use TensorRT-LLM to generate an engine and infer

System Info
None
Who can help?
@juney-nvidia @kaiyux
How can I add a custom simple network and be able to use the TensorRT-LLM generation engine and infer, for example, the network is self.attention with random weights and the input is random? Can you provide a sample, thank you.
Information

[ ] The official example scripts
[ ] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
None
Expected behavior
None
actual behavior
None
additional notes
None

This document https://github.com/NVIDIA/TensorRT-LLM/blob/main/docs/source/workflow.md explain the workflow of TensorRT-LLM, hoping it is helpful.


bump oas renderer

Description
Related Jira ticket
Bump oas-renderer and its dependencies to support OAS 3.1
Testing instructions
Preview link:
Checklist

[x] Review label added
[x] Conditional version tags added, if applicable.

For example, if this change is for an upcoming 3.6 release, enclose your content in {% if_version gte:3.6.x %} <content> {% endif_version %} tags (or if_plugin_version tags for plugins).
Use any of the following keys:

gte:<version> - greater than or equal to a specific version
lte:<version> - less than or equal to a specific version
eq:<version> - exactly equal to a specific version

You can do the same for older versions.

there's no rush, I should have added testing instructions though 🤦
we need to make sure that the specs render correctly, and click around to make sure that nothing is broken


Initial file structure for the portal website

The files are extracted from portalPredictions

To test the website:
Clone the repo
Install pandoc-citeproc https://pandoc.org/installing.html
Open R

library(portalcasting)

#Update data and models
setup_production()

#Update Website
rmarkdown::render_site()

@ethanwhite please take a look at the instructions

Looks great!


Gist upload

It'd be great to be able to upload a file as public or private Gist using hub. When used together with nbviewer it'd be a super convenient way to share Jupyter notebooks.

Good idea!
Please give a future label.

You can already relatively easily create a gist using hub api. The only tricky part is that the JSON payload needs to be manually constructed. In this example I do that with jq:
gist() {
  local filename
  local public=false
  if [ "${1:-}" = "--public" ]; then
    public=true
    shift 1
  fi
  filename="${1?}"
  jq -nR --arg filename "$filename" --argjson public "$public" '
    {"files":{($filename):{"content":input}},public:$public}
  ' "$filename" | hub api gists --input - | jq -r '.html_url'
}

gist myfile.txt
gist --public myfile.txt

Creating or editing gists is not anywhere near on our roadmap for hub so I'm going to close this for now.

Shame, this would be really useful functionality.


About The Retrieval Source

First of all, I would like to express my sincere gratitude to all the authors for their outstanding work and for open-sourcing such an excellent dataset. 👍 👍 👍
I am currently attempting to conduct some tests with RAG (Retrieval-Augmented Generation) on this dataset, and I have some confusion regarding the retrieval source that I hope the authors can help clarify.
In RAG, it is necessary to first chunk and index the Wikipedia pages that may be used for retrieval.
The paper's Section 3.1 mentions that all QA involves a total of 4,121 Wikipedia articles. Is this the complete retrieval source?
Or should I use the author-provided wikicache.tar.gz file (~9.43GB)? (Of course, this would consume a massive amount of Embedding Tokens and take a significant amount of time.)
Based on my understanding, this cached Wikipedia is preliminarily filtered out through BM25 based on the Question across all Wikipedia page Titles. I am not sure if this is correct.
Additionally, I would like to ask where I can directly download the actual 4,121 Wikipedia articles that are used.

The Open Book setting is conducted over all of English Wikipedia as a knowledge base. If you have the ability to self-host Wikipedia, the SQL dump is provided at https://datasets.mechanus.zhu.codes/fanoutqa/enwiki-20231120-pages-articles-multistream.xml.bz2, though this will take a couple hundred GB of disk space!
We recommend using the pip library provided by this repo to download Wikipedia articles as needed. The library will ensure that the text downloaded is the revision as of November 2023. The wikicache.tar.gz file can be used to prepopulate the cache for this library, but is optional - it's all of the files downloaded onto my machine when we were running experiments, not necessarily filtered in any way.
We don't recommend embedding all of Wikipedia - that would be prohibitively expensive for all but large organizations! Instead, your model should use a search tool to find relevant article titles, then retrieve from the text of individual articles returned by the search tool (i.e., index individual pages instead of the entire knowledge base).


API to report distance moved

I'd find it very useful if the API had some mechanism (promise/await?) to report the total distance a token moved. This would allow a system to dynamically adjust the color banding to account for smaller moves made during a turn.
Thanks for all your work. This had rapidly turned into an absolute "must have" module.

Thanks for the kind words. I have something along those lines planned for 1.4.0 (if nothing more urgent pops up until then), so stay tuned!

This was implemented in 35624a37aa07670ba69095a03f5c8c0857e123cb.


Problem Keyboard hide after write one char in TextInput (textinput inside Flatlist Header)

Description
Hi ,
i spent all day on this problem , the problem is :
whene i placed a TextInput inside a Flatlist , the bihaver of the TextInput Changed , the Keyboard lose focus  after every character writed.
Version
0.63.2
Output of react-native info
    "react": "16.13.1",
    "react-dom": "16.13.1",
    "expo": "~42.0.1",

Steps to reproduce

i reated a State Variable  called  ==> [inputSearch, setInputSearch]
i wrote a textinput inside the ListHeaderComponent of Flatlist

The pronlem is : After every Character pressed in Keyboard the Keyboard Hide
Snack, code example, screenshot, or link to a repository
State declaration :

const [inputSearch, setInputSearch] = useState(null);

TextInput is inside Flatlist
    <View style={styles.container}>
        <StatusBar
             backgroundColor="#11131B"
             barStyle="light-content"
        />

        <View style={{width: '100%', flex: 1 , backgroundColor: 'white', marginTop: 5}}>

            <FlatList
                contentContainerStyle={{alignItems: 'center',paddingHorizontal: 20}}
                keyExtractor={(item) => (Object.keys(item).length === 0) ? "" : item.id.toString()}
                width= {width}
                numColumns={2}
                ListHeaderComponent={() =>
                    <View  style={{flexDirection:'column',justifyContent:'space-between'}}>

                       <Text style={{color:Colors.dark1, fontSize:14, marginBottom: 5}}>Search :</Text>
                       <TextInput style={styles.input} value={inputSearch} onChangeText={setInputSearch} placeholder="Username"/>

                    </View>
                }
                data={SIMPLE_DATA}
                renderItem={renderItemRow}
            >

            </FlatList>
        </View>

      <View>

`

i tried this but not working :

I have the same issue with TextInput. I guess TextInput loses its focus because of FlatList. I tried to apply stopPropagation, but it doesnt work. The same behaviour here -
111 333

I have the same issue with TextInput. I guess TextInput loses its focus because of FlatList. I tried to apply stopPropagation, but it doesnt work. The same behaviour here - <Text>111<View> <TextInput /></View>333</Text>
On android it works. Issue is only on iOS

i get te answear on Stackoverflow :
https://stackoverflow.com/questions/69837357/problem-keyboard-hide-after-write-one-char-in-textinput-textinput-inside-flatli/69840602?noredirect=1#comment123469338_69840602

but i also faced with this problem , without using Flatlist

I have the same issue with TextInput. I guess TextInput loses its focus because of FlatList. I tried to apply stopPropagation, but it doesnt work. The same behaviour here - <Text>111<View> <TextInput /></View>333</Text>
On android it works. Issue is only on iOS

i get te answear on Stackoverflow :
https://stackoverflow.com/questions/69837357/problem-keyboard-hide-after-write-one-char-in-textinput-textinput-inside-flatli/69840602?noredirect=1#comment123469338_69840602

But it would not work in this case -
111 333

Isn't because the flatlist seems like a bug when you press the hardware back button and you can't focus the text input anymore

This is still a problem. For such a common use case, one would think there would be a solution that isn't "yeah just don't update state from within the flatlist".

i solved the problem, but performance not good since flatlist keep rerender every onchangetext update state.

any updates?

Facing the same issue...
"expo": "~46.0.16",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-native": "0.69.6"

For my use case, this worked:
`
you can also try rendering component directly without call back function like this
<FlatList
...
ListHeaderComponent={
<Searchbar placeholder="Поиск" onChangeText={query => {this.setState({ firstQuery: query });}} value={firstQuery} style={{ margin: 16, marginBottom: 0 }}/>
}
/>
`
I've been struggling on this for a day, and removing the callback function worked for me.
Saw the solution on the above mentioned stackoverflow solution. It has no upvotes though, just a snarky response.
Just give it a try, it might just work for you.
https://stackoverflow.com/questions/69837357/problem-keyboard-hide-after-write-one-char-in-textinput-textinput-inside-flatli/69840602?noredirect=1#comment123469338_69840602

I have the same issue with TextInput. I guess TextInput loses its focus because of FlatList. I tried to apply stopPropagation, but it doesnt work. The same behaviour here - <Text>111<View> <TextInput /></View>333</Text>
On android it works. Issue is only on iOS

any updates?


Multi-Window Multi-Head Attention implementation for ASR transformer

Added Multi-Window Multi-Head attention (MWMHA) module for Transformer ASR (https://openreview.net/forum?id=Q53QLftNkA).
In general, this contribution adds:

MWMHA implementation
Updated Transformer.py with MWMHA option
Updated TransformerASR.py with MWMHA option
Added small and medium MWMHA LibriSpeech recipe
Added large MWMHA CommonVoice english recipe
Updated LibriSpeech and CommonVoice ASR README with MWMHA results and description

Hey guys!
Hope you are doing great --- this is a very nice PR!
I just turned this PR draft for now, please turn it public when you think it will be ready to be reviewed. You can ping me as well so that I can have a closer look as soon as possible :)
Thanks for your contribution :)
Best,
Adel

Hey Adel!
Thanks for your comment, we have now finished the draft and turned it ready for review  :)
Best,
Nikolai

Hi @Adel-Moumen @TParcollet
We've been waiting for a review for some time now. Any chance you can take a look at it soon? :)


check-endpoints: use control-plane-node-kubeconfig

Use https://github.com/openshift/cluster-kube-apiserver-operator/pull/907

before we ship, make one with narrower permissions.
/close


Release notes link from doc.microsoft.com/nuget takes you to 3.5RC release notes, should be 4.0 RC

Fixed.


feat(linter) eslint-plugin-next inline-script-id

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #1931

PR #1932

PR #1933   👈

PR #1934

This stack of pull requests is managed by Graphite.

Merge activity

Jan 7, 10:49 PM: @Boshen started a stack merge that includes this pull request via Graphite.


UUID values are not automatically converted to their binary form on write on mysql and sqlite

Since prisma does not have the notion of an UUID or Bytes type yet, uuids are treated as strings, and inserted as strings. This is a problem in cases like https://github.com/prisma/prisma2/issues/1772, where we have a mysql binary(16) column holding UUIDs. On insert, the query engine will send the uuid as a string, and we get back an error because the size of the column and that of the string do not match.

I'm really interested about this, this is my blocking point to migrate to prisma !
Actually my DB use UUID stored as varbinary and prisma can't handle them

Cross-posting here:
This kind of changes with the native types. The database in the linked ticket is introspected as:
datasource db {
  provider = "mysql"
  url      = "mysql://root:prisma@localhost:3307/prisma"
}

model ahoy_events {
  id         Bytes     @id @db.Binary(16)
  visit_id   Bytes?    @db.Binary(16)
  user_id    Int?
  name       String?   @db.VarChar(255)
  properties String?   @db.Text
  type       String?   @db.Text
  time       DateTime? @db.DateTime(0)
  created_at DateTime? @db.DateTime(0)
  updated_at DateTime? @db.DateTime(0)

  @@index([id], name: "index_ahoy_events_on_id")
  @@index([time], name: "index_ahoy_events_on_time")
  @@index([user_id], name: "index_ahoy_events_on_user_id")
  @@index([visit_id], name: "index_ahoy_events_on_visit_id")
}

So, now when inserting, the binary params must be sent as bytes and the bytes can be converted to and from with e.g. the uuid library:
import { PrismaClient } from '@prisma/client'
import { parse as uuidParse } from 'uuid'

const prisma = new PrismaClient()

async function main() {
    let user = await prisma.ahoy_events.create({
        data: {
            id: Buffer.from(uuidParse('ba000471-eabd-55d2-8b42-8ac91ec57e13')),
        }
    });

    console.log(user)
}

main()
    .catch(e => {
        throw e
    })

    .finally(async () => {
        await prisma.$disconnect()
    })

Would this be enough to support binary(16) uuid values? If not, we might want to introduce a new type: Uuid.

Yes that should be enough, I think :+1: Can anybody confirm that this works?

Yeah it works with the code I wrote above. Discussed with @matthewmueller and this is a solid solution.

Just checked it out - works

@pimeys,
Your approach shows an error

What I'm doing wrong?

@enheit It is just a typescript error. Cast it to correct type to fix this:
  let user = await prisma.ahoy_events.create({
    data: {
      id: Buffer.from(
        uuidParse("ba000471-eabd-55d2-8b42-8ac91ec57e13") as Array<number>
      ),
    },
  });


Ump get data fix

issue #2387
corrected range expression, added a test suite for UMP parsing

Thanks!

Thanks!


[models] LoadOBJ() is broken

After updating to latest tinyobjloader-c version, OBJ loading does not work... :(

did you add a file loader? I have it working but with lockups on some OBJ's
Would I be wasting my implementing an OBJ loader from scratch (it wouldn't be the first time I've done this...

I've wasted far too much time trying to debug the external code, I came to the conclusion that writing an OBJ loader from scratch would frankly be faster.
I spent a few days and now have some code that can load OBJ's that would cause the external code to lockup (another hashmap issue above the ones I previously found...)
I don't know what the current issue is but with a little more work and testing the code I have is both simpler and more robust despite not yet handling issues like missing mtl files etc.
I'll ask on discord see if anyone can donate some problematic OBJ files, however I'm wondering about the best way to triangulate as this impacts in a number of ways - certainly for now, stipulating that the OBJ should be triangulated is far less of an issue that lockups and seg faults....

@chriscamacho Actually LoadOBJ() was using my custom obj loading implementation up to version 2.0 or 2.5, then I decided to change to tinyobjloader-c to support more features and avoid maintaining that part... since then it seems I had more issues than benefits... :(
OBJ is a simple text file but it has lots of side cases and options, additionally parsing the text is usually slow... easy to load but very difficult to fully all options...

well... I've almost finished writing one myself...

@raysan5 I'm almost done with the loader, do you want me to do a PR with it ?

@chriscamacho It depends on two factors:

Would it be an independent library single-file header-only?
Would you maintain the library and any possible issue that arise from it?

more than happy to maintain it...
what do you mean by independent ? it relies on at least the Mesh and Model
structs and also uses
GetWorkingDirectory
LoadFileText
GetDirectoryPath
RL_CALLOC
LoadMaterialDefault
LoadTexture
MatrixIdentity
rlLoadMesh
RL_FREE
I suppose I could reimplement these but it seems a waste, and is likely a
fair but of work...
currently making a specific part of the parsing more robust, currently its
just embedded into an app using raylib, but once I'm happy with it
I'll turn it into a "single header library"
On Fri, 20 Nov 2020 at 18:50, Ray<EMAIL_ADDRESS>wrote:

@chriscamacho https://github.com/chriscamacho It depends on two factors:

Would it be an independent library single-file header-only?
Would you maintain the library and any possible issue that arise
from it?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/raysan5/raylib/issues/1434#issuecomment-731347215,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFO4SP25AXETXLSWE2SH7TSQ226HANCNFSM4TX2TESA
.

--
blog bedroomcoders.co.uk http://bedroomcoders.co.uk
Disclaimer:
By sending an email to ANY of my addresses you are agreeing that:

I am by definition, "the intended recipient"

All information in the email is mine to do with as I see fit and make
such financial profit, political mileage, or good joke as it lends itself
to. In particular, I may quote it where I please.

I may take the contents as representing the views of your company.

This overrides any disclaimer or statement of confidentiality that
may be included on your message.

@chriscamacho In raylib, all functions or libraries that load some file-format are implemented in an engine agnostic way, to avoid coupling.
In the case of LoadOBJ(), the function or the library loading the .obj file should directly return a obj-specific mesh data structure (that can be similar to raylib Mesh) and material file path. A separate function could also be in charge of material loading (returning a obj-material struct of data), also allowing the lib user to do that on user side if desired. malloc/calloc/free functions could be mapped to macros that later can be mapped to raylib macros.
In a similar way to tiniyobjloader-c, the library can be adapted to any other engine (despite the flaws it can have).

what specific issue do you have with directly coupling this to raylib ?
I'm really not seeing any advantage here, and a number of disadvantages...

In raylib I put lot of efford trying to decouple modules as much as possible, I like that modularity and from my point of view it seems the most organized way to work. The advantages are having an engine independant library to load obj that can be used by anyone and not tied to raylib.
What disadvantages do you see? I know it requires more work, a better design and connecting the library to raylib... but for me those are not disadvantages.

no one is going to use it outside raylib
Its significant work and duplication of code for no actual benefit...
I'll pass thanks.

the reason the current master is seg faulting btw, is that you are setting the file loader callback to NULL...


WIP:  try not quoting the embedded slash in blob names.

Investigating #3809.
Adding a system test to verify fetching hierarchical blobs directly:  it fails without the quoting.

@tseaver, it looks like it's still failing. Did you update the PR given the last commit was back in Jan 8?

Required test coverage of 97% reached. Total coverage: 99.97%
================================== FAILURES ===================================
__________________ Test_Blob.test_public_url_with_non_ascii ___________________
Traceback (most recent call last):
  File "C:\projects\google-cloud-python\storage\tests\unit\test_blob.py", line 182, in test_public_url_with_non_ascii
    self.assertEqual(blob.public_url, expected_url)
  File "C:\projects\google-cloud-python\storage\google\cloud\storage\blob.py", line 247, in public_url
    quoted_name=quote(self.name))
  File "c:\python27\Lib\urllib.py", line 1298, in quote
    return ''.join(map(quoter, s))
KeyError: u'\u2603'
1 failed, 422 passed in 3.61 seconds

It's an issue with 2.7.

@tseaver, I think it's a unicode issue given the following SO question.
Given that, the line could be updated with:
quoted_name=quote(self.name.encode('utf-8')))

@frankyn I opened issue #4935  for the unrelated Bigtable system test flakiness, and restarted the build after cleaning out the orphaned instances.  I plan to merge here later today unless you see a problem.

When it will be in official release?:>


Testing how to work with spanish translation

First file, just a test to see if we can work in this way

@deimidis Thank you, this looks good! Could you please just change the language code to es-es?

Do you think I have to follow es-ES or just es-es it's ok?

es-es will be okay, the language codes are turned to lowercase here https://github.com/jointhefediverse-net/jointhefediverse.net/blob/main/public/js/modules/language-switcher.js#L9.
Thank you!

Great, made the changes. I think I can't approve it, right. Also, I need to change some other files with es-es, I will do it later

Looks good, thank you!


Initial work: Dependencies and App Framework

Note: edoras.cabal is auto-generated based on package.yaml. VSCode automatically changes the former based on the YAML file for some reason.


Permission Denied

Debian Buster
Installed the latest this morning.
Got the following warning:
[WARN keybase json.go:81] 001 Permission denied opening gui config file /etc/keybase/gui_config.json
The gui_config.json is only readable by root causing my user account to complain.
sudo chmod +r /etc/keybase/gui_config.json fixed the issue
Thanks

Did you install keybase as root or as a user with sudo?

As usual on Debian
sudo apt update
sudo apt upgrade
Thanks
On Tue, 29 Oct 2019, 21:05 heronhaye<EMAIL_ADDRESS>wrote:

Did you install keybase as root or as a user with sudo?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/20660?email_source=notifications&email_token=AE47PBFVD7IHZLYTP5PO6QDQRBJ33A5CNFSM4JGC4J5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECQ6ZFA#issuecomment-547482772,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE47PBBLL3AGDPECW5D3ULDQRBJ33ANCNFSM4JGC4J5A
.

What keybase version are you on? keybase version

Hi,
As I said previously. I use the latest :
keybase version 4.7.2-20191028173732+6fc2e969b4
Installed following your documentation about stable release:
https://keybase.io/docs/the_app/install_linux
A remark though: It's little bit strange to provide a stable release under
a repository called prerelease
Thanks for your time
Warmly
“Matter is Energy. Energy is Light. We are all Light Beings.” - Albert
EinsteinPudhuveedu / Xavier
PGP Fingerprint: CAE5 CE4A EFE9 134F D991 5465 081C B6FB 2EAC 6CC9
http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x081CB6FB2EAC6CC9
Le mar. 29 oct. 2019 à 21:24, heronhaye<EMAIL_ADDRESS>a écrit :

What keybase version are you on? keybase version
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/20660?email_source=notifications&email_token=AE47PBEIKQDOOLFN5PNMUE3QRBMCTA5CNFSM4JGC4J5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECRBJSY#issuecomment-547493067,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE47PBGD3GWQRVINHWUFCJ3QRBMCTANCNFSM4JGC4J5A
.


Invalid operationRef in links example

OperationRef Examples suggests a value with a missing / separator after the paths in operationRef:
'#/paths~12.0~1repositories~1/{username}/get' , but it should be '#/paths/~12.0~1repositories~1/{username}/get'  == '#/paths/<'/2.0/repositories/{username}'.encode()>/get.
The example of an absolute operationRef correctly uses a JSON Pointer with a /paths/<JSON Pointer-encoded path item>.
Related to https://github.com/OAI/OpenAPI-Specification/issues/1152

@tfesenko thanks. do you have time to submit a PR to fix it? we're getting very close to the actual release.

@webron wrote:

do you have time to submit a PR to fix it?

Sure! I created PR #1293 for this. Just did not know if you wanted to include this fix into the release.

Thanks, I'll review in just a few minutes. Anything that can be fixed before the actual release is welcome. This means we'll have less patch releases which is always a good thing.

Closed as fixed, thanks again!


Feature request: include all dependent python modules

I have not had success using the script in a docker/jail environment because it's lacking some dependents (such as sublime and babelfish). There's a similar script out there that works because all the dependents are including with the script: https://github.com/clinton-hall/nzbToMedia
However, the focus of that script is for transcoding and there are a lot of bugs for that feature. Would love to be able to use sickbeard_mp4_automator with my SABnzbd setup.

I don't see a reason why all the dependents cannot be included, especially when this script depends on older version of subliminal and guessit.

Only because they were massive rewrites and I haven't had time to update everything yet for the new versions
Sent from my iPhone

On Aug 16, 2016, at 22:19, ladude626<EMAIL_ADDRESS>wrote:
I don't see a reason why all the dependents cannot be included, especially when this script depends on older version of subliminal and guessit.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks for the update. Hopefully you can get to it sometime in the future.


change instructlab logger instead of root

Setting the root log level to DEBUG or INFO generates noisy logs from all modules, not just from openai and httpx.
Changing only the instructlab log level produces more desirable results and avoids the need for workarounds like explicitly setting the log level of external modules.

I have been thinking about the problem a bit. I would prefer to keep the current behavior and have debug level set debugging for ALL loggers. Debug mode is a developer feature to diagnose a problem. What if the problem is in another library?
How about we add a debug level option? Debug level 1 (or ilab -v) enables debug logging just for instructlab loggers. Debug level 2 (or ilab -vv) enables debug logging for all loggers. I can make a PR for the feature.

I have created #1443, will continue working on it on Monday.

@tiran, I recommend merging this PR because your solution is not yet ready. Please note that this PR restores the original behavior, where only InstructLab's debug messages are printed.
BTW, you can emit a lot traces with python -m trace --trace -C ..


Monitor display EHOSTUNREACH and DOWN when is UP

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Hi:
I have a problem with a a few monitors, For a few days, an error appears (and marking the monitor as down) but it is incorrect, the machine is up.
The monitors are monitoring some printers, but it seems strange to me that being on the same network, some printers (of the same model) work and it is clearly seen when they are active and when they are not, and these cannot.
Sorry if my English is bad :(
📝 Error Message(s) or Log

🐻 Uptime-Kuma Version
1.21.2
💻 Operating System and Arch
Docker
🌐 Browser
Firefox 112.0.2
🐋 Docker Version
Portainer
🟩 NodeJS Version
16.19.1

I have tried, I have it in 9 trys if I don't remember bad, and i can confirm you is not the cable/software because I have the same model in other site and it's works perfectly.

Got same error

It will Intermittently up and down, even through sites didn't down

i can confirm you is not the cable/software because I have the same model in other site and it's works perfectly.

Why are you shure about this?
Have you exchanged printers? Does the problem stay with the printer/ the line?
@iamalexblue from your screenshot some of these sites are via a DDNS. Have you checked that this is the case? Heisenbugs dropouts can be hard to debug remotely, please open another issue with full context (linking this issue), to keep this managable :)

Sorry for my rude reply. I just saw some issues that looks familiar then commented on it.
And thanks for ur reply. Yes some of my sites are mapped through DDNS, but actually they work fine at most time. Eventually, after testing I found that it might be related to the monitoring configuration and the hardware size allocated to Docker（Free Hosting platform always has many limit,so I decide to migrate uptime_kuma to azure container apps)

i can confirm you is not the cable/software because I have the same model in other site and it's works perfectly.

Why are you shure about this?
Have you exchanged printers? Does the problem stay with the printer/ the line?
@iamalexblue from your screenshot some of these sites are via a DDNS. Have you checked that this is not the issue? Heisenbugs can be really hard to debug remotely, please open another issue with full context (linking this issue), to keep this managable :)

Sorry for my rude reply. I just saw some issues that looks familiar then commented on it.

No worries, was not percieved that way.

And thanks for ur reply. Yes some of my sites are mapped through DDNS, but actually they work fine at most time. Eventually, after testing I found that it might be related to the monitoring configuration and the hardware size allocated to Docker（Free Hosting platform such as Pikapods always has many limits but miss some features, so I decide to migrate uptime_kuma to azure container apps)

Interesting. What kind of error messages did you get? Could this be the underlying issue in this Thread too?

i can confirm you is not the cable/software because I have the same model in other site and it's works perfectly.

Why are you shure about this?
Have you exchanged printers? Does the problem stay with the printer/ the line?
@iamalexblue from your screenshot some of these sites are via a DDNS. Have you checked that this is not the issue? Heisenbugs can be really hard to debug remotely, please open another issue with full context (linking this issue), to keep this managable :)

Sorry in advance if my English is bad
I am sure of it because from the computer I can do a ping and it does it without returning an error.
I'm waiting tomorrow to change the printer for another device and test if it really is the cable, but I highly doubt it.
PS: I just remembered that the printers were always located in the same place and from x day the error started. I'll try to do tests on Monday and I'll ask here again.

I think the problem is the firewall of the Docker container...?
I tried to do a ping in the container terminal but it doesn't work, I don't understand why those specific IPs cannot ping from one day to the next, because when the container was raised, all the monitors were working.
That's all the info i have for now for this error, probably i will try to re-install or install it directly in a virtual machine if the problem persist


Player update of Abyss.to

Today i saw changes in palyer design, the script stopped working, i tried myself to fix the script, but abyss embed page always blocks me from inspecting the page

Found it

How to decode

JsFuck ?


enable submit register form

also took out the username field since we can use the user's email or phonenumber as the username

Forget this PR, this one is newer: https://github.com/loerk/phone_a_friend/pull/9


Partial Records issue with subscribing to events in posting codeunits

Describe the bug

Potential issue with the partial records and appears to be a change in behaviour between BC18 and BC19.
In my case I extended the Warehouse Shipment Line with a new field. I then subscribed to an event that passed the Warehouse Shipment Line in the Post Whse Shipment codeunit and tried to reference the added field and got the following error:
'JIT loading of field(s)  failed'
What appears to be happening is that it has decided in doesn't need the fields in the extension so that partial record functionality is not loading them in the posting  codeunit. The record that gets passed in the event is therefore missing these fields. The code in my event subscriber is referencing the field so the partial record functionality is trying to load those fields. The kicker is the physical record was deleted just prior to the event and therefore it errors trying to load the fields.
This is a common pattern in the posting routines where the record being processed is loaded into a variable and passed as a parameter in every event in the posting routine both before and after the actual record is deleted. This may well be the intended behaviour with partial records but in my opinion breaks the extensibility model of being able to safely subscribe to an event

To Reproduce
Add a new text field to the warehouse shipment line table in an extension.
Subscribe to the event  OnAfterReleaseSourceForFilterWhseShptLine in Whse.-Post Shipment codeunit.
Reference new field i.e. if WarehouseShipmentLine.NewField <> '' then

Expected behaviour
Should be able to successfully execute code triggered by the subscription.

Actual behaviour
Error 'JIT loading of field(s)  failed'

Versions:
AL Language: v8.2.545335

@PhDuck - this is for you.

Hey @GaryFrostick2
In the below quote, what do you mean by it? The runtime never applies Partial Records on records in codeunits.

What appears to be happening is that it has decided in doesn't need the fields in the extension so that partial record functionality is not loading them in the posting codeunit.

Therefore, I would suspect this is an manual application of Partial Records through calling the SetLoadFields on a given record. If that is the case, then the caller is responsible for selecting the correct fields. Since passing it to an event makes it impossible to foresee what fields are actually needed this should generally not be done.
In your case where the record is deleted from the database it is even worse, cause we know subsequent JIT loads will fail. I'm wondering if the delete happens on another record instance, since a call to Delete on a record with Partial Records applied will do a JIT load for missing fields before doing the delete, to exactly avoid this scenario.
If the event caller is deleting it on another record, I think we have gotten to the case where we can question if the event caller got it right here.
Partial Record's usage guidelines explicitly says not to use it when doing deletes:

For performance reasons, it's not recommended to use partial records on a record that will do inserts, deletes, renames, transferfields[...]

On the matter of Partial Records and its compatibility with the current extensibility model:
The same problem already exists with CalcFields, if you call CalcFields before and after the delete. While you might not get an error you may get wrong data (arguably worse), or no data in the case of blobs.
Partial Records has always been a performance feature, which is to be used to speed up reading many rows. I don't fully understand the scenario here, but personally I would never call an event in a loop, so I wonder why it was applied here, where an event is called.
@thloke please close this issue.

@PhDuck
I'm not sure you are understanding the issue.
This is a subscription to a standard event in a standard codeunit and the record passed as a parameter is a partial record therefore causing the reported error in the subscriber to the event. The subscriber is only reading the record doing nothing more. SetLoadFields is not used in the standard code unit or the subscriber.
The problem can be easily reproduced using the example I gave.

Create a Table Extension to Table 'Warehouse Shipment Line' and add a new field (in my case a text field but it does not matter).
Create a codeunit and subscribe to event OnAfterReleaseSourceForFilterWhseShptLine in Whse.-Post Shipment codeunit.
This passes the Warehouse Shipment Line as a parameter. In this read the value of the field added in the table extension.
If  = '' then Message('Ok');

This will trigger the error.
The behaviour has changed between versions of Business Central and in my option makes subscribing to standard events in some cases unsafe therefore I consider this a bug.

Completely understood your comment and everything I said in my previous message still stands.
The event publisher should consider the repercussions of using Partial Records together with deleting the record. Or at the very least make sure to call delete on the rec they pass to the event.

Closing as per @phduck 's comment. Also, this is out of scope for this repository, since it's to do with runtime behaviour rather than the AL language and/or compiler itself.


Oracle驱动问题优化

如果是oracle.jdbc.driver.OracleDriver驱动，替换为oracle.jdbc.OracleDriver，并wran，使用error容易让人误解。
原来是如果使用了过时的驱动，然后提示error,并继续使用过时的驱动，
现修改为如果使用了过时的驱动，提示warn,说明已改为新版的驱动。

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

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


[parley] Limit input text size to 2^30 bytes

1 GB of text per layout is more than generous. We're likely to see severe performance degradation long before reaching this limit anyway suggesting that applications wanting to support excessively large buffers will need to do some segmentation and caching.
Rationale: this lets us use u32 instead of usize for internal indices which can significantly reduce memory requirements for internal data structures. Using 30 bits instead of 32 (or 31) allows us to occasionally steal a bit for other info (often incredibly useful) while still preserving the use of MAX_SIZE + 1 as the exclusive end boundary.

To be clear, are you wanting MAX_SIZE + 1 to be $$2^{30}$$, or $$2^{30}-1$$? That is, do we have bits 30 and 31 available as "scratch", or just bit 31?

Yes :) That’s my off by one error. I think we might as well reserve the 2 bits because 1 GB per layout seems to be plenty.


Unable to resolve relation target for single table entities

run cycle:sync and got:
[Cycle\Schema\Exception\RelationException]
Unable to resolve last.info relation target (not found or invalid)
Entities example:
/** @Entity */
class Post
{
    /** @Column(type="primary") */
    public $id;
}

/** @Entity */
class Article extends Post
{
    /** @Column(type="string") */
    public $articleTitle;
}

/** @Entity */
class Last
{
    /** @HasOne(target="Article") */
    public $info;
}

Hi, this is "kinda" the correct behavior. Since the child is always stored in the parent table the relation
info will be pointing to Post as well. So we have 2 options:

Change the info target to Post
We can automatically point it to Post since we know the parent (a.k.a add sugar)

I think the second is preferred. What do you think?

Patch is on it's way.

The issue of aliasing to STI has been addressed in https://github.com/cycle/annotated/releases/tag/v2.0.1 Please update.

Now it's working, thank you.


Fix rerunning rustdoc when output deleted

If crate/index.html is missing, we need to rerun rustdoc!
Closes #2379

r? @brson

@bors r+

:pushpin: Commit 2c089cf has been approved by brson

:hourglass: Testing commit 2c089cf with merge d6e148d...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64


Move pthreads dependency to test only.

Currently pthreads is required to build mx but should only be required to build mxtest.

This was already done, but also #79 will remove the unnecessary dependency in the examples.


[windows][test] Mark the test as unsupported on Windows, but correctly.

Can I blame this on auto-complete?
Continuation of #36214.

@swift-ci please smoke test macOS platform

Pretty nasty "everything" crashing which definitely was not caused by this PR.
Supposedly we lost a large number of nodes and they're recovering now -- let me trigger again.


queryParameter's order via zuul changed

spring cloud version: Edgware.SR3
Bug report:
when I am using zuul, I found that queryString changed,
for example, consider a request is handled like the following path:
browser ->  zuul ->  web
if I use the following url to visit zuul ：
http://localhost/hello?c=1&a=1
web will receive this request:
http://localhost/hello?a=1&c=1
this issue does affect us because some of our rest api care about the order of the parameters.
And I found that the new zuul version com.netflix.zuul:zuul-core:1.3.1 have resolved this issue,  maybe some upgrade is needed.

I tried Edgware.SR3, and with just zuul force upgraded to  1.3.1, this issue get resolved and works fine.


Delete animation in AnimationPlayer doesn't update the tracks

Godot 2.1.4, not tested in 3.0
I just removed the last animation of my AnimationPlayer, but all its tracks and keyframes are still shown:

Fixed in the current master branch.


Strange behaviour when using xs.combine array in hyperscript helper

Using xstream 10.2.0 and @cycle/dom 15.2.0 I've encountered the following mind boggling behaviour.
When given an array of VNode's produced by an xs.combine stream, the DOM is not updated when the array changes. The same array produced by a .map(node => [node]) however does update the DOM! And the output of both for as far as I can see, is identical! It seems to be an issue with cycle/DOM. In version 14.3.0 the same code does update the DOM.
Code to reproduce the issue:
let testApp = function (sources) {
  let vTree$:any = xs.periodic(2000).map(t => (t % 2) === 0 ? div({
    props: { className: "Class 1" },
    style: { width: "20px", height: "20px", backgroundColor: "#FF0000" }
  }) : div({
    props: { className: "Class 2" },
    style: { width: "20px", height: "20px", backgroundColor: "#00FF00" }
  }));

  // vTree$ = vTree$.map(v => [v]); // DOES update the DOM.
  vTree$ = xs.combine(vTree$); // DOES NOT update the DOM
  return {
    DOM: vTree$.map(n => div(n))
  };
};
run(testApp, {
  DOM: makeDOMDriver("#app")
});

Expected behavior:
The DOM should update when given an array of VNode's produced by xstream's combine.
Actual behavior:
The DOM does not update.
Versions of packages used:
"@cycle/dom": "^15.2.0",
"@cycle/run": "^1.0.0",
"xstream": "^10.2.0"

I think it's because you're mutating vTree$ which should be a const by the way. This code below worked:
import xs from 'xstream'
import {run} from '@cycle/run'
import {makeDOMDriver, div} from '@cycle/dom'

let testApp = function (sources) {
  let vTree$ = xs.periodic(1000).map(t => (t % 2) === 0 ? div({
    props: { className: "Class 1" },
    style: { width: "20px", height: "20px", backgroundColor: "#FF0000" }
  }) : div({
    props: { className: "Class 2" },
    style: { width: "20px", height: "20px", backgroundColor: "#00FF00" }
  }))

  // Before
  //const vdom$ = vTree$.map(v => [v]).map(n => div(n))

  // After
  const vdom$ = xs.combine(vTree$).map(n => div(n))

  return {
    DOM: vdom$
  };
};
run(testApp, {
  DOM: makeDOMDriver("#app")
});

That said, xs.combine is tricky because it mutates the output array instead of emitting new array references every time. This behavior means major performance improvements when compared to emitting new arrays, but in some cases you need to be careful that this mutation doesn't cause bugs.

I am still not seeing any changes running your code on Chrome Version 56.0.2924.87

Right, I was using Cycle DOM v14 (because ESNext bin chose that automatically) and indeed with v15 the bug occurs.

Using lodash's clone version to clone the output from xstream's combine array does work to trigger DOM updates. So this has to be related to the mutated array output, I think.

It's strange, though, because in both working and nonworking examples, xstream version is v10.2 with the mutating combine output.

I agree, it's a very mind boggling issue! Certainly some kind of regression must have happened between 14.3.0 > 15.2.0 to stop the mutated array from working. I am still looking if I can find the root of the problem.

Transposition may have created copies of the array before?

Right now my strongest assumption is that it's a combination of xstream combine's mutating behavior plus snabbdom's reference equality checks on vdom children (which changed a bit from Cycle DOM 14 to 15).

Transposition may have created copies of the array before?

Tylor :+1: so smart

Anyway, by now it's obvious this is a bug and not just a question.

Right now my strongest assumption is that it's a combination of xstream combine's mutating behavior plus snabbdom's reference equality checks on vdom children

This makes a lot of sense, too.

I did some debugging and for as far as I can tell, the DOM is not being updated because of this line:
https://github.com/snabbdom/snabbdom/blob/master/src/snabbdom.ts#L267
where snabbdom checks if the children are equal. I believe this is because of the referenced array that xs.combine produces.
I can definitely see why such a check might be prudent. Would mutated array references be common enough to merit the test's removal or should this problem be solved in cycle/dom?

Basically yeah, but the issue is deeper. The problem is that at some point in the patch, both vnode and oldVNode refer to the same object because the oldVNode's content was mutated. So a patch on that will do nothing.

Should vnodes copy children array references? I can imagine that everything becomes a lot easier if vnodes produce immutable children arrays. Although I guess this comes with a performance impact.

That would have to be done in snabbdom and I don't think it's the correct spot because snabbdom's optimization by reference is actually a good idea. Currently I think the candidate solutions are:

In general use combine+map in a way that will create a new array, e.g. notice this https://github.com/cyclejs/cyclejs/blob/master/examples/bmi-nested/src/BmiCalculator.js#L16
Or use combine(a$,b$).map(n => div([...n]))
Clone the array in xstream (would have performance drawback everywhere)

I'm confused, however, why does this work https://github.com/staltz/cycle-onionify/blob/07d1199432ca5d676ec4ab433c628f9a8a349f17/examples/advanced/src/List.ts#L29-L32

I definitely think the best solution is to place the performance penalty on the consumer of xstream's combine and snabbdom. As long as you are aware of the way that these optimizations conflict with eachother, you can work around them by cloning the array yourself. The only problem I see is how to make this interaction apparant.

https://github.com/staltz/cycle-onionify/blob/07d1199432ca5d676ec4ab433c628f9a8a349f17/examples/advanced/package.json
Old @cycle/dom?

Another possibility is to add array cloning in cycle/dom's hyperscript helpers.

Sorry I had the wrong link, this one uses DOM v15 and also works https://github.com/staltz/cycle-onionify/blob/ff461f788362c6801538aa1e4efc345cd53c4c1c/examples/advanced/package.json

Another possibility is to add array cloning in cycle/dom's hyperscript helpers.

True, it could be this:
function createTagFunction(tagName: string): Function {
  return function hyperscript(a: any, b?: any, c?: any): VNode {
    const hasA = typeof a !== 'undefined';
    const hasB = typeof b !== 'undefined';
    const hasC = typeof c !== 'undefined';
+   if (Array.isArray(a)) a = a.slice();
+   if (Array.isArray(b)) b = b.slice();
+   if (Array.isArray(c)) c = c.slice();
    if (isSelector(a)) {
      if (hasB && hasC) {
        return h(tagName + a, b, c);
      } else if (hasB) {
        return h(tagName + a, b);
      } else {
        return h(tagName + a, {});
      }
    } else if (hasC) {
      return h(tagName + a, b, c);
    } else if (hasB) {
      return h(tagName, a, b);
    } else if (hasA) {
      return h(tagName, a);
    } else {
      return h(tagName, {});
    }
  };
}

https://github.com/staltz/cycle-onionify/blob/master/examples/advanced/src/List.ts#L31
This still works because xs.combine is being called on every stream emission, so a new array is created each time.

Right!
PS: right now I'm experimenting with which cloning strategy is the fastest (https://jsperf.com/new-array-vs-splice-vs-slice/19) and if the perf hit isn't bad on xstream, I'll do cloning in xstream. Or in hyperscript helper.

You should also try adding a test like
b = Array(a.length)

for (var i = 0; i < a.length; ++i)
  b[i] = a[i]

Current xstream version:
combine(add3) -> filter 500000 x 3 integers
-----------------------------------------------
xstream      19.47 op/s ±  1.54%   (49 samples)
most         48.26 op/s ±  1.29%   (73 samples)
rx 5         11.59 op/s ±  1.46%   (56 samples)
-----------------------------------------------

When using cloning of the type while (i--) b[i] = a[i] in xstream combine:
combine(add3) -> filter 500000 x 3 integers
-----------------------------------------------
xstream      12.29 op/s ±  4.66%   (60 samples)
most         48.92 op/s ±  0.90%   (73 samples)
rx 5         10.96 op/s ±  2.49%   (53 samples)
-----------------------------------------------

I'd say these results are satisfactory, given that it's still a bit faster than RxJS.

@TylorS Yep you're suggestion of yields
combine(add3) -> filter 500000 x 3 integers
-----------------------------------------------
xstream      16.10 op/s ±  1.18%   (73 samples)
most         48.62 op/s ±  0.90%   (73 samples)
rx 5         11.28 op/s ±  1.20%   (55 samples)
-----------------------------------------------

Which is awesome. Let's do this fix in xstream so we solve this for good.

Closing this issue because it's in xstream instead. Keep an eye on upcoming xstream v10.3

@Steelfish did xstream v10.3 fix it for you?

@staltz Using xstream v10.3 I am indeed seeing the expected behaviour.


manager: Refactor setting to be separate resources

In order to be easily watched and expanded in the future.

This will impact upgrade since the old version of setting won't be supported.


ParagraphStyle Domain: Match Examples from GeMS Document?

I saw in the latest release that Create Database now includes a ParagraphStyle domain for the DMU. This sounds like it could be quite helpful for standardizing to some extent, how this field is populated. Tracey Felger and I had two thoughts about the implementation:
Have codes/descriptions reflect the GeMS Document
For the domain codes and descriptions that are similar to the examples found in the GeMS Document, would be possible to have them match? For example::

DMUUnit1, DMUUnit2 instead of DMU Unit 1, DMU Unit 2.
DMUHeading1, DMUHeading2 instead of DMU-Heading1, DMU-Heading2

Provide definitions in the Glossary for ParagraphStyle domain codes/values
Much in the way that certain and questionable are defined in the Glossary if standard confidence are included, would it be possible to include definitions in the Glossary for the ParagraphStyle values?

Ok, so the codes in the new domain match the style names that are found in \Resources\DMU_Template.docx which is based off MapManuscript_v3-1_06-22.dotx, the Word template that Taryn Lindquist told me is the authoritative template for USGS editors as of now. And even the older template that Ralph based his first tool on, and which was the basis for the ParagraphStyles that made it into the GeMS document as examples, uses, more or less, the same style names. That is, I don't know why the examples that are in the GeMS document are what they are. It may be because the names of the styles as they are saved in the xml-version of the document have no spaces, but the best practice with the python module (docx) that the tool uses to build the Word doc is to use the name as it appears in the Styles section in Word.
Also, the new DMU to DOCX tool can accept styles like 'DMU Unit 1' or 'DMUUnit1' because of a dictionary that tries to match what's found in the table with what is needed for the Word doc. I can add other variations as needed.
Of course, I thought about adding Glossary definitions for the styles, but I didn't have text descriptions of them yet and I figured I would kick the can until I get back to working on metadata. But I just figured out how to print style properties from a document, so I will add that to the queue.

Ok, we are convinced that the domain values make sense since they are directly from MapManuscript_v3-1_06-22.
And, thanks for putting the Glossary entries in the queue! Ultimately, this will make things easier for us and others in the long run, so we appreciate the upgrades.


Create tiles/section for GCP Secrets

I don't see any metrics that secrets expose, besides maybe logs-based metrics. What kinds of tiles did you have in mind?

These were all aspirational.  It looks like you are right.
I'd love metrics around things like secret age, so we could assess (alert on?) the need for rotation.


ROX-21485: Disable repo list for quay scanner's registry

Description
The ACS Quay Image Integration can be set as a 'scanner' - upon doing so the quay scanner logic creates an underlying registry used when 'matching' the scanner integration to an image during scanning.  This PR disables the usage of the 'repo list' for that registry to improve matching and align with the default behavior of other non-autogenerated registries.
User-facing documentation

[x] CHANGELOG is updated OR update is not needed
[x] documentation PR is created and is linked above OR is not needed

Testing

[ ] inspected CI results

Automated testing
None
How I validated my change
Deployed changes to an infra cluster, changed the default quay integration to and from scanner type, and observed debug logs indicating whether repo list was disabled as desired.
Before fix:
## Changing integration to be a 'scanner' only
pkg/registries/docker: 2024/07/25 22:26:56.409193 docker.go:98: Debug: created integration "Public Quay.io" with repo list enabled
pkg/registries/docker: 2024/07/25 22:26:56.467053 docker.go:98: Debug: created integration "Public Quay.io" with repo list enabled

## Changing integration to back to a 'registry' only
pkg/registries/docker: 2024/07/25 22:27:28.167875 docker.go:98: Debug: created integration "Public Quay.io" with repo list disabled
pkg/registries/docker: 2024/07/25 22:27:28.210377 docker.go:98: Debug: created integration "Public Quay.io" with repo list disabled

After fix:
## Changing integration to be a 'scanner' only
pkg/registries/docker: 2024/07/25 22:43:57.777313 docker.go:92: Debug: created integration "Public Quay.io" with repo list disabled
pkg/registries/docker: 2024/07/25 22:43:57.923338 docker.go:92: Debug: created integration "Public Quay.io" with repo list disabled

## Changing integration to back to a 'registry' only
pkg/registries/docker: 2024/07/25 22:44:20.025618 docker.go:92: Debug: created integration "Public Quay.io" with repo list disabled
pkg/registries/docker: 2024/07/25 22:44:20.076436 docker.go:92: Debug: created integration "Public Quay.io" with repo list disabled

/retest


Various documentation adjustments

Please describe the changes this PR makes and why it should be merged:
This PR includes a ton of docs changes, ranging from fixed typos, capitalization ("Discord" instead of "discord", "DataStore" instead of "datastore") and fixed phrasing to expansion of certain parts of the docs.
Semantic versioning classification:

[ ] This PR changes the library's interface (methods or parameters added)

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)

[x] This PR only includes non-code changes, like changes to documentation, README, etc.

I don't see the need for mass-pluralizing all the method descriptions.  It seems fine to leave method descriptions as an action as opposed to a result.  However, I do agree with the capitalization and improved phrasing.

The mass-pluralizing was done for two reasons:

It seemed inconsistent throughout the docs between pluralized and singular forms
I personally think it makes more sense to have them pluralized


Fails to turn into correct MathJSON

I went through some mathematics notes and found the following interesting equations. I tested them on the compute engine demo page https://cortexjs.io/compute-engine/demo/
(Information for myself: Page 1 of ANA_UE_SS_21_Mo_1.pdf , meaning there are a few more testcases)

[x] \begin{equation*} N(\varepsilon)\coloneq\lceil\frac{4}{\varepsilon^2}\rceil \end{equation*}

turns into "" syntax-error

[x] \begin{equation*} x_{1,2}=1,2 \end{equation*}

turns into ["Equal", ["Subscript", "x",     {num: "12"}],   {num: "12"}]. Notice how the comma is missing

[x] \begin{equation*} \{1,2\} \end{equation*}

turns into ["Multiply", "\\{",   {num: "12"}, "\\}"]. I assume this happens because sets haven't been implemented yet

[x] \begin{equation*} [1,2] \end{equation*}

turns into "" syntax-error. I assume this happens because vectors/matrices and the like haven't been implemented yet.

[x] \begin{equation*} \frac{2}{\sqrt{n}}\Leftrightarrow n>\frac{5}{n^2} \end{equation*}

turns into the following, notice how \\Leftrightarrow doesn't have a special meaning and its precedence is off

[
  "Greater",
  [
    "Multiply",
    ["Divide",
      {num: "2"}, ["Sqrt", "n"]],
    "\\Leftrightarrow",
    "n"
  ],
  ["Divide",
    {num: "5"}, ["Power", "n", 2]]
]

[x] \begin{equation*} |a_n|\le\frac{2}{\sqrt{n}}\Rightarrow a_n\to0=0 \end{equation*}

turns into the following, notice how \\Rightarrow doesn't have a special meaning (implies) and its precedence is off.

[
  "LessEqual",
  ["Abs", ["Subscript", "a", "n"]],
  [
    "Equal",
    [
      "To",
      [
        "Multiply",
        ["Divide",
          {num: "2"}, ["Sqrt", "n"]],
        "\\Rightarrow",
        ["Subscript", "a", "n"]
      ],

      {num: "0"}
    ],

    {num: "0"}
  ]
]

[x] \begin{equation*} 3\equiv5\mod7 \end{equation*} or also \begin{equation*} 3\equiv 5 (\mod 7) \end{equation*}

This is a congruence relation. I assume this is simply something that hasn't been implemented yet. Hopefully it's a good test case for round-tripping

[ ] \begin{equation*} a={\displaystyle \lim_{n\to\infin}a_n} \end{equation*}

turns into

["Equal", "a", "Missing"]
syntax-error

[ ] \begin{equation*} \forall x\in\C^2:|x|<0 \end{equation*}

turns into the following

[
  "Element",
  ["Multiply", "\\forall", "x"],
  ["Power", "ComplexNumber", 2]
]
syntax-error

[ ] \begin{equation*} \forall n\colon a_n\le c_n\le b_n\implies\lim_{n\to\infin}c_n=a \end{equation*}

turns into the following, note how a few operators aren't parsed and how the precedences for other operators are slightly off. I think the correct order of operations in this case would start at the :, then the => and then the normal rules. Another interesting tidbit here are the two <= signs. While a comparison would usually return a boolean value (true/false), here the comparisons are more like a range.
The expression is a part of the squeeze theorem.

[
  "LessEqual",
  [
    "Multiply",
    "\\forall",
    "n",
    "\\colon",
    ["Subscript", "a", "n"]
  ],
  [
    "LessEqual",
    ["Subscript", "c", "n"],
    [
      "Equal",
      [
        "Multiply",
        ["Subscript", "b", "n"],
        "\\implies",
        ["Subscript", "\\lim", ["To", "n", "\\infin"]],
        ["Subscript", "c", "n"]
      ],
      "a"
    ]
  ]
]

Those are excellent test cases, thank you!
x_{1,2} is a particularly interesting one: the comma is a valid inter-digit separator (as in "1,234.56") but of course I should be a bit more rigorous when considering it as a digit separator. Still, I suppose that x_123,456 would be ambiguous... Hmmm..

That's true, that makes this test case surprisingly tricky.
It doesn't help that countries and standards can't agree on which decimal separator to use https://en.wikipedia.org/wiki/Decimal_separator
(My preferred one is grouping digits into groups of 3. Simple spacing rules and no funky, ambiguous extra characters.)
For what it's worth, I personally have never seen a , decimal separator in a mathematical equation. However, it does appear somewhat frequently in tables of numbers and other cases where it's mostly just a number.
Another interesting thing that I just found out is that by default, a comma has a small space after it.

Yes, it's considered a punctuation character and so has a small padding on its right.
Note also that you can configure which character (or rather which LaTeX command sequence) is used with the groupSeparator option.
That said, some people have very strong opinions about this: http://wordpress.mrreid.org/2014/05/27/stop-putting-commas-in-your-numbers/
Maybe I should reconsider the default value for groupSeparator... :)

Oh nice, I didn't know that there was configuration option for that :)
I like the idea of changing the default value for groupSeparator, but it doesn't matter very much to me either way.

I found another case where the compute-engine doesn't quite work: Logarithms.
For example \begin{equation*} \log_3(7) \end{equation*} gets parsed as
[
  "Multiply",
  ["Subscript", "\\log", 3],
  ["Parentheses",
    {num: "7"}]
]


fix: missed ref_doc_id in retrieval

DOCUMENT_ID is actually node.node_id now.
It's difficult to track documents which are found by retrieval stage.
I suggest adding ref_doc_id in the attributes.

I have read the CLA Document and I hereby sign the CLA

@mystdeim After reviewing the llama-index source code, it seems that ref_doc_id is a deprecated property and serves as an alias for node_id, meaning they should have the same values. Could you please provide more details about the issues you're encountering with node_id?
https://github.com/run-llama/llama_index/blob/bee0e9d5ab43b5ddca672a75c4a0cc9a7810a6ff/llama-index-core/llama_index/core/schema.py#L351-L356

OK I now understand the issue. Thank you for bringing this to our attention.
Let me discuss it with the team first, and follow up with you afterwards.


Should we raise a KeyError if the env var is missing and default is None?

Shouldn't this function raise a KeyError if s is None?
def config(env=DEFAULT_ENV, default=None, engine=None, conn_max_age=0, ssl_require=False):
    """Returns configured DATABASE dictionary from DATABASE_URL."""

    config = {}

    s = os.environ.get(env, default)

    if s:
        config = parse(s, engine, conn_max_age, ssl_require)

    return config

If the user has not properly configured his environment settings (most likely), and not provided a default fallback value either (also likely), the config will return an empty dictionary, implicitly silencing the issue... (speaking of experience here...)
https://devcenter.heroku.com/articles/heroku-postgresql#connecting-in-python

Hm, I'm not sure - there might be reasons that failing silently is ok. Maybe a warning, or something using the checks framework?
What do other folks think?

@jacobian I agree that maybe a warning should be logged in an instance where parse is not called due to environment variables not being read. I do not think that a KeyError should be raised mainly because this function should fall back onto the default argument value provided.
An option could be to add a raises_exception kwarg (defaulted to False) into the function which can be set if the users want an explicit exception to be raised. This option would keep backwards compatibility whilst giving users a more explicit error option.

I think a warning when default is given and used will become annoying, and we should avoid it. A pretty common pattern I use for local dev is:
DATABASES = dj_database_url.config(default="postgres://local-db-name")

This uses a hardcoded fallback locally, but allows DATABASE_URL (from production, or a .env) to override the default. If I got a warning every time I ran my local server I'd get super-annoyed.
I think what we're talking about is this situation, when env[DATABASE_URL] is not set:
DATABASES = dj_database_url.config()

i.e. no default, and no environ. In that case, settings.DATABASES just ends up silently being {}, which seems wrong to me.
I'm leaning towards a warning in this specific situation -- I think something like "warning: env[DATABASE_URL] is blank, and so is default, so you have no databases. you might want to fix this" would be helpful. I do like your idea of a flag to turn this warning into an actual exception.
So, if env[DATABASE_URL] isn't set, then:
DATABASES = dj_database_url.config()

--> warning - something about setting environ or default
DATABASES = dj_database_url.config(requires_db=True)

---> exception - something about environ being required
Thoughts?

DATABASES = dj_database_url.config(default="postgres://local-db-name")
This uses a hardcoded fallback locally, but allows DATABASE_URL (from production, or a .env) to override the default. If I got a warning every time I ran my local server I'd get super-annoyed.

Completely agree with this. We would only want to raise a warning if the code is called with only default arguments:
DATABASES = dj_database_url.config()
or if a key miss occurs with no default option set.
DATABASES = dj_database_url.config(env='DATABASE_STRING')

https://github.com/jazzband/dj-database-url/pull/199 implements this

Reading this, it does feel "obvious" that if you're calling the config function you really probably do not want an empty dictionary. I would say enough so that raising an exception seems right! A major-version bump change for sure but major versions functionally grow on trees.
So the logic is simply dj_database_url.config(...) raises if it ends up with an empty dictionary (with the text hinting at DATABASE_URL not being set, and default being None?).
I ... I really can't think of a scenario where you want an empty dictionary in the end by default.
I do of course don't think we should be warning when using a specified default.

you might want to generate docs or run CI or something, which involves importing settings.py, from an environment which does not contain runtime environment variables

I think we're converging to where I got to on https://github.com/jazzband/dj-database-url/pull/199#issuecomment-1351628643 so to try and double-check:

warning log message if the database resolves to None, because most of the time, not setting it is bad, and we should tell people for that majority case
OTOH, no exception for that, as there are scenarios where it's fine (because you're not using the DB right now)
Don't do the extra arg thing currently in https://github.com/jazzband/dj-database-url/pull/199 as that's not ideal either i.e. keep the API as-is.

Thoughts folks?

SGTM, a logging.warning won't hurt (no breaking change) and will make debugging trivial in case this slips through the cracks!

I've updated #199 in line with that.


Switch to ANSIBLE_COLLECTION_PATH

Related: https://github.com/tox-dev/tox-ansible/pull/196
devel has deprecated the plural:
[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var
naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This
feature will be removed from ansible-core in version 2.19. Deprecation warnings
 can be disabled by setting deprecation_warnings=False in ansible.cfg.

Since the tox-ansible plugin is inject the singular, we need the same ehre to be picked up and injected.
Otherwise, the 2 are incompatible and result in these errors.
https://github.com/ansible-collections/ansible.scm/actions/runs/5727484046/job/15520195428?pr=224

self approving since this is blocking PR in other repos w/o a release


Fix 'rubberband' controls seen on non-host side

@lightsoda and I confirmed the following on both of our ends (my average ping to his computer is pretty high: 183ms): The host player moves fine on both ends. However, the host cannot see the non-host move (except gradually 'drift' upwards. The non-host can move on his end, but the movement rubber bands towards the center. Then the rubber banding origin drifts upwards towards the top of the screen. We were both using the Windows "Pongball 2017-04-26_c10ab24b build.

@osse101 said it didn't happen after rebuilding the client. Could be a busted build. Can you confirm?

@Cheeseness , I can help re-test if you post an exe somewhere that two of us could try (to ensure we're using exact same exe rather than building potentially subtly different exes).

I'm on Linux and you're on Windows, so there's always the potential for subtle diffrences!

How did you check the ping?

Resolved by #169


cp copy to symlinked folder

Hello,
I'm not sure if there's already an issue open for this topic (there are a few similar but the other way around - copy from symlink)
ln('-s', 'apache-karaf-4.0.4', '/root/apache-karaf');
cp('-r', '/root/modify-karaf/4.0.4/*', '/root/apache-karaf');

and get
shell.js: internal error
Error: ENOENT, no such file or directory '/root/modify-karaf/4.0.4/*'
    at Error (native)
    at Object.fs.statSync (fs.js:797:18)
    at /usr/lib/node_modules/shelljs/src/cp.js:148:21
    at Array.forEach (native)
    at _cp (/usr/lib/node_modules/shelljs/src/cp.js:144:13)
    at /usr/lib/node_modules/shelljs/src/common.js:240:23
    at installKaraf (/root/install.js:140:5)
    at /root/install.js:40:5
    at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:81:16)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:99:10)

from the cp command cp -r /root/modify-karaf/4.0.4/* /root/apache-karaf when I execute the exact same code manually in terminal it works without an error.
Regards,
Lukas
edit:
I think it's not symlink realted... I get the same error when using
cp('-r', '/root/systemFiles/JAVA_HOME/*', env['JAVA_HOME']);
My guess would be, that there's some problem when the wildcarded second parameter only contains folders.

@sakulstra Thanks for reporting this! I think this bug is a duplicate of #389. Here's what I did (and you'll see it uses the latest version of master).
$ ls -RAF # here's my directory structure
.:
node_modules/  root/

./node_modules:

./root:
apache-karaf-4.0.4/  modify-karaf/

./root/apache-karaf-4.0.4:

./root/modify-karaf:
4.0.4/

./root/modify-karaf/4.0.4:
first.txt  second.txt  third.txt

$ npm install github:shelljs/shelljs # install the latest build

$ n_shell # this will use the version we just installed
Warning: using shelljs found at /home/nate/scratch/414/node_modules/shelljs
shelljs $ ln('-s', 'apache-karaf-4.0.4', 'root/apache-karaf');
{ [String: '']
  stdout: '',
  ...
shelljs $ cp('-r', 'root/modify-karaf/4.0.4/*', 'root/apache-karaf');
{ [String: '']
  stdout: '',
  ...
shelljs $ exit();

$ ls -RAF root # we can see it was successful!
root:
apache-karaf@  apache-karaf-4.0.4/  modify-karaf/

root/apache-karaf-4.0.4:
first.txt  second.txt  third.txt

root/modify-karaf:
4.0.4/

root/modify-karaf/4.0.4:
first.txt  second.txt  third.txt
# woohoo!

If this is not fixed against the latest version of master (maybe I misunderstood your bug report), let me know. Otherwise, this fix will be released in v0.7, which should be out this week. I'll close this issue for now, but please reopen if this truly is not fixed.

Whoops! Forgot to mention that n_shell starts a node REPL with shelljs included by default. The warning message means that it's using the locally installed version, which we want in this example (if there's no warning message, then it probably won't work as expected!).

@nfischer: damn, sry didn't see this issue.
It's the same error as in the issue, so it's probably already fixed - to verify I have to wait till 0.7 is out as i don't wont to pollute our buildserver with alternative versions :)
Thx for your help!

No worries! Thanks for reporting this. My favorite bugs are the ones that are already fixed by somewhere else in the code :smile:. And thanks for trying out v0.6!


feat(expr): Implement IS [NOT] DISTINCT FROM expression

What's changed and what's your intention?

This PR implements the IS [NOT] DISTINCT FROM expression.
This was done by using the existing implementations for expressions such as IsNull, IsNotNull, Equals, and NotEquals to build a binding with the same truth value as IS NOT DISTINCT FROM.

Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests

Refer to a related PR or issue link (optional)
#2513

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

The expression binding is fixed so that it can now only evaluate to either true or false (instead of unknown). E2E tests were also added.


Moved the search bar to the right of the body so that it doesn't hide the string in initial row

Moved the search bar to the right of the request/response body by 50% so that the search bar doesn't hide with the text when the search bar is opened.
Closes #7752
Screenshot
Request body

Response body

I seem to understand that this is the search bar for the JSON request body. It seems counterintuitive to show it all the way to the right in the response section, as the user may mistake it for a response filter.
Ideally, when we load the search bar, the request body should go down instead of overlying the search bar on top of the body. This would allow us to fix the issue, while still retaining the search bar in the right place.


Do the encryption part in addOwnership function of TransactionBuilder

Is your feature request related to a problem?
Actually the addOwernship function in the TransactionBuilder expect as input the encoded secret, and a list of object containing public key and encoded secret key.
This might be a bit tricky for developer to use it as they'll need to understand how to create these to encrypted data using aesEncrypt en ecEncrypt.
Describe the solution you'd like
Maybe we could embed directly in the addOwnership function the encryption part, so the developer could just pass the clear secret and a list of authorized public key.
Additional context
No response

Actually, the point of using directly the secret encrypted is to avoid disclosure of the secret during the transaction building, as the secret might have been generated elsewhere like in HSM or other secret place.
So, the developer would have to know how to encrypt or use any encrypted data to inject.


How can I select every 5 minute ?

It look like Jquery-corn didn't support make combination of days i.e. every 10 minute or every 30 minute etc.
Can we achieve this ?
Thanks

function getCronType(cron_str) fails validation of given custom value: "5 Minutes" : "*/5 * * * *" , to fix this specific problem, regular expression should be updated to ^(\d{1,2}|*)(/\d{1,2}|*)?\s((\d{1,2}|*)\s){3}(\d{1,2}|*)$  (needs revision)