$component controller and new router

Changes:

updated spec's to use $componentController.
Updated ui-router version to latest which allows routes to use components instead templates

Cool! The only thing that I don't like in $componentController is amount of boilerplate. Maybe it is possible to hide it somehow?
p.s. Also not sure about uiRouter beta release... but I also use it and everything seems to be ok.

@fesor In the very first look you feel like, there is lot of boilerplate goes on. However I believe it's all for good reason. Specially when you want to test a component with bindings and other dependancies like a service, it's very easy to unit test. Also I have added some additional unit tests for router as well.
I started using uiRouter alpha release at work sometime back and I have a very good size team as well. Also recently upgraded to beta version and so far no issues. So I believe that beta release is good enough.
The change in .gitignore I have revert it back.
Cheers.

@samithaf thanks again!
p.s. maybe we can hide boilerplate in some helper function but I'm not sure.

Good work, but I think it would have been better to have completed this PR by updating ALL files..the generator template/hero files are still using the old style... looks a bit messy.
I"ll try to get this done today

Added PR #165


Show the Note URL in editing mode

This is a good first task.
Having said in editing mode you are able to open a single OpenStreetMap note:

It would be nice to make the title of the note an external link to the note itself.
For example, Note 2760209 should be an external link pointing to https://www.openstreetmap.org/note/2760209.
In this way you can easily share a note copying the link or opening it etc., even from the editing mode, as soon as you notice an useful note.
What do you think about? :smiley:

I just noticed that the link is already present in the bottom of the window:

It's just me, or is there room for improvement? In the footer there should be fixed elements, such as copyright, credits, etc.
Feel free to close if it does not deserve anything more.


Fix offset_manager for Kafka <IP_ADDRESS>

Here is why the solution works.

Nice find :+1:

Very nice find on setting the generation to -1.

I am having second thoughts about using -1 directly. I should probably define a constant e.g. groupGenerationUndefined. Thoughts guys?

:+1: for groupGenerationUndefined as constant. Other that than I am happy to merge this.

Added the constant and squashed.


:bug: Fix(zod): Fixed bug with  property errors being swallowed

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

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

Current dependencies on/for this PR:

main

PR #806

PR #807   👈

PR #808

PR #809

This stack of pull requests is managed by Graphite.


Fails on validating email when it double-quoted twice

Hi,
Starting since version 3.7.2 an email address that is enclosed in double-quotes twice is detected as a dead link.
Works<EMAIL_ADDRESS>Fails<EMAIL_ADDRESS>Fails: "{"email"<EMAIL_ADDRESS>The error: [✖] mailto:john.roe@acme.test → Status: 400

I'm also seeing it fail for plain email addresses like here
https://github.com/Unity-Technologies/ml-agents/blob/b31ba9639a856c4ea0930bd4ed5feb6cfd76aa54/com.unity.ml-agents/CONTRIBUTING.md#contributor-license-agreements
[✖] mailto:ml-agents@unity3d.com

(the trailing . doesn't seem to matter)

Version 3.8.3 should solve this problem (it now disables e-mail address mangling). Please re-open if the issue persists in the new version.


Chathistory update

This push contains, chathistory updates and various little improvements along with gpt-4 and more chat-complition added

https://github.com/slithery0/gpt-chatbot-cli/issues/7
Issue resolved.


Fix example scenes setup around FocusProvider

Overview
Some of the example scenes had a stale setup pre-#3113
Changes

Fixes: #3514

The 'BoundingBox' example scene has also the same issue.


Feature/reduced

Remove GetCertificate and GetRootCertificate from certificate.Manager, which were only used in other packages in unit tests

Note, this depends on https://github.com/openservicemesh/osm/pull/4718, and I'll rebase when that is merged


Parser & Extractor: Handle "similar to"

Currently, we're not handling the "similar to" phrase.

Examples:
select select 'abc' similar to 'abc' from users;
select select 'abc' not similar to 'abc' from users;

This should work similar to like or not like.

{"select 'abc' similar to 'def' from users;", "(SELECT ('abc' SIMILAR TO 'def') FROM users);"},
{"select 'abc' not similar to 'ghi' from users;", "(SELECT ('abc' NOT SIMILAR TO 'ghi') FROM users);"},

These tests are passing now.


RiverPod globals drawback

I'm using Provider for a while, i used bloc also, now in my new project i'm trying the RiverPod, but quickly i think to come back to other packages, why?
because it's really nice to little project or examples like counter project, but when the project is scale up, it's really hard to manage all this globals variables.
The global variables is out of the scope and live anywhere, it's the benefit and it's too they big drawback because if i want to add a little helper variable, it's can't be a part of the provider, unlike Provider package that using class, and you mange all of your repository in the same class, and can add variables to your class and manage all of them in the same scope, RiverPod is really less flexibility!
Before i give up this package, I would like to know if there is an example of using RiverPod in a medium / big project. OR if there's an example how using it in a class.
By the way, I'm using NotifierProvider but it's not enough for a class, because the class is limit only to one type (Notifier<T>), I'm looking for a Provider that listen to all of the class properties (with a selector of course).
Thanks!

👁👁

Provider package that using class, and you mange all of your repository in the same class, and can add variables to your class and manage all of them in the same s

well that's the reason we use freezed sealed unions or equatable to customise the state classes and that should solve the issue of customisation that you are talking about


build(dependabot): improve configuration

:tada: This PR is included in version 1.19.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


performance issues with workflow loop iterations and large amounts of data

SUMMARY
I have a workflow that loops another workflow some number of times (concurrency=2). the child workflow has some fairly linear actions they take.
If i run the child workflow alone, it takes about 90 seconds to complete.
If i run the parent and it runs 2 iterations of the child, each iteration takes about the same.
If it runs with 4 iterations, the first 2 take 90s, the second 2 take 180-205s
5+ iterations: (1-2) -85s, (3-4) -180-205s, (5-8)  200-300s, (9+) -250-350s
on iteration 6, i counted up the actual execution time for all of the actions, each individual action added up had a total execution time of 71s. If i interpret this correctly that means for the 199s this specific iteration ran, only 71s was spent on actual actions.
The observation i have is the more iterations, even with concurrency=2, the longer each subsequent iteration takes.
I can also confirm that there are no other executions running at this time
I have 10 action runners active, on a 4 core VM, and the runners appear pretty well spread out across at least 3 cores at any given time.
CPU utilization is pretty spiky for 1 core at a time, never multiple.
Execution of parent workflow, and execution of one child iteration.
https://pastebin.com/0ksPRYNv
Re-run of the same child shortly after as a single run.
https://pastebin.com/GVjmRxNG
Sanitized child workflow
https://pastebin.com/1GbTyjVN
This is usually ran against a cisco router/switch. and each device can generate between 100~500 'rows' of client data. each 'row' consists of 7 simple (and short) k:v pairs.
STACKSTORM VERSION
st2 --version
st2 3.1.0, on Python 2.7.12
OS, environment, install method
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"
curl -sSL -O https://stackstorm.com/packages/install.sh && chmod +x install.sh
./install.sh --user="${AUTOMATION_USER}" --password="${AUTOMATION_PWD}" --version="${ST2_VERSION}"

Expected Results
For the total run time to be relatively consistent based on the number of loop iterations.
Actual Results
total time for 16 iterations of a 1 minute workflow : 2479s (41 minutes)
i reran one of the iterations as a single, and it took 412s Vs 89s
Same target host, same amount of data.
Troubleshooting
With @m4dcoder 's help, I realized that the over the course of the workflow, I am working with large amounts of data. Furthermore, because of how that large amount of data was being output by actions 3 different times, it appears that there was a compounding effect in the ability to just process what was coming in and out of actions from a raw text standpoint.
By refactoring the WF a tad to remove 1 of these 3, I saw a HUGE performance increase. (2500s -> 290s).

I believe changes / performance improvements in #4846 should also substantially help with this issue.


I am interested in using this library in another project.

I am interested in using this library to do the touch calibration for LVGL but there is a kind of a twist.
I am working on a better LVGL binding to MicroPython. One that has a more universal API across the different MCU's that MicroPython is able to run on and supporting a greater range if different LCD and touch panel bus types. The goal is to allow the drivers for the LCD IC's and touch IC's to be written in python and have the underlying bus code written in C. Doing this allows for changing the LCD or touch panel that is connected without needing to compile firmware and writing the new firmware to the MCU.  Another benefit from a design like this is rapid development and prototyping. This come from the ability to run MicroPython and LVGL on a desktop PC. With the API being consistent the same Python code that is run on the desktop is able to be transferred to the MCU without having to make any alterations to it.
Where we run into a little bit of a snag is how MicroPython handles compiling C code that is being added. We need to keep the firmware size as small as possible and to do that LVGL gets compiled as it own "module". Other C code doesn't access this module as it has a special interface that is generated at build time to make it accessible from Python code. Including LVGL into a calibration routine in C code would cause the firmware size to increase.
Ideally what I am wanting to do is be able to handle the calibration math in C code and have the GUI portion of the calibration be done in Python code. So my question becomes, can this library be used without the GUI? or is the GUI code intertwined with the calibration math in a manner that would not allow the calibration math to be used separately?
Here is the binding I am working on.
https://github.com/kdschlosser/lvgl_micropython
That binding allows for upgrading the version of LVGL that is used and also MicroPython without needing to make massive changes to the MicroPython build system which is a limitation of the official MicroPython binding. I am hoping that once the binding I am working on is complete that it will be adopted as the official binding... I am hopeful that it will be due to it having better support for LCD's and touch panels and it being consistent to use no matter the MCU that it is being run on.

Yes, this library can be used without the GUI parts. What this means is that your UI implementation would have to pass the calibration points to lv_tc_compute_coeff(...) and then any touch point from the user into lv_tc_transform_point(...). The calibration data can be read with the getter function or saved via the callback. This should work independent of lvgl.
However, if I understand correctly, all code referencing lvgl api would need to be removed since lvgl and this library must be compiled separately. Specifically the integration into indev would need to be removed and some types would change.

Closing due to inactivity. Feel free to reopen if your question isn't fully answered.


Support Basic Auth credentials for external signer

PR Description
We use HttpClient and unfortunately there doesn't seem to be a way to set the basic authorization for every request using the builder (there is the PasswordAuthenticator, but it requires 401 to be sent from server first, so not as reliable). Added it to every request instead.
Fixed Issue(s)
fixes #7796
Documentation

[X] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[X] I thought about adding a changelog entry, and added one if I deemed necessary.

I'd also enforce that https schema is required if basic auth is enabled. Otherwise we could end up sending credentials on non-encrypted transport.

It should already safe, but if we could extract basic auth and do url sanitization at CLI option handling level, it is even safer. And https check would be a validation step there.
I'd leave a checkArgument here on https+basic auth just in case we will use the client in other ways.


[HOW-TO] Could not load the Qt platform plugin "xcb" in "" even though it was found.

Please only ask one question per issue!
Describe what it is that you want to accomplish
The error message contains the string:
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Which application should be re-installed?
Describe alternatives you've considered
Running the following script from The Picamera2 Library page 7 documentation:
from picamera2 import Picamera2, Preview
import time
picam2 = Picamera2()
camera_config = picam2.create_preview_configuration()
picam2.configure(camera_config)
picam2.start_preview(Preview.QTGL)
picam2.start()
time.sleep(2)
picam2.capture_file("test.jpg")

Preview.DRM had more errors.
Additional context
Add any other context or screenshots about the request here.
$ sudo apt install python3-v4l2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-v4l2 is already the newest version (0.3.2-1).
python3-v4l2 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

There is no pip3 installed v4l2 package  as shown below:
user@raspberrypi:~/.local/lib/python3.9/site-packages $ ls
ljpegCompress.cpython-39-arm-linux-gnueabihf.so  piexif
numpy                                            piexif-1.1.3.dist-info
numpy-1.23.1.dist-info                           __pycache__
OpenGL                                           PyOpenGL-3.1.6.dist-info
pidng                                            simplejpeg
pidng-4.0.9.dist-info                            simplejpeg-1.6.4.dist-info
$ uname -a
Linux raspberrypi 6.1.21+ #1642 Mon Apr  3 17:19:14 BST 2023 armv6l GNU/Linux
$
OS: Raspbian GNU/Linux 11 (bullseye) armv6l
Host: Raspberry Pi Model B Plus Rev 1.2

Glamor is enabled; required to run libcamera-hello successfully.
With Preview.QTGL the following output is displayed:
$ python3 ./camera_test.py
[11:36:33.147519858] [31060]  INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
[11:36:33.370927893] [31061]  INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media3 and ISP device /dev/media0
[11:36:33.373569846] [31061]  INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
[11:36:33.472279094] [31060]  INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-XBGR8888 (1) 640x480-SGBRG10_CSI2P
[11:36:33.476899012] [31061]  INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SGBRG10_1X10 - Selected unicam format: 640x480-pGAA
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted

Thanks!

Is your Pi connected directly to a display using an HDMI cable? Are you logged directly in to your Pi (through an attached keyboard), or are you connected via ssh or VNC? Could you test if libcamera-hello and libcamera-hello --qt-preview work? Thanks!

Sorry for the belated response.

Is your Pi connected directly to a display using an HDMI cable?
No. It is in server closet and access is primarily headless. If you insist (for support purposes), I'll have to bring it downstairs and wire it up temporarily. FWIW, the same hardware and picamera2 (beta releases) worked several months ago. Somewhere along the way the Bullseye update/upgrade that I do unattended on a weekly basis caused this issue, I believe. Sorry, cannot pinpoint the date.

Are you logged directly in to your Pi (through an attached keyboard), or are you connected via ssh or VNC?
Headless relying mostly on SSH and VNC.

Could you test if libcamera-hello and libcamera-hello --qt-preview work?
libcamera-hello
SSH:
$ libcamera-hello
Preview window unavailable
[111:37:02.050104693] [13411]  INFO Camera camera_manager.cpp:299 libcamera v0.0.4+23-06bbff9c
[111:37:02.276276710] [13412]  INFO RPI raspberrypi.cpp:1486 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media3 and ISP device /dev/media0
[111:37:02.283435679] [13411]  INFO Camera camera.cpp:1028 configuring streams: (0) 1296x972-YUV420
[111:37:02.287963659] [13412]  INFO RPI raspberrypi.cpp:861 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA
#0 (0.00 fps) exp 33222.00 ag 8.00 dg 1.00
#1 (30.01 fps) exp 33222.00 ag 8.00 dg 1.00

This is not an issue; understand just a little bit about what is going on here.
VNC:
chowkidar@raspbari1:~/projects $ libcamera-hello
Preview window unavailable
[111:40:01.968939526] [14134]  INFO Camera camera_manager.cpp:299 libcamera v0.0.4+23-06bbff9c
[111:40:02.703916260] [14141]  INFO RPI raspberrypi.cpp:1486 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media3 and ISP device /dev/media0
[111:40:02.725973162] [14134]  INFO Camera camera.cpp:1028 configuring streams: (0) 1296x972-YUV420
[111:40:02.752485044] [14141]  INFO RPI raspberrypi.cpp:861 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA
#0 (0.00 fps) exp 33222.00 ag 8.00 dg 1.00
#1 (10.00 fps) exp 33222.00 ag 8.00 dg 1.00
Not sure why the preview window did not launch.
libcamera-hello --qt-preview
SSH: (again not expecting to be able to view any window so I don't pay attention to this mode but of course would like to use the -o option which I cannot presently)
$ libcamera-hello --qt-preview
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Aborted
VNC:
chowkidar@raspbari1:~/projects $ libcamera-hello --qt-preview
Made QT preview window
[111:40:37.308357203] [14189]  INFO Camera camera_manager.cpp:299 libcamera v0.0.4+23-06bbff9c
qt.qpa.xcb: QXcbConnection: XCB error: 148 (Unknown), sequence: 191, resource id: 0, major code: 140 (Unknown), minor code: 20
[111:40:38.186930284] [14223]  INFO RPI raspberrypi.cpp:1486 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media3 and ISP device /dev/media0
[111:40:38.225136114] [14189]  INFO Camera camera.cpp:1028 configuring streams: (0) 1296x972-YUV420
[111:40:38.244903026] [14223]  INFO RPI raspberrypi.cpp:861 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA
In the last scenario, an untitled window appears momentarily and then disappears.
Again, FWIW, I am using libcamera utilities successfully on other diverse RPi boards. This specific board is an older one (SDcard not microSD! Raspberry Pi Model B Plus Rev 1.2). If you feel that I should simply re-image it with the latest Raspberry Pi OS and try again, I will gladly do that. I am simply hoping for a quick fix since the computer does infrastructure support and I'd prefer some update/upgrade fix rather than re-install other 3rd party packages.
Thanks again for all your support. Sincerely appreciate it.
Regards.

You wrote:
This specific board is an older one (SDcard not microSD! Raspberry Pi Model B Plus Rev 1.2).
This is the first model with 40-pin GPIO header from 2014.
It has only 512 MB of memory. So you might be running out of memory.
Picamera2 and libcamera use a lot of memory for image buffers.

Generally I find that managing Qt and OpenCV versions (among other packages) is a bit tricky, and if you ever install the "wrong" version of something it can be quite difficult to know how to recover. If you do have a spare SD card and are able to, it's probably worth trying a fresh install. If you use the full version of the OS, your original script should "just work".
The point about using an older device is a good one. I believe a fresh install should work, however, rendering through to the display using Qt and X Windows is likely to be pretty painful, I'd have thought, to the point of barely usable. If you can, you might want to consider the Lite OS and the DRM preview.

Thanks, @davidplowman. Will accept the advice and re-image. Naturally, I'll get picamera2 library to work first before installing all the other stuff most of which are scripted anyway.
I have several RPis and Picamera2 is working (and some supporting OpenCV too). My purpose in logging the issue was two-fold:

Understand the dimension of backwards compatibility with Raspberry Pi OS (not Raspbian)
Continue to the hardware for the simple task of keeping an eye on who is working in the server closet (Zero 2W are impossible to find these days)

Regards.


istio ingress gateway clashes with traefik ports for loadBalancer

What kind of request is this (question/bug/enhancement/feature request): bug/question/enhancement?
Steps to reproduce (least amount of steps as possible):

Deploy istio in a k3s based cluster that uses traefik ingress using the rancher gui.
Enable Ingress Gateway using option Loadbalancer.
Enable istio and wait for it to deploy.

Result:

Pods fail to deploy on nodes due to port conflict for 80/443 (traefik already has these).

Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.4.4
Installation option (single install/HA): 5 node cluster (2 masters; 3 agents) using k3s install method.

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Deployed in aws.
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version): 1.18

Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-04-16T11:56:40Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.4+k3s1", GitCommit:"97b7a0e9df2883f08028fb7171c1e62fc1899a0c", GitTreeState:"clean", BuildDate:"2020-06-18T01:30:45Z", GoVersion:"go1.13.11", Compiler:"gc", Platform:"linux/amd64"}

Docker version (use docker version):

Not applicable

As a work around, we have deployed istio as nodeport, and then edit the service (its scripted as follows):
kubectl get  svc/istio-ingressgateway -o yaml  | \
    sed -e 's/port: 80/port: 8480/' -e 's/port: 443/port: 8443/' -e 's/type: NodePort/type: LoadBalancer/' | \
    kubectl replace -f -

I think an enhancement is needed here to allow you to specify the http and https ports to use in the rancher gui, so you can set ports that don't clash with traefik.
Then we have the benefit of the default treafik ingress for k8s, plus the ability to define a second ingress for istio. Whether you choose to front both of these with a load balancer is up to you.

I got the same problem here. I try to delete traefik lb and add config with istio gateway to access to rancher ui by using tls mode passtrough but it didn't work and got ERR_SSL_PROTOCOL_ERROR.


Telescope bindings don't work.

Describe the bug
Just installed neovim and installed kickstart using readme as guide with no prior neovim config. Following through TJ's video "The Only Video You Need to Get Started with Neovim" and found that many of the default bindings appear to be broken.

To Reproduce

Open init.lua
Move cursor to  map('gr', require('telescope.builtin').lsp_references, '[G]oto [R]eferences')
Press gr

neovim is now waiting as if I had just hit r in normal mode. For example if I press a here it will change map to aap. Same issue occurs with other commands, gI moves the cursor to the start of the line and changes to insert mode.
Desktop

OS: NixOS 23.11.6869.651b4702e27a (Tapir)
Terminal: kitty 0.31.0

Neovim Version

NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1693350652

Do other telescope bindings work for example <space><space> to get the list of buffers?
I suspect you have an issue with the lua_ls LSP. Can you run:
:LspInfo
You should get something like this:
 Press q or <Esc> to close this window. Press <Tab> to view server doc.

 Language client log: /home/.../.local/state/nvim/lsp.log
 Detected filetype:   lua

 1 client(s) attached to this buffer:

 Client: lua_ls (id: 1, bufnr: [1])
 	filetypes:       lua
 	autostart:       true
 	root directory:  /home/...
 	cmd:             /home/.../.local/share/nvim/mason/bin/lua-language-server

 Configured servers list: lua_ls

Other things to check, :Mason should say:
  Installed
    ◍ lua-language-server lua_ls
    ◍ stylua

and :checkhealth
vim.lsp: Active Clients ~
- lua_ls (id=1, root_dir=/home/...)

Yes actually, my bad. It seems to only be the keybindings defined inside the LspAttach autocmd, with the exception of gd which is the only one that works.
:LspInfo
 Press q or <Esc> to close this window. Press <Tab> to view server doc.

 Language client log: /home/<user>/.local/state/nvim/lsp.log
 Detected filetype:   lua

 0 client(s) attached to this buffer:

 Other clients that match the filetype: lua

 Config: lua_ls
 	filetypes:         lua
 	root directory:    /home/<user>/.config/nvim
 	cmd:               /home/<user>/.local/share/nvim/mason/bin/lua-language-server
 	cmd is executable: true
 	autostart:         true
 	custom handlers:

 Configured servers list: lua_ls

:Mason
  Installed
    ◍ lua-language-server lua_ls
    ◍ stylua

:checkhealth
vim.lsp: require("vim.lsp.health").check()

- LSP log level : WARN
- Log path: /home/<user>/.local/state/nvim/lsp.log
- Log size: 2 KB

The log file just has a few lines saying the required file is not found.

Well there's your problem:
0 client(s) attached to this buffer:

As for why, I do not know, perhaps some NixOS peculiarity?

As far as I can tell it is not NixOS related but I only just started using the OS so I can't say for sure. I haven't used NixOS to manage any of Neovim's configuration at the moment, it is all done in the standard way.
Here is what was in the error logs mentioned in :checkhealth
[ERROR][2024-05-10 19:47:52] .../vim/lsp/rpc.lua:734	"rpc"	"/home/<user>/.local/share/nvim/mason/bin/lua-language-server"	"stderr"	"/home/<user>/.local/share/nvim/mason/bin/lua-language-server: line 3: /home/<user>/.local/share/nvim/mason/packages/lua-language-server/libexec/bin/lua-language-server: cannot execute: required file not found\n"

If you check manually for that file is it there?
ls -l /home/*/.local/share/nvim/mason/packages/lua-language-server/libexec/bin/lua-language-server
-rwxr-x--x 1 user user 2288320 Jan  5 07:16 /home/user/.local/share/nvim/mason/packages/lua-language-server/libexec/bin/lua-language-server

You can try re-installing it, use :Mason then press X on lua-language-server which should uninstall it, then exit nvim and restart it and it should get reinstalled automatically. Then check if the above file is in its place.

Yes, file is there.
 l .local/share/nvim/mason/packages/lua-language-server/libexec/bin/lua-language-server                                                                                <user>@nixos
-rwxr-xr-x 1 <user> users 2.3M Apr 23 19:25 .local/share/nvim/mason/packages/lua-language-server/libexec/bin/lua-language-server

I'll try try reinstalling now.

Reinstalled and got the exact same behaviour.

I would say this is a NixOS specific issue.
Try checking this out:

Do any NixOS users here know a simlple way to get LSP working in Neovim?

https://www.reddit.com/r/NixOS/comments/1b5v5p8/do_any_nixos_users_here_know_a_simlple_way_to_get/

I've tried using neovim-unwrapped (instead of just neovim) in my configuration.nix but that didn't help. I primarily use Neovim to code so this is the only thing that is making me want to leave NixOS.
I like a lot the features that NixOS has, but there are certain programs I just want to work with a minimal effort as possible.
The problem I'm having is that certain binaries just won't work in NixOS when installed by a Neovim plugin like mason.nvim
/home/user/.local/share/nvim/mason/bin/rust-analyzer
To be clear, this is a NixOS specific issue. I've run my exact setup on Arch and I never had these issues

Interesting, I wonder what is stopping it from working when the files are all there. I'll see if I can work out some way to configure the LSP to still work without dropping kickstart. Thanks for pointing me in the right direction.

Closing this for now as it seems like this isn't a kickstart problem and we have no further action items.

Context: https://github.com/nvim-lua/kickstart.nvim/issues/930#issuecomment-2109822030
@dam9000 Sorry I cannot recreate this issue. I tested in Kitty as well but gr acts as it is supposed to for me.


Use Base64 for transaction ids

Linear, unlike Base58Check

Transaction ID
The ID of a transaction is a base58Check encoding of itself.  With zkapps, the transactions are bigger and using base58Check is impacting the client performance. Hence, proposing to change it from Base58Check to Base64.
If this change is introduced, it will change the IDs of all the existing transactions.
There are no changes to existing transaction types itself (Payments, Delegations, Fee transfers, and Coinbase) and only the encoding/decoding for the ID changes.
To migrate to the new format, we will provide a mapping between the existing transaction ID and the new one for all the transactions (obtained from an archive database). Alternatively (or in addition) we can add a cli/graphql command that does the conversion from existing ID to the new one and vice versa.
This change does not impact signatures or block hash.
Currently on mainnet, transaction IDs are used in the following commands
I. Transactions in the following GraphQL queries  have id field that show the transaction ID in base58 format.
block
bestChain
pooledUserCommands
II. Transaction ID passed as an argument in transactionStatus graphQL query
III. Transaction ID in the response of sendPayment, sendDelegation, and sendRosettaTransaction graphQL mutation
IV. Output of cli command send-payment, send-delegation, pooled-user-commands, send-rosetta-transactions
V. Input for cli commands  cancel-transaction, compute-receipt-chain-hash, hash-transaction
Transaction hash
Transaction hash, as displayed in cli and graphQL commands, is currently computed by hashing transaction ID (which is a Base58Check encoding of a transaction). The new transaction hash for Payments, Delegations, Fee transfers, and Coinbase transactions will be now be the  hash of the Bin_prot serialization of a transaction.
This changes the hash of transactions of existing transactions. Signatures or block hashes will not change.
Similar to transaction IDs, we will provide a mapping from old transaction hash to the new one for all existing transactions. On the cli, the existing command  hash-transaction will be modified to take a transaction ID in the new format and produce a hash (as listed in the above section).
Transactions hashes are also used in all the commands listed above.
Transaction hashes are stored in the archive database as well. We'd provide migration scripts for the archive database
The column is hash in tables user_commands and  `internal_commands

Great to see this improvement merged! Are archive database migration scripts also a part of this work? Are they merged, too?

@robinbb The database migration work has not yet started.

@psteckler Okay. There may be a way to avoid some of the migration work. I have a team that can help. Please contact me when planning this work, if the work quantity is large, if you want to offload some of it.

@robinbb What did you have in mind? My thought was to use a modified version of the replayer app to populate a db with the new schema.

Ah, ha! I was thinking same. Did you have plans on working on this any time soon?

Probably not for 3 weeks, at least.

The app should be able to start at a given block or height, so the migration can be done incrementally.

@robinbb thanks for checking. I've created #12331 to track this as part of all the migration related work. I'll reach out to you when we plan to prioritize that work


find_id in cluster.slurm improperly uses scontrol

scontrol won't return jobs that have disappeared from the queue. This is an issue if the status update for a job completed isn't caught, which is only likely to be a serious issue when status check timers are too high. This needs addressing though, to pick up jobs that have left the queue and mark the job appropriately

@CRosieWilliams identified this in WAVIhpc runs, so getting a fix rolled out ASAP
[15-03-22 10:22:14    :WARNING ] - Command returned err: None
[15-03-22 10:22:14    :ERROR   ] - Job status for run PIGTHW3km_sanity_checks_t100_runs-0 retrieval whilst slurm running, waiting and retrying
Traceback (most recent call last):
  File "/data/hpcdata/users/chll1/WAVI_Julia/WAVIhpc/venv/lib/python3.7/site-packages/model_ensembler/batcher.py", line 264, in run_batch_item
    job = await cluster.find_id(job_id)
  File "/data/hpcdata/users/chll1/WAVI_Julia/WAVIhpc/venv/lib/python3.7/site-packages/model_ensembler/cluster/slurm.py", line 46, in find_id
    if v.split("=")[0] == "JobName"][0],
IndexError: list index out of range

Or more specifically, one job can get stuck in that and hold the whole thing up. If I see that, I quit it and restart. Not sure if that's good practise, but it keeps it ticking over.```


[WIP] adapting web module for botable JAR

Thanks for submitting your Pull Request!
Please delete this text, and add a link to the Jira issue solved by this PR.
Remember to use the Jira issue ID in the PR title, and any commits.

This is against wrong branch


fix(clusters): update pools in dc-update

Changes

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

#959  👈
#958
#950
main

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

Join @NathanFlurry and the rest of your teammates on  Graphite


Add New Logo Marquee Widget

What? Why?
Add Logo Marquee widget to address hover issues with current logo carousel
Testing / Proof
Tested on mobile and desktop. Glitches observed while DevTools are open, but aside from those, no glitches or errors noted.

Changed the core "looping" functionality to address glitches.
The widget now utilizes the animationend event to detect a one-shot animation. Once the event is triggered, the widget put's the last (or first depending on direction) logo at the back (or front) of the line and restarts the animation. Due to some annoyances with restarting CSS animations, the widget replaces the marquee element with the same marquee element, this triggers a reflow and lets the animation restart. I have not noticed any performance issues with this approach and have found it to be the suggested approach.
The end result looks the same, but there are no longer any visible glitches when the animation ending isn't lined up with the "loop" code. The worst that should happen now is a pause in the scrolling, however I haven't been able to produce such behavior.


Html content in row labels?

Hello. How put html code in row labels. For example bootstrap icons via tag "i". It is possible?

Hi @ImBrek!
Yes, you can do that, but currently only with master branch. You have to set content property for row object.
Like this (from demo):
{
  "name": "Hosting",
  "content": "<i class=\"fa fa-server\"></i> {{row.model.name}}",
  "id": "41571385-d320-7d1e-30f9-436a0105e0b2"
}

See master branch demo.

Thanks @renekorss, good answer :)
There are many more capabilities in current master to customize HTML content in tasks and rows, through attributes and model properties named content or column-content. You can read the docs from master on ReadTheDocs
If you are still using labels plugin, please note it's deprecated and you need to use table plugin instead. labels plugin will be dropped in next release.

This awesome! Thanks @Toilal, @renekorss


Unity Editor crashes

We're using Unity 2017.4.13 and when running our Game in Unity Editor it runs and stops ok. When the Unity Editor is left alone in the background it always crashes after roughly 5-10 minutes - without being used.
We always see this in the Editor logs directly after the crash:
Unloading 1076 unused Assets to reduce memory usage. Loaded Objects now: 32995.
Total: 63.005004 ms (FindLiveObjects: 3.721492 ms CreateObjectMapping: 2.516421 ms MarkObjects: 54.423291 ms  DeleteObjects: 2.342883 ms)

Mono.Security.Protocol.Tls.TlsException: Couldn't complete EndRead
  at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
  at System.Net.Security.SslStream.EndRead (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
  at System.Net.Security.SslStream.Read (System.Byte[] buffer, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
  at System.IO.BinaryReader.ReadBytes (Int32 count) [0x00051] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/BinaryReader.cs:318
  at Firebase.Database.Internal.TubeSock.WebSocketReceiver.Read (System.Byte[] buffer, Int32 offset, Int32 length) [0x00000] in Z:\tmp\tmp.oTFxnTxwvi\firebase\database\client\mono\Database\Internal\TubeSock\WebSocketReceiver.cs:154
  at Firebase.Database.Internal.TubeSock.WebSocketReceiver.Run () [0x00018] in Z:\tmp\tmp.oTFxnTxwvi\firebase\database\client\mono\Database\Internal\TubeSock\WebSocketReceiver.cs:38
  at Firebase.Database.Internal.TubeSock.WebSocket.RunReader () [0x002c1] in Z:\tmp\tmp.oTFxnTxwvi\firebase\database\client\mono\Database\Internal\TubeSock\WebSocket.cs:466
  at Firebase.Database.Internal.TubeSock.WebSocket+Runnable101.Run () [0x00000] in Z:\tmp\tmp.oTFxnTxwvi\firebase\database\client\mono\Database\Internal\TubeSock\WebSocket.cs:516
  at Google.Sharpen.Thread.InternalRun () [0x00006] in Z:\tmp\tmp.uH6XvFGNmf\third_party\dotnet_src\sharpen\Sharpen\Thread.cs:80
Receiving unhandled NULL exception
Obtained 27 stack frames.
#0  0x00000168218928 in firebase::auth::Auth::GetAuth(firebase::App*, firebase::InitResult*)
#1  0x000001216b25fa in  (wrapper managed-to-native) Firebase.Auth.AuthUtilPINVOKE:FirebaseAuth_GetAuthInternal (System.Runtime.InteropServices.HandleRef,int&) + 0x11a (0x1216b24e0 0x1216b2646) [0x13b406660 - Unity Child Domain]
#2  0x000001216b22e9 in  Firebase.Auth.FirebaseAuth:GetAuthInternal (Firebase.FirebaseApp,Firebase.InitResult&) + 0xb9 (0x1216b2230 0x1216b24b7) [0x13b406660 - Unity Child Domain]
#3  0x000001216b2142 in  Firebase.Auth.FirebaseAuth/<GetAuth>c__AnonStorey1:<>m__0 () + 0x72 (0x1216b20d0 0x1216b2211) [0x13b406660 - Unity Child Domain]
#4  0x00000121664161 in  Firebase.FirebaseApp:TranslateDllNotFoundException (System.Action) + 0x51 (0x121664110 0x1216642c5) [0x13b406660 - Unity Child Domain]
#5  0x000001216b0b46 in  Firebase.Auth.FirebaseAuth:GetAuth (Firebase.FirebaseApp) + 0x4b6 (0x1216b0690 0x1216b1365) [0x13b406660 - Unity Child Domain]
#6  0x0000013e8beb04 in  Firebase.Unity.FirebaseAuthService:GetTokenAsync (Firebase.Platform.IFirebaseAppPlatform,bool) + 0x154 (0x13e8be9b0 0x13e8bebeb) [0x13b406660 - Unity Child Domain]
#7  0x0000013e8be864 in  Firebase.Platform.Default.BaseAuthService:GetTokenAsync (Firebase.Platform.IFirebaseAppPlatform,bool,Firebase.Platform.IGetTokenCompletionListener) + 0xd4 (0x13e8be790 0x13e8be917) [0x13b406660 - Unity Child Domain]
#8  0x0000013e8be505 in  Firebase.Database.Core.AuthTokenProvider:GetToken (bool,Firebase.Platform.IGetTokenCompletionListener) + 0x95 (0x13e8be470 0x13e8be529) [0x13b406660 - Unity Child Domain]
#9  0x0000013e8be39e in  Firebase.Database.Internal.Core.Context/ConnectionAuthTokenProvider258:GetToken (bool,Firebase.Database.Internal.Connection.ConnectionAuthTokenProvider/IGetTokenCallback) + 0xae (0x13e8be2f0 0x13e8be3c2) [0x13b406660 - Unity Child Domain]
#10 0x0000013e8be20d in  Firebase.Database.Internal.Connection.PersistentConnectionImpl/Runnable557:Run () + 0x28d (0x13e8bdf80 0x13e8be231) [0x13b406660 - Unity Child Domain]
#11 0x0000013e8bdf4d in  Firebase.Database.Internal.Connection.Util.RetryHelper/Runnable53:Run () + 0x7d (0x13e8bded0 0x13e8bdf71) [0x13b406660 - Unity Child Domain]
#12 0x0000013e8bdc1e in  Google.Sharpen.ScheduledThreadPoolExecutor/Task`1<object>:Run () + 0x16e (0x13e8bdab0 0x13e8bdda6) [0x13b406660 - Unity Child Domain]
#13 0x0000013e274a33 in  Google.Sharpen.ThreadPoolExecutor:RunPoolThread () + 0x2b3 (0x13e274780 0x13e274b50) [0x13b406660 - Unity Child Domain]
#14 0x0000013e27427d in  Google.Sharpen.RunnableAction:Run () + 0x4d (0x13e274230 0x13e2742a1) [0x13b406660 - Unity Child Domain]
#15 0x0000013e273f7a in  Firebase.Database.Internal.Utilities.DefaultRunLoop/FirebaseThreadFactory/ExceptionCatcher:Run () + 0x6a (0x13e273f10 0x13e274097) [0x13b406660 - Unity Child Domain]
#16 0x0000013e273bd8 in  Google.Sharpen.Thread:InternalRun () + 0x98 (0x13e273b40 0x13e273d67) [0x13b406660 - Unity Child Domain]
#17 0x000001209b6a2a in  (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) + 0xfa (0x1209b6930 0x1209b6b5d) [0x13b406660 - Unity Child Domain]
#18 0x0000013ac0a112 in mono_get_runtime_build_info
#19 0x0000013ad36a9a in mono_runtime_invoke
#20 0x0000013ad3b816 in mono_runtime_delegate_invoke
#21 0x0000013ad62780 in mono_thread_create_internal
#22 0x0000013ad92c46 in CreateThread
#23 0x0000013adb9122 in GC_start_routine
#24 0x007fff768ab33d in _pthread_body
#25 0x007fff768ae2a7 in _pthread_start
#26 0x007fff768aa425 in thread_start
Launching bug reporter
est"}}
DEBUG: Deleting app __FIRAPP_DEFAULT (0x03e23600)
DEBUG: Notifying 0x041b7c20 of 0x03e23600 deletion
DEBUG: Notified flag for 0x041b7c20 = true
DEBUG: Notified flag for 0x041b7c20 = false
DEBUG: Notifying 0x041b8c20 of 0x03e23600 deletion
DEBUG: Notified flag for 0x041b8c20 = true
DEBUG: Notified flag for 0x041b8c20 = false
DEBUG: Deleting Auth 0x6000041b8c20 for App 0x600003e23600
DEBUG: Disabling all app initializers
DEBUG: Disable analytics
DEBUG: Disable auth
DEBUG: Disable database
DEBUG: Disable dynamic_links
DEBUG: Disable functions
DEBUG: Disable instance_id
DEBUG: Disable invites
DEBUG: Disable messaging
DEBUG: Disable remote_config
DEBUG: Disable storage

It looks like it is some Unity maintenance task to reduce memory consumption which also tries to shut down Firebase which then causes the crash. The game is not running during that time.
We've also tried Unity 2018.2.13 with the same result.

Closing as a duplicate of https://github.com/firebase/quickstart-unity/issues/200 and https://github.com/firebase/quickstart-unity/issues/191 @chkuang-g is working on this.


Writing large (1.8GB) file returns False

Writing a system image (1.8 GB) returns False, as the bootloader expects such big files to be split (like the normal Fastboot implementation)

Thanks for testing, we weren't sure as noted here if it worked indeed due to sparse images. https://github.com/WOA-Project/FastBoot/blob/main/FastBootCommands.cs#L38C61-L38C115

Yes this is not implemented yet in the code.


No Batch Normalization in CNN?

Hi there,
While doing CNN module, I found that no batch normalization is applied in the forward pass?
class CNN(nn.Module):
    def __init__(self, vocab_size, num_filters, filter_size,
                 hidden_dim, dropout_p, num_classes):
        super(CNN, self).__init__()

        # Convolutional filters
        self.filter_size = filter_size
        self.conv = nn.Conv1d(
            in_channels=vocab_size, out_channels=num_filters,
            kernel_size=filter_size, stride=1, padding=0, padding_mode="zeros")
        self.batch_norm = nn.BatchNorm1d(num_features=num_filters)

        # FC layers
        self.fc1 = nn.Linear(num_filters, hidden_dim)
        self.dropout = nn.Dropout(dropout_p)
        self.fc2 = nn.Linear(hidden_dim, num_classes)

    def forward(self, inputs, channel_first=False,):

        # Rearrange input so num_channels is in dim 1 (N, C, L)
        x_in, = inputs
        if not channel_first:
            x_in = x_in.transpose(1, 2)

        # Padding for `SAME` padding
        max_seq_len = x_in.shape[2]
        padding_left = int((self.conv.stride[0]*(max_seq_len-1) - max_seq_len + self.filter_size)/2)
        padding_right = int(math.ceil((self.conv.stride[0]*(max_seq_len-1) - max_seq_len + self.filter_size)/2))

        # Conv outputs
        z = self.conv(F.pad(x_in, (padding_left, padding_right)))
        # ---------MISSING Batch Normalization here ? -----------
        z = F.max_pool1d(z, z.size(2)).squeeze(2)

        # FC layer
        z = self.fc1(z)
        z = self.dropout(z)
        z = self.fc2(z)
        return z

Hi @knosing, you're absolutely welcome to add batch normalization here. I can't recall exactly but I don't think BN changed the performance much here. In general, some tasks benefit from BN layers but it's almost always validated empirically. And this validation is really important because batch normalization isn't always perfect. When we're dealing with small batches or trying to optimize on training compute/time, it's not always favorable.


Data quality: derrick-scott

Describe the bug
For "identifier": "derrick-scott", seeing unexpected extra \n's at end of a the their_story value.
To Reproduce
Steps to reproduce the behavior:

Go to https://saytheirnames.dev/api/people/derrick-scott
Observe their_story value, currently set to

"their_story": "Oklahoma City resident, Derrick Scott was an African-American man who died after a struggle in police custody in Oklahoma City, Oklahoma. He repeatedly told officers, “I can’t breathe,” and was recorded on body cameras. \"I don't care\", said officer Jarred Tipton.\n\nScott was pronounced dead at an Oklahoma City hospital about an hour after his arrest.\n\n\n\n",

Expected behavior
We should not have the \n's at the end.
Seeing similar issue for

https://saytheirnames.dev/api/people/rashan-charles
https://saytheirnames.dev/api/people/joyce-clarke

Thank you, will check it

@dkhamsing This is normal, what team are you working in? is it a problem in your code?
These are simple line breaks

Not on any team .. seems this would cause layout issues if line breaks were rendered, we would see extra empty lines? Thanks for your time.

Examples from iOS:
Normal

Extra empty lines

Hi @dkhamsing Yes, I see what you mean, this is caused by extra line breaks in the Airtable Database. So we would need to remove it from there as the API simply pulls from that


Missing tag in caf_solution

Issue-162
PR Checklist

[ ] I have updated the documentation accordingly. (N/A)
[ ] I have added tests to cover my changes. (N/A)
[ ] All new and existing tests passed.
[x] My code follows the code style of this project.
[x] I ran lint checks locally prior to submission.
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Description
Updated caf_solution landing zone definition file to use local tags with merges tags instead of only the var tags variable.
Closes #162
Does this introduce a breaking change

[ ] YES
[ x] NO

Testing
(N/A)

thanks for your contribution @davesee


MAMBA for Classification

First of all, it is excellent work.
I want to do simple classification with the MNIST dataset, I tried many things but could not compile the model. How should I start?
Thanks in advance.

Hey guys! i am focus on mamba, maybe you can add my Wechat, we can learn together to achieve our goal

Hey guys! i am focus on mamba, maybe you can add my Wechat, we can learn together to achieve our goal

Hello bro, I am concentrating on Mamba as well, could I have your wechat?

Wechat:ABC4848674264

大家好！我专注于 mamba，也许你可以添加我的微信，我们可以一起学习实现我们的目标

你好兄弟，我也在关注 Mamba，可以给我你的微信吗？

你好，我改如何联系你

Wechat:ABC4848674264

Hey guys! i am focus on mamba, maybe you can add my Wechat, we can learn together to achieve our goal

Hello bro, I am concentrating on Mamba as well, could I have your wechat?

Wechat:ABC4848674264


Added a test for QuerySet.select_related() reverse caching.

Taken from #9081

As far as I can tell, the test passes on master without the code changes in this PR.

This refactoring is needed to support FilteredRelation.
You ask me to submit as a separate PR. I'm confused.

The test passes without the code changes so it's unclear to me what its purpose is and why it should be in the same commit as the refactorings.

I don't know the reason, maybe @holvianssi had to write this test and iterate several times until he found the right approach to refactor select_related. Probably the coverage has been increased after that, even if no regression has been detected by the refactoring. This refactoring is not to fix a bug but to extend its internal API so FilteredRelation can be supported.
Maybe you'd prefer not having that test ?

The idea would be to add the test only in a commit (if we can confirm it's adding some additional coverage). The test is probably be better organized in the select_related, select_related_onetoone, or select_related_regress test app.

The test is about calling the setters unconditionally in populate() (note the removed if condition at location of calling remote_setter()). Django shouldn't set anything in the reverse direction for multivalued relations. At least an earlier iteration of the filtered relation patch did that. So, in essence it's a regression test for a bug that doesn't exist in master branch.

Thanks, Anssi, I found the reason for the test. In the related PR, there's a line 'remote_setter': f.remote_field.set_cached_value if f.unique else lambda x, y: None. If the if branch is removed there. this test is the only test in Django's suite that will fail.  I adjusted the test so it's in the select_related test app.


local: Fix remove by container-relative path

This fixes #210, and allows applications to delete an item with the same path that's been used to create it in the container.

Ping....

Is this project alive?

rebased on master


Request - server utility and player assistance

Hi!  I've been running a dedicated server for a dozen or so friends for several weeks, and we're having a blast.  I use VNEI extensively as an admin to answer questions as we play together, and of course I have Show Only Known = False so I can look up stuff ahead of my own character's progress to help answer their questions as admin.  I get LOTS of feedback about how much everyone playing wishes they could easily look up materials to recipes and such...  which of course I can do with VNEI.  I haven't distributed it to them though, because it's only client-side and I can't prevent them from spoiling all the end-game gear they've yet to discover.
I know it's probably a lot of work, and I totally understand if this isn't something you want to do, but I thought I'd ask...  would you ever consider adding server-sync?  And also a config setting like Admin Show Only Known?
Regardless, I love your mods.  Thank you so much!

Just wanted to clarify, I'm hoping for Server-Sync for the following settings:
Enable Cheating
Enable Spawning Creatures
Use Item Blacklist (assuming server-side .blacklist file gets used)
Show Only Known
Admin Show Only Known (if you desire to add this.  if not, I'd still love server-sync for all the others, if you're so inclined!)
Thanks so much!  This mod rocks!

Hi, thank for enjoying the mod!
The cheat options are not syncing because only admin can cheat, regardless of what the cheat setting is set to.
The item blacklist and ShowOnlyKnown are not syncing because of a design choice, not because it would be hard to add.
The reason is, there isn't really any benefit to force this for all players. Some might enjoy not having everything visible and to discover recipes but not everyone.   Looking recipes up isn't something that can entirely be locked away. For example, a player might start a single player world and looks up what the mods add.
Therefore, having it as a client side setting lets every player choose what fits his playstlye best.
You can still distribute a default config in the mod pack, where the settings is turned on by default.

Hi!  That all makes sense.  Thanks for the reply and for the awesome mods you maintain!


Lack of permissions for gamma users

Bug description
I Just upgrade from superset 2.0.3 to 4.0.2 and it look wonderful, however I found something strange, my users who work with Gamma, sqllab and access to a specific psql base can't execute querys with psql functions like MAX, SUM, LPAD and quotes, but as an administrator I can run them, so I think that in the update they took away some privilege from Gamma that I would like to add so that they can continue working the same way as always.
Screenshots/recordings
With apache superset 2.1.3 run well:

But the same query with apache superset 4.0.2 this happends:

If I remove the quotes the query runs, but my users doesn't want to rewrite all his work

Superset version
4.1.0
Python version
3.9
Node version
16
Browser
Chrome
Additional context
I would like to test in superset 4.1.0 but unfortunately I work in a kubernetes cluster so I dependent of the docker images.
Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

In Apache superset 4.1.1 this issue was fix it.


[jest-haste-map] Incompatible package with Node 12 on macOS due to use of fsevents 1.2.7

🐛 Bug Report
Package has an optional dependency of fsevents 1.2.7 for macOS only, and it's incompatible with node 12 (version 1.2.9 is compatible)
To Reproduce
Try to run npm install on jest on macOS (got it from trying to install react-scripts here)
Expected behavior
Should run fine without errors on macOS
Upgrading the dependency should hopefully fix the issue without creating problems.
Note: I tried to use the resolutions block in my package.json file but it doesn't work with optionalDependencies like fsevents.
Thanks in advance for your hard work!

https://github.com/fsevents/fsevents/issues/278 <- related issue in fsevents

Fixed in #8850


Introducing Hyprland Guru on Gurubase.io

Hello team,
We are the maintainers of Anteon. Recently, we created Gurubase.io with the mission of building a centralized, open-source, tool-focused knowledge base. Each "guru" in Gurubase is equipped with custom knowledge to answer user questions based on data related to the respective tool.
We’re excited to let you know that Hyprland Guru has been manually added to Gurubase. Hyprland Guru uses the data from this repo and data from the docs to answer questions by leveraging the LLM.
This PR introduces the "Hyprland Guru", showcasing that Hyprland now has an AI assistant available to help users with their questions. We’d love to hear your feedback on this contribution.
You also have the option to maintain the "Hyprland Guru" by following the instructions in the Gurubase Repo and to add an ASK AI widget to the Hyprland documentation website as detailed here.
If you’d prefer us to disable Hyprland Guru in Gurubase, just let us know that's totally fine.

no, I hate AI.
Do whatever you want, but I will not endorse any AI projects.


'down scale only' mode

new option for scale that only scales images if they are bigger than container.

Thanks, I missed that.
By the way I'm making Wordpress plugin using galleria.
Plugin: http://wordpress.org/extend/plugins/fullscreen-galleria/
Plugin live: http://torturedmind.org/


Container cant anymore be build from Dockerfile

Hi
I realized that the latest container was a bit older and I wanted to try putting the latest version of CrisprVerse in a docker.
Therefore I pulled your Dockerfile.
I realized that there was no version specified for the the CrisprVerse in the instructions and assume that it therefore pulls
the latest version. I am not sure whether it is due to this change in latest version or conda internally, but the build is not anymore successful.
It seems to fail regularly with CrispScore for an issue related with panda.
      File "/home/crisprverse/tmp/pip-install-7BjdyG/pandas/setup.py", line 362, in check_cython_extensions
        """ % src)
    Exception: Cython-generated file 'pandas/index.c' not found.
                    Cython is required to compile pandas from a development branch.
                    Please install Cython or download a release package of pandas.

    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/crisprverse/usr/local/lib/R/site-library/crisprScore/basilisk/crisprai_basilisk/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/crisprverse/tmp/pip-install-7BjdyG/pandas/setup.py'"'"'; __file__='"'"'/home/crisprverse/tmp/pip-install-7BjdyG/pandas/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /home/crisprverse/tmp/pip-record-PrNX4I/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
Error in setupBasiliskEnv(envpath = file.path(envdir, .getEnvName(current)),  :
  failed to install additional packages via pip
Calls: <Anonymous> -> setupBasiliskEnv
Execution halted
ERROR: configuration failed for package ‘crisprScore’
* removing ‘/home/crisprverse/usr/local/lib/R/site-library/crisprScore’
* installing *source* package ‘GenomicFeatures’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading

I tried to add earlier steps installing cython but it seems that the python environment which is created in the installation process does not pick it up.
Do you have :

the version for which the previous container build was successful ?
an idea what changed and how could add/fix the dependencies ?

Thanks for all the work!
Cheers

just in case somebody get's here eventually:
I fixed it on my side by defining ENV BASILISK_EXTERNAL_DIR=/usr/local instead of ENV BASILISK_USE_SYSTEM_DIR=1 (the folder directory is obviously personal choice).
This is for me okay in a container, as it organizes then the python dependencies in this centralized folder instead of making for each library again independently a python environment.


Doc Issue 1 -Use of registerForVideoFrame  method use not clearly mentioned

The code snippet for registerForVideoFrame just gives an outline on the function structure. However, there are no steps, or any note is mentioned on how the video frames can be processed or modified. We can add an example or redirect the user to use to use custom logic.

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

ID: 62dc58bf-69e5-8c4c-90f2-9148ee03b30f
Version Independent ID: 62dc58bf-69e5-8c4c-90f2-9148ee03b30f
Content: Video filters for meeting apps - Teams
Content Source: msteams-platform/apps-in-teams-meetings/video-filters-for-meeting-apps.md
Service: msteams
GitHub Login: @v-ypalikila
Microsoft Alias: v-ypalikila

@surbhigupta12 - Could you please help here to update the documentation?

Hi @ChetanSharma-msft @Prithvi-MSFT ,
We have updated the documentation for the issue. Sharing the following screenshot of the updated docs for your reference:

Request you to confirm if we can close the git Issue.
Thanks,
Yash

Closing this issue as it is resolved.


Using exceptions for flow-control is an anti-pattern

A command handler receives a command and obtains a result from the aggregate that is used. The result should be either successful execution of the command, or an exception. In the case of an exception, the system state should be unchanged.

When an operation fails, you should return an error result instead of throwing an exception.
Business rules are encapsulated in the domain model. When user press a button to buy something, only the domain model layer knows whether he or she is permitted to do it and what should the user do before buying something (such as validating the email). Then the domain model layer should return an error result with error code EmailNotValidated. The web api returns it and JS code received EmailNotValidated and redirect user to email validation page.
When an operation succeeds, there's also a need for returning something such as the id of the newly creared entity. So you should have your domain model return a reuslt object rather than return a bool or throwing exceptions.
This pattern can be classified to Try-Parse pattern.

references:
Exception Throwing https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/exception-throwing
Avoiding Java Exception Abuse http://www.informit.com/articles/article.aspx?p=433387

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

ID: b3920c19-388e-0e84-960f-0bb0c8340fe0
Version Independent ID: c728d4ba-50e8-798d-72a0-c4a5b6f13ca2
Content: Implementing the microservice application layer using the Web API
Content Source: docs/architecture/microservices/microservice-ddd-cqrs-patterns/microservice-application-layer-implementation-web-api.md
Product: dotnet-architecture
Technology: microservices
GitHub Login: @nishanil
Microsoft Alias: nanil

I was wrong. Returning some result seems to solve the problem but does not actually solve it. Moreover, it brings new problems.
Specification-Notification Pattern (which was ignored by me) should be used as a bridge between user and domain logic (which lies in the domain layer). And the domain layer should be designed like any other normal library (in most cases and especially when dealing with execution errors). Not until I started to implement DDD pattern did I realized this.
“实践是检验真理的唯一标准”


Inheritance: The app closes after signing the transaction with IKs.

IKS signing is working now but when we click on view wallet the app is closing.  In UAI it is still showing iks signer message even though the transaction is successfully signed by iks.  And if we click on Decline button it shows "something went wrong" message.   Every time I clicked on skip, I got the same message.

https://github.com/user-attachments/assets/6a0cf5fb-adf6-4b78-b114-024487660699

App closing is resolved. Edited the description to reflect that

IK server being discontinued, migration from it should be discussed in a separate issue


⚠ ESPN has degraded performance

In b235d6c, ESPN (https://espn.com) experienced degraded performance:

HTTP code: 200
Response time: 1312 ms

Resolved: ESPN performance has improved in 659287c.


Fix incorrectly named global in extratorrent url rewrite plugin

I am getting errors whilst trying to use the plugin, this should fix it, but I was not able to test further at the moment.

Getting message:
2015-06-27 12:03 WARNING  discover      movies          Search plugin extratorrent does not support latest search api


Overrites radio commands

If you have a file with the word "go" for example, the radio command "GO" will no longer function. I imagine this is the same with other commands as well, such as "roger"

Since you seem to be using a blacklist, here's a list for you.
{"go", "fallback", "sticktog", "holdpos", "followme", "coverme", "regroup", "roger", "negative", "cheer", "compliment", "thanks", "enemydown", "reportingin", "enemyspot", "takepoint", "sectorclear", "inposition", "takingfire", "report", "getout"}


[NOTICE] Please join #ddev-for-core-dev for collaboration

This is just a short-term community announcement that we have a channel in Slack, if temporary, to get contributors talking in one place.

Thanks, I've added this to the readme


chore: Swap report form with contact support link

Swaps form for reporting problems with a mailto link

Is it worth putting the href in the KV secrets or something? I just figure this isn't the first time this has changed, and I'm sure it won't be the last (e.g. with the Zendesk changes etc).

It's a navigation link in contentful, but I was reluctant to use that because if contentful has fallen over and its the reason for the error page, I don't want the error page to also be broken - but a kv secret seems safe, change made 👍


The Info.plist file is missing the required key: CFBundleVersion.

After updating to version 5.0.0 from 4.8.0, the iTMSTransporter failed to upload binaries to App Store Connect with the following error
ERROR ITMS-90056: "This bundle Payload/{myapp}.app/Frameworks/NVActivityIndicatorView.framework is invalid.
The Info.plist file is missing the required key: CFBundleVersion. Please find more information about CFBundleVersion at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion"

Installed by Carthage 0.35.0
Xcode version is 11.6

@temoki: It should be fixed in 5.0.1.


Accessing the transformed image

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Is there an easy way to access the transformed image on the processfile event?
I'm using the vue plugin (in vue3) and i'm building an app that should work offline.
The uploading is working correctly when connected to the internet.
However i'm trying to implement a custom function to store images to indexedDb to retry uploading in the background.
When storing the file in indexedDb the original file is stored instead of the transformed image.
Is there a way to access the transformed image instead of the original image?
function processFile(error, file, metadata, collection_name) {   //if error is not null, add the file to the queue   if (error) {       //add to queue for background syncing if syncing fails       this.saveQueueFile('file', file, 'report', {collection_name: collection_name, report_uuid: this.report.uuid});       //add the local file to the files array       if (!this.files[collection_name]) {           this.files[collection_name] = [];       }       this.files[collection_name].push(file);
Describe alternatives you've considered
github copilot suggested this:
`function  processFileWrapper(error, file, metadata) {
reportStore.processFile(error, file, metadata, props.item.id);
console.log('myFilePond', myFilePond.value);
myFilePond.value.getFileEncodeDataURL(file.id, (dataURL) => {
    console.log('Transformed file data URL:', dataURL);
});`

However, i'm getting an error in my console:
myFilePond.value.getFileEncodeDataURL is not a function
(I'm using the composition api with script setup)
@rikschennink

That would require adding the file encode plugin, and it would trigger re-processing of the image.
When using Pintura this is imageEditorAfterWriteImage but that doesn't work here.
Maybe you can use onpreparefile it returns the original and the output.

Thank you Rik for your helpfull response and pointing me in the right direction.
I'm using onpreparefile now to store the image.
Thanks for the great package and support!


7 let user finish anagram

Still to be done is letting user add a word at any stage and then go on to either select or add another word.


Update deprecated isArray() method in Controller.php

Update deprecated ReflectionParameter::isArray() method.
Reference (PHP 8): https://php.watch/versions/8.0/deprecated-reflectionparameter-methods

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Fixed issues
N/A

Description:
This pull request addresses the deprecation warning related to the ReflectionParameter::isArray() method in PHP 8. Instead of using the deprecated method, the code now utilizes $param->getType() && $param->getType()->getName() === 'array' to achieve the same functionality.
Changes Made:

Replaced deprecated ReflectionParameter::isArray() method with $param->getType() && $param->getType()->getName() === 'array'.

Additional Notes:

The changes are made in accordance with the recommendations for PHP 8 compatibility.
No backward compatibility breaks are introduced.
No new features or bug fixes are included in this pull request.

Please review and merge as appropriate. Thank you!

IMO it makes more sense to remove if (PHP_VERSION_ID >= 80000) condition completely, as currently both branches of this if are effectively the same.

@rob006 applied your suggsetion. Let's see if tests will pass.

@creativebash would you please add a line for CHANGELOG?

Test looks alright.

Thanks!


Minify Javascripts

https://developers.google.com/speed/docs/insights/MinifyResources

Ironically, now Google PageSpeed Insights only suggests minification for... Google ads scripts.

Anyway, although this commit (fc74d80) does effectively minify the js, it leaves a lot to be desired in terms of cleanliness and simplicity. Leaving this issue open until satisfactorily streamlined.

Not going to bother with minification. Not a priority for this sort of low traffic project.


Get NAV Version, Localisation, Tenant Name in AL

Hi,
i'm trying to capture this information as part of the assisted setup. this information is going to be pushed via Azure function for our marketing team along with other information so we know who, what and when our app has been installed. I can capture most of what i want except this information; NAV version (i suppose not that import on BC), Localisation and tenant (this is just useful information not strictly needed).
in older version there was a dotnet control that allowed me to capture this? is there an alternative in AL?
(I know people might frown on me capturing this information, i might end up scrapping this approach but currently I'm looking for it).
thanks
Chris

Please have a look at codeunit 417. Localization will be found in ApplicationFamily,  tenant is under AadTenantId (we will be adding AadTenantDomainName for Fall release) and PlatformVersion to get the verison of BC.


When will version 2.7.2 be released?

When will version 2.7.2 be released?

urgent need

It will issue a release vote this week

Is there anywhere we can see the vote progress?

Is there anywhere we can see the vote progress?

https://github.com/apache/dubbo-spring-boot-project/milestone/6


Pagetree redesign

Pagetree dropdowns (separate file + tests)
integration tests
pressing shift changes icon on editing (indicates that it goes to advanced settings)

Screenshots:
Before:

Now:

(shift pressed ↑)

For me +1


[WIP] travis: Fix android build.

Override buildscripts for all subprojects with common repositories
and dependencies.

I see a 'WIP' in the PR title, but still a comment: describing what exactly this fixes and how it does in detail will be greatly appreciated 👍

I have the same comment as Boris :slightly_smiling_face:

Closing this as no longer required.


Correction for raw affiliation CIRAD, UMR AGAP, TAA108/03, Av Agropolis, F-34398, Montpellier, Cedex 05, France

Correction needed for raw affiliation CIRAD, UMR AGAP, TAA108/03, Av Agropolis, F-34398, Montpellier, Cedex 05, France
raw_affiliation_name: CIRAD, UMR AGAP, TAA108/03, Av Agropolis, F-34398, Montpellier, Cedex 05, France
new_rors: 00txxwv34;05kpkpg04;02w4exq36
previous_rors: 00txxwv34;05kpkpg04
works_examples: W2147926439
contact: aea75f66a1e4ed4c93baad4e2ddb5f73:13856f61500b64d6b7ea65e22c1ad238dc38 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


Remove timer on UndoRedoHelper and manually manage undo/redo snapshots a bit more

What does the pull request do?
Improve the undo/redo system for TextBox by removing the need for UndoRedoHelper to use a 1-second timer to store things. (The timer was causing weird issues that were hard to reproduce on my end -- sometimes I couldn't undo or redo as I expected.) The UndoRedoHelper class was only used by TextBox, nor was it public, so this shouldn't have unintended side effects outside of TextBox. Importantly, this will make undo redo consistent because it no longer relies on a timer.
This also (in my opinion) improves undo/redo for TextBox by manually managing the stack a little bit more to be more intuitive: snapshot on space, snapshot in the middle of long words (every 7 changes; 7 was arbitrary), things like that.
I had trouble getting the initial state captured (e.g. from `` to a), so I added a flag to manually get that edge case, which I don't like; perhaps someone can see a better way to get that snapshot in. I'm also not sure this will work well for non-English languages, but I think (??) it should work OK since we snapshot in the middle of long words. It would be helpful to me if someone could test this.
I'm guessing this should have some sort of perf improvement, since we don't have a timer going off every 1 second for every textbox that's been created, but I don't know how to show this nicely in this PR with pretty graphs or similar.
By snapshotting before an undo is about to occur, we removed the need to snapshot after a text change (e.g. a snapshot -> handle text change -> another snapshot).
This also fixes a bug where the UndoRedoHelper.Snapshot() func to _currentNode.Value.Equals(current) did not properly call the public bool Equals(UndoRedoState other). Not calling the right Equals func could cause an undo operation to snapshot the same text (but with a different CaretIndex as a different item to snapshot rather than a different one.
In summary, this PR:

Removes need for undo redo helper snapshot timer that happened every 1s for every TextBox (a perf improvement at some level)
Removes extra Snapshot() calls for undo/redo that are no longer necessary due to a snapshot that takes place before and undo operation
Fixes UndoRedoState.Equals use
Makes undo/redo a little nicer to use and much more consistent (because not relying on a timer)

Before
(Note the weird undo to the middle of hello, probably caused by the timer)

After

What is the current behavior?
The UndoRedoHelper class uses a timer every 1 second to snapshot the text.
What is the updated/expected behavior with this PR?
Got rid of the timer and manually managed things.
How was the solution implemented (if it's not obvious)?
It's fairly straight forward. Nothing magical, really.
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes
Undo/redo functions differently now, but I think it's an improvement.
Obsoletions / Deprecations

Fixed issues
Fixes #3370

Tried to run some benchmarks.
[Benchmark]
public TextBox InitializeTextBox()
{
    using (UnitTestApplication.Start(TestServices.MockThreadingInterface))
    {
        return new TextBox();
    }
}

BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042
Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=3.1.410
  [Host]     : .NET Core 3.1.16 (CoreCLR 4.700.21.26205, CoreFX 4.700.21.26205), X64 RyuJIT
  DefaultJob : .NET Core 3.1.16 (CoreCLR 4.700.21.26205, CoreFX 4.700.21.26205), X64 RyuJIT

Before (master at beaf783b7)

Method
Mean
Error
StdDev
Gen 0
Gen 1
Gen 2
Allocated

InitializeTextBox
159,134.0 ns
17,300.34 ns
49,358.84 ns
-
-
-
16328 B

With this change (the branch is a little old but oh well)

Method
Mean
Error
StdDev
Gen 0
Gen 1
Gen 2
Allocated

InitializeTextBox
125,612.0 ns
10,671.53 ns
31,465.26 ns
-
-
-
13656 B

So, a small improvement, I suppose.

Removing "backport candidate" just to be safe about it. Keeping in mind that this PR does not adds any functionality, but optimizes existing.


[vison] Resolving multiple issues

Issue #, if available:
Fix by gluoncv 0.10.2:

#925
#1011
#1111
#1123

Fixed in this PR

#1125
#1141

Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-1164-4 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1164/4/index.html

Job PR-1164-5 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1164/5/index.html

Job PR-1164-6 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1164/6/index.html


test PR with Github API

Please pull this in!

Docs Build status updates of commit 39121b6:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details
Dependent Files

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/OPS-E2E-PPE/E2E_SDP, working directory: W:\cq1a-s, target branch: HEAD, target branch commit: d9dc0a872e2696a0bfce3fdbbd8f6756701db3ee, source commit: 39121b62d932b526d77fa63e0d17c2d52b75b99c.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Allow pathTpl

Details
Helm chart name:
common
Describe the solution you'd like:
pathTpl to match the other tpl options in ingress settings
Anything else you would like to add:
N/A
Additional Information:
would allow for templating of path based standards. e.g.
pathTpl: '/{{ include "common.names.fullname" . }}'

Closed via #14


[bug] Kernel completed when run

Traceback (most recent call last):
File "/usr/local/bin/kernel-launchers/python/scripts/launch_ipykernel.py", line 289, in _validate_port_range
lower_port = int(port_ranges[0])
ValueError: invalid literal for int() with base 10: 'None'

https://github.com/jupyter/enterprise_gateway/pull/952

We use the incorrect image here. It is fixed by updating the image and use 0..0 as port range.


ParsecVDD cannot be run without monitors at cold start

When comes back from shutdown , any autostart of parsecvdd will fail. Then widecar cannot add new virtual dispay. I found a cli version of parsec vdd. Could widecar use cli way to add virtual display without any physical monitor at cold start as the parsec vdd gui cannot be running.

Now i use a adapter to cheat as monitor when cold start, all things with widecar works excellent. But if could get off that adapter, the workflow will be more smoother ~~ 😍

https://github.com/nomi-san/parsec-vdd/issues/13
It seems they are deving official cli supports

Third party cli support I mentioned: https://github.com/HaliComing/parsec-vdd-cli
still works in 0.45

Here's a project implements a auto connected display but there it could introduce user logic conflicts: it's always creating a virtual display on its own, which can't be managed by Widecar but you might want to stream the virtual display it created with resolution and frame rate matching, which isn't very doable at the moment.
https://github.com/timminator/ParsecVDA-Always-Connected
Another problem is from the graphics card driver side: on some devices, without a physically connected display, the driver won't release its power limit. So a dummy plug is by far the best solution for a headless setup.
You can configure the dummy plug to "disconnected" in Windows settings after you started streaming with Widecar and Windows will remember the state so you won't need to configure it again the second time you start streaming.

If none of the issues you mentioned are your concern, the only thing you need is a program to ping the driver constantly. You can try compile the demo https://github.com/nomi-san/parsec-vdd/blob/main/core/vdd-demo.cc and run it at startup.

Thank you very much for share ParsecVDA-Always-Connected. It really solves my biggest problem. Now with the default vitural display always connected, the parsecVDD app finally could autostart at cold start. It seems that default display make the graphic card work and help parsecVDD app.
By the way, your readme helps a lot. Especially the usage of MultiMonitorTool.
I wrote a rule "C:\MultiMonitorTool.exe /disable \.\DISPLAY10", since the always connected vdd is always display10 on my pc. The rule has been made as a shortcuts on my startmenu and sunshine desktop app detached command as you recommend in readme. But sometimes it will disable the wrong display which made by widecar. I don't figure out wether it's delay time not enough. Of course the windows could also remember the vdd disable state, so I finnaly delete the rule from sunshine detached rule.
PS: At first time, user should change the default option about "Options - Copy/setmonitors command mode - use  \.\DISPLAYx as name", the command in widecar readme could work.
Although ParsecVDA-Always-Connected can't be managed by Widecar, as you recommended, MultiMonitorTool should be always work with widecar as a whole.

After more test, pvdd always-connected service has confict with widecar when remove the display. As soon as widecar remove the display, the service of always-connected will made double displays.
So base on the same methods, I installed idds(hdr version) driver to light up cold start. And make a shortcuts by MultiMonitorTool to always disable it when any widecar plug in.
shortcuts: C:\MultiMonitorTool.exe /disable MONITOR\LNX0000{4d36e96e-e325-11ce-bfc1-08002be10318}\0022

Widecar is not intended to work on headless systems. It's more of a hack than a dedicated solution. The headless situation might be handled in the future with my fork of Sunshine

Hey, I think this issue is now solved perfectly
Try this:
https://github.com/ClassicOldSong/Apollo/releases/tag/apollo-0.0.0-preview
Enable "Headless Mode" in Audio/Video configuration and you're good to go!


Utilize multi-stage build to reduce docker image size

This reduces the image basically to size of the debian stretch minimal base image. I.e. size drops from ~1.2GB to ~75MB. Targeted against #129

Verified. Works. Image size dropped from 1.21GB to 76.2MB.

Does this also fix the increasing size in subsequent builds @okartau mentioned?

@balajismaniam Can you merge this? We'd like to have this one for the next release. It is annoying to generate 1.2 GB image when we can go with 75 MB.

@marquiz For posterity, can you please comment on how you tested this PR and paste the output of running nfd docker container with --no-publish on a machine with already existing features supported by NFD.

For posterity, can you please comment on how you tested this PR and paste the output of running nfd docker container with --no-publish on a machine with already existing features supported by NFD.

I tested it by running it on my test cluster and verifying that the nodes got labeled as expected.
Output from running the docker image directly:
$ docker run f7dd0fce771d --no-publish --oneshot
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/node-feature-discovery.version = v0.2.0-5-gf89491e
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-ADX = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-ERMS = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-MMX = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE2 = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-HLE = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-RDRAND = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-RDSEED = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-MMXEXT = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-BMI2 = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-CMOV = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSSE3 = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-AESNI = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-AVX2 = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-RTM = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-CX16 = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE4.2 = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-LZCNT = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-RDTSCP = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE3 = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-SSE4.1 = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-HTT = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-F16C = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-BMI1 = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-POPCNT = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-CLMUL = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-NX = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-AVX = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-cpuid-FMA3 = true
E0712 06:33:45.447186       1 rdt.go:69] support for RDT L2 allocation was not detected: exit status 1
E0712 06:33:45.450143       1 rdt.go:77] support for RDT Memory bandwidth allocation was not detected: exit status 1
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-rdt-RDTMON = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-rdt-RDTCMT = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-rdt-RDTMBM = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-rdt-RDTL3CA = true
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-pstate-turbo = true
E0712 06:33:45.450414       1 network.go:48] SR-IOV not supported for network interface: eth0: open /sys/class/net/eth0/device/sriov_totalvfs: no such file or directory
2018/07/12 06:33:45 discovery failed for source [selinux]: Failed to detect the status of selinux, please check if the system supports selinux and make sure /sys on the host is mounted into the container: open /host-sys/fs/selinux/enforce: no such file or directory
2018/07/12 06:33:45 continuing ...
2018/07/12 06:33:45 node.alpha.kubernetes-incubator.io/nfd-storage-nonrotationaldisk = true

RH version of docker does not support multi-stage builds, so if you do this, we wouldn't be able to build an NFD image using RHEL/CentOS. Is it possible to not require multi-stage?

Uh-oh! Thanks for informing about this. Are you running Kubernetes on this version of Docker?
Could a solution be enabling multi-stage builds conditionally? I think of something like doing multi-stage by default but resorting to "single-stage" if it's not supported. You should be able to run the images generated by multi-stage build, right(?) So only building would be the problem.

@marquiz, @jeremyeder
A solution could be by switching between build tools. buildah supports multi-stage builds (since v1.0, current stable v1.1) and the syntax of docker build.
Makefile:
CONTAINER_BUILD_TOOL := docker build

all: container

container:
      $(CONTAINER_BUILD_TOOL) --build-arg ....

# CONTAINER_BUILD_TOOL='buildah bud' QUAY_REGISTRY_USER=zvonkok make container -e

I was able to build from your Dockerfile with buildah. There is only one error but not related
to the multi-stage build. In your Dockerfile you're doing
make -C rdt-discovery install

that fails. The rdt-discovery Makefile is missing a install target. The tools are not installed mon-discovery, ...  rdt.go is failing.

@marquiz
The single stage Dockerfile has the following ENV to "find" the rdt tools:
ENV PATH="/go/src/github.com/kubernetes-incubator/node-feature-discovery/rdt-discovery:${PATH}"

so we need the install target for the build image to have the tools and only the tools copied to the production image.
To use COPY --from=/go/src/github.com/kubernetes-incubator/node-feature-discovery/rdt-discovery would be cumbersome and error-prone since there are also source files.

A solution could be by switching between build tools. buildah supports multi-stage builds (since v1.0, current stable v1.1)

This could be one option. But, I'd probably prefer not rely on additional (even if optional) dependencies in order to keep things simple. This will also make verification easier. #154 provides a different solution.
Any comments @jeremyeder?

A solution could be by switching between build tools. buildah supports multi-stage builds (since v1.0, current stable v1.1) and the syntax of docker build.

I gave this another thought, and, maybe it wouldn't be a bad idea at all to support an alternative build tool :smile:
I created PR #166. It doesn't contain the multi-stage changes, but, those are easily rebased on that if it is accepted and merged
Comments? @balajismaniam @jeremyeder

Especially @jeremyeder: do you think that buildah would be a suitable solution for supporting multi stage builds on RHEL/CentOS?

Yeah, it would be.  https://github.com/projectatomic/buildah/pull/495
@rhatdan was there some upcoming work to improve resultant image size when using multi-stage builds in buildah?

There is this containers/buildah#532 and a series of blog posts related to this issue about building small images with buildah.
https://www.informaticsmatters.com/blog/2018/04/04/smaller-containers-part-1.html
https://www.informaticsmatters.com/blog/2018/04/15/smaller-containers-part-2.html
https://www.informaticsmatters.com/blog/2018/05/31/smaller-containers-part-3.html
Long story, short, the resulting centos images is a quarter of the one on dockerhub.

Any objections to merging this?
Three days of "grace period", after which I'll merge this

@marquiz LGTM I have tested it on RHEL7.5 and F29 with #166 I can build multi-stage builds with buildah.


The description for dump folder size of silent exit process monitor is incorrect

The description for dump folder size of silent exit process monitor below is incorrect.

https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/registry-entries-for-silent-process-exit#dump-folder-size
The value that you enter for Dump folder size is stored in the MaximumNumberOfDumpFiles registry entry.
By default, there is no limit to the number of dump files that can be written.

The actual key name is MaxNumberOfDumpFiles and the silent process exit dump folder default size is 10.

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

ID: 6c3da798-613b-320b-c1ec-96480ac476a2
Version Independent ID: 25de8f2c-f2b9-671d-2ba9-703962214826
Content: Monitoring Silent Process Exit - Windows drivers
Content Source: windows-driver-docs-pr/debugger/registry-entries-for-silent-process-exit.md
Product: windows-hardware
Technology: debugger
GitHub Login: @DOMARS
Microsoft Alias: domars

@kemats - Thanks very much for this issue. I validated the correction that you provided, and updated the topic to use  MaxNumberOfDumpFiles with a default number of ten files. I'm glad that future users will have correct information. Thanks for caring about the docs!


add support for multiple finaldirs

where -d, --finaldir is a USB attached HDD, there could become a time when plots are being created more quickly than they can be moved to the final dir.
How about accepting a comma-separated list of final dirs, and working through them round-robin?
e.g.:
chia_plot -n 50 -r 24 -t /mnt/raid0/ -2 /mnt/ramdisk/ -d /mnt/plots/usb1/,/mnt/plots/usb2/,/mnt/plots/usb3/

also a check to see if the destination has enough space, otherwise skip to the next one.

Yes i will be great idea

yes will be a great feature

I built a bash script that will loop through an array of mount points, df works with mount points for space used, and selects one that meets the criteria set.

@Dartellum could you toss that up as a gist? That's exactly what I'm looking for

@Dartellum could you toss that up as a gist? That's exactly what I'm looking for

The logic is the function disk_space (): https://github.com/Dartellum/chia-madmax-plot_loop.


Upgrade org.codehaus.mojo:versions-maven-plugin 2.15.0 -> 2.16.0

This PR contains the following updates:

Package
Type
Update
Change

org.codehaus.mojo:versions-maven-plugin (source)
build
minor
2.15.0 -> 2.16.0

Release Notes

mojohaus/versions
v2.16.0
Compare Source
Changes
🚀 New features and improvements

Use update policy DAILY instead of NEVER for remote repositories (#957) @slawekjaranowski
Issue #74: Add display-extension-updates (#908) @ajarmoniuk

🐛 Bug Fixes

Resolves: display-dependency-updates only shows updates from the most major allowed segment (#966) @ajarmoniuk
Resolves #931: Fixing problems with encoding in UseDepVersion and PomHelper (#932) @ajarmoniuk
Resolves #916: Partially reverted #799. (#924) @ajarmoniuk
Resolves #954: Excluded plexus-container-default (#955) @ajarmoniuk
Resolves #951: DefaultArtifactVersion::getVersion can be null (#952) @ajarmoniuk
BoundArtifactVersion.toString() to work with NumericVersionComparator (#930) @ajarmoniuk
Issue #925: Protect against an NPE if a dependency version is defined in dependencyManagement (#926) @ajarmoniuk

📦 Dependency updates

Bump mojo-parent from 74 to 75 (#970) @dependabot
Bump commons-io from 2.11.0 to 2.12.0 (#958) @dependabot
Bump plexus-archiver from 4.6.3 to 4.7.1 (#950) @dependabot
Bump junit-bom from 5.9.2 to 5.9.3 (#947) @dependabot
Bump mojo-parent from 73 to 74 (#936) @dependabot
Bump woodstox-core from 6.5.0 to 6.5.1 (#944) @dependabot
Bump plexus-archiver from 4.6.2 to 4.6.3 (#937) @dependabot
Bump plexus-utils from 3.5.0 to 3.5.1 (#928) @dependabot
Bump plexus-archiver from 4.6.1 to 4.6.2 (#927) @dependabot

📝 Documentation updates

Resolves #921: Clarify dependencyIncludes/dependencyExcludes (#956) @ajarmoniuk

👻 Maintenance

Fix deprecated goals in ITs poms (#953) @slawekjaranowski
Bump actions/stale from 7 to 8 (#938) @dependabot

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade versions-maven-plugin 2.15.0 -> 2.16.0

See:
- https://github.com/mojohaus/versions/releases/tag/2.16.0
- https://github.com/mojohaus/versions-maven-plugin/compare/2.15.0...2.16.0

Replaced by #678.


On each page view, Analytics report is showing double in count

I was testing the app in demo and I can see whenever I am visiting the page in documentation the reports which are counting as double. I don't know it is because of Next.js page load issue or the visit counter issue.
Please confirm.

Just watch the network requests on your website and see how many calls are made to /api/collect.


Jekyll execution issue (nokogiri not found)

Acknowledge the following

[x] I carefully read and followed the Getting Started guide.
[x] I read through FAQ and searched through the past issues, none of which addressed my issue.
[x] The issue I am raising is a potential bug in al-folio and not just a usage question.  [For usage questions, please use gitter chat instead of raising an issue.]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to cloned al-folio repo
Execute the setup commands:

$ bundle install
$ bundle exec jekyll serve

Get nokogiri error on last command:
/Library/Ruby/Gems/2.6.0/gems/nokogiri-1.11.7-arm64-darwin/lib/nokogiri/extension.rb:25:in `require': cannot load such file -- nokogiri/nokogiri (LoadError)

Calling just jekyll in the command line give the same error.
I dont get this error outside of the repo folder.
Expected behavior
Setup the Jekyll website environment
Screenshots
If applicable, add screenshots to help explain your problem.
Jekyll error
Expected Output
System (please complete the following information):

MacOS Big Sur 11.4
Jekyll version 4.2.0
Ruby version 2.6.3p62 (2019-04-16 revision 67580)

Hello Everyone,
I am also facing the same issue when I tried to execute the command bundle exec jekyll serve within this repo.
The expected behavior was to launch the localhost to view the website but I am unable to do so. Can anyone help me in resolving this issue?
System:
macOS Big Sur 11.2.3
Jekyll version 4.2.0

related issues: #240 and #250.
generally, people have been able to resolve them by using rbenv and/or switching the ruby version to 2.7.x. it should work however with ruby 3.0.x as well (there were some initial issues when ruby 3 just came out).

Hello, I was able to solve the problem by deleting one of the two nokogiri version entry. I kept nokogiri (1.11.7-x86_64-darwin) this in the file and removed the other one. Not sure if it is the right way to do it but could not figure any other way. Would love any inputs on this.

I am running Big Sur on an intel chip Mac. Therefore I should use the x86_64 version of nokogiri instead of the arm64 version. As of the current version (182th commit) of al-folio, I changed the nokogiri (1.12.3-arm64-darwin) entry on the 110th line of Gemfile.lock file to nokogiri (1.12.3-x86_64-darwin) and was able to run bundle exec jekyll serve.

If you still face this problem, I think you should give docker installation a try. It should work just fine.


Fix for undefined variable

We're triyng to access undefined variable
$this->isMod

But should look for isMod in $this->info array
$this->info['isMod']

Thanks.