How the training sentence was segmented?

To use the embedding, I prefer to use the same segment method with training since this could help reduce OOV words.
By the way, it would be great if you can provide a small simple for some large file. This gives me a chance to check the format and tokens before a long downloading.

Please refer to https://github.com/Embedding/Chinese-Word-Vectors#corpus


Linux Support

This PR adds support for Linux x64 platform. If asked, the Linux ARM64 platform can be added as well.
Includes edits from PR #88 alongside with my own edits mentioned in this comment.
Requires more testing.
Tested on these platforms and hardware configurations:

:heavy_check_mark:  Arch Linux with Intel GPU: Works well.
:heavy_check_mark: Arch Linux with NVIDIA GPU (Proprietary Drivers): Works well.
:heavy_check_mark: Arch Linux with NVIDIA GPU (Lately Open-Sourced Drivers): Works well.
:x:  Debian 12 on QEMU virtual machine (GPU options: Virtio, VGA, QXL): No window shows up. Error message says libva device = null on some devices. Disabling GPU with "--disable-gpu" did nothing.

Needs testing on:

AMD GPU
Other distributions

I read, understood and accept the OutSystems CLA

Hello @Haltroy 👋
Thanks for your Pull Request. It looks like this may be your first contribution to an OutSystems Open Source project. Before we look into your contribution, we need you to accept the 📝 OutSystems Contributors License Agreement.
After you read and accept the terms of the agreement, reply to this message saying I read, understood and accept the OutSystems CLA.

I read, understood and accept the OutSystems CLA

Got check errors and have no idea where it happened despite copying differences from PR and it's not letting me to see the errors and now it no longer is working on my system.
Are CEF wrappers on Linux is cursed or something?

Did changes, but what about Linux ARM64 and failed checks?
Also, I can't access logs from failed checks to see what's the issue. On my machine dotnet builds just fine but can't run (missing libcef).

In the checks' outputs, dotnet fails twice with some unknown error (I can't see the log but GitHub displays that it exited with code 1) and fails to restore packages (which is odd since the only addition to packages that I did is available on NuGet but in 106.x instead of current version which is 117.x).

I downloaded the appropriate CEF version and extracted it to the bin folder of demo app, for some reason it is not finding Xilium.CefGlue.BrowserProcess.dll (instead there is an executable named Xilium.CefGlue.BrowserProcess). It is absent in the demo app's bin folder but it's in the bin folder of CefGlue.BrowserProcess and I decided to copy the linux-x64 build of it to the demo app's bin folder and it worked. Now I have to tell BrowserProcess library to copy itself to the output folder and when the cef.redist.linux64 gets a appropriate update we are good to go.

Still not figured out why BrowserProcess.dll is not getting copied to the output folder. Any help will be appreciated. Also, maintainers are allowed to edit this PR.

We all thought the reason why checks were failing because "dotnet failed to restore" and we all thought that "it's probably because the package on NuGet is pointing to an older version of CEF" and we did change that and still it is failing.
I failed on my task so badly I just want to give up.

We all thought the reason why checks were failing because "dotnet failed to restore" and we all thought that "it's probably because the package on NuGet is pointing to an older version of CEF" and we did change that and still it is failing.
I failed on my task so badly I just want to give up.

Its a problem on our Azure infra-structure, still trying to understand what it is.... the error is not clear.

Created another PR with all your commits, and it works. So I guess the problem is that this branch is outside de org. So lets continue there.

We all thought the reason why checks were failing because "dotnet failed to restore" and we all thought that "it's probably because the package on NuGet is pointing to an older version of CEF" and we did change that and still it is failing.
I failed on my task so badly I just want to give up.

Its a problem on our Azure infra-structure, still trying to understand what it is.... the error is not clear. Nevertheless all the steps you did were necessary. Without the new nuget package version, this would never work.

Do you have access to OutSystems' Azure logs and if they are also not saying anything can you add "-v d" (detailed verbose) to the dotnet.exe line? This way you can tell which sub-package or something is failing to download.
Also, this is not longer working on my end and I have no idea why it started doing this. Output:
[1123/202210.006079:ERROR:icu_util.cc(240)] Invalid file descriptor to ICU data received.
Google'd it, turns out CefSharp users did also had the same issue for a time caused by files not copying properly. But I did copy the files required by libcef by my own which points to 2 other issues (one dating back when this PR was first opened and I couldn't figure out why):

CefGlueBrowserProcess is not copied to the output despite a successful build.
NO CEF redist. meaning your package has some issues. Also how did you get that to ~100MB? When I packed the same CEF build with all the required files it is over 300MB.


Fixes #1990: NGINX error in Kubernetes deployment

Fixes #1990
Changelogs:

Added proxy_pass for appsmith-internal-server ingress in NGINX template.
Added upstream in NGINX for appsmith-internal-server.
Added pipe convention to define NGINX template. Pipe convention is helpful to pretty print yamls when debugging pods/configmaps in K8s.
Added type: NodePort for the appsmith-editor. By default, it creates a ClusterIP.
Rename appsmith-backend-server to appsmith-internal-server for making debugging easier.

@geekup-legodevops can we do a review of this in priority? A user is blocked by this issue

@harshit98 The current Kubernetes installation script requires the K8s cluster to have an ingress controller. This allows for teminating SSL connections at the ingress port itself.
If I'm not mistaken, this change bypasses the ingress controller. Are you running HTTPS on your current setup? If yes, how are you setting up SSL for your cluster?

@mohanarpit I'm not terminating the SSL connections at the Ingress. This change will not bypass the ingress controller either. The ingress will be working as it was earlier. I've just kept the naming convention easier. If you're not sure, I can rename it back to as it was and fix the NGINX config accordingly.
I'm not using HTTPS in my current setup.

@harshit98 So, in this case, if you were to implement HTTPS, where would the HTTPS termination happen? At the Nginx layer or at the ingress controller?
If HTTPS termination happens at the Nginx layer, will it be possible to have multiple Nginx containers in our k8s cluster? If yes, how would all the Nginx containers get their SSL configuration files?

@mohanarpit I guess HTTPS termination will happen only on ingress layer only.
Not sure enough, as I didn't looked into the HTTPS setup. I don't have any exact answer for this 🙂


i.MX6 opensource stack support

Hi,
I'm curious whether anyone has been testing wpewebkit with imx6 (opensource stack).
I'm using latest NXP Yocto BSP (rocko). In addition, I have switched to
openembedded-core (poky/meta) master in order to get latest mesa (18.0.2
instead of 17.1 as in rocko NXP BSP). As claimed in the following article, mesa
before 17.1 may not work well with Etnaviv / Wayland:
https://www.pengutronix.de/en/2017-09-28-etnaviv-weston-mainline.html
My configuration:
## webkit configuration ##
IMAGE_INSTALL_append = " wpewebkit cog wpebackend"
PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-rdk"

PACKAGECONFIG_pn-wpebackend-rdk = "wayland"

PACKAGECONFIG_pn-wpewebkit = " \
    fetchapi \
    indexeddb \
    webaudio \
    "

# use mainline graphics stack in NXP BSP
MACHINEOVERRIDES .= ":use-mainline-bsp"
PREFERRED_PROVIDER_virtual/kernel = "linux-fslc"

My results so far:

Igalia fps counter
on cog with rdk/wayland backend gives maximum of 26-27 FPS with 15ms
interval in wayland.ini

with fdo backend the display image is scrambled as shown on the image (both cog and dyz launchers):

Let me know if this is fine spot for such discussion.

So far I have been testing WPE on i.MX6 with the Vivante drivers mainly.
I'm adding @psaavedra and @philn to the CC that have tested WPE on i.MX6 with Etnaviv recently to see if they have any suggestion.

I haven't tried the rdk backend with etnaviv. Only the wpebackend-fdo, and it works :)

@philn Thanks for your answer. I'm glad it does. So I believe that I should focus on bringing the wpebackend-fdo  to operation.  I'm wondering if you guys have any notes of the configuration you were testing against (yocto layers branches, kernel, hardware, webkit / launcher configuration or anything). I can see that the meta-webkit's conponents (as well as meta-webkit itself) is under quite rapid development and it is not an easy task to jump in and get started.

@macpijan, you need linux-dmabuf of WPEBackend-fdo on etnaviv. However, cog also needs changes to enable the dmabuf interface, I will write a patch for it.
Regarding the low FPS, did you mean you set "repaint-window=15" in weston.ini (not wayland.ini) ?

@macpijan, I have created a cog linux-dmabuf branch which, together with its counterpart in -fdo, should get the scrambled image fixed.
I tested it quickly in my laptop and should be fine, but please let me know if you find issues.

Thanks for such a rapid response @elima
I've built the image with cog and fdo backend from linux-dmabuf branches. It does display properly now (scrambled display is gone). However, the performance seems to be the same as in case of the rdk backend.
It's around 20FPS for 5ms repaint and 25-27FPS for 15ms repaint.
And yes, I believe that I have modified the correct file:

proof of loading the config:

root@cubox-i:~# cat /var/log/weston.log | grep config
[14:39:52.087] Using config file '/etc/xdg/weston/weston.ini'

proof of loading the value from config:

root@cubox-i:~# cat /var/log/weston.log  | grep paint
[14:39:52.088] Output repaint window is 15 ms maximum.

The hardware uses i.MX6DL SoC

I haven't tested this SoC, here I use a QuadPlus.

I've built the image with cog and fdo backend from linux-dmabuf branches. It does display properly now (scrambled display is gone). However, the performance seems to be the same as in case of the rdk backend.
It's around 20FPS for 5ms repaint and 25-27FPS for 15ms repaint.

Have you checked that other apps running over weston can get 60 FPS? es2_gears / eglgears from package mesa-demos or glmark2 can be good tests to check in order to be sure that the issue is not on Weston or on the screen refresh rate configuration itself.

@clopez
Actually, I have tried running the mesa backend already as those device files are present in case of Etnaviv.
However, I got following error. I can try finding out where does this symbol come from.
(cog:660): Cog-WARNING **: 07:30:16.136: Could not load: libcogplatform-mesa.so (possible cause: No such file or directory).

wpe: could not load the impl library.  The result is scrambled display as on the first picture. Performance on weston in console log  is roughly the same.
It cannot be run without Weston:
root@cubox-i:~# env
EDITOR=vi
HZ=100
HUSHLOGIN=FALSE
USER=root
PWD=/home/root
HOME=/home/root
SHELL=/bin/sh
TERM=vt102
SHLVL=1
LOGNAME=root
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
PS1=\u@\h:\w\$
_=/usr/bin/env
root@cubox-i:~# ./mesa.xh

(cog:675): Cog-WARNING **: 10:40:31.420: Could not load: libcogplatform-mesa.so (possible cause: No such file or directory).

Cog-Message: 10:40:31.747: <https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html> Load started.

(cog:675): Cog-WARNING **: 10:40:31.782: <https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html> Crash!: The renderer process crashed. Reloading the page may fix intermittent failures.
Cog-Message: 10:40:32.216: <https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html> Load started.
Cog-Message: 10:40:32.232: <https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html> Loading...

(cog:675): Cog-WARNING **: 10:40:32.244: <https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html> Crash!: The renderer process crashed. Reloading the page may fix intermittent failures.
Cog-Message: 10:40:32.491: <https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html> Load started.
Cog-Message: 10:40:32.500: <https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html> Loading...

@clopez My last log shows that I was not able to run it without weston so far.  As you can see there are no WESTON_* variables in the env. Running the cog (cog -P mesa -v https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html) results in above erros repeating in a loop. Nothing is displayed on the screen.

@macpijan What's inside mesa.xh script? You don't need to pass any platform parameter to cog. Simply run it like cog https://google.com
Can you try to export the environment variable G_MESSAGES_DEBUG=all before running cog? that way it will print debug messages

BTW.. check also that on your mesa build, you have the PACKAGECONFIG options gbm,  dri and dri3 enabled.

@clopez The scipt's content is basically the one line which runs cog provided in my previous post.
mesa configuration is as follows: PACKAGECONFIG_append_pn-mesa = "etnaviv imx gallium dri egl gles xa gbm"
Are you sure about the dri and dri3 stuff. I can see that they both depend on xorg. Actually, it is not possible to make a build with dri3 enabled without X11 in DISTRO_FEATURES due to libxshmfence dependency.
Thanks for the debug switch info. I will sure try it out.

@macpijan I'm not sure about dri and dri3 being strictly needed. But sure it won't hurt.

When trying to tun over mesa backend without the Weston, debug messages does give too much additional info:
root@cubox-i:~# G_MESSAGES_DEBUG=all cog https://google.com
(cog:498): Cog-DEBUG: 08:26:40.279: platform_setup: Platform name: (null)
(cog:498): Cog-DEBUG: 08:26:40.281: Instantiating default WPE backend as fall-back.
Cog-Message: 08:26:40.607: <https://google.com/> Load started.

(cog:498): Cog-WARNING **: 08:26:40.652: <https://google.com/> Crash!: The renderer process crashed. Reloading the page may fix intermittent failures.
Cog-Message: 08:26:41.082: <https://google.com/> Load started.
Cog-Message: 08:26:41.095: <https://google.com/> Loading...

(cog:498): Cog-WARNING **: 08:26:41.109: <https://google.com/> Crash!: The renderer process crashed. Reloading the page may fix intermittent failures.
Cog-Message: 08:26:41.360: <https://google.com/> Load started.
Cog-Message: 08:26:41.368: <https://google.com/> Loading...

(cog:498): Cog-WARNING **: 08:26:41.391: <https://google.com/> Crash!: The renderer process crashed. Reloading the page may fix intermittent failures.
Cog-Message: 08:26:41.649: <https://google.com/> Load started.
Cog-Message: 08:26:41.657: <https://google.com/> Loading...

Ok. It looks like the backend crashed or msething like that. Maybe it still doesn't work with etnaviv without wayland. Not sure. I guess running the process with strace -f or generating a coredump and a backtrace can help to know where its the issue.

Hi,
I stumbled across the same issue: a scrambled image of cog (looks the same as the screenshot above).
The etnaviv weston open-source-stack is working fine here.
This is the wpewebkit config:

IMAGE_INSTALL_append = " wpewebkit cog"
PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-fdo"

So I tried to use linux-dmabuf branches of repos wpebackend-fdo and cog. But they are currently outdated in regards to the other repos from current meta-webkit and don't compile:
wpebackend-fdo (branch linux-dmabuf):

| -- Checking for modules 'wayland-client;wayland-server'
| --   Found wayland-client, version 1.14.0
| --   Found wayland-server, version 1.14.0
| -- Found WAYLAND: wayland-client;wayland-server
| -- Checking for module 'wayland-egl'
| --   Found wayland-egl, version 17.1.7
| -- Found WAYLAND_EGL: wayland-egl;wayland-client
| -- Could NOT find WPEBACKEND (missing:  WPEBACKEND_INCLUDE_DIRS WPEBACKEND_LIBRARIES)
| CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
| Please set them or make sure they are set and tested correctly in the CMake files:

What's a fast way to solve this and get wpe working on etnaviv?
I also created a rather long strace from wpebackend-mesa which can be found here:
https://paste.ubuntu.com/p/KG2HCYJSZH/

Try adding wpebackend-fdo to IMAGE_INSTALL.
I got this working with Poky master (eventually).
With poky master I didn't need any dmabuf specific changes but I did make the following changes:
recipes-core/images/core-image-minimal.bbappend

IMAGE_INSTALL += "wayland weston weston-init"
DISTRO_FEATURES_append = " wayland"
DISTRO_FEATURES_append = " opengl"
IMAGE_INSTALL += "cog"
IMAGE_INSTALL += "wpewebkit"
IMAGE_INSTALL += "wpebackend-fdo"
DISTRO_FEATURES_remove = "x11"

recipes-graphics/mesa/mesa_%.bbappend

PACKAGECONFIG_append = " etnaviv imx gallium"

recipes-graphics/wayland/files/weston.ini

[core]
idle-time=60
shell=desktop-shell.so
[shell]
locking=false
background-image=/biotector/www/images/logo_colour.jpg
client=/biotector/bin/browser_start.sh

recipes-graphics/wayland/weston_%.bbappend

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://weston.ini"
do_install_append() {
install -d ${D}${sysconfdir}/xdg/weston
install -m 0644 ${WORKDIR}/weston.ini ${D}${sysconfdir}/xdg/weston
}
FILES_${PN} += "${sysconfdir}"

Thanks for your input shiftee. I'm pretty much stuck on rocko, but I can update/backport individual packages from master. That leads me to my next question: What packages do I need to update to circumvent dmabuf specific changes? Is it mesa 18 instead of 17?

that's what I did to get here in the first place

I'd try libdrm and the kernel then. I think the dmabuf stuff is now in the master branches of wpebackend-fdo and cog

Just curious, is it possible to build the wpe with wpebackend-mesa and run it on pure drm/kms console instead of having to use wayland ? I managed to build it, but cog indicates the renderer process crashed, which I believe is because cog tries to use the -fdo platform. Is there a launcher for the -mesa platform ?

After upgrading mesa, wayland and kernel I now do get a working cog wpewebkit.
But on a 800x600 screen it's pretty slow:
http://browserbench.org/MotionMark/ shows a score of 1.00 on all tests. Do you get similar low scores?
Adapting "repaint-window" option in weston.ini doesn't help much. Any ideas?
As marex, I'm also interested in the mesa backend hoping for a performance boost.

Cog seems to have only -fdo platform plugin in it, so it is unlikely to support the -mesa platform.

@marex I think it does. I think the reason for that there is no platform for other backends is explained in the wiki: https://github.com/Igalia/meta-webkit/wiki/WPE
Contrary to other wpebackends, the support for how the image is presented on the screen (e.g.: wayland) is implemented on the launcher itself (e.g.: on cog or dyz) rather than on the backend.

See the sentence right before the text you quoted -- 'Currently the launchers supporting it (cog and dyz) do that requiring a Wayland session with an EGL driver implementing the extension EGL_WL_bind_wayland_display, but support for running directly from a frame-buffer (DRM/KMS) or from X11 may get implemented on the future.'

And yet I cannot see from this sentence why the cog would not work with backends other than the fdo.
What I can tell is that I was running cog with wpebackend-fdo, wpebackend-rdk (both Wayland and imx6 variants, and wpebackend-mesa (Wayland wariant, but image was scrambled as on the first photo in this thread).
As I stated above, the wpebackend-mesa on imx6 does not seem to start properly without Weston. You are experiencing the same crash as I was. I was not debugging it any further then, so I do not know what the issue was.

After updating the PerformanceTips wiki I do get a benchmark score of ~1.26 by MotionMark.
My next step is to test video playback.
The following note on meta-webkit/wiki/i.MX6 concerns me a bit:

Note: The instructions above have been only tested with the proprietary stack (Vivante). In theory it should be also possible to enable accelerated hardware decoding using the open source stack by leveraging the gstreamer v4l2 plugin and the kernel CODA driver. The steps for that should be pretty much the same, but installing the v4l2 gstreamer plugin instead of the gstreamer1.0-plugins-imx one.

Has anyone tried this yet?
Any tips, ideas, guidelines?
Are there special cog/wpewebkit/... compile flags I should have an eye on to enable VPU h264 support and play youtube videos?

You might need some GStreamer/Mesa/Kernel patches that are not upstream yet. Anyway a good start would be to enable the gst v4l2 plugin and try playback with gst-play-1.0... I'd advise to use the 1.14.1 release at least.

@macpijan Regarding Cog, it should work fine with WPE backends other than FDO.  Just don't pass any --platform=… option in the command line, and it will fall-back to use libWPEBackend-default.so and using the default method for creating the backend instance (I know it works for the RDK backend, which is the non-FDO one that I have been testing with).

regarding video playpack on etnaviv i.mx6:
gst-launch-1.0 playbin uri=file:/test_h264.avi video-sink=waylandsink
works and no CPU is used. But a video size of 1080p fails with:
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecode
Bin:decodebin0/v4l2h264dec:v4l2h264dec0: Failed to allocate required memory.

Playing videos within wpewebkit (cog -P fdo) works now too, but there is no VPU support and videos bigger than 480p are pretty slow.
Any idea how to tell wpewebkit to use gstreamer plugin v4l2h264dec ?

If playbin outside of WPE already auto-plugs v4l2h264dec then playbin inside WPE should also do it. You can check the generated pipeline by setting GST_DEBUG_DUMP_DOT_DIR=/tmp for Cog and then convert the dot files in /tmp/ to png.
Does gst-launch with glimagesink instead of waylandsink also work?

After updating the PerformanceTips wiki I do get a benchmark score of ~1.26 by MotionMark.
My next step is to test video playback.
The following note on meta-webkit/wiki/i.MX6 concerns me a bit:

Note: The instructions above have been only tested with the proprietary stack (Vivante). In theory it should be also possible to enable accelerated hardware decoding using the open source stack by leveraging the gstreamer v4l2 plugin and the kernel CODA driver. The steps for that should be pretty much the same, but installing the v4l2 gstreamer plugin instead of the gstreamer1.0-plugins-imx one.

Has anyone tried this yet?
Any tips, ideas, guidelines?
Are there special cog/wpewebkit/... compile flags I should have an eye on to enable VPU h264 support and play youtube videos?

Mesa 18 could be fine. You can try with this (mesa 18 can be obtained from sumo):
PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-fdo"
PREFERRED_PROVIDER_virtual/libwpe = "libwpe"
PREFERRED_VERSION_cog = "git%"
PREFERRED_VERSION_wpewebkit = "2.21%"
PREFERRED_VERSION_wayland = "1.14.0"
PREFERRED_VERSION_wayland-protocols = "1.13"
PREFERRED_VERSION_wpebackend-fdo = "1.0.0"
PREFERRED_VERSION_mesa = "18.%"

Two years with no activity. I'm going to close the issue. Feel free to reopen it again in case that you need it.


Add error handling for FUSE worker threads that panic

When encountering a panic in a FUSE operation, the filesystem was not exiting cleanly. We were not handling the panicking thread case before this change. With this change, we log at error and allow the unmount process to continue.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

I'll provide the default rather than using expect on thread name.
I'll also take a look into trying to print some part of the panic message based on the info, thanks Alex.
Will work on these tomorrow.

Just pushed the latest code.
Here's the logs with the new changes:
thread 'fuse-worker-0' panicked at 'uh oh 2', /Users/djonesoa/devel/mountpoint-s3/mountpoint-s3/src/fuse.rs:126:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2023-04-12T13:49:35.109854Z  WARN fuser::reply: Reply not sent for operation 5, replying with I/O error
2023-04-12T13:49:35.109965Z  INFO fuser::session: Unmounted /Users/djonesoa/mnt/s3-file-connector/
2023-04-12T13:49:35.110354Z ERROR mountpoint_s3::fuse::session: worker thread panicked thread_name="fuse-worker-0" panic_msg="uh oh 2"

If the thread name (or attempt at downcasting the panic message) returns none, the args won't appear.


SWARM-617: Update to WildFly 10.1.0.Final

I think before merging this you should verify that the API can still be generated. I am not sure the CI jobs does this.

Ok to test

@heiko-braun I have created a CI job last week to do that, hope it works


chore: fix links from userland migration

[ ] I have read the contribution documentation for this project.
[ ] I agree to follow the code of conduct that this project follows, as appropriate.
[ ] The changes are appropriately documented (if applicable).
[ ] The changes have sufficient test coverage (if applicable).
[ ] The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:

Revisar si esta todo bien
Pido ayuda para Revisar


truffle compile fails for the FxERC721ChildTunnel.sol smart contract inside examples/

When we compile the contracts using truffle compile, the compilation fails with the below error message:
TypeError: Member "ownerOf" not found or not visible after argument-dependent lookup in contract IFxERC721.
  --> project:/contracts/examples/erc721-transfer/FxERC721ChildTunnel.sol:50:31:
   |
50 |         require(msg.sender == childTokenContract.ownerOf(tokenId));
   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^

Compilation failed. See above.

When we investigate the above smart contract, we find that the contract FxERC721ChildTunnel.sol inherits from the contract IFxERC721 which doesn't contain any definition for the function ownerOf().

This is addressed in #20 you should use the version released last.


Tiered sparse merkle tree requirements

Miden VM - TSMT
Definition
A tiered sparse merkle tree will be a compound of sparse merkle trees combined into tiers. It will map 256-bits keys to 256-bits values, and will extend the functionality of sparse merkle trees.
Keys and values are arrays of 64-bits field elements F. We will use the last limb of the key to represent our traversing key.

T: Depth per tier, set to 16.
M: Maximum number of tiers, set to 4.
D: Maximum depth of the tree, set to T ⋅ M = 64
H({F}) -> F: Hash primitive of choice
H_{t}({F}) -> F: Hash in domain t, where the maximum t = D = 64
H_0(depth) -> F: Set of empty sub-tree constants for a target depth.

Lookup
Requirements:

H_0(depth) -> F
H_{t}({F}) -> F
Node(state, depth, index) -> Node Value: F
Traverse(state, bits) -> Target Node Depth Index: (F, F)
Traverse Key(Key, B) -> Bits: F

For a state of the tree (i.e. root), given a key, it will lookup its structure and find the appropriate node for that key. This will be referenced as target node within this document.
Lookup(Root, Key, Value) -> (Depth, Index)
For the first tier, we will:

Compute bits := Traverse Key(Key, B) for B = T = 16

Traverse key will get the most significant bits B from the traversing key of Key.

Compute the node value for that tier: V := H_{B}(Key, Value)
Fetch the target node via a traverse function (depth, index) := Traverse(state, bits)

The tree traversal is straightforward as it will be the same as a regular sparse merkle tree. For the sake of simplicity, we use below a T = 4 and a 8-bits key 0b10010110.

We start from the orange root, traverse the green nodes in accordance to the most significant bits of the key, and finish at the purple target node. The index pair for that tree will be (depth = 4, index = 9).

Fetch a node value N := Node(state, depth, index)
If the node value N equals V or H_0(depth), returns (depth, index). Otherwise, continue traversing until the next tier.

For the second tier t = 2, we will:

Compute bits := Traverse Key(Key, B) for B = t ⋅ T = 2 ⋅ 16 = 32
Compute the node value for that tier: N := H_{B}(Key, Value)
Fetch the target node via a traverse function (depth, index) := Traverse(state, bits)
Fetch a node value V := Node(state, depth, index)
If the node value N equals V, returns (depth, index). If V = H_0(depth), returns (depth, index) of the previous iteration.

Otherwise, continue traversing until B = 64. If we reach the maximum depth = D = 64, returns (64, index), where index is the traversed value for that maximum depth.
Node value for the last tier
Requirements:

Order Leaves By Key({(Key, Value)}) -> {(Key, Value})

The last tier might contain multiple leaves per node. We introduce a Node Value Last Tier(leaves: {Key, Value}) -> F procedure to compute the node values, and will behave as follows

Order leaves via ordered leaves := Order Leaves By Key(leaves)
Return the hash in domain for the max depth D = 64 as Node Value Last Tier(ordered leaves: {Key, Value}) -> H_64(ordered leaves)

Membership proof
Requirements:

H_{t}({F}) -> F
Last Tier Leaves(index) -> {(Key, Value)}
Lookup(Root, Key, Value) -> (Depth, Index)
Merkle Opening(Root, V, index, Merkle Path) -> boolean
Merkle Path(Root, depth, index) -> Merkle Path
Node(state, depth, index) -> Node Value: F
Node Value Last Tier(leaves) -> F

To check if a candidate leaf (Key, Value) opens to a state Root, we proceed as follows:

Fetch the target node via (depth, index) := Lookup(Root, Key, Value)
Compute the node value for that tier via N := H_{depth}(Key, Value)
If the depth is 64, fetch all leaves of the target node via leaves := Last Tier Leaves(index), assert (Key, Value) belongs to leaves, and replace N := Node Value Last Tier(leaves)
Fetch the node value of the state via V := Node(Root, depth, index)
Fetch the merkle path for the target node via P := Merkle Path(Root, depth, index)
Assert the correctness of the opening via Merkle Opening(Root, V, index, P)

Note: Both Merkle Path and Merkle Opening definitions doesn't belong to the scope of this document and are assumed to be known by the reader.
Non-Membership proof
Requirements:

Fetch Pre Image(Root, depth, index) -> {F}
H_0(depth) -> F
H_{t}({F}) -> F
Last Tier Leaves(index) -> {(Key, Value)}
Lookup(Root, Key, Value) -> (Depth, Index)
Merkle Opening(Root, V, index, Merkle Path) -> boolean
Merkle Path(Root, depth, index) -> Merkle Path
Node(state, depth, index) -> Node Value: F
Node Value Last Tier(leaves) -> F

To check if a candidate leaf (Key, Value) doesn't exist for a state Root, we proceed as follows:

Fetch the target node via (depth, index) := Lookup(Root, Key, Value)
Fetch the node value via N := Node(Root, depth, index)
Fetch the merkle path for the target node via P := Merkle Path(Root, depth, index)
Assert the correctness of the opening via Merkle Opening(Root, V, P)

In order to prove non-membership, we need to open the pre-image of target node and assert it doesn't contain the candidate leaf. The proof that we know a pre-image that will compute the opening correctly will suffice to prove the non-membership.

If N = H_0(depth), then the proof holds.
Otherwise, if depth < D, we fetch the pre-image (Key', Value') := Fetch Pre Image(Root, depth, index) and assert N = H_{depth}(Key', Value') && Key != Key' && Value != Value'. We can, alternatively, skip the value check as the key could independently verify the set membership - that would be up to the target use case.
Finally, if depth = D, then we fetch leaves := Last Tier Leaves(index), assert (Key, Value) doesn't exist in leaves, and assert N = Node Value Last Tier(leaves).

Insert new leaf
Requirements:

Fetch Pre Image(Root, depth, index) -> {F}
H_0(depth) -> F
H_{t}({F}) -> F
Insert Leaf(Root, N, depth, index, Key, Value) -> New Root: F
Last Tier Leaves(index) -> {(Key, Value)}
Lookup(Root, Key, Value) -> (Depth, Index)
Node(state, depth, index) -> Node Value: F
Node Value Last Tier(leaves) -> F
Traverse(state, bits) -> Target Node Depth Index: (F, F)
Traverse Key(Key, B) -> Bits: F

The insertion of a leaf (Key, Value) for a state Root should be implemented as follows:

Fetch the target node via (depth, index) := Lookup(Root, Key, Value)
Compute the node value for that tier via N := H_{depth}(Key, Value)
Fetch the node value of the state via V := Node(Root, depth, index)
If V = H_0(depth), then Insert Leaf(Root, N, depth, index, Key, Value)
Otherwise, if depth = D = 64, then we fetch leaves := Last Tier Leaves(index), append (Key, Value) to the set leaves (note that a set cannot hold duplicated values), compute the node value N := Node Value Last Tier(leaves), and Insert Leaf(Root, N, depth, index, Key, Value)

Finally, if the previous cases aren't met, we have a collision. We should promote both leaves until they don't collide.

Compute the depth of the next tier via next tier depth := depth + T
Fetch the node pre-image of the sibling via (Sibling Key, Sibling Value) := Fetch Pre Image(Root, depth, index)
Compute the sibling traversing bits via sibling bits := Traverse Key(Sibling Key, next tier depth)
Fetch the target sibling node via the traverse function (sibling new depth, sibling new index) := Traverse(state, sibling bits)
Compute the traversing bits via bits := Traverse Key(Key, next tier depth)
Fetch the target node via the traverse function (new depth, new index) := Traverse(state, bits)

If new depth = D = 64, then we insert the sibling and leaf into their indexes using the previous method for the maximum depth.
Otherwise, if new index != sibling new index, it means we can insert the nodes back into the tree:

Compute the sibling node value for that tier via Sibling N := H_{new depth}(Sibling Key, Sibling Value), then New Root := Insert Leaf(Root, Sibling N, new depth, sibling new index, Sibling Key, Sibling Value)

Note that this command should override the previous leaf from the set. It means it should behave the same as if we entirely removed the sibling from the set, and inserted it into the new depth and index.

Compute the value for that tier via N := H_{new depth}(Key, Value), then Insert Leaf(New Root, N, new depth, new index, Key, Value)

Finally, if new index = sibling new index, we repeat the procedure, promoting the leaves to the next tier.
MidenVM
The Lookup operation is used for all the routines. These are the requirements for its implementation.

H_0(depth) -> F
H_{t}({F}) -> F
Node(state, depth, index) -> Node Value: F
Traverse(state, bits) -> Target Node Depth Index: (F, F)
Traverse Key(Key, B) -> Bits: F

The remainder operations will require:

Fetch Pre Image(Root, depth, index) -> {F}
Insert Leaf(Root, N, depth, index, Key, Value) -> New Root: F
Last Tier Leaves(index) -> {(Key, Value)}
Merkle Opening(Root, V, index, Merkle Path) -> boolean
Merkle Path(Root, depth, index) -> Merkle Path
Node Value Last Tier(leaves) -> F
Order Leaves By Key({(Key, Value)}) -> {(Key, Value})

Known blockers
These implementations will require new VM instructions and/or advice provider modification:

H_{t}({F}) -> F

Hash in domain is currently not supported as VM instruction

Insert Leaf(Root, N, depth, index, Key, Value) -> New Root: F

We can map (depth, index) -> (Key, Value) via the advice provider, but we cannot insert a leaf on an arbitrary index.
Nice to have
The advice provider will allow us to map values to sequence of values. This theoretically can solve any situation, but might be too resource demanding to work with. Example:
If I'm to implement the Node(state, depth, index) -> Node Value: F, then I can do the following:

Compute the hash of the arguments x := H(state, depth, index)
Map x -> v

This means we will have to store every node, not only as a node, but also as a value mapping.
If we have a way to perform a custom request that will take n numbers as argument, we can easily implement more functions:

Define a constant N that will work as function selector
Invoke the advice provider, passing as arguments (N, state, depth, index)
Given N, the advice provider will know it should use the 3 arguments to fetch the node for the given state at depth+index, and return it

Following the proposal of a common merkle store backend, the described routines are feasible with such backend
https://github.com/0xPolygonMiden/crypto/issues/89#issuecomment-1460756669

TSMT Requirement
Implementation

H_0(depth) -> F
EmptySubtreeRoots::empty_hashes(depth)[depth]

H_{t}({F}) -> F
.

Node(state, depth, index) -> Node Value: F
.

Traverse(state, bits) -> Target Node Depth Index: (F, F)
.

Fetch Pre Image(Root, depth, index) -> {F}
.

Insert Leaf(Root, N, depth, index, Key, Value) -> New Root: F
.

Last Tier Leaves(index) -> {(Key, Value)}
.

Merkle Opening(Root, V, index, Merkle Path) -> boolean
.

Merkle Path(Root, depth, index) -> Merkle Path
.

Node Value Last Tier(leaves) -> F
.

Order Leaves By Key({(Key, Value)}) -> {(Key, Value})
.

I think we should view this from the standpoint of having access to the AdvcieProvider. So, for example:
Fetch Pre Image(root, depth, index) could be done as follows:

AdviceProvider::get_tree_node(root, (depth, index)) -> node
AdviceProvider::write_tape(source: node)
AdvcieProvider::read_tape_dw() -> pre_image

Closing this as superseded by #152 and others.


not support shelljs package

(node:110708) UnhandledPromiseRejectionWarning: TypeError: shelljs_1.default.exec is not a function
at exeList.forEach.item (evalmachine.:7230:42)
at Array.forEach ()
at addCommit (evalmachine.:7229:13)
at inquirer_1.default.prompt.then (evalmachine.:7333:13)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:110708) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:110708) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Same here

Likewise. NCC seems to be dropping this require structure. Shell is built around an interesting plugin registration architecture that flies over my head; the conflict with ncc could be somewhere there too. Maybe @nfischer has pointers?

Are you using some sort of bundler? Do you see the same error for other shelljs commands (ex. shell.echo())?

@nfischer Same error
(node:58118) UnhandledPromiseRejectionWarning: TypeError: shelljs__WEBPACK_IMPORTED_MODULE_0__.echo is not a function
    at /Users/wener/temp/next/wapi/dist/index.js:6204:46
    at Generator.next (<anonymous>)
    at /Users/wener/temp/next/wapi/dist/index.js:6197:71
    at new Promise (<anonymous>)
    at module.exports.819.__awaiter (/Users/wener/temp/next/wapi/dist/index.js:6193:12)
    at main (/Users/wener/temp/next/wapi/dist/index.js:6203:12)
    at /Users/wener/temp/next/wapi/dist/index.js:6216:15
    at Generator.next (<anonymous>)
    at /Users/wener/temp/next/wapi/dist/index.js:6197:71
    at new Promise (<anonymous>)
(node:58118) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:58118) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.


feat: showing issue with scrollable-tabs

Issue with scrollable tabs.

@alexpchin Don't know how the order got wrong in the first place, but this will ensure the correct order anyway 👍


Rye sync does not apply tool.rye.lock-generate-hashes

Steps to Reproduce

make a project
set tool.rye.lock-generate-hashes = true in pyproject.toml
run rye sync

Expected Result
hashes in .lock files
Actual Result
no hashes in .lock files - even if flag is shown
Version Info
rye 0.34.0
commit: 0.34.0 (d31340178 2024-05-20)
platform: macos (aarch64)
self-python<EMAIL_ADDRESS>symlink support: true
uv enabled: true
Stacktrace
No response

I am just now trying to switch to rye from poetry (we are using it only to manage dependencies for an internal company project, so our use-case is perhaps easier than others').
Anyway, this issue interests me as well.
I would like to configure as much as possible through config file(s) to force behavior across rye commands, and the generate-hashes does not seem to be configurable that way.
…or am I just missing some general mechanism where user can force some configuration values through env variables / local config, and it's just not documented?

Footnote: I will now chime in with some monetary support because I really like where this is going, thank you!

I fixed it!
Locking happens via uv, so you actually need:
[tool.uv.pip]
generate-hashes = true

I found this via the PR that added the feature. I was reading the code until uv.rs when it hit me: "ooooh, it's using uv under the hood, so it's probably a uv option!", and after a little experimentation I got it working.
I have to admit that this makes for a confusing config, so moving (or copying) this option to the rye config would make sense to me, but I can't speak to its complexity (or whether that's even a good idea).

It is not working anymore after version 0.40.0?


fire beforeInput (closes #4486 after hh is published)

https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/beforeinput_event
The beforeInput events fires only in Chrome and Safari.
However, the order of events is different.
In Chrome the order is beforeinput - textInput - input
In Safari - textInput - beforeinput - input
Any preceding event can prevent the next one. This behavior is shown in tests.
The beforeinput event handler has an argument of InputEvent. IE/Edge does not support InputEvent. Firefox supports InputEvent but does no support beforeinput

@AndreyBelym review please


Option-key + key shortcut to open Maccy doesn't work anymore since macOS 15 Sequoia

Before Submitting Your Bug Report

[X] I have verified that there isn't already an issue reporting the same bug to prevent duplication.
[X] I have seen the FAQ.

Maccy Version (see 'About' window)
2.0.1 (48)
macOS Version
Sequoia 15.0
Maccy Settings
{
    "KeyboardShortcuts_delete" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":51}";
    "KeyboardShortcuts_pin" = "{\\"carbonKeyCode\\":35,\\"carbonModifiers\\":2048}";
    "KeyboardShortcuts_popup" = "{\\"carbonKeyCode\\":41,\\"carbonModifiers\\":2048}";
    "LaunchAtLogin__hasMigrated" = 1;
    NSNavLastRootDirectory = "/Applications";
    NSNavPanelExpandedSizeForOpenMode = "{800, 448}";
    "NSStatusItem Preferred Position Item-0" = 454;
    "NSStatusItem Visible Item-0" = 1;
    "NSStatusItem Visible Item-1" = 0;
    NSUserKeyEquivalents =     {
    };
    "NSWindow Frame NSNavPanelAutosaveName" = "560 561 800 448 0 0 1920 1175 ";
    "NSWindow Frame SUStatusFrame" = "1080 977 400 134 0 0 2560 1415 ";
    "NSWindow Frame SUUpdateAlert" = "961 778 637 398 0 0 2560 1415 ";
    "NSWindow Frame com.sindresorhus.Preferences.FrameAutosaveName" = "496 699 584 435 0 0 2560 1415 ";
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "1025 724 510 488 0 0 2560 1415 ";
    SUAutomaticallyUpdate = 0;
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2024-09-30 09:08:06 +0000";
    SUUpdateGroupIdentifier =<PHONE_NUMBER>;
    WebKitDefaultFontSize = 13;
    WebKitJavaEnabled = 0;
    WebKitJavaScriptEnabled = 0;
    WebKitPluginsEnabled = 0;
    WebKitStandardFont = "-apple-system-font";
    WebKitUserStyleSheetEnabledPreferenceKey = 1;
    WebKitUserStyleSheetLocationPreferenceKey = "/Applications/Maccy.app/Contents/Frameworks/Sparkle.framework/Resources/ReleaseNotesColorStyle.css";
    enabledPasteboardTypes =     (
        "public.rtf",
        "public.tiff",
        "public.png",
        "public.utf8-plain-text",
        "public.html"
    );
    history = {length = 42, bytes = 0x62706c69 73743030 a0080000 00000000 ... 00000000 00000009 };
    historySize = 690;
    ignoreEvents = 0;
    ignoredApps =     (
        "com.bitwarden.desktop"
    );
    ignoredPasteboardTypes =     (
        "com.typeit4me.clipping",
        "de.petermaurer.TransientPasteboardType",
        "com.agilebits.onepassword",
        "net.antelle.keeweb",
        "Pasteboard generator type"
    );
    imageMaxHeight = 90;
    maxMenuItems = 0;
    migrations =     {
        "2024-07-01-version-2" = 1;
    };
    pasteByDefault = 0;
    playSounds = 0;
    popupPosition = center;
    removeFormattingByDefault = 0;
    searchMode = fuzzy;
    showFooter = 1;
    showInStatusBar = 1;
    showRecentCopyInMenuBar = 0;
    showSearch = 1;
    showTitle = 0;
    suppressClearAlert = 1;
    windowPosition = "[0.36875,0.6439674315321984]";
    windowSize = "[450,800]";
}

Description
Shortcuts starting with the Option (⌥) key (for example ⌥+M) to open Maccy don't work anymore (nothing happens) since updating to macOS 15 Sequoia.
Apparently this is an intentional change by Apple devs to increase security.
Other people and apps are apparently also impacted by this breaking change.
If I understand the technicalities correctly, this can be fixed in the non-sandboxed version of Maccy but not for the sandboxed version of Maccy (App Store).
Steps to Reproduce

Set the keyboard shortcut to open Maccy to Option (⌥) + some other key on macOS Sequoia 15.0
Try the shortcut
Nothing happens (normally Maccy should open)

Workaround for people that don't want to have to change Maccy shortcuts in macOS 15.0 Sequoia:
https://www.reddit.com/r/macapps/comments/1fjpiiw/comment/lolslnm/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

I confirm this problem.
It's just awful!
I'm so used to the option + v combination

I confirm this problem. It's just awful! I'm so used to the option + v combination

I’m experiencing the same problem; now Option + V results in ˇ.


fix watch mode

We really need to have this: https://github.com/facebook/jest/issues/4022
right now watch mode is almost untested and we break it too often with the build being all green 😞

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@e8ed43e). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master    #4084   +/-   ##
=========================================
  Coverage          ?   60.45%
=========================================
  Files             ?      196
  Lines             ?     6774
  Branches          ?        6
=========================================
  Hits              ?     4095
  Misses            ?     2676
  Partials          ?        3

Impacted Files
Coverage Δ

packages/jest-cli/src/lib/update_global_config.js
90.47% <100%> (ø)

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 e8ed43e...e841298. Read the comment docs.


[Install issue]: Not able to npm install because of Numpy 0.2.0 which has breaking change

What happened?
Seem like Numpy 0.2.0 has breaking change that is not compatible with chroma. Please refer to the log.
Can we restrict the version of numpy to < 0.2.0 ?
https://github.com/chroma-core/chroma/blob/release/0.4.24/requirements.txt#L9
Versions
ghcr.io/amikos-tech/chromadb-chart/chroma:0.4.24
Relevant log output
Collecting chroma-hnswlib
  Downloading chroma_hnswlib-0.7.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (252 bytes)
Collecting numpy (from chroma-hnswlib)
  Downloading numpy-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.9/60.9 kB 5.2 MB/s eta 0:00:00
Downloading chroma_hnswlib-0.7.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.4/2.4 MB 52.4 MB/s eta 0:00:00
Downloading numpy-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.3/19.3 MB 117.9 MB/s eta 0:00:00
Installing collected packages: numpy, chroma-hnswlib
  Attempting uninstall: numpy
    Found existing installation: numpy 1.26.4
    Uninstalling numpy-1.26.4:
      Successfully uninstalled numpy-1.26.4
  Attempting uninstall: chroma-hnswlib
    Found existing installation: chroma-hnswlib 0.7.3
    Uninstalling chroma-hnswlib-0.7.3:
      Successfully uninstalled chroma-hnswlib-0.7.3
Successfully installed chroma-hnswlib-0.7.3 numpy-2.0.0

[notice] A new release of pip is available: 24.0 -> 24.1
[notice] To update, run: pip install --upgrade pip
/chroma/./chromadb/utils/embedding_functions.py:584: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self._task_type is "RETRIEVAL_DOCUMENT":
Traceback (most recent call last):
  File "/chroma/venv/bin/uvicorn", line 8, in <module>
    sys.exit(main())
  File "/chroma/venv/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/chroma/venv/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/chroma/venv/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/chroma/venv/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/chroma/venv/lib/python3.10/site-packages/uvicorn/main.py", line 408, in main
    run(
  File "/chroma/venv/lib/python3.10/site-packages/uvicorn/main.py", line 576, in run
    server.run()
  File "/chroma/venv/lib/python3.10/site-packages/uvicorn/server.py", line 60, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
  File "/chroma/venv/lib/python3.10/site-packages/uvicorn/server.py", line 67, in serve
    config.load()
  File "/chroma/venv/lib/python3.10/site-packages/uvicorn/config.py", line 479, in load
    self.loaded_app = import_from_string(self.app)
  File "/chroma/venv/lib/python3.10/site-packages/uvicorn/importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/chroma/./chromadb/__init__.py", line 3, in <module>
    from chromadb.api.client import Client as ClientCreator
  File "/chroma/./chromadb/api/__init__.py", line 7, in <module>
    from chromadb.api.models.Collection import Collection
  File "/chroma/./chromadb/api/models/Collection.py", line 7, in <module>
    import chromadb.utils.embedding_functions as ef
  File "/chroma/./chromadb/utils/embedding_functions.py", line 3, in <module>
    from chromadb.api.types import (
  File "/chroma/./chromadb/api/types.py", line 101, in <module>
    ImageDType = Union[np.uint, np.int_, np.float_]
  File "/chroma/venv/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__
    raise AttributeError(
AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.. Did you mean: 'float16'?

@spornthip please checkout this issue https://github.com/chroma-core/chroma/issues/2358
and this PR https://github.com/chroma-core/chroma/pull/2360
I think you may just need to update Chroma.

I just installed from scratch and still have this error . . . will check later more thoroughly.

pip freeze | grep chrom
chroma-hnswlib==0.7.3
chromadb==0.5.3
llama-index-vector-stores-chroma==0.1.9

I am getting this error when I import but I think it's llama-index-vector-stores-chroma because I just installed everything from scratch
pip freeze | grep chrom
chroma-hnswlib==0.7.3
chromadb==0.5.3
llama-index-vector-stores-chroma==0.1.9

@jeffchuber what is the version that I should update to?

@jeffchuber Updated to 0.5.2 and it's working now thanks


TextEditor.module.exports.Object.defineProperty.get is deprecated.

TextEditor.prototype.displayBuffer has always been private, but now
it is gone. Reading the displayBuffer property now returns a reference
to the containing TextEditor, which now provides some of the API of
the defunct DisplayBuffer class.
TextEditor.module.exports.Object.defineProperty.get - /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:87:14
SublimeSelectEditorHandler._setup_vars - ~/.atom/packages/Sublime-Style-Column-Selection/lib/editor-handler.coffee:100:40
new SublimeSelectEditorHandler - ~/.atom/packages/Sublime-Style-Column-Selection/lib/editor-handler.coffee:17:12
module.exports.switch_editor_handler - ~/.atom/packages/Sublime-Style-Column-Selection/lib/sublime-select.coffee:136:34
Function.module.exports.Emitter.simpleDispatch - /Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14
Emitter.emit - /Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28

PS: This issue was created automatically by Atom

Fixed in recent release


Re-enable possibility to copy ChangeLogParameters

Environment
Liquibase Version: 4.18.0 vs 4.9.1
Description
In version 4.9.1 it was possible to copy changeLog parameters between database changeLogs. This was helpful when we wanted to do some comparisons. However this was prohibited with this commit. Now the question is if that change was really necessary and if yes what is the approach to copy parameters between DatabaseChangeLogs?
Steps To Reproduce
final Liquibase liquibase = newLiquibase(changelog, targetDatabase);
if (variables != null) {
    final Liquibase changelogLiquibase = newLiquibase(this.variables, targetDatabase);
    final DatabaseChangeLog databaseChangeLog = changelogLiquibase.getDatabaseChangeLog();
    for (final ChangeLogParameters.ChangeLogParameter parameter
            : databaseChangeLog.getChangeLogParameters().getChangeLogParameters()) {
        liquibase.setChangeLogParameter(parameter.getKey(), parameter.getValue());
    }
}

so the for cycle doesn't work anymore. I know I can overcome this with reflection, but it would be nice to have an api to be able to copy parameters.
Actual Behavior
copying parameters between DatabaseChangeLog(s) doesn't work
Expected/Desired Behavior
copying parameters between DatabaseChangeLog(s) works

And I guess that should have been an version 5.x when there's backward incompatible change ;)

yes exactly the setChangeLogParameter() is missing.

Hi @bilak,
Where is this method (setChangeLogParameter()) missing? I can still see it available in Liquibase API, and ChangeLogParameters has a set(key, value) method to set a new parameter. If you can specify that to me, I think I can quickly fix this issue.
Thanks,
Daniel.

I'm going to close this issue. Please see this comment , retest with a newer version of Liquibase (most recent is 4.29.2) and re-open if this is still an issue.


Move dependency management to poetry

Petry is a modern way to manage dependencies and package code.
It will avoid having two sources for dependencies: removing the need for requirements.txt and only keeping pyproject.toml
https://python-poetry.org/docs/

poetry has not support dgl yet - so we will not use poetry


New Crash - Memory Heap Issue?

com.vendr.market_issue_8_crash_9b6c1a20126741579594e3cd26d25bfd_526d4cfcff2e4a57ab3ecc22c5292870_0_v1.txt

Hi @aamirl,
This looks pretty similar to: https://github.com/twilio/video-quickstart-swift/issues/86. Can you provide any more info on how to reproduce the crash? What is the use case for your application, and how many Participants join your Rooms?
I'll likely re-open the original issue once I hear back from you.
Thanks,
Chris

Closing this due to lack of information and no recent activity. Please re-open if you are able to provide more information on how to reproduce with the latest version of Twilio Video.


Changing version does not upgrade UCP

Hey,
am I correct in assuming that changing the version, does not force an upgrade of UCP on managed nodes?
I had a look and it seems that the different UCP containers don't have the same LABELS regarding version :(
The ucp-controller has a com.docker.ucp.version label, but on a UCP node, the only place you can see the version is on the image tag: "Image": "docker/ucp-proxy:1.0.1"
Anybody got any ideas how ( other than getting Docker to add some more metadata do their images ) to upgrade UCP when changing the version.
--- Update
I created an issue over at Dockers forum regarding their metadata labels on UCP images.

So I ran into this as well and from what I can tell reading the code in this module if it finds a running controller it basically does nothing.  This is also a problem if you change any of the flags on the class it doesn't stop and remove it either (for example, changing the port for UCP).
I was looking at creating a pull request for that but it would involve re-writing some of what is here and re-structuring the module pretty considerably so I had to back-burner it since that might take some time but I hope to get to it eventually.

Hey @wazoo,
I am properly going to look through this module and fork it to provide some extra functionality.
did you change the flags on accident or did you really want to destroy it? --> I was testing different stuff in the module ( Integrating it into me own module to manage our UCP environments )
what we really need is logic to test what is running --> Docker responded to my issue over at their forums regarding this. If they provide proper version labels on the UCP containers, it should be pretty easy to add some more logic into this module regarding version control.
Response from Docker

Actually, right now the com.docker.ucp.version label applies to the upstream version of each UCP container (e.g. for ucp-kv it is the etcd version number). In order to meet the ask we should have two different labels--one for the upstream app version of each ucp container, and one for the universal ucp version.
I will bring this up to the team and get it sorted out for a future release. Good catch!

Currently what I am missing in this module

Upgrade ( maybe downgrade? ) UCP when version changes in the manifest
1.1 ( When docker adds proper version labels on their UCP images ) Check version of UCP running on nodes
Add LDAP/AD configuration of UCP into the module
? Any more ideas ?

Sweet! Great start!  I was going to work up one too but if you have a start I would totally help with that! If your fork is public I can just fork that or you can add me as a contributor to your repo, whatever is easiest.

Upgrade ( maybe downgrade? ) UCP when version changes in the manifest
Yeah, I think it should always match the manifest so if that changes it should stop what is there and start the right version.

Add LDAP/AD configuration of UCP into the module
This would be awesome.  I am not sure where this is stored (haven't really looked) but my assumption is that it is in etcd.  If it is, the module could just run cli commands or containers to set the settings in etcd directly or use etcd-rb or something.

This might actually be something that would be really awesome as then that also solves the situation of changing things like can be changed at runtime like DNS servers or whatever (not sure if it is, will investigate) and ensuring they are consistent.  Only issue with that is that it would be possible to have multiple nodes setting those params at the same time, may not matter but not sure.

@wazoo @acehege sorry, I managed to have notifications off for this repo somehow. As you've worked out, the module doesn't handle updates yet. I'd be more that happy to see that added and help out. Good details about how that might work too, thanks!
I looked into the LDAP/AD integration but at present it's not exposed to the installer, only via the web interface. I erred on the side of waiting for that to be added to the installer which I think is in the plans.

@wazoo @garethr I forked the repo and plan to get started a bit after Easter. Lay down some groundworks of what needs done, etc.

@garethr, I am going to hear Docker when they plan to add configuration of the ldap configuration into the installer, and/or it is possible to put the information through the webinterfaces API ( I havent really checked the documentation if there is an API... )

@wazoo,

Only issue with that is that it would be possible to have multiple nodes setting those params at the same time, may not matter but not sure.
Valid point, I might need to hear Docker ( and test for myself ) how UCP handles sudden changes, and inconsistencies...

Bump?


ENH: make group-column optional in pairwise-distances

Improvement Description
Make group-column optional. Then paired distances would be plotted for all samples. No stats would be calculated.
Current Behavior
group-column is required, so some comparison must be made. See example viz
Proposed Behavior
Make group-column optional, so that paired distances for all samples can be plotted together.
References
forum x-ref

I just ran into a need for this, so I'll take a crack at a fix.
I feel like there is probably a way to do the stats too, even if there is only one group - e.g., by shuffling the pre-post pairings 1000 times and comparing the median of the actual pre-post data to the distributions of the medians of the 1000 shuffled pairings, but I have to think about that a bit. Anyone have ideas there?


Update sbt-sonatype to 3.9.5

Updates org.xerial.sbt:sbt-sonatype from 3.9.4 to 3.9.5.
GitHub Release Notes - Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.xerial.sbt", artifactId = "sbt-sonatype" } ]

labels: sbt-plugin-update, semver-patch

Coverage remained the same at 0.0% when pulling af845f41db280617dcc32db61615e74d5aeb5d98 on scala-steward:update/sbt-sonatype-3.9.5 into 0dc46defc17c5ed5bf625ac58926987e877d437f on andyglow:develop.


Integration Test - Release - 2019/03/13 23:13:42

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest2 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


An idea of a better use of Google fonts. Main typography of the app.

When I want to apply the Google Fonts package in all instances I have this
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        textTheme: GoogleFonts.latoTextTheme(
          Theme.of(context).textTheme,
        ),
      ),
    );
  }
}

And I'm not able to customize my own theme like changing the size or color of my theme like this...
ThemeData mainTheme = ThemeData(
  brightness: Brightness.light,
  primaryColor: primaryColor,
  accentColor: accentColor,
  scaffoldBackgroundColor: Colors.indigo[50],
);

because ThemeData is already in use.
It Will be Awesome to have this...
ThemeData mainTheme = ThemeData(
  brightness: Brightness.light,
  primaryColor: primaryColor,
  accentColor: accentColor,
  scaffoldBackgroundColor: Colors.indigo[50],
  typography: GoogleFonts.roboto
);

Or something similar because I have to change every textTheme o my Typography to use it like this...
ThemeData mainTheme = ThemeData(
  brightness: Brightness.light,
  primaryColor: primaryColor,
  accentColor: accentColor,
  scaffoldBackgroundColor: Colors.indigo[50],
  textTheme: TextTheme(
    body1: body1,
  ),
);
final TextStyle body1 = GoogleFonts.nunito(
  fontSize: 16,
  fontWeight: FontWeight.normal,
  fontStyle: FontStyle.normal,
  textStyle: TextStyle(
    letterSpacing: 0.5,
  ),
);

and this happens to every style I want to use, don’t get me wrong I also like it the way it is because  I can use as many Fonts I like, but I will prefer the main font set.

This is a good candidate for community contribution! Consider putting in a pull request as we will not get to this soon but we'd be happy to sheperd a PR.

When I want to apply the Google Fonts package in all instances I have this
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        textTheme: GoogleFonts.latoTextTheme(
          Theme.of(context).textTheme,
        ),
      ),
    );
  }
}

And I'm not able to customize my own theme like changing the size or color of my theme like this...
ThemeData mainTheme = ThemeData(
  brightness: Brightness.light,
  primaryColor: primaryColor,
  accentColor: accentColor,
  scaffoldBackgroundColor: Colors.indigo[50],
);

because ThemeData is already in use.
It Will be Awesome to have this...
ThemeData mainTheme = ThemeData(
  brightness: Brightness.light,
  primaryColor: primaryColor,
  accentColor: accentColor,
  scaffoldBackgroundColor: Colors.indigo[50],
  typography: GoogleFonts.roboto
);

Or something similar because I have to change every textTheme o my Typography to use it like this...
ThemeData mainTheme = ThemeData(
  brightness: Brightness.light,
  primaryColor: primaryColor,
  accentColor: accentColor,
  scaffoldBackgroundColor: Colors.indigo[50],
  textTheme: TextTheme(
    body1: body1,
  ),
);
final TextStyle body1 = GoogleFonts.nunito(
  fontSize: 16,
  fontWeight: FontWeight.normal,
  fontStyle: FontStyle.normal,
  textStyle: TextStyle(
    letterSpacing: 0.5,
  ),
);

and this happens to every style I want to use, don’t get me wrong I also like it the way it is because I can use as many Fonts I like, but I will prefer the main font set.

GoogleFont is not working

Marking as closed due to author's follow-up PR https://github.com/material-foundation/google-fonts-flutter/pull/139.


Make submission websocket send to the right client; one logged in user should just see the specific submission output

finished.


Broken migrations - 5.0 release

This commit has broken migrations - https://github.com/lucadegasperi/oauth2-server-laravel/commit/c9e7a3f6b114297b69593d3a3a0ddb41ba2600a9#diff-b5d0ee8c97c7abd7e3fa29b9a27d1780
The class can no longer be found when resetting / refreshing etc from the migrations table.
When pulled in as a dependency, the require-dev classmap is not included.

What version have you specified in your composer.json file?

"lucadegasperi/oauth2-server-laravel": "~5.0"

Have you published the migrations to your migrations directory with php artisan vendor:publish?

I'm using lumen, so don't have access to the vendor command

Not sure this is closed? The docs talk of Lumen support & there is no command to vendor:publish so was relying on them being in the autoloader already.

Have you tried running this?
php artisan migrate --path=vendor/lucadegasperi/oauth2-server-laravel/database/migrations

That's what I ran, and it breaks when trying to migrate down

The migrations table stores 2014_04_24_111810_create_oauth_refresh_tokens_table and then converts that to CreateOauthRefreshTokensTable which is no longer found.

I followed the wiki instructions a while back for 4.1@dev and hadn't been tracking the changes for 5.0.
Adding fixes it:
"classmap": [
    "vendor/lucadegasperi/oauth2-server-laravel/database/migrations"
]

Obviously prefer not to do this, but will work for now.

Yeah, there doesn't seem to be a way to publish the migrations for Lumen. We can't autoload them either . I'll update the documentation about this. Thanks.

Just tried this myself on a new Lumen installation and it works fine.

Migrating isn't the issue. That works fine.
But try resetting / refreshing.
On Thursday, August 6, 2015, Vincent Klaiber<EMAIL_ADDRESS>wrote:

Just tried this myself on a new Lumen installation and it works fine.
[image: screenshot 2015-08-06 18 58 17]
https://cloud.githubusercontent.com/assets/499192/9117869/287288d8-3c6d-11e5-8f49-4db37cf0329c.png
—
Reply to this email directly or view it on GitHub
https://github.com/lucadegasperi/oauth2-server-laravel/issues/515#issuecomment-128442866
.

It's when your using down migrations in combination with the migrations
table
On Thursday, August 6, 2015, Vincent Klaiber<EMAIL_ADDRESS>wrote:

Just tried this myself on a new Lumen installation and it works fine.
[image: screenshot 2015-08-06 18 58 17]
https://cloud.githubusercontent.com/assets/499192/9117869/287288d8-3c6d-11e5-8f49-4db37cf0329c.png
—
Reply to this email directly or view it on GitHub
https://github.com/lucadegasperi/oauth2-server-laravel/issues/515#issuecomment-128442866
.

I'm not sure what you mean, could you explain the flow more in detail?

After you have migrated, run php artisan migrate:reset and things go horribly wrong.

Okay, I see what you mean. I've researched publishing in Lumen and it seems there is no way to publish the migrations from our service provider. We can't either autoload them by default. Do you have any idea how to solve this? I guess copying the migrations yourself would be the easiest solution or adding the full path to the migrations directory. Though, adding the full path could break things in the future.


Failed to fetch messages in Query.php (line 239)

For a while I get this error made by a received email. When I manually read him the error dissapears and all works fine(it pulls all emails).
The email is looking fine and I cant figure out what is the problem with that email.
I attached the email if can someone figure and help me with a workaround. I receive it every month from the same email address and it's a automatic email.
Sorry for my bad english!

Hi, ok but it's not spam.
I receive it in inbox(we are pulling only from inbox folder). It is a trusted email from a hospital. It cotains a simple table with a notification of payment.
I only get that error. We are using laravel-imap from first months of 2020 and we didnt had any problems until last month.

Hi @OctavianPlay ,
please head over to the core repository and create a new issue under https://github.com/Webklex/php-imap/issues/new?assignees=&labels=&template=bug_report.md . This library (Webklex/laravel-imap) is just a wrapper for Webklex/php-imap which holds all core classes such as the Query::class.
Please include as much information as possible (errors, callstacks, code snippets, etc).
Best regards,


No error handlers are registeres, logging exception

Hi! Thanks for this cool Bot. However, I'm getting the following error:
No error handlers are registered, logging exception.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/telegram/ext/dispatcher.py", line 432, in process_update
handler.handle_update(update, self, check, context)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/telegram/ext/handler.py", line 156, in handle_update
return self.callback(update, context)
File "/Users/dcorreavi/Dev/woofbot/main.py", line 12, in bop
allowed_extension = ['jpg','jpeg','png']
AttributeError: 'CallbackContext' object has no attribute 'message'

Hi, I am pretty sure that's because of the version of python-telegram-bot
You can try this method and see if it works --> https://stackoverflow.com/questions/60804083/python-telegram-bot-error-callbackcontext-object-has-no-attribute-message

Hi, I am pretty sure that's because of the version of python-telegram-bot
You can try this method and see if it works --> https://stackoverflow.com/questions/60804083/python-telegram-bot-error-callbackcontext-object-has-no-attribute-message

Hi! That worked. Thanks!

Hi! That worked. Thanks!


WordProcessor - add word processor and porter stemmer

WordProcessor to run funcs on individuals words
Implement PorterStemmer class for word stemming

tests are :green_circle:, so m merging to avoid conflicts ...


Reading empty column

Its read empty column in a large file it does not avoid empty column. File contains only 52 column but it reads 16k column which are empty
            excelReader = ExcelReaderFactory.CreateReader(fileStream);
            DataSet dataset = excelReader.AsDataSet();

I am guessing a cell in the right-most column contains some formatting, but not necessarily any data, so ExcelDataReader expands all the cells inbetween for you. We've seen (and fixed) something similar before where a spreadsheet only had ~100 rows of data, but generated a million empty rows afterwards because of formatting. Although I have to look at your spreadsheet to confirm, please anonymize and upload the xlsx if you can.
If you know the column indices/headers you need or want to exclude, you could look into the ExcelDataSetConfiguration.FilterColumn callback to remove unwanted columns.
Otherwise, you have to scan the dataset manually and remove empty columns yourself.

if i would know then how can i define cells(from i want to remove column) can you elaborate ?
 FilterColumn = (columnReader, columnIndex) =>
                headers.IndexOf("string") != columnIndex

tried with this example says must have already  predefined headers but in my case not storing header list

If you know which headers to keep, you have to do something like this:
    var keepHeaders = new string[] { "Name", "Address" };
    var headers = new List<string>();

    ds = reader.AsDataSet(new ExcelDataSetConfiguration()
    {
        ConfigureDataTable = (tableReader) => new ExcelDataTableConfiguration()
        {
            UseHeaderRow = true,

            ReadHeaderRow = rowReader => {
                for (var i = 0; i < rowReader.FieldCount; i++)
                    headers.Add(Convert.ToString(rowReader.GetValue(i)));
            },

            FilterColumn = (columnReader, columnIndex) =>
                keepHeaders.Contains(headers[columnIndex])
        }
    });

Depending on the use case, maybe it is sufficient to remove columns without a header like this: (mostly same code as above, changed the FilterColumn callback):
	var headers = new List<string>();
	...

            FilterColumn = (columnReader, columnIndex) =>
                !string.IsNullOrEmpty(headers[columnIndex])

However, if you are happy to remove everything after f.ex the 52nd column, then you could use a simpler FilterColumn like this:
    FilterColumn = (columnReader, columnIndex) => columnIndex < 52

Yeah but it take first row only .but my header at 8 th position

The ReadHeaderRow callback can skip rows before reading the header like this:
            ReadHeaderRow = rowReader => {
                for (var i = 0; i < 8; i++)
                    rowReader.Read();

                for (var i = 0; i < rowReader.FieldCount; i++)
                    headers.Add(Convert.ToString(rowReader.GetValue(i)));
            },

It working now thank you :) but can we get header name

@umesh190690 If the header is skipped, try to reduce 8 to f.ex 7 in the ReadHeaderRow callback. This number determines how many rows the reader should skip before using the following row as headers.

but at 7 position cells value are empty it will again remove all columns which cell has value empty result in 0 rows

Apologies, but I'm not following entirely. The headers should be in DataTable.Columns[...].ColumnName. Can you please share your code, describe the xlsx contents, describe the output you get and what output is expected?

This Code
          var headers = new List<string>();
            DataSet dataset = excelReader.AsDataSet(new ExcelDataSetConfiguration()
            {
                ConfigureDataTable = (tableReader) => new ExcelDataTableConfiguration()
                {
                    UseHeaderRow = true,
                    ReadHeaderRow = rowReader =>
                    {
                        for (var i = 0; i < ; i++)
                            rowReader.Read();

                        for (var i = 0; i < rowReader.FieldCount; i++)
                            headers.Add(Convert.ToString(rowReader.GetValue(i)));
                    },
                    FilterColumn = (columnReader, columnIndex) =>
                        !string.IsNullOrEmpty(headers[columnIndex])
                }
            });

http://jmp.sh/v/2z1n2M8VqcD0xfKn0FUV
right now file does not content empty value but when i get header row ..i want header to be present in dataset also

Ok @andersnm thankx this will help me alot

Hello @andersnm  Is that possible to select multiColumn like 1-2(1 to 2 rows as columns )?

@umesh190690 If you want to "rotate" the spreadsheet as described in issue #271, then there is no builtin way to do this (I'm guessing this is what you ask, can't quite parse your question, please clarify if I'm mistaken)

Can it be possible to read the previous row when its already read? using userheaderow=true


linting: use fmt.Errof

Just a linting suggestion (based on go idiomatic rules - one reference)

Thanks @fopina!


How to call a stored procedure

How to call a stored procedure in EF core 1.0

@188 You probably want to use context.Database.ExecuteSqlCommand, or the FromSql  method, which is documented here: https://docs.efproject.net/en/latest/querying/raw-sql.html
Please be more specific with your question if this information does not answer it.

@188 if you want to map to a DbSet from a stored procedure use the fromSql function
Example:
var data = db.Set<SomeDbSetModel>().FromSql("yourStoredProcedure p0, p1").ToList();

Thanks

Hi @Vasimovic,@188
In this example :
var data = db.Set<SomeDbSetModel>().FromSql("yourStoredProcedure p0, p1").ToList();
If in the stored procedure there is no ID column, EFCore displays the error message:

The entity type "SomeDbSetMode" requires a key to be defined.

As you can fix this ?, because it can be procedures that do not need to return an ID column.
Jose Poma

It's currently not supported for FromSql to returned a not mapped CLR entity :(

As @gdoron said currently not supported, I believe support will be added in 1.0.1 release
If possible you could try adding [Key] to one of the columns and use the AsNoTracking() for now
var data = db.Set<SomeDbSetModel>().AsNoTracking().FromSql("yourStoredProcedure p0, p1").ToList();

@Vasimovic FWIW the feature at https://github.com/aspnet/EntityFramework/issues/1862 is planned for 1.1.0, not 1.0.1. The latter is a patch release containing a few high priority bug fixes.

@divega Since the versions thing was discussed.
Do you know:

When is the release date of 1.0.1, it was said to be ~Auguest, which ends in 2 days.
Is there going to be a preview release of 1.1.0 just like there was with RC1+2?
If the answer is yes, do you know when?

Thanks Diego!

@gdoron I don't have specific dates to share, but 1.0.1 will ship soon, and yes, there will be preview releases of 1.1.0.
cc @Eilon in case he can share specific dates.

@gdoron we were initially planning to do 1.0.1 in August but for a variety of reasons we had to delay it - currently planned for September. You can already get the pre-release patched bits here: https://dotnet.myget.org/gallery/aspnetcore-patch .
For 1.1.0 there will definitely be previews before 1.1.0 RTM. We're working on finalizing the dates, but expect something in ~1 - 1.5 months.


⚠ Bofrost.be has degraded performance

In 7a01c59, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1867 ms

Resolved: Bofrost.be performance has improved in 556950f.


Offline test

Closes #39.
Yes, we should use PR to commit master branch.
Thanks for giving advices @pddg :+1:

Excuse me, you mean textlint-rule-spelling? I know textlint-rule-spellchecker is obsoleted. textlint-rule-spelling is developed by me and released latest verssion at the 3 month ago. I can keep the maintain the plugin and rule as possible.

I think it is easier to write tests using rules that are more predictable in their results. For example:

I'd like to test fixable rule, which means that the rule should support textlint --fix function.
They are not fixable rule, which shows only errors. Thus, I uses spellchecking rules.

Wow, It was a mistake on my part. Sorry.

Thanks for reviewing!


Multiuser Activity not working anymore

Title says it all

was just placebo... my device was just slow while testing lo ^^


[APIM] Update resourcemanager-apimanagement-readme.md

Added ms.service value -> api-management

Docs Build status updates of commit a065d5e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/preview/resourcemanager-apimanagement-readme.md
:warning:Warning
View (azure-java-preview)
Details

docs-ref-services/preview/resourcemanager-apimanagement-readme.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 9, Column 16: [Warning: ms-prod-technology-invalid - See documentation] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 5, Column 12: [Suggestion: ms-author-invalid - See documentation] Invalid value for 'ms.author', 'magpint' is not a valid Microsoft alias.
Line 39, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/java/azure/jdk/' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 4fd4695:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/preview/resourcemanager-apimanagement-readme.md
:white_check_mark:Succeeded
View (azure-java-preview)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@Taojunshen - If this change looks OK, can you please merge? Thank you!


Add :local() pseudo selector to SFC <style scoped>

What problem does this feature solve?
The :global() pseudo selector in SFC style scoped allows us to disable scoped styles for a selector.
Currently there is no option in <style scoped> to style something dependant on a selector that selects an element above the current component but still want to scope your styles.
My idea is to add a new :local() pseudo selector that makes this possible: an exception from the global scope.
Example use cases
Dark mode
Use a different color scheme depending on a dark class on the <html> element:
<style scoped>
:global(.dark) :local(.my-component) {
    color: #f2f2f2;
    background: black;
}
</style>

More general
Change the style of a component with local scoped style differently depending on a class in a parent:
<style scoped>
.card {
    border: 2px solid #ccc;
    border-radius: 10px;
    /* has no background-color */
}

:global(.has-background-image) :local(.card) {
    background-color: #f2f2f2;
}
</style>

Complementing the :deep() selector
<style scoped>
:global(.selector-of-some-parent) :local(.selector-scoped-to-current-component) { /* [...] */}
</style>

Basically the same as this, just in the other tree direction:
<style scoped>
.selector-scoped-to-current-component :deep(.selector-of-some-child) { /* [...] */}
</style>

Inspiration
The syntax :local() is the same as the the selector with the same name in CSS Modules.
Why CSS modules is no replacement
CSS modules are not compatible with SASS.
What does the proposed API look like?
Add a :local() pseudo selector that works analog to the selector with the same name in CSS Modules.
Changes are probabily mostly required inside compiler-sfc/src/stylePluginScoped.ts.

Please open a discussion or PR in the vuejs/rfcs repository for this.

@posva: Thanks, I created a discussion
I was aware of the rfcs but was confused by the wording in the issue helper:

The issue list is reserved exclusively for bug reports and feature requests.

There is also no mentioning of the rfcs. If that's something that should be mentioned I'm happy to add a pull request to the issue-helper repo.
Maybe that would help to prevent future confusion about the correct location for such kind of feature requests. I thought this change would not fall in the category of being too "substantial" — to use the wording from the vuejs/rfcs readme.

To anyone looking for an answer to themeing, I wrote this postcss plugin with a :local() psuedo-selector: https://gist.github.com/tommie/c0eefee636033ff48cda50f89e3ccefa


App Service Not available

App Service is not available in the client app. Here is my code:
<uap3:Extension Category="windows.appExtension">
<uap3:AppExtension Name="MathExt"
Id="Divide"
DisplayName="x/y"
Description="Divide"
PublicFolder="Public">
<uap3:Properties>
<Service>divideservice</Service>
</uap3:Properties>
</uap3:AppExtension>
</uap3:Extension>

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

ID: f3298b92-cea5-7d7e-c25e-3fd090420eeb
Version Independent ID: fdb61ad4-a542-db99-bc9c-36c613b86162
Content: Create and consume an app extension - UWP app developer
Content Source: windows-apps-src/launch-resume/how-to-create-an-extension.md
Product: windows
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

Thanks for taking the time to let us know about this and we sincerely apologize for the delayed response. Due to the sheer volume of feedback in our repo, we are currently prioritizing new Issues. If you believe your feedback is still actionable, let us know either directly in this thread or by filing a new Issue and we’ll work to incorporate the suggestions into the documentation. Though the Issue will be marked as Closed, I will monitor any replies that come afterwards so feel free to treat this like an open Issue. Many thanks!


Rofi is good, but different too.

Hi. I use dmenu with a nice font for many things in my i3 setup, so when you guys changed into rofi, it made it the hud stand out. I just reverted back to dmenu locally, but I would also like to suggest that maybe making it into an option could interest other people too.
Thanks for sharing this great piece of software!

Added the option to supply a command line argument to switch to dmenu. README updated to reflect this.


user registration form

Version information

Laravel: v5.6
Voyager: v1.1
PHP: 7.2.3
Database: mysql

Description

the setting up of traveling worked fine but the registration form of users generates an error when I try to validate it without pre-filling the fields.
Screenshots

Please provide the full stacktrace.  Right now, I don't see how this ties into Voyager at all, since Voyager doesn't have a "registration" form

Having the same issue, I guess the problem is from the Voyager registration for validation... Can someone provide the location to the Voyager's user registration validation, you may need to do some edit to it.

There is none, as said before.

Closing as this is not related to Voyager at all.


Deprecation notice

can someone please get me off of all these emails?
On Wed, Mar 20, 2019 at 6:48 AM Kalam Shah<EMAIL_ADDRESS>wrote:

Merged #10
https://github.com/browserstack/selenium-webdriver-nodejs/pull/10 into
master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/browserstack/selenium-webdriver-nodejs/pull/10#event-2216861084,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALgIHdhsttLrUhgak-Varno-KkojqRxZks5vYjwygaJpZM4b_OKQ
.

@hsnaderi you will have to click on unwatch button on github or unsubscribe from email.

I have to do that on all the projects? I've been getting emails for 6+
months
On Thu, Mar 21, 2019 at 11:41 PM Varun Garg<EMAIL_ADDRESS>wrote:

@hsnaderi https://github.com/hsnaderi you will have to click on unwatch
button on github or unsubscribe from email.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/browserstack/selenium-webdriver-nodejs/pull/10#issuecomment-475510926,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALgIHVaRCbN2Wx5DD0oU-GarDt7VYRNAks5vZHsngaJpZM4b_OKQ
.


Daniel: workflows, 2

my fork of the exercises repo

Learning Objectives

[x] Git Remote/Local Connection: You can create a local git repository, commit changes, connect a remote repository and push changes to the remote.
[x] Linting: what is it? why does it matter? can write CSS & Markdown that passes a linting check
[x] Git Branching Workflow: You can manage your work locally using branches: pull remote changes -> create a new branch -> push the branch to the remote repository -> open a PR with passing Continuous Integration checks -> merge changes to main/master.
[x] Command Line Interface (CLI): You can navigate a directory, manage folders/files, make small changes in a file using nano/vim, and much more (list coming soon).
[x] NPM: You can install npm dependencies and use npm scripts (dev, lint and format)
[x] Browser + DevTools: You can open a local HTML/CSS project in your browser and inspect the elements, emulate different devices, and inspect the source
[x] File Extensions: You can identify all of the languages covered at HYF and give the correct file extension. (You don't need to know the languages, just recognize them!)
[x] Touch Typing: You can write a README without looking at your keyboard to find any letters, numbers or special characters. (slowly is ok!)
[x] VSCode: You can complete these workflows in VScode, and can use keyboard shortcuts when possible:

[x] Opening a repository in a new window
[x] Opening the repository in VSCode terminal
[x] Adding a new file
[x] Adding a new folder
[x] Deleting a file
[x] Deleting a folder
[x] Previewing a Markdown File
[x] Opening an HTML file with the LiveServer extension
[x] Viewing the repository's git history with Git Graph extension

[x] User Stories: Given pictures of a website, you can describe the page with user stories: As a type of user I can do something so that something good happens.
[x] Planning and Collaborating: You can comfortably complete these steps of the Planning and Collaborating process described in the Student Guidebook:

Repository Setup
Project Definition
Communication Plan
Backlog
Wireframe

[x] Development Strategies: You can work as a group to follow the steps in a development strategy and reconstruct a web page when the code is provided.
[ ] Atomic Commits & Feature Branches: You can organize your development process using small single-purpose commits on feature branches. You will learn to develop each of these features on a separate branch and to merge it to main/master on GitHub when the feature is complete.
[x] GitHub: You can create new repositories, turn on GitHub Pages, connect the repository to your local computer, push/pull different branches, and pass Continuous Integration checks for code linting and validation.
[x] GitHub Collaboration: You can collaborate in a single repository and contribute a markdown file. This includes: creating a new branch, creating and editing a file on that branch, sending a pull request, addressing any requested changes, and reviewing+merging a classmate's pull request. (this can all be done from the GitHub UI)
[ ] Code Review: You can use a code review checklist in a Pull Request to check a classmate's code before merging.

Thanks for your help @colevandersWands !

Week 2

[x] I have pushed my progress to my fork of exercises repo

Check-In
I Need Help With:
Nothing so far. I think I just need to get some more practice with CLI. I am just being lazy and using Github desktop most of the time.
What went well?
I keep gaining some more confidence with Github and some more processes like reviewing someone else's PR's, setting up a repository, checking the general project status, running different types of commands locally, among others.
What went less well?
I think there were three challenges this week. One related to teamwork and agreeing on some basic things, which was of course the main purpose of the assignment. The other challenge had to do more with clarity about what should be done in the assignment. In the end, @colevandersWands gave us the necessary clarifications and we did what we were supposed to do -I think :sweat_smile:
Lessons Learned
I learned about different aspects of web development that are very important and have everything to do with it, but not necessarily imply coding. I guess that's the main lesson here: coding is just a small part of the job.
Sunday Prep Work
I will re-read the Planning and Collaborating section of the student's book. I think having a good understanding of each document and its purpose will help a lot in future projects.

and we did what we were supposed to do -I think 😅

👀

I will re-read the Planning and Collaborating section of the student's book. I think having a good understanding of each document and its purpose will help a lot in future projects.

no worries if you aren't comfortable with these documents right away. That chapter is also the main objective of next module, and you'll get a chance to practice it with almost every module from now till the Final Project.

I guess that's the main lesson here: coding is just a small part of the job.

100% -> https://home.hackyourfuture.be/curriculum#programming-is-communication


Set default history file to ~/.byebug_history

Put history file in home directory. Instead of creating many local ./.byebug_history files, a central ~/.byebug_history file allows to retreive the history independently from the current directory.

I'm not too sure about this, what are the advantages? A per project history file allows for a more meaningful history of commands in my opinion.

I find it useful to reuse byebug commands from any directory, but this is opinion based so better to close this pull request. Thanks.


exhibitor: Add back  to journald log messages

High Level Description
Adds back [myid:{}] to journald messages output which was removed in one of the previous patches. This is a backport of patch that is going to the master.
Related Issues

DCOS-15317 ZooKeeper log: ensure that myid is in the log

Checklist for all PR's

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

Could you review please @jgehrcke @vespian @gpaul

@mesosphere-mergebot label Ready For Review

Let's wait for Miguel to have a look.