FINERACT-1724: Approval limit calculation modification

Description
Describe the changes made and why they were made.
Ignore if these details are present on the associated Apache Fineract JIRA ticket.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[ ] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[ ] Create/update unit or integration tests for verifying the changes made.

[ ] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[ ] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes

[ ] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

I'll write test cases in the fineract-test repository.

Please see my comments and please add test cases which validate your fix!

@adamsaghy can you please recheck? I added an integration test to validate this case.


Ability to use hash (checksum) functions other than MD5

MD5 is good for protecting against transmission errors, but not against MITM attacks (which can be executed easily on many public networks). An option to use SHA-256 or SHA-512 hashes would enable writing more secure Puppet manifests.

Definitely a good suggestion. Not sure when I'd be able to get to it though as I no longer use Puppet on a daily basis. PRs welcome.

This turned out to be easier than I had thought. You can now specify checksum_type when using latest master. Defaults to md5; all algorithms supported by the core File type can be specified.

Thanks!


Failed to read raw packet exception on Windows

some users are getting this error:
[10:35:41] [Thread-39/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.IllegalStateException: Failed to read raw packet
[10:35:41] [Thread-39/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at dev.cbyrne.kdiscordipc.socket.DiscordSocket.readPacket(DiscordSocket.kt:156)
[10:35:41] [Thread-39/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at dev.cbyrne.kdiscordipc.socket.DiscordSocket.access$readPacket(DiscordSocket.kt:44)
[10:35:41] [Thread-39/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at dev.cbyrne.kdiscordipc.socket.DiscordSocket$connect$1.invoke(DiscordSocket.kt:80)
[10:35:41] [Thread-39/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at dev.cbyrne.kdiscordipc.socket.DiscordSocket$connect$1.invoke(DiscordSocket.kt:78)
[10:35:41] [Thread-39/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: 	at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)
Some don't, some do, the issue is very inconsistent.

Not enough information. Please provide their OS, discord version and anything else required.

they're both using windows 1902, maybe that's the issue?

this is one person that doesn't have the issue, i do not think it is a windows 1902 problem anymore

It's probably an issue with the windows code. I'll check it out soon.

Fixed, working on my machine with latest Discord Stable build & Windows 11. Check if it is fixed for your users (also, make sure those on 1902 are updated... please...)

@Wyvest, fixed on latest commit. Check with your users if it's fixed on their side. Also, those on 19XX should really update to 20XX...

checked now, with latest commit the issue still is not fixed

@Wyvest does this happen instantly, or does it happen after a while?


Unexpected CPU cycle count with time.tick_cpu()

With a CPU clock of 64 MHz I would expect time.tick_cpu() to overflow after 17 seconds (2^30 / 64_000_000 = 16.77 sec), and for sleep(1000) to take roughly 64 M cycles, however this script yields differnet results:
from microbit import *
import time

def one_sec_cycles():
    ticks_start = time.ticks_cpu()
    sleep(1000)
    ticks_end = time.ticks_cpu()
    return ticks_end - ticks_start

def time_to_overflow():
    # If this is the first call it will start the counter, so give it some headstart
    ticks_start = time.ticks_cpu()
    sleep(20)
    ticks_start = time.ticks_cpu()
    # Wait until it overflows
    while ticks_start < time.ticks_cpu():
        sleep(1)

    time_start = time.ticks_ms()
    ticks_start = time.ticks_cpu()
    while ticks_start < time.ticks_cpu():
        sleep(1)
    time_end = time.ticks_ms()
    return time_end- time_start

while True:
    print("1 sec: {} cycles".format(one_sec_cycles()))
    print("time to overflow: {} ms".format(time_to_overflow()))

Output:
1 sec: 10834428 cycles
time to overflow: 83293 ms

Also, it looks pressing the reset button also break ticks_ms().
Commenting out the last line from the previous script (so that it doesn't run the long time_to_overflow ()):
1 sec: 10292874 cycles
1 sec: 10259788 cycles
1 sec: 10297728 cycles
1 sec: 10285216 cycles
1 sec: 10281097 cycles
# Reset button pressed here
1 sec: 0 cycles
1 sec: 0 cycles
1 sec: 0 cycles
1 sec: 0 cycles

Note that ticks_cpu() only counts cycles of the CPU when it's running.  Doing a sleep(...) puts the CPU to sleep (using wfi) and so the CPU counter stops.

Thanks Damien, you are right, the CPU goes with sleep and that'd be reason it only counts 10M cycles instead of 64, however I am not sure why the count is zero when the reset button is pressed?
I guess it's possible the DWT->CTRL  enable bit CYCCNTENA is maintained between resets (SWD triggered reset on the micro:bit), but not the CoreDebug->DEMCR enable bit TRCENA.
https://github.com/microbit-foundation/micropython-microbit-v2/blob/8d9067d91bcfe316cd3aea5af1a873a37ca23d13/src/codal_port/mphalport.h#L48-L54

This PR fixes the issue for me:

https://github.com/microbit-foundation/micropython-microbit-v2/pull/199


bugfix: fix secret volume mounts for jindofsx and jindocache engine

Ⅰ. Describe what this PR does
JindoFSx or JindoCache engine should either use sts token or ak/sk to access underlying data storage. However, the code now mounts both of them when setting secret to a non-nil name and setting useStsToken=true. This PR fixes the bug.
Ⅱ. Does this pull request fix one issue?

NONE
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/test fluid-e2e

/retest

@TrafalgarZZZ please update the chart version and changelog in  jindocache helm chart.

@TrafalgarZZZ please update the chart version and changelog in jindocache helm chart.

Done.


Error installing ldb_toolchain on CentOS: GLIBC_2.32 not found

I'm encountering an issue while installing the ldb_toolchain (Swift) on my CentOS machine. When running the installation script, I receive the following error:
$ ./ldb_toolchain_gen.sh $(pwd)/ldb_toolchain

$DORIS_HOME/thirdparty/ldb_toolchain/bin/ld.lld: /$DORIS_HOME/thirdparty/ldb_toolchain/bin/../lib/libc.so.6: version `GLIBC_2.32' not found (required by /path/to/gcc14.1.0/lib64/libstdc++.so.6)
collect2: error: ld returned 1 exit status
Generated toolchain cannot compile a simple program.

Environment details:

OS: CentOS (version: 3.10.0)
GCC version: 14.1.0
GLIBC version: 2.32

Steps to reproduce:

Run ./ldb_toolchain_gen.sh $(pwd)/ldb_toolchain

Questions:

Is there a minimum GLIBC version required for the ldb_toolchain?
Are there any known workarounds for this issue on CentOS?
Is there additional information I can provide to help diagnose this problem?

Thank you for your assistance.

Is there a minimum GLIBC version required for the ldb_toolchain?

Nope.

Is there additional information I can provide to help diagnose this problem?

Please provide your environment via env command. Some linker or loader flags are probably causing the issue

Thank you for your quick response. I appreciate your willingness to help diagnose the issue. As requested, I'm providing additional information:
Regarding the ldb_toolchain version:  I am using the latest version, Swift.
Environment information:
I've run the env command as suggested. Below is a sanitized version of the output to protect sensitive information:
TMPDIR=/var/folders/xx/xxxxxxxxxxxxxxxxxxxxxxxxxxx/T/
XPC_FLAGS=0x0
TERM=xterm-256color
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.xxxxxxxxxxxx/Listeners
SECURITYSESSIONID=xxxxx
XPC_SERVICE_NAME=0
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=453
TERM_SESSION_ID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
SHELL=/bin/zsh
HOME=/Users/username
LOGNAME=username
USER=username
PATH=[standard macOS paths]:/usr/local/go/bin
SHLVL=1
PWD=/Users/username
OLDPWD=/Users/username
HOMEBREW_PREFIX=/opt/homebrew
HOMEBREW_CELLAR=/opt/homebrew/Cellar
HOMEBREW_REPOSITORY=/opt/homebrew
INFOPATH=/opt/homebrew/share/info:
HOMEBREW_API_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles/api
HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles/bottles
HOMEBREW_PIP_INDEX_URL=https://mirrors.aliyun.com/pypi/simple/
ZSH=/Users/username/.oh-my-zsh
PAGER=less
LESS=-R
LSCOLORS=Gxfxcxdxbxegedabagacad
LS_COLORS=di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43
AUTOJUMP_SOURCED=1
AUTOJUMP_ERROR_PATH=/Users/username/Library/autojump/errors.log
VIRTUAL_ENV_DISABLE_PROMPT=1
NVM_DIR=/Users/username/.nvm
<EMAIL_ADDRESS>NVM_CD_FLAGS=-q
NVM_RC_VERSION=
DORIS_HOME=/Users/username/code/doris_local
CC=/opt/homebrew/Cellar/gcc/14.1.0_1/bin/gcc-14
CXX=/opt/homebrew/Cellar/gcc/14.1.0_1/bin/g++-14
DORIS_THRIFT=/Users/username/doris/doris_local/thirdparty
LANG=zh_CN.UTF-8

Please let me know if you need any specific details from this output or if there's any other information that would be helpful.
I'm happy to provide any further details or run additional commands if needed. Thank you again for your assistance in resolving this issue.

It appears you're using macOS. ldb_toolchain is only supported on Linux.

I apologize for the confusion earlier. Due to SSH timeout issues, I initially ran the command on my local machine. I've now run the env command on the CentOS machine where I'm experiencing the issue. Here's the sanitized output with key information preserved:
HOSTNAME=SERVER.DOMAIN.LOCAL
XDG_SESSION_ID=525482
GUESTFISH_INIT=\e[1;34m
TERM=xterm-256color
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=[MASKED IP] [MASKED PORT] 443
SSH_TTY=/dev/pts/3
GOPRIVATE=*.com
LC_ALL=en_US.UTF-8
USER=[MASKED]
LD_LIBRARY_PATH=/home/[MASKED]/[MASKED]/code/tools/gcc14.1.0/lib64:
LS_COLORS=[LONG LS_COLORS STRING PRESERVED]
TMOUT=900
GUESTFISH_PS1=\[\e[1;32m\]><fs>\[\e[0;31m\]
MAIL=/var/spool/mail/[MASKED]
PATH=/home/[MASKED]/[MASKED]/code/tools/cmake-3.30.0-linux-x86_64/bin:/home/[MASKED]/[MASKED]/code/tools/gcc14.1.0/bin:/usr/lib/jvm/jdk-17.0.6/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/Arcconf:/usr/local/go/bin:usr/local/bin/apt-get:/usr/local/sql-replay/sql-replay-1.0/bin:/usr/local/ck2:/usr/local/git/bin:/usr/local/apache-maven-3.9.1/bin:/home/[MASKED]/.local/bin:/home/[MASKED]/bin
GOPROXY=https://goproxy.io,https://goproxy.cn,direct
PWD=/home/[MASKED]/[MASKED]
JAVA_HOME=/usr/lib/jvm/jdk-17.0.6
LANG=en_US.UTF-8
GUESTFISH_OUTPUT=\e[0m
HISTCONTROL=ignoredups
GOSUMDB=offexport
SHLVL=1
HOME=/home/[MASKED]
LOGNAME=[MASKED]
CLASSPATH=.:/usr/lib/jvm/jdk-17.0.6/lib/dt.jar:/usr/lib/jvm/jdk-17.0.6/lib/tools.jar
SSH_CONNECTION=[MASKED IP] [MASKED PORT] [MASKED IP] 443
LESSOPEN=||/usr/bin/lesspipe.sh %s
XDG_RUNTIME_DIR=/run/user/1040
GUESTFISH_RESTORE=\e[0m
_=/usr/bin/env
OLDPWD=/home/[MASKED]

unset LD_LIBRARY_PATH and then rerun the ldb_toolchain installation. It's already mentioned in the FAQ.


Download JSON traces from Zipkin

Implemented option to download JSON traces directly from Zipkin in trace visualizer tool.
Plot visualization has a toggle for performance reasons.

Fixed all the comments.


Setting ERROR_404_HELP to false in app config

Extraneous response message when retrieving non-existent customers fixed.

Looks good, merged it.


v10-rc3: Setting VIP Slots via GUI fails

Hello everyone,
In the frontend, the setting for the VIP slots does not yet seem to be adapted to the new API. Currently, changing the slots leads to "400 bad requests". It seems that the argument "num" needs to be changed to "value".

Thank you!

Fixed!


Tkinter GUI crash on implementatin of HTMLFrame (Win10, python 3.8, PyCharm 2021.1.3)

I have implemented a Tkinterweb (3.9) call (HTMLFrame) inside of a ttk Notebook "Tab".  The program is stable until I select the tab with the call where is exits/crashes with the exit code: -1073741819 (0xC0000005).  This appears to be a buffer overflow/access violation problem?
Here is the code snippet with the call:
helpFrame = tk.Toplevel()
helpFrame.geometry("700x800")
helpFrame.title("Help Pages")
tabControl1= ttk.Notebook(helpFrame)
introTab = ttk.Frame(tabControl1)
mainHelpTab = ttk.Frame(tabControl1)
setHelpTab = ttk.Frame(tabControl1)
QApTab = ttk.Frame(tabControl1)
tabControl1.add(introTab, text='Introduction')
tabControl1.add(mainHelpTab, text='Main Help')
tabControl1.add(QApTab, text='QATrack+ Interface Help')
tabControl1.add(setHelpTab, text='Settings Help')
tabControl1.pack(expand=1, fill="both")

QApHtml_file = open(resource_path('QATrack+Interface.html'))
QApText = QApHtml_file.read()
QApHtml_file.close()
QApsubFrame = HtmlFrame(QApTab)
QApsubFrame.load_html(QApText)
QApsubFrame.pack(fill="both", expand=1)
The file it opens to grab the HTML changes, but I have simple HTML to HTML that includes tables and a  section.  For all HTML code it will display for about 2 seconds and then exits with the above exit code.
This is also the same problem I am having with HTMlLabel (given that Label is a subclass of Frame, it appears the issue is with something in the HTMLFrame class?  Or is this more fundamental with the dll, or selection of dll?  I notice there is a folder with tkhtml, with Darwin, Linux, Windows, and a 32-bit, 64-bit options, maybe it is using the 32bit instead of the 64 bit?
Further investigation shows it is a dll, but not in this module.  I would love to move this to a discussion forum, instead of listing as an issue, since it seems to be an issue, but not necessarily with the package.  Full error from Event Viewer in Win10 gives:
Faulting application name: python.exe, version: 3.8.1150.1013, time stamp: 0x5dfab277
Faulting module name: tcl86t.dll, version: <IP_ADDRESS>, time stamp: 0x5c12d592
Exception code: 0xc0000005
Fault offset: 0x00000000000fc633
Faulting process id: 0x7f4
Faulting application start time: 0x01d779ccb91ee152
Faulting application path: C:\Users\user\AppData\Local\Programs\Python\Python38\python.exe
Faulting module path: C:\Users\user\AppData\Local\Programs\Python\Python38\DLLs\tcl86t.dll
Report Id: 828419ce-7046-4d6c-a266-3ec839124afb
Faulting package full name:
Faulting package-relative application ID:
So an issue with a call to the tcl86t.dll.  As a note I will attempt to update to Python 3.9 (with new(?) tcl dll) and see if this helps with the issue. Potentially a collision with 86 vs 64 dll file versions?

Hello,
Thank you for letting me know about this. Perhaps try running your code from Python (and not PyCharm), or running the Tkinterweb Demo (ie. import tkinterweb; tkinterweb.Demo()). Let me know what happens. If you can send me a simplified version of your code that has the issue so that I can try to identify the cause, that would be really helpful. Thanks!

Thank you for the fast reply.  So I tried a couple of variations and apparently tkinterweb either doesn't play well with multiple instances of calls to HtmlFrame or if I call other html display type frames (here I had to implement HTMLScrolledText from the tkhtmlview package for simple multiple html interpretations/no tags).  However, I have the same issues if I ONLY use tkinterweb HTMLLabel or HTMlFrame for multiple "tabs".
I did not try this in just python (outside of PyCharm), since I DID try the tkinter.Demo() with no issues (in PyCharm) and I was able to run a single tab (if you comment out everything BUT the QAPTab information) in Pycharm, where it is also stable.  So it looks like tkinterweb is making more calls to the tcl86t.dll than Win10 thinks is required/good? and it forces the exit out of the program with exit code: -1073741819 (0xC0000005)
This correlates to Win10 event viewer giving this error:Faulting application name: python.exe, version: 3.8.1150.1013, time stamp: 0x5dfab277
Faulting module name: tcl86t.dll, version: <IP_ADDRESS>, time stamp: 0x5c12d592
Exception code: 0xc0000005
Fault offset: 0x00000000000fc633
Faulting process id: 0x4250
Faulting application start time: 0x01d77a6300d17cd1
Faulting application path: C:\Users\irutel\AppData\Local\Programs\Python\Python38\python.exe
Faulting module path: C:\Users\irutel\AppData\Local\Programs\Python\Python38\DLLs\tcl86t.dll
Report Id: 72ba61cf-0246-4888-9eca-1e16652396a5
Faulting package full name:
If you look at the path, Win10 sees this as a Python call issue and not a PyCharm issue?, so as I said, I didn't investigate the Python direct run situation.
I am no expert (I am not a programmer by trade), but this seems like an access violation that could be related to a file open call without a close.  Like, Windows already has a file handle to the open dll file and then the call to the next HTMLLabel/Frame is trying to access the file again?  I don't know where that would be, but if a check to whether the calls to the dll are open already, might fix this?  Again, not a professional, just spitballing why this might be happening.
I should also note that the multiple calls to the HTMLScrolledText (which I think may also access the tcl dll) don't produce the violation, so there may be a way to handle the multiple calls without a crash?  I am certainly not smart enough to figure that out in looking at your code, since this seems like subtle issue?
Again, thank you for the fast response and the hints for troubleshooting . . . it was very helpful for me to learn more strategies for problem solving.
I have attached both the simplified code and the html files I am using that cause my issues.
Thanks,Isaac

On Friday, July 16, 2021, 6:35:20 AM CDT, Andereoo @.***> wrote:
Hello,
Thank you for letting me know about this. Perhaps try running your code from Python (and not PyCharm), or running the Tkinterweb Demo (ie. import tkinterweb; tkinterweb.Demo()). Let me know what happens. If you can send me a simplified version of your code that has the issue so that I can try to identify the cause, that would be really helpful. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi!
I can't seem to find the files, maybe something went wrong when you sent them?

There should be a 15kb zip file attached. If not, perhaps the reply through GitHub is stripping attachments?  If there is no attachment, do you have an alternate email or a place you would like me to upload the file to?
Thanks,
Isaac
Sent from my iPhone
Begin forwarded message:

From: Isaac Rutel @.>
Date: July 16, 2021 at 12:16:29 PM CDT
To: Andereoo/TkinterWeb @.>
Subject: Re: [Andereoo/TkinterWeb] Tkinter GUI crash on implementatin of HTMLFrame (Win10, python 3.8, PyCharm 2021.1.3) (#19)

Thank you for the fast reply.  So I tried a couple of variations and apparently tkinterweb either doesn't play well with multiple instances of calls to HtmlFrame or if I call other html display type frames (here I had to implement HTMLScrolledText from the tkhtmlview package for simple multiple html interpretations/no tags).  However, I have the same issues if I ONLY use tkinterweb HTMLLabel or HTMlFrame for multiple "tabs".
I did not try this in just python (outside of PyCharm), since I DID try the tkinter.Demo() with no issues (in PyCharm) and I was able to run a single tab (if you comment out everything BUT the QAPTab information) in Pycharm, where it is also stable.  So it looks like tkinterweb is making more calls to the tcl86t.dll than Win10 thinks is required/good? and it forces the exit out of the program with exit code: -1073741819 (0xC0000005)
This correlates to Win10 event viewer giving this error:
Faulting application name: python.exe, version: 3.8.1150.1013, time stamp: 0x5dfab277
Faulting module name: tcl86t.dll, version: <IP_ADDRESS>, time stamp: 0x5c12d592
Exception code: 0xc0000005
Fault offset: 0x00000000000fc633
Faulting process id: 0x4250
Faulting application start time: 0x01d77a6300d17cd1
Faulting application path: C:\Users\irutel\AppData\Local\Programs\Python\Python38\python.exe
Faulting module path: C:\Users\irutel\AppData\Local\Programs\Python\Python38\DLLs\tcl86t.dll
Report Id: 72ba61cf-0246-4888-9eca-1e16652396a5
Faulting package full name:
If you look at the path, Win10 sees this as a Python call issue and not a PyCharm issue?, so as I said, I didn't investigate the Python direct run situation.
I am no expert (I am not a programmer by trade), but this seems like an access violation that could be related to a file open call without a close.  Like, Windows already has a file handle to the open dll file and then the call to the next HTMLLabel/Frame is trying to access the file again?  I don't know where that would be, but if a check to whether the calls to the dll are open already, might fix this?  Again, not a professional, just spitballing why this might be happening.
I should also note that the multiple calls to the HTMLScrolledText (which I think may also access the tcl dll) don't produce the violation, so there may be a way to handle the multiple calls without a crash?  I am certainly not smart enough to figure that out in looking at your code, since this seems like subtle issue?
Again, thank you for the fast response and the hints for troubleshooting . . . it was very helpful for me to learn more strategies for problem solving.
I have attached both the simplified code and the html files I am using that cause my issues.
Thanks,
Isaac
On Friday, July 16, 2021, 6:35:20 AM CDT, Andereoo @.***> wrote:
Hello,
Thank you for letting me know about this. Perhaps try running your code from Python (and not PyCharm), or running the Tkinterweb Demo (ie. import tkinterweb; tkinterweb.Demo()). Let me know what happens. If you can send me a simplified version of your code that has the issue so that I can try to identify the cause, that would be really helpful. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hello,
It looks like email reply to Github is stripping attachments.  This should upload it.

Here are the files.
test.zip

Hi,
This seems to be a Tkhtml bug. For some reason when used with a tk.Text widget in a ttk.Notebook, selecting the tab with Tkhtml causes the app to crash. Try this code if you're curious:
import tkinter as tk
from tkinter import ttk
import os

class TkhtmlWidget(tk.Widget):
    def __init__(self, master):
        master.tk.call("load", "C://path/to/tkinterweb/Windows/64-bit/Tkhtml30.dll")
        tk.Widget.__init__(self, master, "html")

root = tk.Tk()

tabframe = ttk.Notebook(root)
tabframe.pack(fill="both", expand=True)

textframe = tk.Text(root)
tabframe.add(textframe, text="TEXT")

htmlframe = TkhtmlWidget(root)
tabframe.add(htmlframe, text="HTML")

root.mainloop()

Selecting the 'HTML' tab will crash the app. This issue only seems to be present in 64-bit Windows. I'll keep looking for a fix, or at least a workaround.

Thanks for the verification and tracking down the specific issue (even though it is not in your project).  I anxiously await a work-around or resolution/update to Tkhtml, either of which might allow a table formatted html file loaded into the tab.  I can always open a new window, but that would be clunky for my app.  Thanks for the help, I will await a fix!  Thanks!

Unfortunately, I haven't been able to find any fixes yet. There are two things that you could do at this point. Firstly, it seems that you are using both tkinterweb.HtmlFrame and tk_html_widgets.HTMLScrolledText in your ttk.Notebook. Since HTMLScrolledText is derived from tk.Text, you are encountering issues. You could consider using only HtmlFrame to display HTML in the Notebook. This should avoid any tk.Text+Tkhtml+ttk.Notebook bugs. Alternatively, you could make your own Notebook widget. Simply create one button per page and put a Frame under the buttons. Make each page a child of the frame. Then, make a callback that runs when a button is clicked, which would call pack_forget on the currently displayed page, and pack on the new page. It's not ideal, but it should work. If I were you, I'd use the first workaround, but if that is not practical for you, the second workaround shouldn't take too long to make. I can provide some code if needed.

I think I attempted to run it all with HtmlFrame before and had a similar problem.  The HTMLScrolledText provided stable function for the other tabs . . . In any case, I updated the code to ONLY use calls to HtmlFrame and it crashes again.

Faulting application name: python.exe, version: 3.8.1150.1013, time stamp: 0x5dfab277
Faulting module name: tcl86t.dll, version: <IP_ADDRESS>, time stamp: 0x5c12d592
Exception code: 0xc0000005
Fault offset: 0x00000000000fc633
Faulting process id: 0xf08
Faulting application start time: 0x01d78e17b6eefb63
Faulting application path: C:\Users\irutel\AppData\Local\Programs\Python\Python38\python.exe
Faulting module path: C:\Users\irutel\AppData\Local\Programs\Python\Python38\DLLs\tcl86t.dll
Report Id: 1a9998f5-025c-45f6-8009-45ce29b27432
Faulting package full name:
Faulting package-relative application ID:
I will see about a test file with the same setup to determine if I have the crash in a simplified script.
The Python output after the error is:
Process finished with exit code -1073741819 (0xC0000005)

Here is the updated code with only the tkinterweb functions (HtmlFrame) and the files to test.  It still crashes, even in the simplified format.
test2.zip

Just chiming in to say I have the exact same issue than irutel and I'm heavily interested in a fix. I'm loading an html content read from a local file that I want to display in a tab and I'm experience the same symptoms. Thanks for bringing this up irutel!

Hi @irutel  @mmarquet,
Sorry for the late response. I still haven't been able to find a fix for this Tkhtml bug. That being said, I've made a wrapper for ttk.Notebook that works with TkinterWeb.
It displays and manages pages on it's own but allows ttk.Notebook to still display tabs. This means that is compatible with TkinterWeb but looks and behaves just like ttk.Notebook. Themes should work as well. I've tried to make it a drop-in replacement for ttk.Notebook, so you shouldn't have any trouble using it. Here is the source code. Simply copy the Notebook class into your script or paste the ModifiedNotebook.py file into the same folder as your code and put from ModifiedNotebook import Notebook at the top of your script. Then, instead of using tabControl1 = ttk.Notebook(...), use tabControl1 = Notebook(...). Let me know if it works as expected. If it works well on your end I will include it in the next update. Otherwise, let me know and I'll keep working on it!

Hey @Andereoo, thanks for the not so late response :) I'm out of the office until monday but I'll definitely give this a try then. Thanks for you work, I will keep you posted! :)

@Andereoo,
(and @mmarquet)
I have implemented the file/import method and changed the reference to your Notebook.  I am happy to report I have stability AND I have some nicely formatted (html5 table calls) which are now displayed, without the windows error (and python crash).  I am very thankful for your time and updated code for Notebook.  I also appreciate the mods, advice and the updated code to implement.  I will let you know if I experience any other odd behaviors, but at the moment, I think you have answered all my questions.  The wait was not too long and definitely worth it!  Thanks again!

I'm excited to read that, can't wait to implement it too!

I can confirm it works on me end too, I also used the file importing method. Thanks for the fix!

@mmarquet @irutel Thanks for confirming that the code works on your end. I have updated TkinterWeb today. The new Notebook widget is included. You can now use from tkinterweb import Notebook to use the modified Notebook widget. As always, let me know if you encounter any other issues!


remove outdated sample query

Background
Remove Athena query from GWS External Share
Changes

See above

Testing

Repo has no automated tests

:old-man-shakes-fist-at-linter:


force key type

would be nice to be able to force property type
suppose we have:
{
"updated":{},
"created":{}
}

this will  create 2 useless objects Updated and Created, would be nice instead to tell json2dart to create the corresponding properties in the class as Date objects
probably to follow the naming pattern can be:
{
"updated.date":{},
"created.date":{},
"issuer.user": {}
}

@Miamoto-Musashi Hi 👋
Here are all supported date formats.
2008-09-15T15:53:00
2007-03-01T13:00:00Z
2015-10-05T21:46:54-1500
2015-10-05T21:46:54+07:00
2020-02-06T14:00:00+00:00

To tell that you want a date object just copy and paste one of the formats and the generator will detect it.
{
  "updated": "2008-09-15T15:53:00",
  "created": "2008-09-15T15:53:00"
}

Or your mean to speed up the coding by adding the date keyword?

@iamarnas thx for clarifying, is it documented the date feature?
my request BTW is not only for dates but for every type like User: ("issuer.user": {})

@Miamoto-Musashi Can you provide me an exact example with raw JSON and final Dart code?

@iamarnas thx for clarifying, is documented the date feature?

No 😄 But I can add this, np.

Hi @iamarnas
 //   REQUEST
  {
    "__className": "Request.model",
    "key": "5621f8a9-f05a-4469-bddf-0cdb56b24771-3",
    "candidates.candidate": [{}], <-- type Candidate
    "cargoes.cargo": [{}], <-- type Cargo
    "cargoSummary.summary": <-- type Summary
    "loadContacts.contact": [{ <--type Contact
      // "__className": "Contact.model",
      "key": "110afe06-ec31-4d9b-b933-d9e060c7bcb7",
      "address": null,
      "phone": "+393477972533",
      "organizationKey": "110afe06-ec31-4d9b-b933-d9e060c7bcb7",
      "countryCode": "ITA",
      "lastUpdate": "2015-10-05T21:46:54+07:00", //UTC time, need to be converted from and to FrontEnd
      "r@isOrigin": true
    }], //minutes
    "unLoadContacts.contact": [{
      "key": "110afe06-ec31-4d9b-b933-d9e060c7bcb7",
      "address.address": null, <--type Address
      "phone": "+393477972533",
      "organizationKey": "110afe06-ec31-4d9b-b933-d9e060c7bcb7",
      "countryCode": "ITA",
      "lastUpdate": "2015-10-05T21:46:54+07:00", //UTC time, need to be converted from and to FrontEnd
      "r@isOrigin": true
    }],
  },

// CANDIDATE
  {
    "__className": "Candidate.model",
    "distance":{
      "lastUpdate": "2015-10-05T21:46:54+07:00",
    },
    "motorKey":"110afe06-ec31-4d9b-b933-d9e060c7bcb7"
  },

.....

would generate something similar to:

// assuming everything on the same folder by  #45
import 'candidate.model.dart';
import 'cargo.model.dart';
import 'summary.model.dart';

class Request {
  String key;
  dynamic bids;
  String ownerKey;
  double price;
  String currency;
  List<Candidate> candidates;
  List<Cargo> cargoes;
  Summary cargoSummary;
  List<Contact> loadContacts;
  List<Contact> unLoadContacts;
....
}

somewhere else we defined the Cargo, Candidate objects

@Miamoto-Musashi  Would look like this with enhancement.
  {
    "__className": "Request.model",
    "key": "5621f8a9-f05a-4469-bddf-0cdb56b24771-3",
    "candidates.candidate": [{}], <-- type Candidate
    "cargoes.cargo": [{}], <-- type Cargo // If you want to have cargo in the same directory, then you need to provide an object. Otherwise will be created an empty class.
    "cargoSummary.summary": <-- type Summary
    "loadContacts.contact": [{ <--type Contact
      // "__className": "Contact.model", <- This only works for main json objects as base class name.
      // Class name takes from the list object's json key. In this case would be `Concat`with echancement.
      "key": "110afe06-ec31-4d9b-b933-d9e060c7bcb7",
      "address": null,
      "phone": "+393477972533",
      "organizationKey": "110afe06-ec31-4d9b-b933-d9e060c7bcb7",
      "countryCode": "ITA",
      "lastUpdate": "2015-10-05T21:46:54+07:00",
      "r@isOrigin": true
    }],
    "unLoadContacts.contact": [{}], // <- For duplicates don't need provide object would create from the first object.
  },

It can be fixed but you would need to manually handle your empty objects. It is not possible to provide results without any parameters.

the objects wouldn't be empty by my example in jsonc file you can find in the root the definition of the Candidate object when generated everything would be consistent.

the objects wouldn't be empty by my example in jsonc file you can find in the root the definition of the Candidate object when generated everything would be consistent; yes is an enhancement

@Miamoto-Musashi A question. What wrong if you put Candidate directly to the list, why you need it separated, when you can initialize it directly?

@iamarnas I need it to be separated cause is referenced in other json but with smaller attribute set, what I do today is to generate it from the root with __className, move all dart models mv lib/commons/models/**/*.dart lib/commons/models, put null in all other references and adjust at the end with a find in files command.
If I don't put it in the root other copies of the class will overwrite the complete one.

@Miamoto-Musashi HI :wave:
Can you try and test forcing key types. It's supported in the last version. And as a bonus, you can test the override path in the models.jsonc. You can navigate your object as you want and where you want.
Example:
{
    "__className": "Candidate.model",
    "__path": "/lib/models/candidate", // <- override default path with a new one by adding '__path' key
    "distance":{
      "lastUpdate": "2015-10-05T21:46:54+07:00",
    },
    "motorKey":"110afe06-ec31-4d9b-b933-d9e060c7bcb7"
}

on a first run seems working fine, thank you.
will make some more test on this week and let you know

I have this json
{
...
    "trailers": [
      {
        "key": "Trailer",
        "dimension": null,
        "type.trailertype": {}
      }
    ],
},

//EQUIPMENT
  {
    "__className": "Equipment.model",
    "key": "key",
    "name": "name",
    "organizationKey": "key",
    "type.trailertype": {}
  },
 //TRAILERTYPE
  {
    "__className": "TrailerType.model",
    "key": "key",
    "r@type": "string",
    "code":"string"
  },

the trailer type model on the root is generated correctly with the underscore and camel case perfectly balanced (only style warning sort constructors before other members)
class TrailerType {
  String key;
  String type;
  String code;

  TrailerType({this.key, @required this.type, this.code});

  factory TrailerType.fromJson(Map<String, dynamic> json) => TrailerType(
        key: json['key'] as String,
        type: json['type'] as String,
        code: json['code'] as String,
      );

  Map<String, dynamic> toJson() => {
        'key': key,
        'type': type,
        'code': code,
      };
}

but the trailer type in equipment is generated with wrong name in file and in class file name should be trailer_type.dart but is trailertype.dart
import 'trailertype.model.dart';

class Equipment {
  String key;
  String name;
  String organizationKey;
  Trailertype type; <-- should be TrailerType

  Equipment({this.key, this.name, this.organizationKey, this.type});

  factory Equipment.fromJson(Map<String, dynamic> json) => Equipment(
        key: json['key'] as String,
        name: json['name'] as String,
        organizationKey: json['organizationKey'] as String,
        type: json['type'] == null
            ? null
            : Trailertype.fromJson(json['type'] as Map<String, dynamic>),
      );

  Map<String, dynamic> toJson() => {
        'key': key,
        'name': name,
        'organizationKey': organizationKey,
        'type': type?.toJson(),
      };
}

@Miamoto-Musashi Thanks for this reporting I will fix it fast as possible.

@Miamoto-Musashi I found the problem. The problem is in your code, to tell the generator where you want uppercase you need separate words by uppercase or dash. Otherwise, the generator takes it as a word.
Example:
 {
    "key": "Trailer",
    "dimension": null,
    "type.trailertype": {} // <- should be "type.trailerType" or "type.trailer_type"
}

only style warning sort constructors before other members.

Do you know that you can enable in the settings sort constructors first?

I'm closing it because no see issues with it at the moment. Open the new issues report if you have some problem that relates to this.


Update faq.md

fix inaccurate / subjective claim that the example is "good" and includes "refresh" example (authSample.html does NOT refresh tokens)

@googlebot I signed it!

Thank you!


fix(config-cat): remove event emitter type import from config-cat

This PR

Removes the IEventEmitter import from configcat-common.
This reduces the risk of breaking the tests because of the removal of this type (export).
It tackles the same problem as #827.
As there is currently no option to access the internal event emitter or provide it directly, the assumption getting the event emitter from the private options can not be removed.
https://github.com/open-feature/js-sdk-contrib/compare/fix/config-cat/remove-event-emitter-dep?expand=1#diff-ebd6f4363558237806382ec9b364f56831b69ad259c090f1981a4d56a7bb0bcdL43

@beeme1mr @toddbaert do you know why this error comes up now? The files are unchanged and are from flagd.
But they are breaking the build, am I overlooking anything?
https://github.com/open-feature/js-sdk-contrib/actions/runs/8509661059/job/23305672676?pr=830#step:9:133

There's still an issue with the change detection. We should only be running tests on affected libraries. Hopefully, this PR resolves that issue.
https://github.com/open-feature/js-sdk-contrib/pull/831


Use packed encoding for Dogsketch bins

(Description incoming)

#284  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @GeorgeHahn and the rest of your teammates on  Graphite


Report per-index disk usage metrics for PostgreSQL

What does this PR do?
Adds metrics for disk usage of individual indexes.
Motivation
Having total index size is by itself not particularly useful; especially in combination with the index bloat or index usage stats what you really want to know is the answer to questions like "how much index space is consumed by indexes we don't actually use".
Additional Notes
The one unfortunate thing here is that the obvious metric name is already taken up by postgresql.index_size which is a confusing name since the parallel postgresql.table_size actually refers to an individual table not the sum many database objects.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

Can you add some notes about how you tested this?

@EmmaOnThursday You can see how the function I added in the query works here: http://sqlfiddle.com/#!17/35df9/1


Return tracing checks

Library name
many
Please describe the feature.
Diagnostics checks were disabled in #39912, #40066 and https://github.com/Azure/azure-sdk-for-net/blob/f66db900a13b7897bb7fdcc74315b32424a9e57a/sdk/search/Azure.Search.Documents/tests/Samples/Sample06_EncryptedIndex.cs#L24.
After the new keyvault is released, we need to return them back.

@lmolkova, is this still needed?


[Question]: Storing StorageContext beforehand for a near real-time RAG pipeline?

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
Hi All,
I am building a hybrid Q&A RAG pipeline (using semantic and keyword search) over a set of documents. Currently, it takes too long to answer a question. I want to store StorageContext in advance to improve processing time. Is that a good practice? What are some things I need to keep in mind for this purpose? Some other questions I have:

I understand that StorageContext has 4 components: index_store, vector_store, graph_store, and docstore. For my use case, there's no graph_store. Where can I store the remaining 3 stores? Is it a best practice to store all of them in a vector database?

I am using SimpleKeywordTableIndex for keyword search. Where can I store this index if I want to do it in advance? Can this also be stored in a vector database?

I would really appreciate if you can point me to a documentation around this use case. Thanks!

Downvoted because the response clarifies things I already know but doesn't answer my questions. Can use some further help! Someone responded on the same question I posted on Discord saying:

to use secinsights.ai for reference. It uses Postgres for vector database and AWS S3 bucket to store StorageContext. The difference in my use case if that I am using both semantic and keyword search vs just semantic search in secinsights.

to use hybrid search options provided by some vector db providers such as pinecone and weaviate but that'll come with extra cost. I want to keep the cost minimum and use open-source and free options as much as I can.

@utility-aagrawal
From my understanding of "Document management", if you want to leverage hybrid search, you will have to create a Vector_store, and the vector_store will have the index_struc and docstore by default.
According to Vector stores documentation, "Hybrid search" is supported by ElasticSearch, Pinecone, Weaviate, Postgres, Azure Cognitive Search, MyScale, and TencentVectorDB (if you are in China...) https://docs.llamaindex.ai/en/stable/core_modules/data_modules/storage/vector_stores.html
Seems that the only really open-source solution is Postgres. ElasticSearch seems to be free in the retrieval section. Pricing options are confusing... https://www.elastic.co/elasticsearch/vector-database
As an alternative to SECinsights, you have the Postgres and PGVector with a tutorial for Hybrid search.
https://docs.llamaindex.ai/en/stable/examples/vector_stores/postgres.html
Or maybe this one.... full open-souce rag:  https://gpt-index.readthedocs.io/en/latest/examples/low_level/oss_ingestion_retrieval.html
I hope it helps you!
Akim

Thanks @AkimParis ! Your response was very helpful.
Initially, I was using SimpleVectorStore for semantic search and SimpleKeywordTableIndex for keyword search. I opted for this hybrid approach because just semantic search wasn't good enough. I was saving the StorageContext locally. Search results were good but it was taking too long so I wanted to incorporate vector databases.
I tried pinecone and Postgres hybrid search options. Although, search results look good so far, I am not sure if these approaches will work as good as using SimpleKeywordTableIndex for keyword search. Do you have any experience with that?
I was thinking about combining pinecone/Postgres for just semantic search and SimpleKeywordTableIndex for keyword search but couldn't find any documentations around this? Is this even feasible? Please let me know if you have experienced this before. Thanks!

@utility-aagrawal
You are welcome.
It really depends on your use case but yes hybrid should be more or less defacto for RAG. Llama Index gives you many options, I didn't see an option for multiple vector databases. I would try to focus on Postgres and PGvector for BM25 and HSNW.  BM25 is old but it's working perfectly. You can be granular on both full-text and vector queries.
If it's real-time and you have a budget. You can have an alternative for Pinecone, you have Milvus with great benchmark performance.

@dosubot you can close this thread.


@alloy =>Fixes to fair search when there is no local show cache

It uses the API instead.
Full context in Slack - but roughly we were assuming there was always a local cache of shows on the fair object, but if we don't have a map it's not downloaded, so the search would not show any partners - now it checks for the existence of the cache before relying on it.

          1 Warning

:warning:
Detected some Swift building time outliers

Time | Class | Function |
| --- | ----- | ----- |263.7ms | AuctionViewController.swift | @objc dynamic func showRefineTappedAnimated(animated: Bool)
205.6ms | SwiftyJSON.swift | get {}
173.4ms | WebSocket.swift | private func processRawMessage(buffer: UnsafePointer, bufferLen: Int)
80.3ms | Observable.swift | private final func nextTokenHash() -> Int
77.0ms | LiveAuctionsAdminViewController.swift | @objc override func viewDidLoad()
74.7ms | AuctionLotMetadataStackScrollView.swift | required init(viewModel: LiveAuctionLotViewModelType, salesPerson: LiveAuctionsSalesPersonType, sideMargin: String)
72.4ms | LiveAuctionLotViewController.swift | @objc override func viewDidLoad()
65.4ms | UIViewController+BlurredStatusView.swift | func ar_presentBlurredOverlayWithTitle(title: String, subtitle: String, buttonState: BlurredStatusOverlayViewCloseButtonState = default)
63.3ms | UIViewController+BlurredStatusView.swift | (closure)
62.2ms | RefinementOptionsViewController+Private.swift | func stackView() -> ORStackView

  Generated by :no_entry_sign: danger

ace


Add Dynaconf and Flasgger

Add rochacbruno/dynaconf and rochacbruno/flasgger

@sergey48k ok, I changed and also executed verify.js (noted that bunch of extra changes were made by that script)


NXP RDDRONE-UAVCAN boards (S32K1XX) - Clean up clock config

This is the third and final PR with changes to the S32K clock config. This cleans up the (peripheral) clock config for the RDDRONE-UAVCAN boards that are supported in NuttX.

I believe all three PRs should be ready now.


Incorporate mouse buttons into macros

Is your feature request related to a problem? Please describe.
When I'm browsing source code and need to jump to the definition of a function, it is necessary to click a mouse button, then execute a sequence of keystrokes.  Currently I click my left mouse button to select the function, then click mouse button 7 to execute a macro that is the keyboard shortcut to jump to function definition.
Describe the solution you'd like
It would be fantastic if macros could include button presses.  That way, I could use button 7 to move my cursor and execute the keystrokes all in one fell swoop!
Describe alternatives you've considered
At present I'm clicking two mouse buttons.  But it would be pretty cool to only click one.
Additional context
I tried looking for mouse button definitions in linux/input-event-codes.h and found BTN_1 and BTN_LEFT, but ratbagctl threw an error when I tried to use those in a macro and they didn't work.

This depends on the device and whether driver for it in libratbag supports such actions.
For examples, this works fine on Glorious mice with our sinowealth driver.
ratbagctl Glorious button 5 action set macro KEY_A BTN_LEFT.


feat: bypass discord's broken image proxy

Pull Request Type

[x] Feature addition
[ ] Bugfix
[ ] Documentation update
[ ] Code refactor
[ ] Tests improvement
[ ] CI/CD pipeline enhancement
[ ] Other: [Replace with a description]

Description

This PR modifies sending behavior to bypass discord's broken image proxy. Allowing normal bot behaviour to continue
Usage:
bot = Client(...)
const.CLIENT_FEATURE_FLAGS["FOLLOWUP_INTERACTIONS_FOR_IMAGES"] = True

bot.start(...)

Changes

Add new feature flag framework for this sort of issue
Modify interaction context behaviour to force a deferral when the bot is sending an embedded image
Modify send behaviour to use the working endpoint post_followup

Related Issues

Test Scenarios

Python Compatibility

[ ] I've ensured my code works on Python 3.10.x
[ ] I've ensured my code works on Python 3.11.x

Checklist

[x] I've run the pre-commit code linter over all edited files
[x] I've tested my changes on supported Python versions
[ ] I've added tests for my code, if applicable
[ ] I've updated / added  documentation, where applicable

Codecov Report
Patch coverage: 20.00% and project coverage change: -12.85 :warning:

Comparison is base (2e910ae) 60.26% compared to head (f2d6de7) 47.41%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@              Coverage Diff              @@
##           unstable    #1414       +/-   ##
=============================================
- Coverage     60.26%   47.41%   -12.85%
=============================================
  Files           139      139
  Lines         14638    14652       +14
=============================================
- Hits           8821     6947     -1874
- Misses         5817     7705     +1888

Impacted Files
Coverage Δ

interactions/models/internal/context.py
38.37% <10.00%> (-0.55%)
:arrow_down:

interactions/client/const.py
84.84% <40.00%> (-4.52%)
:arrow_down:

... and 64 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

I appreciate that, I was doing this quickly. The ux was the bare minimum to solve this issue


Upgrade seedrandom dependency

Seedrandom beginning from 3.0.5 version stoped using eval so it's more safe and can be used in environements where it's forbidden (i.e. mv3 extensions).
Please, check https://github.com/googlecreativelab/teachablemachine-community/issues/233 issue

Hi @HalfdanJ, may you have a look ? :)

/gcbrun


move example to examples directory

This allows running the example with cargo run --example events.

Thanks!


fix: put helmut's REST connector back into PSA

The reason for it is that some of the modinput tests are using some
of the unpredicted paths of PSA, REST connector in this case.
This is a temporary fix and will be removed as soon as we have time to
refactor modinput tests in some of the repositories (around 12 atm).

Codecov Report

Merging #570 (b7ce08e) into develop (01651e9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #570   +/-   ##
========================================
  Coverage    94.72%   94.72%
========================================
  Files           42       42
  Lines         2557     2557
========================================
  Hits          2422     2422
  Misses         135      135

Continue to review full report at Codecov.

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


Update requirements.txt and setup.py for spacy 0.100.5

This allows spacy to load much faster (<15 seconds) and resolves
the confusing dependency issue with preshed
All tests passed
Resolve #75

Current coverage is 95.63%

Merging #76 into master will not affect coverage as of c26ff22

@@            master     #76   diff @@
======================================
  Files           12      12
  Stmts          458     458
  Branches         0       0
  Methods          0       0
======================================
  Hit            438     438
  Partial          0       0
  Missed          20      20

Review entire Coverage Diff as of c26ff22

Powered by Codecov. Updated on successful CI builds.

looks good! :rocket:
Glad to hear that spaCy loads much faster now.


[BUG] Test for String.find falsely passes

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
This testcase:
this.assertEquals("Dictu is great! Dictu is great! Dictu is great!".find("Dictu", 3), 37);

Passes in the current builds.
Expected Behavior
I was a bit confused because this test failed over and over in my current endavours of hacking on utf8 support, until i looked somewhat closer at the test:
this.assertEquals("Dictu is great! Dictu is great! Dictu is great!".find("Dictu", 3), 37);

The third occurance of Dictu is at index 32, not at 37= index + search length!
So this seams to be a bug? in the current implementation of find?
Steps To Reproduce
Run the string tests for find:
dictu tests/strings/find.du
Anything else?
Current test reference: https://github.com/dictu-lang/Dictu/blob/develop/tests/strings/find.du#L24

@Jason2605 I wanted to bump this

Sorry somehow missed this (emails get buried sometimes, need to be more vigilant checking this repo, apologies). Oh wow, that's really bad from me, yeah this is an issue

Fixed as part of #749


error updating plugins

OS version and name: Windows 10

Hyper version: 1.2.1

node version: 6.10.0

npm version: 3.10.10

The issue is reproducible in vanilla Hyper app: fresh install on OS X and windows both fail with this error every time I start hyper

Issue
I've seen this mentioned in some old tickets but didn't find a suitable resolution. In my case a fresh install today on two machines/operating systems gives me this error every time I start hyper out of the box
Error updating plugins
Check '~/.hyper_plugins/npm-debug.log' for more information

However that file does not exist. I figured 2 of machines can't be configured incorrectly enough to break your application so worth reporting

Dupe: #1513

but that's closed @henrikdahl is using a .bat the recommended fix?

@simonmurdock Have you tried defining a shell in your config? ✌

@henrikdahl I tried using cmd.exe and C:\\Windows\\System32\\bash.exe as described in .hyper.js, but no luck, same exact behaviour

@simonmurdock It's already fixed on the master branch, we're just waiting for a release.

I have spent an hour to find the workaround for the plugin not working, but unfortunately nothing workout for me on windows 10 and Hyper 1.2.1. Please fix this as soon as possible. Its very nice terminal specially for windows.

@dipaktelangre @henrikdahl new release coming in :soon:. Stay tuned 👍

I've done a fresh install of Hyper 1.3.1, my first time ever using it.  And on launch I get this error.  I set bash.exe as my shell of choice. relaunch it, issue still persists. Windows 10.

I'm running 1.3.3 and the first time after installation it ran correctly, but after that I started to see the error.
Running Windows 10 Pro x64


Dry-Rails + ActionController::API

Since dry-rails include controller only in the ApplicationController, it's not possible to use safe_params and other methods if you are working in a Rails API when your controller inherits from ActionController::API.
@solnic said that this should be supported OOTB.
Maybe:
start do
  ActionController::Base.include(Dry::Rails::Features::ControllerHelpers)
  ActionController::API.include(Dry::Rails::Features::ControllerHelpers)
end

Hey @solnic,
Could you give me some path in order create a PR to implement this? =)

@rinaldifonseca hey! Sure, I believe all we gotta do is to add something like this to all relevant boot files:
start do
  # other stuff

  ActionController::API.include(Dry::Rails::Features::ControllerHelpers) if defined?(ActionController::API)
end

The trick is that ActionController::API may not be loaded at this point of the booting process, so I'm actually not sure how to verify when exactly we want to add the features to ActionController::API. Maybe there's a way to check it via Rails configuration, I've no idea 😅

Hi @solnic
The only config option I found about API was config.api_only = true
But since ActionController::API is under actionpack, it will always be defined and loaded if the Rails version is greater then 5.


[terra-tabs] Fixes tabs padding, box-shadow and tab large content display

Summary

What was changed:

Additional padding of 10px on the left and right of tab content body is removed.
Box shadow container style removed for framework variant tabs
Fixes large tab content display to fix tab header in its position with a scrollable view.

Why it was changed:

Padding styles needed to switched between framework and workspace variants.
Box shadow style needed to switched between framework and workspace variants.
Large content overflow needed to handled to allow visibility of tab header during scroll.

Testing

This change was tested using:

[ ] WDIO
[ ] Jest
[ ] Visual testing (please attach a screenshot or recording)
[ ] Other (please describe below)
[x] No tests are needed

Reviews
In addition to engineering reviews, this PR needs:

[ ] UX review
[ ] Accessibility review
[ ] Functional review

Additional Details

This PR resolves:
UXPLATFORM-9671

Thank you for contributing to Terra.
@cerner/terra
Before

After

Before

After

Are these changes tested on the applications where the issues were identified initially.

Are these changes tested on the applications where the issues were identified initially.

Yes, these three changes were tested in him-providers-view-js (reported issue application). Padding and large content fix can be observed in dev-site examples.


Update free-courses-en.md

What does this PR do?
Add resource(s)
For resources
Description
Hello Sir,
I have added webpack courses in English courses section
Why is this valuable (or not)?
It is very valuable course
How do we know it's really free?
It is really free course
For book lists, is it a book? For course lists, is it a course? etc.
It is a course
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

We encourage you to keep the changes in one PR, as I see there are many PRs, each with a smaller addition.
This will make the review process easier and more efficient.

We encourage you to keep the changes in one PR, as I see there are many PRs, each with a smaller addition.
This will make the review process easier and more efficient.

okay, from next time I will try to make more efficient contributions .Please merge it this time


Implement a PR builder for LibreCores Web

TODO:

Check that the instance gets compiled properly
Automate Test instance deployment flow (with Vagrant and other stuff, or Docker)
Check that the service gets started correctly
Check that root entries are accessible after the service startup
Nice2Have: Some common reporting of test results

CC @imphil

librecores-web uses Vagrant backed by Virtualbox as development environment. To test the setup, we need to run a baremetal CI slave, and cannot run on AWS (or travis, for that matter).
In the long term, I'd like to move all that Vagrant stuff to docker, so we can run the development environment on VMs, but this won't happen in near future.
So for now, we first need a baremetal node. I can probably make one available, together with the node for the synthesis/FPGA tests. I'll get back to it.


Mainnet:  missing token

Please can some one help me, I have a problem with my phone and I have to restore haqq app and use my recovery phrase that make me to log in again , but I can not see my token I only see 6 token, I suppose to have 20000 token kindly help what can I do for me to recover my token
My address
0x9aecb1b96228c70b6c9719ab59847149803d3
1be
My email address
<EMAIL_ADDRESS>

Sorted


TaskContainer.contains not working for different project task

I issue the following command gradlew :backend:build (no root project tasks are in execution graph)
Expected Behavior
"Development build"
Current Behavior
"Production build"
tasks.contains is broken.
Task :backend:build is considered the same as :build task.
Both project and task name should be taken into account, to uniquely identify a task.
Context
I have a multi-project configuration (one root with sub-projects).
The root build script contains production related tasks.
I want to detect if the build is a production or development build by the running tasks.
Root project has some tasks with same name as in sub projects.
Steps to Reproduce
root build.gradle snippet:
gradle.taskGraph.addTaskExecutionGraphListener({
    TaskExecutionGraph graph ->
        def prodTasks = graph.allTasks.findAll { el -> tasks.contains(el) }
        if (prodTasks.size() > 0) {
            println "Production build"
        } else
            println "Development build"
})

Your Environment

Build scan URL:
Gradle 7.3.1

Thank you for your interest in Gradle!
Please ask such a usage question on https://discuss.gradle.org or https://stackoverflow.com where to get answers by the community of Gradle users.
If, after investigation, it turns out to be a Gradle bug or missing feature, please file another issue describing the problem or use case and add a reproducer.

Your detection logic seems flawed and seems to be what relies on name only and not the project of the task to determine the output.
If Gradle confused tasks with the same name from different projects, it would simply be broken and that's not the case.

The project tasks object contains only current project tasks, but if I call tasks.contains( with another project task with the same name, it returns true (incorrect!).
It seems that only the task name is compared, but it should also compare the tasks's project.
Here's a sample test repo: https://github.com/cdalexndr/gradle-19219
Run gradlew :subproject:mytask:
FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Developer\issues\gradle\taskcontainer_contains\build.gradle' line: 18

* What went wrong:
Failed to notify task execution graph listener.
> assert !tasks.contains(task)
         ||     |        |
         ||     true     task ':subproject:mytask'
         |[task ':buildEnvironment', task ':components', task ':dependencies', task ':dependencyInsight', task ':dependentComponents', task ':help', task ':init', task ':javaToolchains', task ':model', task ':mytask', task ':outgoin
gVariants', task ':prepareKotlinBuildScriptModel', task ':projects', task ':properties', task ':tasks', task ':wrapper']
         false

Discuss url: https://discuss.gradle.org/t/taskcontainer-contains-returns-true-for-diff-project-task-with-same-name/41631

@ljacomet may I ask why you think this is a usage question, not a bug?

tasks.contains is DefaultDomainObjectCollection#contains
this delegates to getStore().contains
getStore() returns a SortedSetElementSource
SortedSetElementSource#contains delegates to values.contains
values is a TreeSet with Namer.Comparator configured with Task.Namer as comparator.
Task.Namer just returns Task#getName()

If you now also take into consideration the JavaDoc of TreeSet:

Note that the ordering maintained by a set (whether or not an explicit comparator is provided) must be consistent with equals if it is to correctly implement the Set interface. (See Comparable or Comparator for a precise definition of consistent with equals.) This is so because the Set interface is defined in terms of the equals operation, but a TreeSet instance performs all element comparisons using its compareTo (or compare) method, so two elements that are deemed equal by this method are, from the standpoint of the set, equal. The behavior of a set is well-defined even if its ordering is inconsistent with equals; it just fails to obey the general contract of the Set interface.

I'd say this is a Gradle bug.
Because equals is just the one inherited from Object, while the comparator deems tasks with the same name as equal, no matter what project they come from.
This is the cause that task.contains does not behave as expected as the Gradle usage is violating the Set contract.

@Vampire I'm not saying this is a usage question. I've opened this issue because it is a bug.
After this got closed as invalid, I've opened a discuss thread to attract visibility so that it gets a second opinion and hopefully reopened.

As you indicated, the tasks container ends up using the name only as the identifier. This is because Gradle assumes that the container only deals with tasks for the current project.
So while it can be surprising, it is effectively a limitation of the current model.
Bug or not, this shows that before blinding calling tasks.contains, the caller has to verify the container and the task share the same project.
An alternative for implementing that logic would be to ask if the task graph contains any of the root project tasks, as TaskExecutionGraph#hasTask(org.gradle.api.Task) most likely behaves properly.
I could re-open this issue but there might not be any attention to fixing this, especially as the use case can be handled differently.

Even if not fixing the Set contract violation,
maybe at least the TaskContainer could overwrite contains and check the project, that would then at least behave properly in the case described by OP I think.
And maybe the JavaDoc could be improved, because TaskContainer just says it holds "a set of Task instances", not that they have to be within the same project.


new wrap: freetype2

upstream url: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/
version: 2.9.1
I've started wrapping the library freetype2 here: https://github.com/bsmiles32/freetype2-wrap
(I already had a repo named freetype2, that's why I had to add -wrap suffix, but according to your naming rules the repo should be named freetype2 as it is the name of the pkg-config file).
Once the repo is created I'll create appropriate PR. Thanks

There's a full meson port of freetype2 here: https://github.com/centricular/freetype2 can you try that?

OK, I've tried the centricular repo and it works for me. Also it seems a much more appropriate port to meson than what I did. Thanks a lot for your answer.
Shall we close this issue ? or shall we proceed to make a proper wrap so that other users won't miss it like I did ?

If you could test that meson port on all the platforms you use and then submit a wrap that uses that repo, it would be great :)
There's also centricular ports for fontconfig, harfbuzz, pixman, cairo, etc, in case you're interested in those too. We're working on getting them upstreamed, and testing them on more platforms is a requirement for doing that.

My use case is [1] if you want to take a look.
I've tested on my machine (x64, Archlinux) and it compiles and runs successfully.
In our CI it compiles successfully on AppVeyor (Windows x86 and x64) but I can't test if the produced executable runs OK as I don't have windows machine.
I will update my original port to use the centricular files instead. Can you create the freetype2 repo so I can do proper PR ?
[1] https://github.com/bsmiles32/mupen64plus-core/tree/meson

https://github.com/bsmiles32/freetype2-wrap is now updated with centricular files.

Also couple of remarks:

https://github.com/bsmiles32/freetype2-wrap/blob/7fadcb02b347c0a53708329da3c19dd8f3d7eaea/meson.build#L127: should we use

if cc.get_id() == 'msvc'

as these macros are tied to msvc compiler more than windows ?

should we add

license : ['GPL2', 'FTL']

to initial project declaration ? The project is dual-licensed https://www.freetype.org/license.html
If so I will update my repo accordingly.

It also works on my Raspberry Pi 3 (Aarch64).

I am more inclined to name it freetype2 as it seems to be the actual name of the project, but interestingly it has freetype_dep as the name of the dependency. @koponomarenko you might want to take a look at this project as you were looking into the naming policy. This case it is an external project so we can't really enforce it here.

https://github.com/mesonbuild/freetype2 / 2.9.1 was created.

@sarum9in , yeah, I see ... . I second your opinion about freetype2 name being more logical. As for the dependency variable name, maybe we can reach out upstream and suggest to change it. Just a suggestion, no enforcement.


Wrong condition in template for AmazonLinux2023

Made a mistake in the previous PR:

https://github.com/awslabs/eksdemo/pull/171/files#diff-0a673a70f196ec6b6681f6852f6c4ee63bb62a27054dbb077bfba71e9f7c1f47R41

Should instead be around overrideBootstrapCommand

https://github.com/awslabs/eksdemo/pull/171/files#diff-0a673a70f196ec6b6681f6852f6c4ee63bb62a27054dbb077bfba71e9f7c1f47L60

Thanks @dims . Not sure I missed this in the other PR.


Updated NuGet packages to be compatible with .Net Standard 2.0.

Updated packages to .Net Standard 2.0 compatible packages. Updated the Test project to target .Net Core as I was getting a message that .Net Standard is not a valid target for test projects.

This looks like you've changed .net standard 2.0 to .net core 2.2.  Why is this desirable?  I believe the build on appveyor just needs to be fixed.


update dir name after endpoint update.

Signed-off-by: Kenny Leung<EMAIL_ADDRESS>
Summary

Fix dirname after endpoint update in #206
Ticket Link

Fixes
Release Note

Codecov Report

Merging #462 (aea812d) into main (f62beb5) will decrease coverage by 0.31%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #462      +/-   ##
==========================================
- Coverage   45.97%   45.66%   -0.32%
==========================================
  Files          14       14
  Lines         957      957
==========================================
- Hits          440      437       -3
- Misses        458      460       +2
- Partials       59       60       +1

Impacted Files
Coverage Δ

pkg/ca/fileca/load.go
68.13% <0.00%> (-3.30%)
:arrow_down:

Continue to review full report at Codecov.

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


Speed_limit Bug on highway in Town 05

I have a question about “carla.Vehicle. get_speed_limit()”.
I modified “manual_control.py” in order to start from location where I like and get speed_limit while ego_vehicle is driving.
I tried to start from a location on highway in Town 05.
I think the speed limit at the position should be 90 km/h, however 30 km/h is returned.
Furthermore, after Going around the highway and getting back the start location, I can get the right speed limit (90km/h)
Is this a bug ?
I use
・CARLA0.9.5 compiled version.
・Ubuntu16.04
The modified code is below (only the part of spawning vehicle and getting speed limit).
def restart(self):

    # Keep same camera config if the camera manager exists.

    cam_index = self.camera_manager.index if self.camera_manager is not None else 0

    cam_pos_index = self.camera_manager.transform_index if self.camera_manager is not None else 0

    # Get a random blueprint.

    blueprint = random.choice(self.world.get_blueprint_library().filter(self._actor_filter))

    blueprint.set_attribute('role_name', self.actor_role_name)

    if blueprint.has_attribute('color'):

        color = random.choice(blueprint.get_attribute('color').recommended_values)

        blueprint.set_attribute('color', color)

    # Spawn the player at where you like

    spawn_wp = self.map.get_waypoint(carla.Location(x= -248, y=-103, z=15)) # In Town 05 highway

    spawn_point = spawn_wp.transform

    spawn_point.location.z += 2.0  # To avoid collision against road surface

    self.player = self.world.spawn_actor(blueprint, spawn_point)

def game_loop(args):

    pygame.init()

    pygame.font.init()

    world = None

    try:

        client = carla.Client(args.host, args.port)

        client.set_timeout(2.0)

        display = pygame.display.set_mode(

            (args.width, args.height),

            pygame.HWSURFACE | pygame.DOUBLEBUF)

        hud = HUD(args.width, args.height)

        world = World(client.get_world(), hud, args.filter, args.rolename)

        controller = KeyboardControl(world, args.autopilot)

        clock = pygame.time.Clock()

        while True:

            clock.tick_busy_loop(60)

            if controller.parse_events(client, world, clock):

                return

            world.tick(clock)

            world.render(display)

            pygame.display.flip()

            speed_limit = world.player.get_speed_limit()

            print("SpeedLimit = %s" % (speed_limit))

Hi, could  anybody try it ?
Same thing happens in Town 04 at (-109, 37, 15).
Dose it happen to only me ?


Support sync for application/vnd.in-toto+json

creating an updated image manifest: preparing updated manifest, layer \"sha256:27123d9c2f51ab5114c05c9ef7e94aeea1db66a5ae27ff7b460154a480487e62\": unsupported MIME type for compression: application/vnd.in-toto+json

Fixed by #447


hide/unhide updates no permission

when remotely hide/unhide updates, access denied as no permission for the operation. hide/unhide updates locally is fine.
It happens on both domain/workgroup environment

Here is the log:
UpdateID  = 8efd2c01-ff9d-4c21-b5e5-ffda43f8f2c1
ServiceID = 7971f918-a847-4430-9279-4a52d1efe18d
MyLaptop (2021-11-13 8:48:16 PM): Connecting to Microsoft Update server. Please wait...
Found [1] Updates in pre search criteria
Found [1] Updates in post search criteria
Performing the operation "(2021-12-13 8:48:26 PM) Show 2021-11 Cumulative Update Preview for .NET
Framework 3.5 and 4.8 for Windows 10 Version 21H1 for x64 (KB5007289)[65MB]" on target "MyLaptop".
Hide update failed.
UnHide-WindowsUpdate : MyLaptop: You don't have permission to perform this task.
At line:17 char:17

...             UnHide-WindowsUpdate -ServiceID $.ServiceID -UpdateID $ ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : CloseError: (:) [Get-WindowsUpdate], Exception
FullyQualifiedErrorId : 0x80240044,PSWindowsUpdate.GetWindowsUpdate

StackOverflow question:
https://stackoverflow.com/questions/70359001/pswindowsupdate-remote-permission-issue


Reorder exercises based on discussion

Discussed in #37.
Reordering the exercises and labeling them as core. The exercises are now unlocked after completing the previous exercise. Also addressed duplicate uuids configlet found

Hello World (difficulty - 1)
Leap (difficulty - 1)
Difference of Squares (difficulty - 2)
Bob (difficulty - 2)
Hamming (difficulty - 2)
Gigasecond (difficulty - 3)
RNA-Transcription (difficulty - 3)

@fwip Would feel like reviewing?

Looks good to me! 👍


ASSERTION FAIL [conn->in_retransmission == 1] with civetweb sample application

Describe the bug
When testing civetweb sample application with TCP2 I get "Not in retransmission" assert after applying https://github.com/zephyrproject-rtos/zephyr/pull/28755 which fixes #28735.
To Reproduce
Steps to reproduce the behavior:

Enable asserts: CONFIG_ASSERT=y
Increase CONFIG_NET_MAX_CONN to at least 5
west build --board <YOUR BOARD> zephyr/samples/net/sockets/civetweb -p
west flash
while true; do curl http://<BOARD IP>:8080; done
See the assert on the console

I could reproduce the problem on both mimxrt1050_evk and nucleo_f767zi.
Expected behavior
No assert.
Impact
This is a show stopper for my project since we use civetweb and are migrating to Zephyr v2.4 because we need all the improvements of TCP2.
Logs and console output
With nucleo_f767zi board and CONFIG_NET_MAX_CONN=5:
<IP_ADDRESS> - "GET / HTTP/1.1" 200
<IP_ADDRESS> - "GET / HTTP/1.1" 200
<IP_ADDRESS> - "GET / HTTP/1.1" 200
<IP_ADDRESS> - "GET / HTTP/1.1" 200
<IP_ADDRESS> - "GET / HTTP/1.1" 200
[00:01:14.359,000] <err> net_tcp: net_context_get(): -2
[00:01:14.359,000] <err> net_tcp: Cannot allocate a new TCP connection
<IP_ADDRESS> - "GET / HTTP/1.1" 200
ASSERTION FAIL [conn->in_retransmission == 1] @ WEST_TOPDIR/zephyr/subsys/net/ip/tcp2.c:427
	Not in retransmission
[00:01:15.410,000] <err> os: r0/a1:  0x00000004  r1/a2:  0x000001ab  r2/a3:  0x00000040
[00:01:15.410,000] <err> os: r3/a4:  0x08004809 r12/ip:  0x00000000 r14/lr:  0x08009abb
[00:01:15.410,000] <err> os:  xpsr:  0x61000000
[00:01:15.410,000] <err> os: Faulting instruction address (r15/pc): 0x08012fc6
[00:01:15.410,000] <err> os: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
[00:01:15.410,000] <err> os: Current thread: 0x20041568 (unknown)
[00:01:15.455,000] <err> os: Halting system

Environment (please complete the following information):

OS: Kubuntu 20.04
Toolchain: Zephyr SDK 0.11.4, west 0.7.3
commit ba940879b9ffb9e3f7f31bf14a0110e379d66c8c

Are the occasionally 5 GET requests before fault , which is same as CONFIG_NET_MAX_CONN=5?


when mixing modes no new Images are saved

Using this app the first time I found this bug: I started with normal mode for the first page, than decided to switch to quick mode for the next pages. After that I had the expected number of images/pages but all of them where showing the first image.
I tried this once again, taking two images on normal mode and than switching to quick mode which led to the first two images being as expected and the other one showing the second image.
Sticking with one mode everything works as expected.
Device: Google Pixel 3a, Android 11
App: from play store, version 2.0.0

We noticed this bug after the release. Working on it.

We noticed this bug after the release. Working on it.


Linux support (FTV-143)

This adds Linux support for the package, along with a CMake build configuration for the Swig library (only Linux supported currently).  The CMake is optionally able to build Mono and the USD.NET.dll, but this is disabled by default.  None of the Windows or OSX configurations have changed, and this was tested on 2018.3 and 2019.1.

Hrm, if this is based on dev, why did the Yamato config fix need to be pulled in?

This had been based off of master, which is why it was missing that (along with 19.05 updates).  I've rebased against dev, and updated the Linux binary and CMake to use 19.05

Is the current Howto up to date on how to update the USD version ?

I don't know CMake well, but I'm assuming Vlad does since he commented on it.
And yeah, if you wouldn't mind updating the README.md and BUILDING.MD, I think that's all that's left.
Thanks Chris!!

Sure thing!  I made a couple of edits to the README and BUILDING md files, if you want to take a look over...

(I just rebased this branch to dev, FYI)


swift doc generate fails when generating html

Hi!
I'm on Ubuntu 18.04.4 LTS installed the Swift 5.2.4 release and built swift doc from source.
Generating markdown documentation works! But when trying to generate html instead the command fails with Illegal Instruction (core dumped). Any ideas what this could be?
I'm running swift doc generate ./Sources/ --module-name Vapor --output Documentation --format html
Some html seems to be generated before crashing (sometimes none at all)

also I'm using master branch for swift doc, which the same as the beta.3 release :) and I'm trying to build the documentation for vapor(master branch) www.github.com/vapor/vapor

Fixed by #140. Thanks again for your help with this, @JaapWijnen!


TypeError: slice indices must be integers or None or have an index method (cumi.py)

With Python 3.7:
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/home/rthuang/anaconda3/envs/XCL-PRE/lib/python3.7/multiprocessing/pool.py", line 121, in worker
    result = (True, func(*args, **kwds))
  File "/home/rthuang/anaconda3/envs/XCL-PRE/lib/python3.7/site-packages/sccnvsim/rs/cumi.py", line 164, in gen_umis_thread
    dat[c][k][i].append(x[r:(r+X[i, j])])
TypeError: slice indices must be integers or None or have an __index__ method
"""

Everything works well with Python 3.11.
We have listed the requirement/dependency of Python version (i.e., Python>=3.11) in the setup.py and relevant docs.

The same issue when using Python 3.9 (3.9.19). Not sure which dependency (e.g., numpy, pandas, anndata) is not compatible with the codes.


GEP: Define Gateway API Interaction with Multicluster Services

What would you like to be added:
We need to define via documentation how Gateway API interacts with Multicluster Services. This will likely be a docs-only change, but may also include a change to API Spec to note "ServiceImport" is supported for "extended" conformance.
Why this is needed:
There are already implementations of Multi-Cluster Gateway either released or in progress, it would be great to ensure that we're all providing a consistent experience.

/kind gep
/assign
/cc @srampal

I assume this can also cover GAMMA ( both as backend reference, but also attaching to ServiceImport in addition to Service as a frontend).

I assume this can also cover GAMMA

Yep, that's the goal, hoping to discuss more at the GAMMA meeting tomorrow.
Shared this doc at today's community meeting: https://docs.google.com/document/d/1akwzBKtMKkkUV8tX-O7tPcI4BPMOLZ-gmS7Iz-7AOQE/edit. Will work on a follow up GEP once we get some feedback on the doc.

/remove-lifecycle stale
@robscott, with the move of this to Memorandum status, what are your thoughts on next steps here?

/remove lifecycle-rotten
Should we keep this one open as it has been recently moved to memorandum @robscott?

/remove-lifecycle rotten
Should we keep this one open as it has been recently moved to memorandum @robscott?


don't check column type when ext_method

This allows auto-complete to work on definitions with ext_method where column does not exist

@tbrisker - This lets override of complete_for to work
https://github.com/Katello/katello/compare/master...thomasmckay:22501-digest-search

Can you add a test for this? It would be easy to introduce a regression for this otherwise.

@wvanbergen - Can you suggest example to follow? Is there a test covering this line already?
https://github.com/wvanbergen/scoped_search/blob/master/lib/scoped_search/query_builder.rb#L553

Specifically, what I am looking for is a regression tests: one that fails without your fix, but passes with your fix applied.
You will probably have to introduce a new model in the test suite with a scoped search config that resembles the one that caused you to run into this.

Writing a test is proving more difficult than I expected; closing this. I'll reopen if I get time in the future.


add docs explaining how to run the latest grafana plugin version

Awesome, @eh-am thanks for adding this!


[AutoRelease] t2-dynatrace-2022-09-16-87575(Do not merge)

https://github.com/Azure/sdk-release-request/issues/3166
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=4821

issue link:https://github.com/Azure/sdk-release-request/issues/3166


Proguard config file?

I get the following exception upon launch when using ProGuard. Any ideas?
android.view.InflateException: Binary XML file line #97: Error inflating class com.synnapps.carouselview.CarouselView

put this line of code in your proguard-rules.pro file
-keep class com.synnapps.carouselview.** { *; }

This should be mentioned in README.md

I have added the above line in proguard-rules.pro file.
It is working perfectly while debug apk.
But when I generate the signed APK , The error comes again.
Thanks in Advance.


App icons look washed out

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Apparently the added zopflipng compression in https://github.com/atom/atom/pull/12916 makes the icon look "washed out".
Steps to Reproduce

Follow this  link. You might have to adjust the scroll position to resources/app-icons/stable/png/1024.png.
See if the two version looks different

Expected behavior:
They should look the same.
Actual behavior:
The right icon looks "washed out/faded".

Reproduces how often:
I can't reproduce it with my setup. This issue is moved over from https://github.com/atom/atom/pull/13634#issuecomment-272922681
Versions

OS: macOS Sierra 10.12.2 (16C67)
Graphics: Intel Iris Graphics 6100 1536 MB
Monitor: Apple 27" Thunderbolt
Browser: Chrome 55.0.2883.95

Additional Information
We could revert that PR, but it would be great if more could confirm the issue. Especially on Linux since macOS and Windows use their own icon format.
Initially reported here: https://github.com/atom/atom/pull/13634#issuecomment-272922681

Hi @simurai,
According to the spec, an sRGB chunk can spare an ICC profile http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html#C.Anc-color. This is what the #12916 stripped.
before:
   Reading IHDR chunk.
   Reading IHDR chunk, length = 13.
   Reading sRGB chunk.
   Reading sRGB chunk, length = 1.
   Reading IDAT chunk.
   Reading IDAT chunk, length = 16384.
   …
   Reading IDAT chunk.
   Reading IDAT chunk, length = 3669.
   Reading IEND chunk.

   Reading IHDR chunk, length = 13.
   Reading IDAT chunk.
   Reading IDAT chunk, length = 365579.
   Reading IEND chunk.
   Reading IEND chunk, length = 0.
…
   Recompressing IDAT chunks in .../atom/resources/app-icons/stable/png/1024.png
   Total length of data found in critical chunks            =    365636

Now, some browser including Chrome still treat untagged images as Device RGB (Color LCD), and the visual difference could be even greater on wide-gamut devices. Since Apple has adopted untagged=sRGB across the whole platform, ICNS files contain images tagged as sRGB (previously, Generic RGB). For example, one from Finder.icns in OS X Yosemite / El Capitan.
   Reading IHDR chunk.
   Reading IHDR chunk, length = 13.
   Reading sRGB chunk.
   Reading sRGB chunk, length = 1.
   Reading IDAT chunk.
   Reading IDAT chunk, length = 8192.
   …
   Reading IDAT chunk.
   Reading IDAT chunk, length = 7083.
   Reading IEND chunk.
   Reading IEND chunk, length = 0.

So, for the sake of consistency, the sRGB chunk has to be restored.
As for the optimization, you can also reduce the actual ICO and ICNS files. Total size went down from 6.52MB to 4.35MB saving 33.3% with Optimage (Disclaimer: I'm the author). These are lossy optimizations but in a more controlled way than #13634, i.e. visually lossless. Lossless is also an option. If needed, I can make a proper PR.


Support -reproducible

Xcode 14.3 seems to add a new flag -reproducible which as per what I understand sets 0 as the modTime inside the ObjectFile Stab entry. Looks like we already do this since we aren't setting a m_time value. I am deducing this by looking at the source code here:
https://github.com/bluewhalesystems/sold/blob/1136fda7277fb0d199ebf41e09fbd46fb7bfe725/macho/input-files.cc#L1294-L1298
Ref: LLD's -reproducible implementation: https://reviews.llvm.org/D147663

🎉


Total time on play is not accurate by a long shot

I am working on an Android only project. Currently do not have a non Android project on my machine. On play compilation visualizer is triggered and appears to record the compilation and reload time accurately, however, the total time seems to be an arbitrary number, usually around 100 seconds. Every now and again it shoots up to 1000 seconds. I've repeated on play 30 times, restarted Unity after the 15th time before continuing.

Interesting, thanks for the report @KalinAngelo.
Would this be accurate steps to repro if I get you right?

open CompViz
enter PlayMode
expected: shows compilation and stops when domain reload is over
actual: keeps running either for a random time or forever
?

Apologies for not including any steps, completely forgot.

Open CompViz
Enter PlayMode
Exit PlayMode
Wait 20 seconds
Enter PlayMode
Exit PlayMode

Expected Behaviour: After first exit of PlayMode: CompViz stops and shows correct total, compilation, and reload times when domain reload has finished, e.g. total 5, compilation 1.5, reload 3.5. After second exit of PlayMode: CompViz stops and shows correct times, e.g. total 6, compilation 2.5, reload 3.5.
Actual: After first exit of PlayMode: CompViz stops and shows correct total, compilation, and reload times, e.g. total 5, compilation 1.5, reload 3.5. After second exit of PlayMode: Total time is equal to current reload + current compilation + time since the first domain reload, e.g. total 30, compilation 1.5, reload 3.5.
2 Unity restarts ago the total time was continuously stuck at 98.80 seconds, now it just counts up and I cannot reproduce the 98.80 seconds.

Hey @KalinAngelo, could you check if this issue is fixed in 1.7.0 for you?
The reload times were incorrectly updating when entering playmode - they are supposed to update only after an actual compilation, otherwise the timings don't make much sense in relation to compilation. So now, when you enter/exit play modes basically nothing should change in the Compilation Visualizer window.


Patch 1

Checklist:

[x] The plugin is specifically built for Neovim.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] It's not already on the list.
[x] It supports treesitter syntax if it's a colorscheme.

Add CodeArt to preconfigured configs


Updated word_censor() function

Improved and streamlined code workflow, the default character for $replacement should be at the function's argument and no further checking is needed while using the replacement character.

Travis CI build failed because preg_replace() uses the deprecated /e modifier.
I hope someone can convert it to use preg_replace_callback instead.

https://github.com/bcit-ci/CodeIgniter/issues/4407

Please check what I did in the code before closing the pull request.

Please assume that I check all pull requests before closing them.

So what's the reason why my code changes weren't merged? Please explain in clear words.

@achraf52 see https://github.com/bcit-ci/CodeIgniter/pull/4418#issuecomment-177415424


Add 404 get flag test

Description
Add a simple unit test that covers https://github.com/checkr/flagr/pull/318
Motivation and Context

How Has This Been Tested?

Types of changes

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

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report

Merging #337 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #337   +/-   ##
=======================================
  Coverage   81.75%   81.75%
=======================================
  Files          26       26
  Lines        1540     1540
=======================================
  Hits         1259     1259
  Misses        211      211
  Partials       70       70

Continue to review full report at Codecov.

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


Rocket not accessible

It is not possible to tap the rocket, if installed with as app with chrome on Google Pixel 6. Everything is Google that should work.
If it is not installed and running in browser, I am able to tap at the very end of the screen.

Thanks @Wilhelmsson177 for opening an issue.
Just for reference (for myself and anyone that wishes to contribute), this seems to happen whenever the following is true:
final zoom = size.y / 160;
final isTooSmall = (size.x / zoom) < BoardDimensions.bounds.width;

In order to resolve one needs to adjust the logic being defined to manipulate the Camera. Currently, the game has absolute positioning and the camera zooms in and out to respond to any changes in the viewport. However, some mobile devices with the current zooming logic fails to zoom out sufficiently to make the entire board visible.


Malwarebytes detects extension as malware

Malwarebytes on Mac, ruleset 411 (2019-08-16), detects your Chrome extension as malware "Adware.NewTab". I run Malwarebytes every few weeks, and this is the first scan that has done so.

Thanks. I've received 3 reports about this in the past few days. I've reached out to Malware Bytes.
I actively refuse third-party requests to collect data, and turn down requests to purchase this extension. I have no idea why software would mark newtab override pages (a valid feature of Chrome) as a concern, unless it is a heavy handed way to block a very common security concern.

@y-lee Malwarebytes responded that they're unable to reproduce. They've asked that I direct users to their support so they can inspect the scan logs of users affected by this issue. Would you be willing to contact them and let me know what you discover?

Yes, I'd be happy to talk to Malwarebytes. I will reinstall the
extension and see if I can reproduce. Who should I contact?

I appreciate it.
I just emailed<EMAIL_ADDRESS>It might help if you refer to the ticket and support associate for my inquiry: 2691996 (Tim E.)

Malwarebytes has confirmed that this was a false positive. Filter set
4.0.419 will resolve the issue.


Nothing has changed but suddenly getting error message

Nothing has changed at all its been working perfect right up to thismorning now i get
2016-01-03 12:17:50 - MANUAL - ERROR - Unabled to create external subtitle file for stream 3.
Traceback (most recent call last):
File "C:\Converter\mkvtomp4.py", line 435, in generateOptions
for timecode in conv:
File "C:\Converter\converter_init_.py", line 243, in convert
timeout=timeout, preopts=preopts, postopts=postopts):
File "C:\Converter\converter\ffmpeg.py", line 553, in convert
total_output, pid=p.pid)
FFMpegConvertError: <FFMpegConvertError error="Exited with code 1", pid=4112, cmd="C:\ffmpeg\bin\ffmpeg.exe -i a:/new folder\01 He Ain't a Hottie, He's My Brother.mp4 -an -sub_charenc UTF-8 -c:s:0 srt -map 0:3 -metadata:s:s:0 language=eng -f srt -y a:\new folder\01 He Ain't a Hottie, He's My Brother.eng.srt">
2016-01-03 12:17:50 - MANUAL - INFO -

Am seeing the exact same error - running the script in OSX, with self-built ffmpeg including everything but the kitchen sink.

Processing file input.mkv
Reading video stream.
Video codec detected: h264.
Pix Fmt: yuv420p.
Reading audio streams.
Audio detected for stream #1: ac3 [eng].
Creating audio stream 0 from source audio stream 1 [iOS-audio].
Creating audio stream 1 from source stream 1.
Reading subtitle streams.
Subtitle detected for stream #2: srt [eng].
Ripping eng subtitle from source stream 2 into external file.
Unabled to create external subtitle file for stream 2.
Traceback (most recent call last):
File "/Users/lb/Applications/github/sickbeard_mp4_automator/mkvtomp4.py", line 435, in generateOptions
for timecode in conv:
File "/Users/lb/Applications/github/sickbeard_mp4_automator/converter/init.py", line 243, in convert
timeout=timeout, preopts=preopts, postopts=postopts):
File "/Users/lb/Applications/github/sickbeard_mp4_automator/converter/ffmpeg.py", line 553, in convert
total_output, pid=p.pid)
FFMpegConvertError: <FFMpegConvertError error="Exited with code 1", pid=2223, cmd="/usr/local/Cellar/ffmpeg/2.8.4/bin/ffmpeg -i ./input.mkv -an -sub_charenc UTF-8 -c:s:0 srt -map 0:2 -metadata:s:s:0 language=eng -f srt -y /input.eng.srt">

Does the above error output a full FFMPEG command? and if so can you run it and tell me what error FFMPEG is throwing that's causing this to fail?

I have fixed it now, I reinstalled python and all the pre-requirements and now seems to work with out problem so not sure what coursed it.

Hm strange, but glad to hear its working.
Reopen if the issue crops up again

Just in case, this is the error I get when entering the ffmpeg command manually:
Mac-mini:Season 10 laurids$ /usr/local/Cellar/ffmpeg/2.8.4/bin/ffmpeg -i "./S10E04 - Banana Planet.mkv" -an -sub_charenc UTF-8 -c:s:0 srt -map 0:2 -metadata:s:s:0 language=eng -f srt -y "/Storageframe/Video/Add to Library/Processing/S10E04 - Banana Planet.eng.srt"
ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 7.0.2 (clang-700.1.81)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/1.5.2_1/include/openjpeg-1.5 --enable-nonfree --enable-vda
libavutil      54. 31.100 / 54. 31.100
libavcodec     56. 60.100 / 56. 60.100
libavformat    56. 40.101 / 56. 40.101
libavdevice    56.  4.100 / 56.  4.100
libavfilter     5. 40.101 /  5. 40.101
libavresample   2.  1.  0 /  2.  1.  0
libswscale      3.  1.101 /  3.  1.101
libswresample   1.  2.101 /  1.  2.101
libpostproc    53.  3.100 / 53.  3.100
Input #0, matroska,webm, from './S10E04 - Banana Planet.mkv':
Metadata:
encoder         : libebml v1.3.0 + libmatroska v1.4.0
creation_time   : 2013-09-09 10:32:53
Duration: 00:11:20.96, start: 0.000000, bitrate: 3667 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 2k tbc (default)
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
Stream #0:2(eng): Subtitle: subrip (default)
Codec AVOption sub_charenc (set input text subtitles character encoding) specified for output file #0 (/Storageframe/Video/Add to Library/Processing/S10E04 - Banana Planet.eng.srt) is not an encoding option.

And to follow up - removing "-sub_charenc UTF-8" made it work as intended.

Just pushed and update that should prevent the sub_charenc option from being passed when attempting to make an external .SRT file

On Jan 9, 2016, at 12:22 PM, lbinderup<EMAIL_ADDRESS>wrote:
And to follow up - removing "-sub_charenc UTF-8" made it work as intended.
—
Reply to this email directly or view it on GitHub https://github.com/mdhiggins/sickbeard_mp4_automator/issues/395#issuecomment-170261242.


End of service is wrong

End of service is wrong is wrong for 10.0.6 Platform update 30 release.
https://docs.microsoft.com/en-us/dynamics365/unified-operations/fin-and-ops/get-started/public-preview-releases

@prdpmv, thank you for noting this.
@meeramahabala or @ShellyBakke, please make updates to this topic, as needed.