Unable to find any valuable Window provider (undefined symbol: glGetFramebufferAttachmentParameteriv)

* prepare a short, runnable example that reproduces the issue
* reproduce the problem with the latest development version of Kivy
* double-check that the issue is indeed a bug and not a support request

Versions

Python: Python 3.5.2
OS: Ubuntu 16.04.3 LTS
Kivy: v1.10.0
Kivy installation method:

Instructions from https://kivy.org/docs/installation/installation-linux.html#installation-in-a-virtual-environment
First install dependencies: python-pip build-essential git python python-dev ffmpeg libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev zlib1g-dev
Further dependencies: libgstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good
Install Cython: pip install Cython==0.25.2
Install Pillow: pip install image
Install Kivy: pip install kivy

Description
I'm trying to install kivy on Ubuntu 16.04, which is running in a Virtual Box (Version 5.1.26r117224 (Qt5.6.2) ). This is the latest version of Virtual Box. The Host OS is Windows 10.
Disabling the 3D acceleration leads to another SDL2 error:
sdl2 - RuntimeError: b'GLX is not supported'
  File "/home/aadc/tf_python/lib/python3.5/site-packages/kivy/core/__init__.py", line 67, in core_select_lib
    cls = cls()
  File "/home/aadc/tf_python/lib/python3.5/site-packages/kivy/core/window/window_sdl2.py", line 140, in __init__
    super(WindowSDL, self).__init__()
  File "/home/aadc/tf_python/lib/python3.5/site-packages/kivy/core/window/__init__.py", line 899, in __init__
    self.create_window()
  File "/home/aadc/tf_python/lib/python3.5/site-packages/kivy/core/window/window_sdl2.py", line 269, in create_window
    self.fullscreen, resizable, state)
  File "kivy/core/window/_window_sdl2.pyx", line 142, in kivy.core.window._window_sdl2._WindowSDL2Storage.setup_window (/tmp/pip-build-jka1zi38/kivy/kivy/core/window/_window_sdl2.c:2782)
  File "kivy/core/window/_window_sdl2.pyx", line 57, in kivy.core.window._window_sdl2._WindowSDL2Storage.die (/tmp/pip-build-jka1zi38/kivy/kivy/core/window/_window_sdl2.c:1872)

So maybe the error is anyhow related to the 3D acceleration (device), used by VirtualBox?
Code
Reproduce the issue in interactive python console:
python

>>> import kivy
>>> from kivy.core.window import Window

Full Error Output
>>> import kivy
Purge log fired. Analysing...
Purge finished!
[INFO   ] [Logger      ] Record log in /home/aadc/.kivy/logs/kivy_17-08-23_1.txt
[INFO   ] [Kivy        ] v1.10.0
[INFO   ] [Python      ] v3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609]
>>> from kivy.core.window import Window
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO   ] [OSC         ] using <multiprocessing> for socket
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[CRITICAL] [Window      ] Unable to find any valuable Window provider.
egl_rpi - ImportError: cannot import name 'bcm'
  File "/home/aadc/tf_python/lib/python3.5/site-packages/kivy/core/__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "/home/aadc/tf_python/lib/python3.5/site-packages/kivy/core/window/window_egl_rpi.py", line 12, in <module>
    from kivy.lib.vidcore_lite import bcm, egl

sdl2 - ImportError: /home/aadc/tf_python/lib/python3.5/site-packages/kivy/graphics/cgl_backend/cgl_gl.cpython-35m-x86_64-linux-gnu.so: undefined symbol: glGetFramebufferAttachmentParameteriv
  File "/home/aadc/tf_python/lib/python3.5/site-packages/kivy/core/__init__.py", line 67, in core_select_lib
    cls = cls()
  File "/home/aadc/tf_python/lib/python3.5/site-packages/kivy/core/window/window_sdl2.py", line 140, in __init__
    super(WindowSDL, self).__init__()
  File "/home/aadc/tf_python/lib/python3.5/site-packages/kivy/core/window/__init__.py", line 899, in __init__
    self.create_window()
  File "/home/aadc/tf_python/lib/python3.5/site-packages/kivy/core/window/window_sdl2.py", line 269, in create_window
    self.fullscreen, resizable, state)
  File "kivy/core/window/_window_sdl2.pyx", line 110, in kivy.core.window._window_sdl2._WindowSDL2Storage.setup_window (/tmp/pip-build-jka1zi38/kivy/kivy/core/window/_window_sdl2.c:2466)
  File "kivy/graphics/cgl.pyx", line 52, in kivy.graphics.cgl.cgl_get_backend_name (/tmp/pip-build-jka1zi38/kivy/kivy/graphics/cgl.c:3044)
  File "kivy/graphics/cgl.pyx", line 60, in kivy.graphics.cgl.cgl_get_backend_name (/tmp/pip-build-jka1zi38/kivy/kivy/graphics/cgl.c:2879)
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 666, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 577, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 906, in create_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "kivy/graphics/cgl_backend/cgl_glew.pyx", line 9, in init kivy.graphics.cgl_backend.cgl_glew (/tmp/pip-build-jka1zi38/kivy/kivy/graphics/cgl_backend/cgl_glew.c:3260)

x11 - ImportError: No module named 'kivy.core.window.window_x11'
  File "/home/aadc/tf_python/lib/python3.5/site-packages/kivy/core/__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)

>>> quit()

Another note: Remove and Reinstall the VBox Guest Extension did not solve the issue.

I'm trying to install kivy on Ubuntu 16.04, which is running in a Virtual Box (Version 5.1.26r117224 (Qt5.6.2) ).

I have the exact same error on all virtualbox 5.x I tried (win7pro), I've never been able to get it working after upgrading from 4.x. In contrast to your report though, disabling 3d acceleration has been a reliable workaround for me since day one, so I didn't extensively research it or anything..
The glxinfo output looks okay for me, and I can run other OpenGL apps (with caveats; see below)..
$ glxinfo | grep OpenGL
OpenGL vendor string: Humper
OpenGL renderer string: Chromium
OpenGL version string: 2.1 Chromium 1.9
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL extensions:

I don't know anything about internals of the kivy cgl or gl redirection, etc, so not sure where the symbol is supposed to be defined, but it is exported in the object file:
$ objdump -t /home/terje/kivy/kivy/graphics/cgl_backend/cgl_gl.cpython-35m-x86_64-linux-gnu.so|grep glGetFramebufferAttachmentParameteriv
0000000000000000       F *UND*<PHONE_NUMBER>000000              glGetFramebufferAttachmentParameteriv

Downgrading Kivy to 1.9.1 results in a different error message for me, seems identical to #4459: ImportError: /home/terje/kivy/kivy/graphics/texture.cpython-35m-x86_64-linux-gnu.so: undefined symbol: glGenerateMipmap. Going all the way back to 1.8 doesn't work either (but I ran 1.8 with 3d acceleration on virtualbox 4.x for a long time on the same host)

Remove and Reinstall the VBox Guest Extension did not solve the issue.

On a couple of occasions I've gotten Kivy to start with 3d acceleration enabled (ie getting past the undefined symbol), by doing

Boot VM (Kivy crashes with undefined symbol)
Uninstall + reinstall guest additions, without reboot
Start Kivy app

The app starts and I can see it draw the window, but then everything goes completely bonkers. X can't be used at all after this; weird lag, broken graphics, no response to input, etc. However, terminating X restores to a seemingly working state (I have ctrl-alt-backspace bound still). Note that I managed to completely corrupt a VM by repeating the uninstall-reinstall of guest additions a few times (not sure about exact procedure). Couldn't even revert to a snapshot after this, so be careful experimenting with a "real" VM with data...
The weirdo crash state is consistently reproducible on my system by running MegaGlest. The game starts and runs just fine, clearly with OpenGL working, but it crashes on exit and leaves the VM in the same (or at least very similar) as occurs when I get Kivy past the undefined symbol error. Could you maybe try to reproduce this on your system? (sudo apt-get install megaglest; megaglest). I've tried a couple of other games etc and didn't see this.
Do you by any chance have an nvidia graphics card? At some point in the past I came across an indication that it may be related to that, but it didn't lead me anywhere, and I don't have a reference handy..
I have the same issue for ubuntu 14.04, 15.04, 15.10, 16.04, debian 9, 8 and 7, Centos 7, Devuan jessie, and some version of Fedora.

Seeing the same here on Linux Mint 18.2 x64, which is based on Ubuntu (uname -a excerpt: 4.10.0-33-generic #37~16.04.1-Ubuntu). My VirtualBox is v5.1.28.
First of all, I'm by no means an expert on anything involving OpenGL. However, I saw that in the error log of my test script one line of it complains about:
File "kivy/graphics/cgl_backend/cgl_glew.pyx", line 9, in init kivy.graphics.cgl_backend.cgl_glew (/tmp/pip-build-05agald7/kivy/kivy/graphics/cgl_backend/cgl_glew.c:3260)

Although in the init log messages, there's no mention about glew, it says it's ignoring sdl2 for some reason:
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[CRITICAL] [Window      ] Unable to find any valuable Window provider.

So I tried instead:
(.venv) ... $ KIVY_GL_BACKEND=sdl2 python src/main.py
and that seemed to get me a window at least. Although the notification [INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored) is still there. :thinking:
TL;DR / Possible Workaround:
According to the docs ([1], [2]) you should also be able to set that inside your application, like so:
import os
os.environ['KIVY_GL_BACKEND'] = 'sdl2'
import kivy

I don't have time to investigate it any further at the moment, but hope this helps someone.

I can confirm that (a variation of) the "TL;DR / possible workaround" from the previous comment works for me:
$ KIVY_GL_BACKEND=sdl2 python3 main.py

But this fails (Ubuntu 16.04.3 LTS in a VirtualBox 5.1.6 r110634 guest):
$ python3 main.py
[INFO   ] [Logger      ] Record log in /home/evadeflow/.kivy/logs/kivy_17-10-03_7.txt
[INFO   ] [Kivy        ] v1.9.2-dev0
[INFO   ] [Python      ] v3.5.2 (default, Aug 18 2017, 17:48:00)
[GCC 5.4.0 20160609]
[INFO   ] [Factory     ] 193 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO   ] [OSC         ] using <multiprocessing> for socket
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[CRITICAL] [Window      ] Unable to find any valuable Window provider.
egl_rpi - ImportError: cannot import name 'bcm'
  File "/usr/lib/python3/dist-packages/kivy/core/__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "/usr/lib/python3/dist-packages/kivy/core/window/window_egl_rpi.py", line 12, in <module>
    from kivy.lib.vidcore_lite import bcm, egl

sdl2 - ImportError: /usr/lib/python3/dist-packages/kivy/graphics/cgl_backend/cgl_gl.cpython-35m-x86_64-linux-gnu.so: undefined symbol: glGetFramebufferAttachmentParameteriv
  File "/usr/lib/python3/dist-packages/kivy/core/__init__.py", line 67, in core_select_lib
    cls = cls()
  File "/usr/lib/python3/dist-packages/kivy/core/window/window_sdl2.py", line 139, in __init__
    super(WindowSDL, self).__init__()
  File "/usr/lib/python3/dist-packages/kivy/core/window/__init__.py", line 845, in __init__
    self.create_window()
  File "/usr/lib/python3/dist-packages/kivy/core/window/window_sdl2.py", line 263, in create_window
    self.fullscreen, resizable, state)
  File "kivy/core/window/_window_sdl2.pyx", line 110, in kivy.core.window._window_sdl2._WindowSDL2Storage.setup_window (kivy/core/window/_window_sdl2.c:2172)
  File "kivy/graphics/cgl.pyx", line 50, in kivy.graphics.cgl.cgl_get_backend_name (kivy/graphics/cgl.c:2771)
  File "kivy/graphics/cgl.pyx", line 58, in kivy.graphics.cgl.cgl_get_backend_name (kivy/graphics/cgl.c:2623)
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 666, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 577, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 906, in create_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "kivy/graphics/cgl_backend/cgl_glew.pyx", line 9, in init kivy.graphics.cgl_backend.cgl_glew (kivy/graphics/cgl_backend/cgl_glew.c:3044)

x11 - ImportError: No module named 'kivy.core.window.window_x11'
  File "/usr/lib/python3/dist-packages/kivy/core/__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)

[CRITICAL] [App         ] Unable to get a Window, abort.

I can also confirm that unchecking Enable 3D Acceleration in the settings for this virtual machine also allows the app to load successfully.

I'm also encountering the same problem on Ubuntu 16.04 .
while the minimal app(first Example from the official doc) works fine with python2.7 while it throws an error for python3 . Here is a snapshot from the command 'python3 main.py'. I am  a newbie in Kivy so can anybody help me !!

@devanshhu Can you put this code in your main.py before any other Kivy imports:
import os
os.environ['KIVY_GL_BACKEND'] = 'sdl2'

from kivy.core.window import Window

I think this has something to do with my RPi, listed below.  When I tried the "GL_BACKEND' sdl2 solution, I got segmentation fault, probably because it had already loaded sdl2. How can I stop the image provider sdl2 from loading?
https://github.com/kivy/kivy/issues/5581

@frankgould As I wrote previously, I don't know a lot about OpenGL. However, to me it doesn't sound like your problem is related to this issue.
The workaround above was about how to set an environment variable to force a certain backend, and how to do that from within your app.
Note that in the second link (CGL: standard C interface for OpenGL) it is written (emphasis mine):

KIVY_GRAPHICS – Forces OpenGL ES2 when it is gles. OpenGL ES2 is always used on the android, ios, rpi, and mali OSs

So I don't think you have a choice on Raspberry Pi and I don't think you should try to set that environment variable. I don't own one, so I can't test that, sorry.
(Taking a shot in the dark here: To better triage the problem, try to use a stable release and the same Cython version as they recommend, then see if anything changes at all. I have had problems with Cython versions other than the recommended one, and that wasn't on a more exotic OS like the RPi.)

Thank you dolang for your comments and suggestions. Today, I tried two versions of Cython but only one kivy build with an older version and all resulted in the same problem as pasted below.
FBO Initialization failed: Incomplete attachment (36054)
The reason I think these are related to the OpenGL Invalid Operation errors I'm also seeing are because tito's comment about glGetFramebufferAttachmentParameteriv above and the migration to OpenGL2.0. My understanding is that FBO is Frame Buffer Object and I'm assuming the actions tito mentions might fix the symptoms I'm experiencing. One person recommended not using sdl2 and that's why I found this post trying to learn how to stop using it.
I really think this is a kivy dev issue and would like to find someone who can help me with this. I've also offered a FREE Raspberry Pi 3 for anyone who can help me find a solution!

@frankgould

The reason I think these are related to the OpenGL Invalid Operation errors I'm also seeing are because tito's comment about glGetFramebufferAttachmentParameteriv above and the migration to OpenGL2.0

Ultimately, your guess is as good as mine (or better, you can actually test stuff on an RPi ;) but what I gathered from tito's post is that the default backend tries to access an OpenGL API whereas SDL is a bit smarter and (I assume in addition) probes for a OpenGL ES API. These are not quite the same.
And I don't know why Virtualbox would only run OpenGL ES, either, I haven't looked into it any further since then. Also, I get [INFO   ] [GL          ] OpenGL version <b'2.1 Chromium 1.9'> in my VM which would indicate it's not OpenGL ES, so... :thinking:
Anyway, according to the docs RPi only uses the OpenGL ES, that's why I'm assuming it won't help you any to fiddle with those settings, and this bug is unrelated (obviously doesn't hurt to try, though).

One person recommended not using sdl2 and that's why I found this post trying to learn how to stop using it.

I think the first log you posted in your report indicates that sdl2 isn't actually used? If you don't specify anything then the default on *nix should be gl, as in KIVY_GL_BACKEND=gl. On my VM in "sdl2 mode" (as in KIVY_GL_BACKEND=sdl2) I get a [INFO   ] [GL          ] Backend used <sdl2> in my log, whereas you have [INFO   ] [GL          ] Backend used <gl> in the log attached there.

I'm also offering a FREE Raspberry Pi 3 for anyone who can help me find a solution!

That's a nice offer, but I might have a better idea: As there are not too many people who have the necessary knowledge and the hardware to properly troubleshoot this, it would probably help a lot to instead create a KVM or Virtualbox image with your setup (or provide instructions for it).
If you can reproduce the problem in a VM*, people who don't have an RPi would be able to help you much more easily.
But we should probably move that to over your own issue, then.

*No guarantees, though — stuff is tricky as you can see, and in this specific bug report here the cause is trying Kivy on a VM instead of a real machine.

On Windows, glew and sdl2 are required as dependencies. I had the same problem. Installing all the dependencies
python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew

pip install pygame
fixed the issue for me
Ubuntu-linux 17.10 64bit
Python 3.6.3
pip freeze
buildozer==0.35.dev0
certifi==2018.4.16
chardet==3.0.4
Cython==0.28.2
docutils==0.14
idna==2.6
Kivy==1.10.0
Kivy-Garden==0.1.4
pexpect==4.5.0
plyer==1.3.1.dev0
ptyprocess==0.5.2
pygame==1.9.3
Pygments==2.2.0
requests==2.18.4
urllib3==1.22
virtualenv==15.2.0

BUT: I did not get buildozer or p4a to make android apk with python3.
So after wasting half a day I'm returning now python2.7
Terveisin, Markus

anyone found a solution to this? I'm still having it in ubuntu 18.04 gnome3

The solution hasn't changed, it's a problem with Virtualbox. You can fix it like this:
export KIVY_GL_BACKEND=sdl2

or in your code at the very start:
import os
os.environ['KIVY_GL_BACKEND'] = 'sdl2'

or disable 3D acceleration of your Virtualbox image.

actually I'm not on a VM? it's a normal install, I used kivy on ubuntu 16.04 unity with no issues but after I updated to 18.04 it started doing this.

I fixed it by updating kivy

+1 for turning off 3D acceleration in the VirtualBox machine preferences. I was getting very frustrated trying to get a Kivy app working on one of my (several) Ubuntu 16 VMs when it had worked fine on the others. I felt like Sam Jackson in Jurassic Park trying to do things that ought to work over and over again. "(Access main program...access main security...access main program grid...") In frustration I decided simply to copy across one of the VMs I knew work from a different (host) machine.
And it didn't work on the new host machine, despite being an identical guest. So the problem was clearly with the host and/or the VirtualBox setup itself. Turning off 3D acceleration did the trick.

this is still a problem on VirtualBox with Ubuntu 18.04.3. if I'm going to include kivy in an open source project, it should work. I cannot include a dependency in a project that has issues.

@comperem did it work for you if added sdl2 as the gl backend like in the example above? Otherwise it's an unrelated issue.

Thanks @paapu88 !
Installing pygame to be used instead default sdl2 worked for me on Debian 10 and Python 3.7.3.
pip3 install pygame
However i get some deprecated warning flags: Pygame has been deprecated and will be removed after 1.11.0: Call to deprecated function init in /home/kkuser/.local/lib/python3.7/site-packages/kivy/core/window/window_pygame.py line 42.Called from /home/kkuser/.local/lib/python3.7/site-packages/kivy/core/init.py line 71 by core_select_lib().


Fix the spellcheck bot

@jsoref said to do this, so I'm doing it to fix the bot.

@msftbot merge this in 1 minute

I'm not sure why the bot didn't manage to catch it.
I believe that the PR arrived by:
https://github.com/microsoft/terminal/runs/1795867418?check_suite_focus=true#step:3:63
As it isn't present here:
https://github.com/microsoft/terminal/runs/1795606332?check_suite_focus=true
But there's no sign of it having anything to say. The bot obviously generally works as I saw some items around that period where it properly complained.
Anyway, the latest version of the bot comes with a better mechanism for this. I can make a PR to upgrade tonight. (Instead of relying on a schedule, it'll trigger properly in response to the actual PR request, so you'll get proper ❌  / ✅ .)
I'm also pretty close to letting you actually talk to the bot directly -- you can see how it would work here: https://github.com/check-spelling-bot
In the long run, I do hope to teach the bot to suggest exclusions, but that's a bit down on the todo list.


Fixed typos in upgrade readme.

I'm terrible at spelling so I have a spellchecker in my vscode setup and it picked up a few things.

Please merge master.

ping @gilescope

Ah @bkchr I assumed you were asking me to rebase to latest master? ok done.

bot merge

thank you @gilescope


SMS Restore does not restore messages SMS Backup+ 1.4.5

I'm rocking a HTC incredible running CyanogenMod-7.0.3 which is version 2.3.3 of Android. I have not needed to do a restore of text messages for quite a while, and have verified that backups are functioning normally. However today when I went to restore I began running into issues.
The app functions normally when in the restore settings "All" messages is selected. However since I have 25,000 messages backed up I do not want to do a full restore.
I select to backup 500, 200, or 100 texts, and only sms messages. What happens is, I click Restore, it logs into my account and hangs up on the "Calculating" phase, and does not progress to restoring messages.
Here is a link to the logcat:
http://dl.dropbox.com/u/2811112/alogcat-output.txt
Hope someone can help, or if you need more info let me know.
Thanks!

I am having the same issue! I am using MIUI (Android 2.3.7). I did can't seem to restore any messages no matter what I try.
I couldn't restore 100, or 200, or 500. I thought I give ALL a try. So I moved all my old messages that I don't need to an SMSARCHIVE folder, and kept the ones I needed (less than 500 messages). It fails after "Calculating" for like a good solid 5 minutes with an "Error during backup/restore. IO Error".
However it won't write anything in the log file.
Thanks


ollama and continue: Free and Without-Internet alternative of GitHub Copilot!

Information

https://github.com/ollama/ollama

Basically, It is a wrapper for llama.cpp
It keeps llama.cpp server running in the background as a service of the system
In addition, multiple LLMs can be switched to perform inference without stopping the server
ollama manages LLMs in repositories with a Docker-like concept, so that models can be handled simply by pulling them

https://github.com/continuedev/continue

VSCode Extension, Free and Without-Internet alternative of GitHub Copilot
Smooth integration with ollama

Message

I have confirmed that ollama works perfectly fine on my Raspberry Pi
This means that it is possible to provide coding assistance with LLMs at extremely low cost and without Internet connectivity

ollama すごいですね！私の手元の Raspberry Pi 4B 8GB でもゆっくりとですが動きました。

情報共有の役目は果たせたと思うので閉じます 🚀


Scala Common Enrich: bump to 0.24.1

This is ad-hoc release for #3154. Could be not included in client apps (SHE or SHS).

Could be not included anywhere

Can't parse this statement - it's going into R88?

@alexanderdean I meant apps such as Scala Hadoop Enrich and Scala Hadoop Shred.

Ah right - so yes you mean "Snowplow apps are not yet including this version"

Right. And actually they could never include it.

And actually they could never include it.

How come?

Of course, thanks

Sorry for confusion.


feature(pu): add ctree version of mcts in alphazero

add ctree version of mcts in alphazero

Please note that the current ctree version exhibits comparable performance and computational efficiency to the ptree version. We plan to further optimize the efficiency of the ctree version in future updates.


Calculate the row hight

How can I find each row hight in the table

Hi @sumancreative,
I'm not sure I understood your request correctly. In which case would you need this information?
Best regards,
Ingo

Actually I am showing the data which is coming after hitting the API. And as I use wrap contact in the customer data adapter.. so the hight of a row is not same at all the time..
That's why I want to calculate the hight of the full table by using the total row present into the table multiplied by each row hight.


add erc115 weighted by token id [erc1155-weighted-by-id]

Fixes # .
Changes proposed in this pull request:

add new weighting strategy

Thanks for the review @ChaituVR the strategy you mentioned multiplies all tokens by the same weight, whereas this new strategy allows you define a different weight to each token id.
In the first example i provided i assign a weight of 25 to ID Number 1, a weight of 10 to id number 2 and a weight of 1 to id number 3.
If we passed in two wallets when calling this function

wallet a (holds 1 x token id 1)
wallet b (holds 1 x token id 2)
the result would be 25 votes for wallet a and 10 votes for wallet b

Thanks for the changes, but tests are failing @isaac-martin Can try in your local? i think this method is hitting the gas cap when we pass 500 addresses?

Thanks for the changes, but tests are failing @isaac-martin Can try in your local? i think this method is hitting the gas cap when we pass 500 addresses?

yeah it works for up to about 450 addresses, looking into it - the balanceOfBatch shouldn't be that gas intensive so not sure whats going on. Do you have any ideas?


404 on burner.kiwi

I think the page is down or otherwise unavailable. Love the project

Thank you. Yes it is down, should be back in the next day or so.

It is back up now.


Roll engine 50c2e69daff4..f2e7441b55d3 (7 commits)

https://github.com/flutter/engine/compare/50c2e69daff4...f2e7441b55d3
git log 50c2e69daff4..f2e7441b55d3 --no-merges --oneline
f2e7441b5 An API for loading fonts from a buffer provided by the application (flutter/engine#6508)
05aac0f27 fix ResourceExtractor npe. (flutter/engine#6461)
cf5a2a145 Roll src/third_party/skia b27a9cf2f4a8..419709dbb167 (16 commits) (flutter/engine#6517)
84fe4a9f7 Re-revert invalid line height tests (flutter/engine#6516)
5f529566c Add support for text shadows (flutter/engine#6385)
e44c10c96 Reland "Share engine layers with the framework" (#6412) (flutter/engine#6468)
ba0449971 Roll Dart to 1f4dfce179c8f05c9e48759300a15e671b88cc10 (flutter/engine#6515)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6323055687106560

Commit queue failed; closing this roll.


Service container

Codecov Report

Merging #328 into master will decrease coverage by 0.17%.
The diff coverage is 45.16%.

@@            Coverage Diff             @@
##           master     #328      +/-   ##
==========================================
- Coverage    89.9%   89.72%   -0.18%
==========================================
  Files         134      135       +1
  Lines        2902     2862      -40
  Branches      132      133       +1
==========================================
- Hits         2609     2568      -41
- Misses        293      294       +1

Impacted Files
Coverage Δ

...ydra/kafka/endpoints/BootstrapEndpointActors.scala
100% <ø> (ø)
:arrow_up:

.../hydra.ingest/bootstrap/BootstrappingSupport.scala
0% <ø> (-27.03%)
:arrow_down:

...in/scala/hydra.ingest/http/IngestionEndpoint.scala
96.42% <ø> (ø)
:arrow_up:

...a/hydra.ingest/http/IngestorRegistryEndpoint.scala
100% <ø> (ø)
:arrow_up:

...a/hydra/kafka/services/KafkaServicesProvider.scala
100% <ø> (ø)
:arrow_up:

.../src/main/scala/hydra/jdbc/JdbcRecordFactory.scala
100% <ø> (ø)
:arrow_up:

...scala/hydra/kafka/producer/AvroRecordFactory.scala
100% <ø> (ø)
:arrow_up:

...la/hydra/kafka/producer/AvroKeyRecordFactory.scala
100% <ø> (ø)
:arrow_up:

...n/scala/hydra/kafka/endpoints/TopicsEndpoint.scala
0% <ø> (ø)
:arrow_up:

...cala/hydra/kafka/endpoints/BootstrapEndpoint.scala
70.83% <ø> (ø)
:arrow_up:

... and 13 more

Continue to review full report at Codecov.

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


Unchecked Cores Being Downloaded

Hi,
Pocket Updater v1.6.0 seems to be downloading cores that are not checked. Please see the attached log and screenshot. For example, Pokemon Mini is unchecked but Pocket Updater still downloads it. I don't recall the previous version having this issue.
[pocket_update_log_122123.txt]
(https://github.com/RetroDriven/Pocket_Updater/files/13746589/pocket_update_log_122123.txt)

I can confirm this issue.

Same

also encountered this issue.  I only use a few cores and would like to only select the ones that I use

Confirmed... I now have a ton of cores I don't use installed. Is there a way to uninstall them?

Same problem. @preppietechie I use Pocket Sync to remove those individually.

Same
App is basically usless
And looks like is dead
Thx anyway

Pressing the "Update" button resets the JSON file where the core preferences are saved.
Please fix this

Pretty sure this app has been abandoned.

Pretty sure this app has been abandoned.

Eh, people have lives. Things happen. The code is open, so any one of us could fork it and continue the work. I’m using Pocket Sync for now. I don’t like it as much as pocket updater, but it gets the job done.
https://github.com/neil-morrison44/pocket-sync

Is this issue still happening with v1.6.1?


How do I clear this Error so that I can read the operand of the disassembled instruction again?

Clearly this would ideally be displaying:
LD $c002
but isn't.
Many thanks,
Rob.

Your example isn't reproducible. I have created a "z80.bin" file and filled it with bytes from your screenshot. Then I've imported it in Ghidra as raw binary both as "z8401x:LE:16:deafault" and "z80:LE:16:default".
I just see "LD A,(DAT_ram_c002)" at ram:7f. You have probably ran some analyzer or loaded from some structured format (ELF or something) and it added some garbage which causes glitches. Try fresh load by loading a raw bin file instead of any format and then do everything sequentially, i.e. one-by-one and not all at once (this includes any analysis, memory remaps, retypes, renames, definitions of globals etc.).

Can you provide the stacktrace details (click Details >>>) button or get from your log.
It would appear that AddressMapImpl is performing a case-insensitive check for address space names which seems to be a bug.  Our address space names are intended to be case-sensitive.
While this sppears to be a bug, you may want to check any overlay spaces you may have created and avoid re-using an existing address space name in a case-insenstive manner (e.g., if ram is defined don't create an overlay named RAM).


Aniplay.co change of structure

Source information
Aniplay 14.6
Source language
Italiano
Source new URL
https://aniplay.co
Other details
the site has kept the same site but has made changes to the display and structure with a new version of the entire site
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL is not updated yet.
[X] I will fill out all of the requested information in this form.

yes it exists but it has changed structure

The bot closed it because you used the wrong template.

Il bot l'ha chiuso perché hai utilizzato il modello sbagliato.

Oh scusa non lo sapevo, lo hai riaperto tu per me?


how to remove branch according to the length?

After extract the center line by skan, I find there are some wrong branches. I wanto to remove the short branch (for example. the branch whose length is shorter than 5 should be removed). Dose skan provide this method?
In addition, do you know how to obtain the volume for each center line? Those, we can calculate the area of volume for each branch.
Any suggestion is appreciated.

You can remove branches below a specific length with the following approach:
Let's consider the following image to be our starting point and we want to remove the small branch in the middle right side pointing downwards.

import numpy as np
from skan import csr
from skimage import io, morphology

# loading image
image = io.imread('https://user-images.githubusercontent.com/60721219/90825184-d76add00-e338-11ea-80c6-394e0bbe612f.jpg')

# make image binary
image_binary = image >= 200

# skeletonize; the skeleton is marked as True the other areas as False
sk = morphology.skeletonize(image_binary).astype(bool)

# object for all properties of the graph
graph_class = csr.Skeleton(sk)

# get statistics for each branch, especially relevant the length and type of branch here
stats = csr.branch_statistics(graph_class.graph)

# remove all branches which are shorter than the threshold value and a tip-junction (endpoint to junction) branch
thres_min_size = 5
for ii in range(np.size(stats, axis=0)):
    if stats[ii,2] < thres_min_size and stats[ii,3] == 1:
        # remove the branch
        for jj in range(np.size(graph_class.path_coordinates(ii), axis=0)):
            sk[int(graph_class.path_coordinates(ii)[jj,0]), int(graph_class.path_coordinates(ii)[jj,1])] = False

# during the short branch removing process it can happen that some branches are not longer connected as the complete three branches intersection is removed
# therefor the remaining skeleton is dilatated and then skeletonized again
sk_dilation = morphology.binary_dilation(sk)
sk_final = morphology.skeletonize(sk_dilation)

# optional checks if everything worked like expected
graph_class2 = csr.Skeleton(sk_final)
stats2 = csr.branch_statistics(graph_class2.graph)

It might not be the computationally most efficient way but worked for me.


[ML][Registries] Disable registries managed RG tag assertions

[ML][Registries] Disable registries managed RG
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Publish PowerShell Modules to PowerShell Gallery

Description of the new feature / enhancement
When releases are made available to the public, the Microsoft.WinGet.CLI PowerShell module should be published to the PowerShell Gallery. This issue is intended to track the remaining build automation to handle publishing to the PowerShell Gallery.
Proposed technical implementation details
No response

https://github.com/microsoft/winget-cli/issues/3176#event-11171900155

@denelon, https://www.powershellgallery.com/packages?q=Microsoft.WinGet.CLI solely returns https://www.powershellgallery.com/packages/Microsoft.WinGet.Client/. Am I merely too impatient?


Examples broken in python 2

Running pyglet_demo.py or pyglet_demo2.py in python 2 triggers TypeError related to unbound methods. I guess this is related to the separation of the visualization and the fact that python 3 don't have unbound functions. Not a big problem for me personally. I stumbled over it when testing py2 compatibility since this package doesn't really state anywhere what is supported.
$ python pyglet_demo.py
Traceback (most recent call last):
  File "pyglet_demo.py", line 14, in <module>
    meshes = pywavefront.Wavefront('uv_sphere.obj')
  File "../pywavefront/__init__.py", line 51, in __init__
    ObjParser(self, self.file_name)
  File "../pywavefront/__init__.py", line 72, in __init__
    self.read_file(file_name)
  File "../pywavefront/parser.py", line 46, in read_file
    self.parse(line, dir=os.path.dirname(file_name))
  File "../pywavefront/parser.py", line 75, in parse
    parse_function(args)
  File "../pywavefront/__init__.py", line 86, in parse_mtllib
    materials = material.MaterialParser(mtllib).materials
  File "../pywavefront/material.py", line 102, in __init__
    self.read_file(file_path)
  File "../pywavefront/parser.py", line 46, in read_file
    self.parse(line, dir=os.path.dirname(file_name))
  File "../pywavefront/parser.py", line 75, in parse
    parse_function(args)
  File "../pywavefront/material.py", line 131, in parse_map_Kd
    self.this_material.set_texture(Kd)
  File "../pywavefront/material.py", line 82, in set_texture
    self.texture = texture.Texture(path)
TypeError: unbound method init() must be called with _Texture instance as first argument (got str instance instead)

Fixed. Will make PR once my last ones are merged.

Great! Thanks for the report.


Error in add_at_risk_counts when using 'entry' in KM

I'm using a pandas column to indicate the entry time for subjects in a Kaplan-Meier model, but receive the following error when attempting to show the at-risk counts (using add_at_risk_counts). Everything works fine if I don't try to include the counts. Any ideas on what this might be? I suspect the way this is handled is that subjects who have not yet entered the at-risk group are labeled NaN until their entry time, but not sure how to fix this on my end. Thanks for any help or advice!
~\Anaconda3\lib\site-packages\lifelines\plotting.py in add_at_risk_counts(labels, rows_to_show, ypos, xticks, ax, *fitters, **kwargs)
    492                 .rename({"at_risk": "At risk", "censored": "Censored", "observed": "Events"})
    493             )
--> 494             counts.extend([int(c) for c in event_table_slice.loc[rows_to_show]])
    495
    496         if n_rows > 1:

~\Anaconda3\lib\site-packages\lifelines\plotting.py in <listcomp>(.0)
    492                 .rename({"at_risk": "At risk", "censored": "Censored", "observed": "Events"})
    493             )
--> 494             counts.extend([int(c) for c in event_table_slice.loc[rows_to_show]])
    495
    496         if n_rows > 1:

ValueError: cannot convert float NaN to integer

Hi @k-milligan,
hm, I'm not able to reproduce the error. Can you supply a sample dataset that gives this bug?


Add dynamic setup of gpu_limit in gke-job-template module

Triggered PR test for all blueprints with usage of gke-node-pool and gke-job-template module completed with OK status.
Verification

Blueprint: gke-a3-megagpu

Test job logs from daily test build running on develop branch, nvidia-smi is showing stat from 1 gpu (default value set in gke-job-template module)
Test job logs from PR running on the feature branch, nvidia-smi is showing stat from 8 gpu (using gke-node-pool module output to set this up dynamically), user can still override it using var requested_gpu_per_node

Submission Checklist
NOTE: Community submissions can take up to 2 weeks to be reviewed.
Please take the following actions before submitting this pull request.

Fork your PR branch from the Toolkit "develop" branch (not main)
Test all changes with pre-commit in a local branch #
Confirm that "make tests" passes all tests
Add or modify unit tests to cover code changes
Ensure that unit test coverage remains above 80%
Update all applicable documentation
Follow Cluster Toolkit Contribution guidelines #

Please add a section/comment on verifying the change- is there a way to see how many GPUs nvidia-smi has requested for e.g.?

Updated PR description with logs from test jobs running on develop and feature branch.


the container failed to start, but not with directly docker run

My containers which I want to test fail to start and I cannot find a decent way to debug it.
Even when I build my own image out of an existing and working one like ubuntu:20.04 the dgoss container start fails.
INFO: Starting docker container
INFO: Container ID: f01c4eeb
INFO: Sleeping for 0.2
INFO: Container health
ERROR: the container failed to start
INFO: Deleting container

Just a docker run -it --rm <imagename> bash works fine for the same image where the test fails.
Anyone a clue ?

What's the dgoss command you're running?
Is it also dgoss run -it <imagename> bash?
Using the same command for both should give consistent results.
For debugging you can run bash -x dgoss ...

Just a dgoss run but that one works on a default nginx container as well for an example.
So actually I'm figuring out why the -it is needed (now)


ISSUE: USPS Mail Camera mp4 file is incomplete

Describe the bug
I'm trying to send the mp4 file generated from the USPS Mail Camera in a Telegram message. But the mp4 doesn't show all the mail from the gif. If today's mail for example has three mail pieces the gif will show each piece for about 5 seconds, cycling through them. But the mp4 is only 5 seconds long and only displays the first piece. In the last fraction of a second the second piece is visible before the file ends.
Environment (please complete the following information):

OS: HassOS
Type of device: RPi4 4GB
Home Assistant version: 2023.4.6
HASS.io
Component version: 0.3.13

Logs
Screenshots
Additional context

fixed in 0.3.14

Great, thanks!


Clicks on Dialog v2/ConfirmationDialog are registered as clicks outside any underlying Overlay

Normally Primer handles stacked Overlays pretty well - there is a global registry so that clicks on higher overlays don't register as clicks outside lower overlays.
However, the draft Dialog v2 does not use Overlay under the hood, so it does not participate in this global registry. This means that if a dialog is open over something else, clicks in the dialog may register as clicks outside the other thing, causing that lower item to try to close incorrectly.
An example of this bug was encountered in Projects, where a confirmation dialog is shown when attempting to close the issue preview side panel. The side panel is an Overlay with an onClickOutside handler that attempts to close the overlay. When a close is attempted, useConfirm is used under the hood to show a confirmation dialog. Any click in that confirmation dialog will cause another close attempt, opening a new confirmation dialog and preventing the underlying promise from ever resolving.
This can be seen in this video:
https://user-images.githubusercontent.com/2294248/223213871-919d5a6e-1c51-4d5e-936e-91e35f4497ac.mov
The solution for this is to make dialog call useOnClickOutside, even if the handler for that event is a no-op. This will cause it to be registered in the global registry. Alternatively, an Overlay could power the dialog component instead of a plain Portal.

👋🏻 @iansan5653 thanks for the detailed bug report. Is this behavior actively being used in production as far as you know? And can you share whether you've found a workaround?

Is this behavior actively being used in production as far as you know? And can you share whether you've found a workaround?

Yes, we've had to work around this in two instances.
Projects Single-Select Editing
In Projects, when the user creates a new field from the board view, a form appears in an Overlay. When the user adds a single-select option, they can then edit that open, opening a Dialog to manage that option. This is a Dialog over an Overlay where we want to keep the underlying Overlay open. Here's a video of this:
https://user-images.githubusercontent.com/2294248/225062741-ba51ed5f-f6cb-4ddc-9f5f-6e59bec41735.mov
Our workaround for this was to call a no-op useOnClickOutside hook in the Dialog implementation to register it onto the global outside-click handlers registry:
  useOnOutsideClick({containerRef, onClickOutside: e => e.preventDefault()})

Projects Side Panel
Also in Projects: when a user is editing an item in the side panel (an Overlay implementation). If they try to close the panel with unsaved changes, a ConfirmationDialog appears. Here again we want to keep the underlying Overlay open while the Dialog is interacted with on top of it:
https://user-images.githubusercontent.com/2294248/225064562-cbd93880-52ff-47a7-82f0-68ac79c245f4.mov
In this case, we worked around it at the Overlay callsite by setting the Overlay's onClickOutside handler to a no-op:
  <Overlay
    {...otherProps}
    onClickOutside={() => {})
  />

This only worked in this case because we render a backdrop under the side panel so we can just detect clicks on that instead.

Hi all, I'm currently unable to reproduce the issue. When I edit an issue in a project and try to close by clicking the backdrop, then the "Discard changes?" confirmation dialog only appears once (as it's supposed to). This dialog remains on the screen until I click the 'x' or one of the confirmation dialog buttons. @iansan5653, can you clarify if this issue is still happening in production?

Hi @green6erry, this is because we've worked around the bug by setting the onClickOutside handler to a no-op in the side panel overlay so it isn't listening for clicks outside. Then we had to instead add a click listener to the backdrop to still be able to close on outside clicks.
I think we still need to fix this in PRC to avoid hacky workarounds like that

Okay cool, so just to confirm, I'm re-creating this issue locally and then fixing it, but I won't be able to verify this is working in production later?

Correct - it's a bug in PRC but it's not an active bug in production anywhere because of our workarounds.

Thanks all. Unassigning @green6erry from this issue but leaving open in the backlog. Will prioritize via https://github.com/github/primer/issues/2266.


inferno support

The styletron-inferno package didn't make it into 2.0.1.. was there a reason?
I took a look at forking the current styletron-react, but the tests make use of react-specific test utilities and i don't have time to dig into possible design/implementation differences between Inferno and React. I really wanted to use 'styled()'. It looks like I might be able to just create my own version of the StyledElement class. Do you think this would make sense?
thanks!

Haha yeah, there was lots of API churn on styletron-react, so for simplicity I dropped it. That said, I think styletron-react is stable now so adding it back in makes sense! PR would be appreciated!

Looked at it but the styletron-react tests were quite a bit more involved than the older styletron-inferno ones and I didn't know enough to say whether the test coverage would be sufficient for any changes i might make.
If styletron can rest comfortably on top of the React component interface (i haven't actually seen a formal definition.. perhaps there is one) then no worries.. there are quite a few VDOMs about and making a separate package for each seems like work.

I got the basic demo at http://www.webpackbin.com/N12fnIW7G running with Inferno after subbing in the Inferno component requires and pulling in the comfortably small/simple StyletronProvider code. Just saying.. no guarantees.

Is the intention for styletron-inferno to follow the design and API of styletron-react?
I'm using styletron-inferno as it currently stands (2.0.1-beta.1) with the connectToStyles method. If the plan is for it to follow suite of styletron-react's styled function, I could take a look at implementing this if you like @rtsao?

@wagerfield Yeah, it's meant to be the same. But in the early days, when the API was pretty unstable, I just deleted the inferno variant because it was somewhat of a hassle to make changes in both versions.
If you wanted to take a stab at it that'd be awesome!

@rtsao I had a look at it and I'm going to have to concede—I've not used TypeScript before, so it's pretty difficult to get my head into the code. Could I please defer this back to you?
Would it be much work cloning the styletron-react package and doing the necessary rewiring for inferno? I would really like to use the styletron-inferno package as you intend it to be with the matured styled HoC function.

TypeScript has nothing to do with the code. It's just a declaration file for those who use TypeScript. So if you copy styletron-react just remove index.d.ts.

@faddee ok, I'll take another look.

Figured it all out now and have a nice succinct port of styletron-react.
Should have a PR ready by the end of tomorrow @rtsao.

Quick update—almost ready to create a PR. All code is written, as is the README and tests. All tests are passing par 1...but the reason the test is failing is due to a bug in Inferno's test utils.
I filed a bug here, where you will see that it has nothing to do with Styletron, but is preventing me from querying the output from Inferno which I need for the tests to work!
As soon as this bug is resolved with Inferno (I'm working to fix this myself right now) then I will create the PR.

@wagerfield do you mind putting your PR somewhere as WIP so I can try it out? While waiting for Inferno folks fix up the issue?

@kenvunz @rtsao I've joined the Inferno team and have been working on the inferno-test-utils for this past week. I hope to have them wrapped up by the weekend, ready to ship in the next update. styletron-inferno will be able to ship moments after Inferno's test utils are published...hold in there.


magnets get slow speed

first it didnt work because of my nginx config i belive, i was getting this error
WebSocket connection to 'ws://xxxxxxxxxxxx' failed: Error during WebSocket handshake: Unexpected response code: 400.
Then i updated it and now it just loads until it fails.
`server {
server_name site.com;

add_header X-Proxy-Cache $upstream_cache_status;
location / {
    proxy_pass http://xxxx:3000;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_redirect      off;
    proxy_set_header Host $host;
    proxy_set_header    X-Real-IP       $remote_addr;
    proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
}

}`

nvm have to use this converter
https://nutbread.github.io/t2m/
anyways im downloading this magnet from iptorrents and im getting really bad speeds compared to just if i search something, is something wrong?

ah iptorrents dont work with magnets


docs: add live toast example

on that topic, it would be nice if our documentation had an actual live example of a toast that starts out hidden, and is then triggered (just by a simple button). just to see it actually in action (and to potentially debug things like this). or failing that, a live example/demo that's linked from the docs.
Originally posted by @patrickhlauke in https://github.com/twbs/bootstrap/issues/28752#issuecomment-490859956

@XhmikosR, do you mean like this. If so(or something similar) I would do this.

Actually we have #31330, so this is a duplicate issue


StyleCopPlus rules

Is there a plan in the future to implement StyleCopPlus rules (http://stylecopplus.codeplex.com), the most useful ones would be the advanced naming rules and the ones relating to the number of lines allowed in a property, method or file  ?
Configuration would be done in stylecop.json, not through a UI like StyleCopPlus does.

Duplicate of #782 (don't feel bad, it took me a while to find it too).
See that issue for status and description of next steps if you are interested in these rules.


Add a new DanglingCloseParenthesis option to restore old dangling parenthesis behaviors.

This PR attempts to resolve https://github.com/daniel-trinh/scalariform/issues/29 by introducing a new trinary state preference DanglingCloseParenthesis. DanglingCloseParenthesis = Prevent should be equivalent to the old default behavior, DanglingCloseParenthesis = Preserve is equal to the old PreserveDanglingCloseParenthesis = true, and DanglingCloseParenthesis = Force is the current default behavior.

:+1: This is exactly how the option ought to be presented. I'm not familiar enough with the codebase to comment on correctness, but this definitely deserves some serious attention.

:+1: is the default the same as the original (pre-daniel fork) default? (i.e. the one in scala-ide)

I've had a quick look through and it all looks sensible to me. @daniel-trinh can you please merge?

@daniel-trinh please acknowledge/merge this PR. It is becoming extremely critical for a lot of people.

I haven't had a chance to test this yet -- I'll merge it once I've had some time to test this in relation to other scalariform features.
The headache with adding new features and more configuration formatting options to scalariform is making sure it doesn't break some other formatting preference. The unit tests are a good start, although generally they only test against scalariform using default settings, unless explicit permutations are written for other combinations of settings.

We need some integration tests on a few big projects.

:+1: We are blocked on upgrading to a newer version to fix another issue by this issue, please merge!

great to see movement on this PR! I'm watching it eagerly.

:+1:

@daniel-trinh ! Ping

@daniel-trinh ! PING

is this ever going to get merged @daniel-trinh ?

There looks to be a bug when there is a comment on the line right before a parenthesis when using the Prevent option -- the parenthesis gets indented instead of being placed on the previous line:
Before
  case class FqnSymbol(
      id:         Option[Int],
      file:       String, // the underlying file
      path:       String, // the VFS handle (e.g. classes in jars)
      fqn:        String,
      descriptor: Option[String], // for methods
      internal:   Option[String], // for fields
      source:     Option[String], // VFS
      line:       Option[Int],
      offset:     Option[Int]    = None // future features:
  ) {

  case class FqnSymbol(
      id:         Option[Int],
      file:       String, // the underlying file
      path:       String, // the VFS handle (e.g. classes in jars)
      fqn:        String,
      descriptor: Option[String], // for methods
      internal:   Option[String], // for fields
      source:     Option[String], // VFS
      line:       Option[Int],
      offset:     Option[Int]    = None // future features:
      ) {

That should be easy enough to fix. I'll look into it later today and add a new test case.

@daniel-trinh: After looking into it, this is the behavior of old versions of scalariform before 1.5.0 where preventing dangling parentheses was the default.
Logically it cannot be placed on the previous line since then it would be part of the comment. An alternative is to format this specific instance as if DanglingParentheses is set to Force. Since it reduces inconsistency, I think this is the way to go and I have pushed a commit to that effect. However there is backward-compatibility to consider. If you want to preserve backward-compatibility with pre-1.5.0 versions of Scalariform, please revert https://github.com/daniel-trinh/scalariform/commit/b5ed32f933654e796a992d97e13d70cc30dc0572.

Another possible strategy is to create a new, deprecated option that preserves the old behavior so that users may upgrade cleanly and migrate to a non-indented close-parent slowly then remove the option in a few versions.

I think this was a genuine bug in the original so I'm happy without a compatibility flag.

Ok, using the new Force behavior in the case of a comment on the previous line seems like a reasonable approach.

W00T! Are we getting a release?

I'll look into a possible release in the next few days for scalariform itself. Sbt-scalariform is still TBD while I figure out how much I want to try to improve the autoplugin behavior in the next release.

That's great news! No problem with the sbt, it's possible to independently fix the scalariform version so long as sbt-scalariform is binary compatible with all versions of scalariform (that means not using new or renamed config options by default)


Credit Transactions | Adjust label for Downloading Spreadsheet |1|

https://trello.com/c/kqFx5fuk/820-credit-transactions-adjust-label-for-downloading-spreadsheet-1
This card is to change the label on the Download as Spreadsheet button to

Download [excel/spreadsheet icon] *

 Credit Transactions | Adjust label for Downloading Spreadsheet |1|


Script fixes and minor clean ups in sample Grid, fixes #30

The earlier commit fixes #30. The one after is minor improvements which you may wish not to take.

This is great, thanks for your contribution!


Add sell value to runes/insignas

The latest update added the value of runes/insignas to items in your inventory which is a big QOL feature.
The value shown is the buy value. It would be nice to add the sell value as well. So you'd end up with [name of rune]: B: [buy value] S: [sell value] . Here's what I mean

Values are fetched from kamadan trade website, currently only buy value is available


Result from connector ok but does not draw the results on the i2 chart.

Hello everyone.
We have an issue with a connector that launches a seeded search:
That same seeded search does work in our demo environment (with a schema slightly different). We replicated the connector to a different environment (the schema is similar but probably with different item types and so with different type IDs- we are being carefull with that, and in fact double checking right now).
The search of an entity PERSON works. That entity becomes the seed:
We launch the seed search and we do get link data in the I2ConnectLinkData, with response /POST 200 (ok), but it is unable to paint the data into the chart.
We get the follwing error:
"Failed to open the selected query. Contact your system administrator".
In the connector side, we can see all the parsed data, so the query is done and have succeeded in returning data.
What should we check?
I enclosed images with the code.
Many thanks for any help you can provide.
Luis.

HI Luis
Can you let us know which version of i2 Analyze and Analyst's Notebook Premium are you using on your demo environment and on the machines you are now trying to use this on.
You can find the i2 Analyze version at the beginning of one of the log files stored in the toolkit/configuration/logs directory on each of your toolkits on the Liberty servers and the Analyst's Notebook Premium one is available in the  About information in that application accessed from its File menu. I expect they are the same on both systems but want to be sure as we have changed a fair amount to do with schemas and i2 Connect recently.
The troubleshooting guide offered as part of the GitHub resources here:
https://ibm-i2.github.io/Analyze-Connect/content/miscellaneous/troubleshoot.html
Has an entry for the issue you have reported,  so have a look at that information and in the log files it tell you about  and see if it can help you figure out what is going on here.
You mention that the schema and ID's  used in each are a bit different so, as you say,  it is good to check that what you are referencing is still correct in the system you are now trying to use.
Thanks,
Tony

Hello Tony,
I am Luis associate, so I have checked the loggs and the error is the next one:

The identifier of the entity is the unique id in the external source SQL database table. There is no other identifier, so how can the error be solved?
Next, I am going to check the versions of i2 Analyze and Analyst's Notebook Premium.
Thank you,
Alice

Hi Alice
What is doesn't like is that it thinks you are trying to send the same  record data more than once in the results you are returning because it has been given results where the Identifier PER0000020RPG2  appears more than once.
If you look in the data your connector returning to us  you will see this.
So it could be perhaps that you are using one of the end entity Identifier's as the Identifier for your relation link because in your external system an Identifier does not exist for the relationship itself?
If you did that and your seed entity  was linked to several other entities  you might get that sort of problem.
What value are you supplying for this.RelationTypeId in your createRelation function?
If you do have unique identifiers for your relationships then it could just be that you are really incorrectly sending  end data for a relation more than once.
You can use a free application like  Fiddler to see the content of the communications that are coming back to your client machine and see what is actually being returned  if you have not already done that.
Cheers

Hi again,
The relation has its own identifier, but I am using the same id for the user entity id and the from end id field in the link. Could that be the problem?  Which value for the end id should be then?
Thanks,
Alicia

Hi Alicia
It is normal for the fromEndId and toEndId to match the identifiers of the  end entity records  that they link to.
The log is saying that more than 1 incoming record has the same identifier so it is not referring to these end identifiers in the link record but to the incoming record identifiers themselves.
When you are doing something like an expand your SQL might be returning the entity records that relate to the from and the to ends of the relations with every relation link.  If so it might  have included the person entity record  that is the seed entity for example several times.
Looking at the data that is returned in the expand results should show this if it is the case.
Cheers
Cheers

I believe this issue has been resolved, but if not then feel free to reopen it @logicalis-i2 @aliciags


RAKULIB and PERL6LIB problem

The recent addition of RAKULIB to the master branch has somehow caused some problems with roast test files added or modified for RAKULIB and PERL6LIB.
See details of the problem with gist https://gist.github.com/tbrowder/21c84659996a32b836f9b711463e2a7c
I have not tried to return to the original test formats before the changes, but I will try them in another PR.

Okay, I'll try removing them.

I removed the lines you mentioned but the failure still occurs. It sure looks to me like a Rakudo bug. Rakudo is looking for the experimental module and dies when it can't find it. Weird!


Installing with curl creates CHANGELOG, LICENSE, README.md files in local directory

Thanks for an awesome command line tool! After updating to 0.6.0 I have set an alias yo=yai since I like the interaction of typing "yo do this", "yo explain" etc 😆
When using the recommended way to install: curl -sS https://raw.githubusercontent.com/ekkinox/yai/main/install.sh | bash, three files are created in the directory where the command is executed:

CHANGELOG.md
LICENSE
README.md

Demo:
$ ls

$ curl -sS https://raw.githubusercontent.com/ekkinox/yai/main/install.sh | bash

Downloading version 0.6.0 from https://github.com/ekkinox/yai/releases/download/0.6.0/yai_0.6.0_darwin_arm64.tar.gz

######################################################################## 100.0%

Installation of version 0.6.0 complete!

$ ls
CHANGELOG.md	LICENSE		README.md

$

Hello 👋
Can you try:

running uninstall script (backup your config file if needed)
removing yo alias
install again
redo yo alias
reapply your config if you did a backup

If still not working, another solution would be to download from the repo releases (Darwin arm64 for you apparently)
Let me know! 👍

Closing for inactivity


New package: KML v0.1.0

Registering package: KML
Repository: https://github.com/JuliaComputing/KML.jl
Created by: @joshday
Version: v0.1.0
Commit: 5dd4faa600017f63fda291626331d3cc577b443c
Reviewed by: @joshday
Reference: https://github.com/JuliaComputing/KML.jl/commit/5dd4faa600017f63fda291626331d3cc577b443c#commitcomment-74525996
Description: Write in Google Earth's KML format in pure Julia

KML is the format used by Google Earth.  A quick google search only contains hits about the KML format, so as far as I know, there's little room for ambiguity about what this package is.

Bump.  "KML" is more widely recognized than "Keyhole Markup Language" and thus "KML" would be how people search for this package.


Update info for Alison Dowdney

You should update "image" to point to your new file: "alison-dowdney.jpg"

@cjyabraham fixed!


qps drop 50% when inject ticdc owner io hang

What did you do?
1、create changefeed
2、run sysbench
subType:"oltp_read_write"
tableNum:64
tableSize:70000000
threads:32
3、inject ticdc owner io hang
What did you expect to see?
qps should be normal
What did you see instead?
qps drop 50% when inject ticdc owner io hang

Versions of the cluster
./cdc version
Release Version: v8.1.0
Git Commit Hash: 38eb040812f817df410abe870952629df60fd01f
Git Branch: HEAD
UTC Build Time: 2024-04-30 06:27:14
Go Version: go version go1.21.4 linux/amd64
Failpoint Build: false
current status of DM cluster (execute query-status <task-name> in dmctl)
No response

/remove-area dm
/area ticdc
/type enhancement
/assign asddongmen

The HA test results from last week (2024/5/15 - 2024/5/19, conducted 3 times) indicate that the CDC does not impact upstream performance. If the issue reoccurs, I will examined further.
@Lily2025
cc @flowbehappy


Remove unneeded macOS-specific code

Jenkins Build Summary
Built from this commit
Built at 20180406 - 00:38:08
Test Results

Build Type
Log
Result
Status

docs
logfile
1 cases, 0 failed, t: 2s
PASS :white_check_mark:

clang.debug.unity
logfile
1012 cases, 0 failed, t: 246s
PASS :white_check_mark:

msvc.debug
logfile
1008 cases, 0 failed, t: 551s
PASS :white_check_mark:

coverage
logfile
1012 cases, 0 failed, t: 604s
PASS :white_check_mark:

clang.debug.unity, PARALLEL_TESTS=false
logfile
1012 cases, 0 failed, t: 471s
PASS :white_check_mark:

clang.debug.nounity
logfile
1010 cases, 0 failed, t: 150s
PASS :white_check_mark:

gcc.debug.nounity
logfile
1010 cases, 0 failed, t: 124s
PASS :white_check_mark:

gcc.debug.unity
logfile
1012 cases, 0 failed, t: 238s
PASS :white_check_mark:

clang.release.unity
logfile
1011 cases, 0 failed, t: 322s
PASS :white_check_mark:

gcc.release.unity
logfile
1011 cases, 0 failed, t: 343s
PASS :white_check_mark:

gcc.debug.unity -Dstatic=true
logfile
1012 cases, 0 failed, t: 236s
PASS :white_check_mark:

msvc.debug, PROJECT_NAME=rippled_classic
logfile
1008 cases, 0 failed, t: 1131s
PASS :white_check_mark:

msvc.release
logfile
1007 cases, 0 failed, t: 498s
PASS :white_check_mark:

Codecov Report

Merging #2470 into develop will decrease coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #2470      +/-   ##
===========================================
- Coverage    70.34%   70.33%   -0.02%
===========================================
  Files          701      701
  Lines        53467    53467
===========================================
- Hits         37614    37606       -8
- Misses       15853    15861       +8

Impacted Files
Coverage Δ

src/ripple/beast/core/CurrentThreadName.cpp
100% <100%> (ø)
:arrow_up:

src/ripple/server/impl/BaseHTTPPeer.h
87.03% <0%> (-3.09%)
:arrow_down:

src/ripple/protocol/impl/STVar.cpp
86.07% <0%> (-2.54%)
:arrow_down:

src/ripple/rpc/handlers/GetCounts.cpp
78.87% <0%> (-1.41%)
:arrow_down:

Continue to review full report at Codecov.

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

great change. This allows us to eliminate objective-c compilation completely, which I've done in this commit if you want to grab it.

Still :+1: from me with commit from @mellery451

I'd probably mark @mellery451's commit as "fold" and merge this whole PR as one commit

Still :+1: from me on macOS with commit from @mellery451.


✨ v0.7.0

Summary
This is the last commit before the v0.7.0 release is cut.

Closing in favor of https://github.com/danny-avila/LibreChat/pull/2266
Can't name the branch the release name :P


Scrolling vim in tmux while a separate pane is processing data causes corruption

Given this setup

Scrolling a vim split while the middle left pane is printing will cause vim to become corrupt as shown in this screenshot:

I have a theory that this is because writing to the pty is not synchronized at all. The input thread simply writes to the file descriptor when it has data to write. The only way to test if this is true would be implementing an actual event loop for I/O. The easiest way to do that is dropping mio into the pty thread and sending all writes from the input handling over the mio channel.

I actually managed to reproduce it with a slightly simpler tmux arrangement. It did not seem to be an issue when there was not a vertical split on the bottom.


Deployment Error with Record Types with picklist values.

I'm deploying with github to salesforce but getting these many errors. Record types and list views are under Case object. But it can't deploy that and giving errors. It's not getting the special characters and spaces.
Short summary of what is going on or to provide context.
Steps To Reproduce:
NOTE: If your issue is not reproducable by dreamhouse-lwc, i.e. requires specific metadata or files, we require a link to a simple Salesforce project repository with a script to setup a scratch org that reproduces your problem.

This is step 1.
This is step 2. All steps should start with '1.'

Expected result
Describe what should have happened.
Actual result
Describe what actually happened.
System Information

If you are using sfdx

Run sfdx version --verbose --json

If you are using sf

Run sf version AND sf plugins --core

Paste the output here

Additional information

there's some System Information that would make this issue more useful.
It also looks like your Record Type is referring to a picklist value that's not there.  Did the field deploy to the org?


Make compile-only work on non-gpu hosts

Previously, we could compile Triton kernels on non-gpu hosts. However, it started to fail recently once we switch to the latest version of Triton.
In our workload, we have a way to compile all relevant Triton kernels beforehand (AOT), and then launch/run these kernels on gpu hosts, so kind of build and run are two separate processes.
This PR is trying to make Triton compile work again on non-gpu hosts.

cc @bertmaher


tag in  tag on some pages in flowbite-react.com

Discussed in https://github.com/themesberg/flowbite-react/discussions/887

Originally posted by khylpe July 28, 2023
Hi, I noticed an issue in the documentation related to the following structure:

    Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons,
    dropdowns, modals, navbars, and more.

This structure creates an error, which seems to be expected due to the HTML standards:

I wanted to ask whether this is an error in the documentation, or if it is intentionally designed this way?

After a bit of digging, the https://mdxjs.com/ library wraps an extra
 html tag when it detects plain text content.

I don't think this is an issue anymore. I couldn't find any example since it was moved to mdx.

It got fixed by the new docs engine.


cargo doc --open does nothing

The command cargo doc --open should build the docs, and open them in a browser after compilation finished.
The command only builds the docs, but after building is finished no further action takes place(opening doc in browser). The problem exists for me on both windows and arch linux. Both operating systems have firefox configured as their default browser.

Do the docs open if you run cargo doc; xdg-open target/doc/CRATENAME/index.html? Also, are you running cargo doc inside a shell or inside some other program? Lastly, what is the name of your package? (Specifically, does it contain a hyphen?)

xdg-open works just fine. I am using the kde konsole, in which regular bash is running. Also my the full path to my project does only contain [a-zA-Z] characters.

For me cargo doc --open works fine with KDE/Konsole (default browser is Chromium).
Cargo version:
cargo 0.0.1-pre-nightly (471c519 2015-04-08) (built 2015-04-09)

KDE / Konsole:
Qt: 5.4.1
KDE Frameworks: 5.9.0
Konsole: 15.04.0

My versions are:
Qt: 5.4.1
KDE Frameworks: 5.8.0
Konsole: 3.0.1
For the date of me making the bug report, these version were very recent. What is about the Konsole version 15.04.0? On my OS (archlinux) Konsole 3.0.1 is the most recent  one.

I'm using Arch Linux too, with the testing and kde-unstable repos.

Ah okay. Maybe it will work, when I get access to kde  frameworks 5.9.0 and the more recent konsole. I do not want to use testing, but I will come back here and comment again, when I get the update.

This happened to me, and after some digging I think I may have isolated the problem. Although, I'm not sure if my particular case is the same as @ruabmbua's.
If the package has executables only but no lib (i.e. src/lib.rs), then cargo doc --open wouldn't work. A workaround is to specify the package name explicitly: cargo doc --open --package <name>.
There's another separate case: when the package name contains a hyphen in it, then cargo doc --open would also fail (and silently, too). A workaround is to add a [lib] section in the manifest with a different name from the package, and it must not contain a hyphen.
I'm guessing both behaviors are unintended. I believe know where the culprit lies and I may open a pull request soon... once I devised a viable fix.

@mohtar: Yes it seems like I habe the same issue(not having a lib.rs in my source tree).

Well that confirms my suspicions then!

I had a similar problem. cargo doc --open was opening KDE Itinerary. But fixed it in KDE system settings on my Arch Linux + KDE Plasma machine. Go Settings > Applications > File Associations > text > html and Move Up or Add... your favorite browser


fix: use right artifact for binaryen in case of linux aarch64

Thanks for the PR!

Your welcome, could you create a new release with this change?

Sure, I can do that a bit later today. Out of curiousity, what are you running aarch64 linux on?
On Fri, Mar 1, 2024, at 7:23 AM, morenol wrote:

Your welcome, could you create a new release with this change?
—
Reply to this email directly, view it on GitHub https://github.com/leptos-rs/cargo-leptos/pull/257#issuecomment-1973381408, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVBTCIOLJVKX3LSSIDXZ4TYWCMPZAVCNFSM6AAAAABEBAXLVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZTGM4DCNBQHA.
You are receiving this because you modified the open/close state.Message ID: @.***>

A custom GitHub runner

@morenol A new version with that change has been released


Kubernetes OIDC

Configure Kubernetes to trust tokens from Keycloak

[x] Configure OIDC issuer url and client ID for API server
[x] Make sure OIDC issuer URL is updated for ready-to-go clusters

DONE


[Event Request] Codeunit 6620 "Copy Document Mgt." - OnCheckCopyFromSalesInvoiceAvailOnBeforeCheckItemAvailability

Hi team,
In Codeunit 6620 "Copy Document Mgt." procedure CheckCopyFromSalesInvoiceAvail we would like to have the ability to run some custom code before checking item availability, for that an event would be a good solution:

[IntegrationEvent(false, false)]
local procedure OnCheckCopyFromSalesInvoiceAvailOnBeforeCheckItemAvailability(var ToSalesLine: Record "Sales Line"; var FromSalesInvLine: Record "Sales Invoice Line")

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Can we configure tasty-discover from the CLI?

I just read https://ro-che.info/articles/2018-01-08-tasty-new-patterns.
It'd be so much cooler if we didn't have to configure tasty-discover from the test driver file.
Instead of doing:
{-# OPTIONS_GHC -F -pgmF tasty-discover -optF "-p foo" #-}

(which actually doesn't even work, see https://github.com/lwm/tasty-discover/issues/149)
You'd just do (if you use Stack):
$ stack test --test-args "-p foo"

This would make the CLI experience way better.

This doesn't sound possible, unless you use environment variables.
The way it runs as a preprocessor is convenient for redistributing and hooking into hackage/stackage. It might be easier for people to debug and understand if the convention changed to using this from a shell script that invoked this program, then invoked cabal/stack test (for nix-build, invoking the discovery could happen in precheck phase). Under such a change, the output module could be committed to source control.... There might be a downside to this related to TH or c preprocessor.


Support for Git Tagging to publish different content versions

Hi Team,
currently Azure DevOps wiki engine supports publishing different content versions based on a versioned branch of a Git repo.
Do you plan supporting git tags for different content versions?

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

ID: c697355f-1e75-27a9-8214-195c26ede4e7
Version Independent ID: 3f62c207-5449-d7f3-f3b3-82d6fc8f014d
Content: Publish, select, or unpublish a wiki version - Azure DevOps
Content Source: docs/project/wiki/wiki-select-unpublish-versions.md
Product: devops
Technology: devops-collab
GitHub Login: @chcomley
Microsoft Alias: chcomley

@VOVELEE Thank you for the question.
Please refer to the Azure DevOps timeline for new features currently slated on the release schedule.
If this feature is missing, provide input to and get feedback from the product team by submitting this as a feature request here.

Thanks.
I already reviewed timeline - there is nothing planned for Git Tagging and wikis.
I have submit feature request


Update attribution of integer Sqrt in Number.cs

Directly link to answer.
#228

Can't merge it to master directly. Tried to change the target to develop but failed. I think it's better to close this PR and open a new one with the correct target.


zoom with estimated radius to avoid zooming to far

https://github.com/BabylonJS/Babylon.js/issues/6215
testPG: #DQ29UL

Pinging @MiiBond for validation

I just tested this out. It's much easier to use now!
However, now zooming in requires a lot more turns of the wheel than zooming out does. From our usability perspective, this is much better but it still feels like zooming in and out should ideally require the same amount of effort.

@deltakosh @TrevorDev
I'm definitely seeing issues with this change when zooming in very quickly. The camera bounces back instead of forward.
https://www.babylonjs-playground.com/ts.html#WFAW5A#2
The problem seems to be that estimatedTargetRadius is allowed to go negative. A simple clamp might fix it.

Sure, Ill try clamping it, see PR and let me know if it fixes it for you. (I cant seem to repro with my mouse)

@TrevorDev that solves it for me. Thanks!


Fix Error on install: -bash: -e: command not found

Fixes #5
Before merging though, i do think it's good to know why in the first place the -e option was added. So we are sure there is nothing breaking with this fix.

Thanks @thvd. @rrmehta2 can you take a look?

In commit b5f0a380 the echo command added the -e argument to generate.sh. The next commit only updates sfdx.bash, which was probably the result of running generate.sh and not testing output.
The problem is that when running generate.sh with something other than the correct version of bash, if the resolved echo command doesn't recognize the -e arg, then the running shell will just echo "-e".
So when sfdx.bash was last generated and committed, it was probably done with something other than bash4. Given the comment here: https://github.com/wadewegner/salesforce-cli-bash-completion/issues/2 I'm wondering if bash3 was installed for testing and not removed.

I think @mloh is correct. -e was added to generated sfdx as a result of -e flag that was added in . generate.sh. Its weird but for some reason it looks like -e is not required (and adds extra -e character) for interpretation of escape characters when it comes to generating sfdx from generate.sh with echo. So i don't think merging this will break anything. But as of now current master branch is failing because of the extra '-e' character and won't work whatsoever until you remove it from the generated sfdx script.

FWIW, this allowed me to install and run the code.

@wadewegner looks like this pr helps people run the code. Is there anything needed in order to merge this one?

Sorry all. This should have been fixed a long time ago. I just pushed an update to generate.sh and this resolved the problem.


Fix generate listview with parameter

Running ignite g listview TestRow --type=Row fails with an exception because a variable is undefined. This change defines the variable. It also makes it so that --dataType can be passed as a parameter.

This is related to #11

awesome!   Thanks so much.   Do you know if there's any place in the docs that should have been updated as well?   This is the problem with playing catchup on docs 💃

There was no change in behavior so I did not think to look, but I'll take a look tomorrow morning.
On Apr 4, 2017, at 4:09 PM, Gant Laborde <notifications<EMAIL_ADDRESS>wrote:
Merged #12https://github.com/infinitered/ignite-ir-next/pull/12.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/infinitered/ignite-ir-next/pull/12#event-1028466353, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGinBxrYXo0NKAqsKcmTorWW3nvQcogjks5rsk8JgaJpZM4Mys9X.


Don't throw for OnStarting or OnCompleted calls.

I had to implement a ResponseFeature in SignalR that doesn't throw because we do by default. It really shouldn't throw.

@JunTaoLuo yea the problem is tests not real apps


modules: list available module versions

Go has go list -m -versions to list remotely available versions of a module:

The -versions flag causes list to set the module’s Versions field to a list of all known versions of that module, ordered according to semantic versioning, lowest to highest. The flag also changes the default output format to display the module path followed by the space-separated version list. Retracted versions are omitted from this list unless the -retracted flag is also specified.

We should almost certainly have something similar for CUE modules.

Do we want to emulate Go's interface 1:1 here? They started with package commands like go list and go mod why, and awkwardly later on added go list -m and go mod why -m. It works, but it's often confusing that e.g. go mod why doesn't work on modules even though it starts with go mod.
Starting from scratch with the CLI design, I think we could do better, but I don't have a concrete proposal. Perhaps in the case of cue list, cue list for packages and cue list -m for modules is still okay.

My mention of go list -m -versions was definitely not a vote for that naming :)


Installing pdm-shell downgrades pdm

Installing pdm-shell downgrades my pdm version from 2.2.1 to 1.15.5
This causes problems with other plugins I have installed.

https://pypi.org/project/pdm-shell/
Fixed it in 1.1.0

Wow, thanks a lot! 👍


gravity archived on CRAN

Mauricio, the gravity for which you took over maintenance got archived on CRAN a couple of days ago because an e-mail was not deliverable to the maintainer address. It would be great if you could update the package correspondingly and resubmit to CRAN.
I don't know what the content of the e-mail was that CRAN tried to send to you though, the latest CRAN checks for your package seemed fine. I would recommend to ask about this when you resubmit the package.

Thanks @pachadotdev very much appreciated!


add docs for service.spec.allocateLoadBalancerNodePorts

Signed-off-by: Andrew Sy Kim<EMAIL_ADDRESS>Add docs for using service.spec.allocateLoadBalancerNodePorts to optionally disable node port allocation for a Service Type=LoadBalancer. Replaces https://github.com/kubernetes/website/pull/24928.

/assign @uablrek

/milestone 1.20
/assign @kcmartin
/sig network

page preview: https://deploy-preview-25228--kubernetes-io-vnext-staging.netlify.app/docs/concepts/services-networking/service/#disabling-load-balancer-node-ports

Hi @uablrek @kubernetes/sig-network-pr-reviews Can you provide a tech reivew / lgtm?

/lgtm

/lgtm
/approve


Add support for complex counter values

This allows having a single map value to support multiple counters:
ivan@vm:~$ curl -s http://localhost:9435/metrics | fgrep block_rq
# HELP ebpf_exporter_block_rq_completed_bytes_total Total number of bytes served by block requests completions
# TYPE ebpf_exporter_block_rq_completed_bytes_total counter
ebpf_exporter_block_rq_completed_bytes_total{device="nvme0n1"} 258048
ebpf_exporter_block_rq_completed_bytes_total{device="nvme1n1"} 966656
# HELP ebpf_exporter_block_rq_completions_total Total number of block request completions
# TYPE ebpf_exporter_block_rq_completions_total counter
ebpf_exporter_block_rq_completions_total{device="nvme0n1"} 35
ebpf_exporter_block_rq_completions_total{device="nvme1n1"} 103
ebpf_exporter_ebpf_program_info{config="complex-value",id="72",program="block_rq_complete",tag="34d2100b313409cd"} 1

I would like some numbers from #253 before moving this further.


webgl black screen

the project possible to run in webgl?

@michaellu88 ,
There is an issue at this time with using WebGL.  So the short answer is not yet.
The Moralis SDK, Moralis Web3API, and Wallet Connect all use multi-threading heavily. Additionally the SDK and W.C. both use Websockets. WebGL does not support either multi-threading or web-sockets. This is due to how WASM works more the Unity.
I am currently working on a work around for both of these issues that I hope to have done in the next two weeks.
FYI Later today (12/15) I will add the feature list for the net release and will include this as "WebGL Workaround."
Regards,
David

Fixed as part of release 1.0.2


Update r-pkg-search extension

Description

Screencast

Checklist

[ ] I read the extension guidelines
[ ] I read the documentation about publishing
[ ] I ran npm run build and tested this distribution build in Raycast
[ ] I checked that files in the assets folder are used by the extension itself
[ ] I checked that assets used by the README are placed outside of the metadata folder

Thanks for this PR @baslat! I was already working on a fix for this issue, so I wrapped it up with a bit of upkeep in #12111

I'm not sure if I removed something or some files are missing @baslat - can you maybe check it?

I think @gadenbuie fixed it in a different PR, so I will close this one as not needed.


[Question] C# Source files and SHVDNv3

The v3 API is nicer to use, even more so when quickly prototyping stuff. However, .cs files compile using the v2 API:
https://github.com/crosire/scripthookvdotnet/blob/main/source/core/ScriptDomain.cs#L189
Would it be possible to have support for compiling v3 sources, in some way?
My suggestion would be either differentiating it on file name (.3.cs/vb) or a first-line comment indicating compatibility version (//SHVDNv3).

no. not possible.

Why wouldn't it be possible? It should be pretty trivial to use a different assembly to compile with, depending on the input file. If that isn't wanted, surely parsing one line in the file to be compiled, should be enough of a hint?
Adding a requirement for v3 scripts can't really break v2 scripts.

Sure is possible and is implemented now!

That was quick, thank you!


Use xiwi from crosh

It is possible to install programs using linuxbrew in the plain crosh without installing an entirely new operating system with crouton. However, right now you can only run command line programs. Is there a way to connect to the Chromebook window server from the crosh?

See #1.  You can sort of do it.  It's a pain to get working, especially without a chroot (there are other projects floating around that do just that).  And very soon it will stop working, as soon as Freon rolls out.

What exactly is Freon? And what sort of other projects are there to do this? Sorry for all the questions but I appreciate your help and knowledge.

Freon is the new display server for Chromium OS, under the ozone project, eliminates X11 from the Chromium OS stack.
Other projects running stuff natively (to my knowledge) are dev-install, chromebrew, and a couple other minor projects here and there.  See if dev-install works for you; otherwise, I recommend just sticking with a minimal (core) chroot...


rollout support application full-link greyscale

What is full-link greyscale?
The community microservice governance solution MSE, Istio is able to support the full link grey scale capability of the business, as follows:

A new full-link greyscale solution
There are some differences between the full-link greyscale model and the regular Rollout model, the most significant of which is that the traffic greyscale should be triggered even if only application C is published. Due to these characteristics, the traffic grayscale should not be tied to a specific application, but should be shared by all applications.
The shared TrafficRouting yaml
You can start by defining a TrafficRouting resource that describes the rules for full-link greyscale, as follows to import traffic from the Android client into the greyscale environment.
apiVersion: rollouts.kruise.io/v1alpha1
kind: TrafficRouting
metadata:
  name: mse-traffic
spec:
  objectRef:
  - service: spring-cloud-a
    ingress:
      name: spring-cloud-a
      classType: mse
  strategy:
    matches:
    - headers:
      - type: RegularExpression
        name: x-user-agent
        value: 'andriod'

The application's rollouts yaml
For each Application (a, b, c), you can define the corresponding Rollout configuration, and you can add annotations[rollouts.kruise.io/trafficrouting] to statement the associated TrafficRouting.
---
apiVersion: rollouts.kruise.io/v1alpha1
kind: Rollout
metadata:
  name: rollout-a
  annotations:
    rollouts.kruise.io/trafficrouting: mse-traffic
spec:
  objectRef:
    workloadRef:
      apiVersion: apps/v1
      kind: Deployment
      name: spring-cloud-a
  strategy:
    canary:
      steps:
      - pause: {}
        replicas: 1
---
apiVersion: rollouts.kruise.io/v1alpha1
kind: Rollout
metadata:
  name: rollout-c
  annotations:
    rollouts.kruise.io/trafficrouting: mse-traffic
spec:
  objectRef:
    workloadRef:
      apiVersion: apps/v1
      kind: Deployment
      name: spring-cloud-c
  strategy:
    canary:
      steps:
      - pause: {}
        replicas: 1
---
apiVersion: rollouts.kruise.io/v1alpha1
kind: Rollout
metadata:
  name: rollout-b
  annotations:
    rollouts.kruise.io/trafficrouting: mse-traffic
spec:
  objectRef:
    workloadRef:
      apiVersion: apps/v1
      kind: Deployment
      name: spring-cloud-b
  strategy:
    canary:
      steps:
      - pause: {}
        replicas: 1

Some other features
1. TrafficRouting add RequestHeaderModifier field
Add grayscale traffic to header[x-mse-tag]=gray, in turn, the microservices governance solutions MSE and Isito can identify which traffic is base traffic and which is grey traffic.
// Set overwrites the request with the given header (name, value)
// before the action.
 Rollout add addPodTemplate field.
Rollout will add labels[alicloud.service.tag]=gray in workload.spec.template, then the microservices governance solutions MSE and Isito can identify which pod is base version and which is grey version.
apiVersion: rollouts.kruise.io/v1alpha1
kind: Rollout
metadata:
  name: rollout-b
  annotations:
    rollouts.kruise.io/trafficrouting: mse-traffic
spec:
  objectRef:
    ...
  strategy:
    canary:
      steps:
      - pause: {}
        replicas: 1
      addPodTemplate:
        labels:
          alicloud.service.tag: gray

3. Rollout patch webhook label on workload
Currently rollout will webhook all workloads update requests, include Deployment, StatefulSet, CloneSet, Advanced StatefulSet. But not all workloads have to be rollout released, and if kruise rollout crashes will lead to workload update failed. So we can add configuration in MutatingWebhookConfiguration yaml.
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
...
  objectSelector:
      matchExpressions:
        - key: rollouts.kruise.io/workload-type
          operator: Exists

And the rollout controller patches the above label to the workload according to the Rollout objectRef.

Codecov Report

Merging #130 (3c1777b) into master (3578b39) will decrease coverage by 0.37%.
The diff coverage is 42.91%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master     #130      +/-   ##
==========================================
- Coverage   44.67%   44.31%   -0.37%
==========================================
  Files          48       49       +1
  Lines        5077     5186     +109
==========================================
+ Hits         2268     2298      +30
- Misses       2432     2508      +76
- Partials      377      380       +3

Flag
Coverage Δ

unittests
44.31% <42.91%> (-0.37%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/controller/rollout/rollout_status.go
17.00% <0.00%> (-2.38%)
:arrow_down:

pkg/util/constant.go
0.00% <0.00%> (ø)

pkg/util/controller_finder.go
0.00% <0.00%> (ø)

...ollout/validating/rollout_create_update_handler.go
63.56% <0.00%> (-0.50%)
:arrow_down:

pkg/trafficrouting/network/gateway/gateway.go
52.38% <7.14%> (-0.90%)
:arrow_down:

...chrelease/control/canarystyle/deployment/canary.go
55.95% <20.00%> (-5.39%)
:arrow_down:

pkg/controller/rollout/rollout_progressing.go
46.38% <35.00%> (-4.58%)
:arrow_down:

pkg/controller/rollout/rollout_canary.go
42.95% <40.00%> (+0.20%)
:arrow_up:

pkg/trafficrouting/manager.go
51.07% <60.00%> (+0.26%)
:arrow_up:

pkg/trafficrouting/network/ingress/ingress.go
63.33% <72.72%> (+1.79%)
:arrow_up:

... and 1 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


UK County abbreviations missing

Hi!
I was checking out libpostal, and saw something that could be improved.

My country is United Kingdom
Here's how I'm using libpostal
I am using libpostal to improve my current data wrangling software.

Here's what I did
10 Lewis Road Kettering Northants NN15 6HE

Here's what I got
{10 House Number}{lewis rd road}{kettering city}{northants nn15 6he house}

Here's what I was expecting
{10 House Number}{lewis rd road}{kettering city}{northants state}{nn15 6he postcode}
If you add UK to the address you get
{Kettering City}{Northants house}{nn15 6he postcode}

For parsing issues, please answer "yes" or "no" to all that apply.

Does the input address exist in OpenStreetMap?
yes - https://www.openstreetmap.org/search?query=lewis road%2C kettering%2C northamptonshire%2C nn15 6he#map=19/52.38692/-0.71610
Do all the toponyms exist in OSM (city, state, region names, etc.)?
No - does not recognise Northants

Here's what I think could be improved
Northants is common UK abbreviation of Northamptonshire
(see https://www.familysearch.org/wiki/en/UK_County_Abbreviations)
Is there a way I can add these State abbreviations in like you do for US states?
Many thanks
Phil

Hi. Do you mean something like this file? https://github.com/openvenues/libpostal/blob/master/resources/dictionaries/en/toponyms.txt

I found the USA abbreviations in https://github.com/openvenues/libpostal/tree/master/resources/states
If I build a UK abbreviation list, I am not sure how I then get libpostal to use it as this seems the obvious way to do it as
Northants | Northamptonshire
Lancs | Lancashire
Notts | Nottinghamshire
etc
Could be added I believe @albarrentine  is this right? And if so how do I update libpostal to use a gb states list - Thanks!

adding this info is only the first step. Then, most of the time, we'll have to wait until Al runs the pipeline. I've never tried it myself, but I remember it takes 2 weeks and some significant RAM and storage resources.

@philhutch50 May you please publish your full abbreviation file here?

@baerbock  I don't really have a full list I started and stopped as unless there is an easy way to import these in and I have had no reply from the man himself yet you will need to code new routines to sort? unless I have missed something?

I ran into the same issue.
Some starting places might be:

https://www.familysearch.org/en/wiki/UK_County_Abbreviations
https://langscape.org.uk/about/CountyAbbreviations.html
https://digimap.edina.ac.uk/webhelp/os/data_information/os_products/supporting/county_abbreviations.htm
https://www.bahs.org.uk/CountyAbbreviations.html
https://en.wikipedia.org/wiki/Postal_counties_of_the_United_Kingdom


Fix link

Kept getting requests for a WIP google doc, and could not figure out where they were coming from -- realized that the doc was still linked to here, and so needed to be fixed.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.