text:
Lower CMake version and limit parallelism in compile script

Addresses #107:

Remove cmake -B to allow CMake versions lower than 3.13

Only detect and use number of available cores if NCORES is not set as an environment variable

Thanks for fixing this.
Mentioning the NCORES variable in the README would be appreciated. On the system in question I inadvertently occupied all 56 cores, however the usage guidelines state I should use at most 4 for interactive jobs like compiling an executable.

I also noticed the KaHIP Spack package (https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/kahip/package.py), patches your compile script to control the number of cores: https://github.com/spack/spack/blob/4b60a171743fca1b938492b0954e674d1d5baffc/var/spack/repos/builtin/packages/kahip/package.py#L60

authors: DanielSeemaier ivan-pi

repo: KaHIP/KaHIP


text:
Checkbox: Ensure storybook shows props and code

Description
This PR adds props onto Checkbox to ensure the Storybook documentation is more useful to engineers.
Screenshots

Before
After

Props table

Show code

Testing in sage-lib

See http://localhost:4100/?path=/docs/sage-checkbox--default

Testing in kajabi-products

(LOW) Improve documentation for React Checkbox component

Related
https://kajabi.atlassian.net/browse/DSS-192

Great catch, @pixelflips! ☺

source: gharchive/pull-request

repo: Kajabi/sage-lib

license: MIT

license_type: permissive

license_source: github-api


text:
Launch external viewer automatically

There should be a checkbox in the preferences that allows the user to set if the external viewer (Google Maps, Wolfram Alpha, etc.) is launched automatically after the transcription is received.

Fix in v0.3.12

source: gharchive/issue

repo: Kaljurand/Arvutaja

license_source: bigquery


text:
Multi-Index

Hi this would be very useful in the world of finance if you support multi-indexes.
(1) My data is for example, Ticker, Date, Financial Statement Features. What one want's to do is to see say accounting scatterplot between total_assets, or correlation between etc.
(2) An ability to change the parameter in pygwalker to only have the data explorer and filterer without visualization, or a way to make sure that on run the data table appears first.
Thanks for your hard work

You can use components in graphic walker independtly, we have a playground contains all examples of those components here: https://graphic-walker.kanaries.net/examples/TableWalker

authors: firmai jojocys

repo: Kanaries/graphic-walker


text:
why does  pygwalker v3 not work when i use the notebook on a remote server?

pygwalker v3 doesnt work when notebook on a remote server, for example,  the PyGWalker Test in kaggle doesn t work when i use the latest pygwalker(0.3.3) , but  when i use pygwalker==0.1.4.7, it will be ok.

how to solve the problem?

Hi, can you try this notebook in kaggle: https://www.kaggle.com/code/lxy21495892/explore-netflix-data-with-pygwalker
Manually, run each cell sequentially.
In this way, I can try to reproduce your problem in the same environment.

i had run this notebook in kaggle, but the section two doesn`t work:

this is my notebook in kaggle:https://www.kaggle.com/code/bkhhui/explore-netflix-data-with-pygwalker
@longxiaofei

In chrome, execute:
import ipywidgets
from IPython.display import display

display(ipywidgets.HTML("test"))

what is output?

In firefox, it seems that it is caused by kaggle's compatibility with ipywidgets.

click shutdown

re-execute the code, don't refresh the page during the process.

Thanks for your time, new communication of pygwalker has some problems in kaggle.

I will use chrome89 to test it.
Due to reasons of kaggle, when you refresh page, kernel will lose communication of ipywidgets.
I will try to contact support of kaggle.

repo: Kanaries/pygwalker


text:
The extension exited instantly.

Extension not working and there is notification on Extensions page in Preferences.

The extension exited instantly. Please check the logs.

Here my last.log
2021-08-24 01:45:39,455 | INFO | ulauncher: main() | Ulauncher version 5.12.1
2021-08-24 01:45:39,455 | INFO | ulauncher: main() | Extension API version 2.0.0
2021-08-24 01:45:39,456 | INFO | ulauncher: main() | GTK+ 3.24.20
2021-08-24 01:45:39,456 | INFO | ulauncher: main() | Is Wayland: False
2021-08-24 01:45:39,456 | INFO | ulauncher: main() | Wayland compatibility: off
2021-08-24 01:45:39,473 | DEBUG | ulauncher.ui.windows.Builder: __init__() | consider using a pythonic name instead of design name 'input-box'
2021-08-24 01:45:39,476 | DEBUG | ulauncher.ui.windows.Builder: do_connect() | connect builder by name 'ulauncher_window','destroy', 'on_destroy'
2021-08-24 01:45:39,476 | DEBUG | ulauncher.ui.windows.Builder: do_connect() | connect builder by name 'ulauncher_window','focus_in_event', 'on_focus_in_event'
2021-08-24 01:45:39,476 | DEBUG | ulauncher.ui.windows.Builder: do_connect() | connect builder by name 'ulauncher_window','focus_out_event', 'on_focus_out_event'
2021-08-24 01:45:39,477 | DEBUG | ulauncher.ui.windows.Builder: do_connect() | connect builder by name 'input','key_press_event', 'on_input_key_press_event'
2021-08-24 01:45:39,477 | DEBUG | ulauncher.ui.windows.Builder: log_unconnected_functions() | Not connected to builder 'on_input_changed'
2021-08-24 01:45:39,478 | DEBUG | ulauncher.ui.windows.Builder: log_unconnected_functions() | Not connected to builder 'on_mnu_about_activate'
2021-08-24 01:45:39,478 | DEBUG | ulauncher.ui.windows.Builder: log_unconnected_functions() | Not connected to builder 'on_mnu_close_activate'
2021-08-24 01:45:39,478 | DEBUG | ulauncher.ui.windows.Builder: log_unconnected_functions() | Not connected to builder 'on_mnu_preferences_activate'
2021-08-24 01:45:39,478 | DEBUG | ulauncher.ui.windows.Builder: log_unconnected_functions() | Not connected to builder 'on_preferences_dialog_destroyed'
2021-08-24 01:45:39,479 | DEBUG | ulauncher.utils.display: get_screens() | Found 1 monitor(s)
2021-08-24 01:45:39,479 | DEBUG | ulauncher.utils.display: get_screens() |   Monitor 0 - X: 0, Y: 0, W: 1600, H: 900
2021-08-24 01:45:39,493 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 0 results
2021-08-24 01:45:39,495 | INFO | ulauncher.search.apps.app_watcher: start() | Started scanning desktop dirs
2021-08-24 01:45:39,495 | INFO | ulauncher.api.server.ExtensionServer: _start_thread() | Starting WS server on port 5054
2021-08-24 01:45:39,514 | INFO | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.fajtak.ulauncher-weather" started. PID 82236
2021-08-24 01:45:39,519 | INFO | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.karlfrederik.ulauncher-speedtest" started. PID 82239
2021-08-24 01:45:39,530 | INFO | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.wsdfhjxc.ulauncher-qr-code" started. PID 82240
2021-08-24 01:45:39,537 | INFO | ulauncher.ui.windows.UlauncherWindow: bind_show_app_hotkey() | Trying to bind app hotkey: <Primary>space
2021-08-24 01:45:39,548 | INFO | ulauncher.utils.desktop.reader: find_apps_cached() | Found 156 apps in cache
2021-08-24 01:45:39,552 | INFO | ulauncher.utils.desktop.reader: read_desktop_file() | Could not read "/home/r3m/.local/share/applications/Games.desktop": constructor returned NULL
2021-08-24 01:45:39,555 | INFO | ulauncher.utils.desktop.reader: read_desktop_file() | Could not read "/usr/share/ubuntu/applications/texdoctk.desktop": constructor returned NULL
2021-08-24 01:45:39,558 | INFO | ulauncher.utils.desktop.reader: read_desktop_file() | Could not read "/usr/share/applications/evolution-calendar.desktop": constructor returned NULL
2021-08-24 01:45:39,565 | INFO | ulauncher.utils.desktop.reader: read_desktop_file() | Could not read "/usr/share/applications/vim.desktop": constructor returned NULL
2021-08-24 01:45:39,590 | INFO | ulauncher.utils.desktop.reader: find_apps_cached() | Found 156 apps in the system
2021-08-24 01:45:39,591 | INFO | ulauncher.search.apps.app_watcher: start() | Scanned desktop dirs in 0.10 seconds
2021-08-24 01:45:39,616 | DEBUG | ulauncher.search.apps.app_watcher: start() | Start watching desktop files...
2021-08-24 01:45:39,781 | INFO | ulauncher.api.server.ExtensionController: handleConnected() | Extension "com.github.wsdfhjxc.ulauncher-qr-code" connected
2021-08-24 01:45:39,782 | DEBUG | ulauncher.api.server.ExtensionController: _send_event() | Send event PreferencesEvent to "com.github.wsdfhjxc.ulauncher-qr-code"
2021-08-24 01:45:39,802 | INFO | ulauncher.api.server.ExtensionController: handleConnected() | Extension "com.github.fajtak.ulauncher-weather" connected
2021-08-24 01:45:39,803 | DEBUG | ulauncher.api.server.ExtensionController: _send_event() | Send event PreferencesEvent to "com.github.fajtak.ulauncher-weather"
2021-08-24 01:45:39,894 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.karlfrederik.ulauncher-speedtest" exited instantly with code 1
2021-08-24 01:45:39,895 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.karlfrederik.ulauncher-speedtest" failed with an error: AttributeError: module 'speedtest' has no attribute 'Speedtest'

2021-08-24 01:45:42,223 | DEBUG | ulauncher.ui.windows.UlauncherWindow: activate_preferences() | create new preferences_dialog
2021-08-24 01:45:42,234 | DEBUG | ulauncher.ui.windows.Builder: log_unconnected_functions() | Not connected to builder 'on_hotkey_set'
2021-08-24 01:45:42,234 | DEBUG | ulauncher.ui.windows.Builder: log_unconnected_functions() | Not connected to builder 'on_scheme_callback'
2021-08-24 01:45:42,296 | DEBUG | ulauncher.ui.windows.Builder: __init__() | consider using a pythonic name instead of design name 'hotkey-dialog-vbox1'
2021-08-24 01:45:42,296 | DEBUG | ulauncher.ui.windows.Builder: __init__() | consider using a pythonic name instead of design name 'new-hotkey-label'
2021-08-24 01:45:42,299 | DEBUG | ulauncher.ui.windows.Builder: do_connect() | connect builder by name 'hotkey_dialog','delete_event', 'on_delete_event'
2021-08-24 01:45:42,300 | DEBUG | ulauncher.ui.windows.Builder: do_connect() | connect builder by name 'hotkey_input','key_press_event', 'on_hotkey_input_key_press_event'
2021-08-24 01:45:42,709 | INFO | ulauncher.ui.windows.PreferencesUlauncherDialog: prefs_get_all() | API call /get/all
2021-08-24 01:45:43,909 | INFO | ulauncher.ui.windows.PreferencesUlauncherDialog: prefs_extension_get_all() | Handling /extension/get-all
2021-08-24 01:45:52,346 | DEBUG | ulauncher.utils.display: get_screens() | Found 1 monitor(s)
2021-08-24 01:45:52,346 | DEBUG | ulauncher.utils.display: get_screens() |   Monitor 0 - X: 0, Y: 0, W: 1600, H: 900
2021-08-24 01:45:52,347 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 0 results
2021-08-24 01:45:55,266 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 9 results
2021-08-24 01:45:55,415 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 3 results
2021-08-24 01:45:56,704 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 9 results
2021-08-24 01:45:56,880 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 7 results
2021-08-24 01:45:57,409 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 1 results
2021-08-24 01:46:14,052 | INFO | ulauncher.ui.windows.PreferencesUlauncherDialog: prefs_extension_check_updates() | Handling /extension/check-updates
2021-08-24 01:47:05,085 | DEBUG | ulauncher.utils.display: get_screens() | Found 1 monitor(s)
2021-08-24 01:47:05,085 | DEBUG | ulauncher.utils.display: get_screens() |   Monitor 0 - X: 0, Y: 0, W: 1600, H: 900
2021-08-24 01:47:05,090 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 0 results
2021-08-24 01:47:06,085 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 6 results
2021-08-24 01:47:06,648 | DEBUG | ulauncher.api.server.ExtensionController: _send_event() | Send event KeywordQueryEvent to "com.github.fajtak.ulauncher-weather"
2021-08-24 01:47:06,851 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 1 results
2021-08-24 01:47:08,072 | DEBUG | ulauncher.api.server.ExtensionController: _send_event() | Send event KeywordQueryEvent to "com.github.fajtak.ulauncher-weather"
2021-08-24 01:47:08,275 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 1 results
2021-08-24 01:47:08,391 | DEBUG | ulauncher.api.server.ExtensionController: _send_event() | Send event KeywordQueryEvent to "com.github.fajtak.ulauncher-weather"
2021-08-24 01:47:08,594 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 1 results
2021-08-24 01:47:08,815 | DEBUG | ulauncher.api.server.ExtensionController: _send_event() | Send event KeywordQueryEvent to "com.github.fajtak.ulauncher-weather"
2021-08-24 01:47:09,031 | DEBUG | ulauncher.api.server.ExtensionController: _send_event() | Send event KeywordQueryEvent to "com.github.fajtak.ulauncher-weather"
2021-08-24 01:47:09,159 | DEBUG | ulauncher.api.server.ExtensionController: _send_event() | Send event KeywordQueryEvent to "com.github.fajtak.ulauncher-weather"
2021-08-24 01:47:09,362 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 1 results
2021-08-24 01:47:45,520 | DEBUG | ulauncher.utils.display: get_screens() | Found 1 monitor(s)
2021-08-24 01:47:45,520 | DEBUG | ulauncher.utils.display: get_screens() |   Monitor 0 - X: 0, Y: 0, W: 1600, H: 900
2021-08-24 01:47:45,523 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 0 results
2021-08-24 01:47:46,491 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 9 results
2021-08-24 01:47:51,191 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 3 results
2021-08-24 01:49:06,396 | INFO | ulauncher.ui.windows.PreferencesUlauncherDialog: prefs_open_url() | Open Web URL https://github.com/KarlFrederik/ulauncher-speedtest/issues
2021-08-24 01:49:06,396 | INFO | ulauncher.ui.windows.PreferencesUlauncherDialog: prefs_open_url() | Open Web URL file:///usr/share/ulauncher/preferences/dist/index.html

Did you install the extension correctly with the install sript?

I installed it on Extensions page of Ulauncher Preferences GUI. At first it shows an error message that I need to run pip3 install speedtest --user. I made it, restarted Ulauncher and got this message

The extension needs some dependencies which have to be installed to work.
Follow this tutorial: https://github.com/KarlFrederik/ulauncher-speedtest/wiki/Installation

Thanks for tutorial but it didn't help. And in log I've got the same
2021-08-25 14:17:17,625 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.karlfrederik.ulauncher-speedtest" exited instantly with code 1
2021-08-25 14:17:17,626 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.karlfrederik.ulauncher-speedtest" failed with an error: AttributeError: module 'speedtest' has no attribute 'Speedtest'

It seems that there is an error with the speedtest-cli installation.
Try running this in the CLI manually: pip install speedtest-cli

Requirement already satisfied: speedtest-cli in /usr/local/lib/python3.8/dist-packages (2.1.3)

I reinstalled extension and an error again.
2021-08-25 14:38:39,802 | INFO | ulauncher.ui.windows.PreferencesUlauncherDialog: prefs_extension_remove() | Remove extension: com.github.karlfrederik.ulauncher-speedtest
2021-08-25 14:38:41,706 | INFO | ulauncher.ui.windows.PreferencesUlauncherDialog: prefs_close() | Close preferences
2021-08-25 14:39:06,550 | DEBUG | ulauncher.utils.display: get_screens() | Found 1 monitor(s)
2021-08-25 14:39:06,550 | DEBUG | ulauncher.utils.display: get_screens() |   Monitor 0 - X: 0, Y: 0, W: 1600, H: 900
2021-08-25 14:39:06,554 | DEBUG | ulauncher.ui.windows.UlauncherWindow: show_results() | render 0 results
2021-08-25 14:39:06,698 | DEBUG | ulauncher.ui.windows.UlauncherWindow: on_focus_in_event() | Focus in event, grabbing pointer: <enum GDK_GRAB_SUCCESS of type Gdk.GrabStatus>
2021-08-25 14:39:08,328 | DEBUG | ulauncher.ui.windows.UlauncherWindow: activate_preferences() | show existing preferences_dialog
2021-08-25 14:39:09,624 | INFO | ulauncher.ui.windows.PreferencesUlauncherDialog: prefs_extension_get_all() | Handling /extension/get-all
2021-08-25 14:39:12,878 | INFO | ulauncher.ui.windows.PreferencesUlauncherDialog: prefs_extension_add() | Add extension: https://github.com/KarlFrederik/ulauncher-speedtest
2021-08-25 14:39:14,042 | INFO | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.karlfrederik.ulauncher-speedtest" started. PID 60922
2021-08-25 14:39:14,346 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.karlfrederik.ulauncher-speedtest" exited instantly with code 1
2021-08-25 14:39:14,348 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.karlfrederik.ulauncher-speedtest" failed with an error: AttributeError: module 'speedtest' has no attribute 'Speedtest'

I located the error and it seems to be some error inside the speedtest-cli, I am trying to search a fix for it. May take some time.

@KarlFrederik any updates?

repo: KarlFrederik/ulauncher-speedtest

license: WTFPL


text:
Temperature/pH overflow in reaction filters

See attached screenshot.

Do you remember which page this occurred on? It should be a page with no temperature or pH information.

Done


text:
Milestone: Create Home, About and Quotes Page

In this milestone:
I have used react routing to create a single-page application for the three pages home, about, and quotes.

Hi @Kashif-Saleem-Ghuman 😊,
While you made a great effort in this project, I cannot proceed to review your code.
Invalid Code Review Request 🛑 💀
You have submitted a project, that missing key features, and future features sections in your readme, kindly add them and add 1-3 potential sentences for each section.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

@omarsalem7  Thank you for the feedback. I have made changes and re submitting now.

@gemmen29 Thank you for approving my project and providing valuable feedback. I have made the correction.

repo: Kashif-Saleem-Ghuman/maths-magician


text:
How to use SliverAnimatedPaintExtent and animated the Scroll position at the same time?

For example, in a list that has a button to load more, show progress, and then show an error message with retry button, the loading widget is changed to the one with the error message, I would like to scroll to the end to show the complete error message.
without SliverAnimatedPaintExtent I can do this
await scrollControllerAnimateTo(
  scrollController.position.maxScrollExtent,
  duration: Duration(milliseconds: 300),
  curve: Curves.easeOut,
);

but if I use the SliverAnimatedPaintExtent it only animates a little bit, since the maxScrollExtent is growing while the SliverAnimatedPaintExtent animation is running.
Is there any way to synchronize the AnimateTo of the scrollController with that of the SliverAnimatedPaintExtent.
a temporary solution for me would be to wait for the milliconds of the animation of SliverAnimatedPaintExtent and then do the jumpTo, but that delay is uncomfortable.
await Future <void> .delayed (paintExtentDuration);
await scrollControllerAnimateTo (
   scrollController.position.maxScrollExtent,
   duration: Duration (milliseconds: 300),
   curve: Curves.easeOut,
);

the idea is that they are animated in time, or with the least possible delay.
If you have a suggestion, I would appreciate it very much

That’s definitely an interesting question.
I don’t really have a solution for how to get your current approach working at the moment.
But how about changing it a little
For instance instead of showing the error message within the animatedpaintextent put it outside, that way you can scroll to the end immediately.

I'm closing this in the assumption my answer solved your problem, if you have further questions or disagree feel free to comment and I'll reopen this issue.

authors: Kavantix basketball-ico


text:
Error while compiling Gutenberg

Please see issue : https://github.com/crossbeam-rs/crossbeam-utils/issues/54
A dependency cannot compile, thus making Gutenberg unusable on a Raspberry Pi.

Gutenberg master requires Rust 1.27 and next 1.28

repo: Keats/gutenberg

license: mit


text:
ClientSession.close() does not await for self._connector.close()

self._connector.close() returns future. Seems, ClientSession should wait this future to complete before returning.

I don't care right now because currently .close() is a sync operation actually.
After converting .close() into genuine coroutine I'll fix the code.
Transition period will last in about next year.

authors: asvetlov socketpair

repo: KeepSafe/aiohttp


text:
Anchor tag ALL THE THINGS

We really need anchor tags on:

Files
Line numbers (per-file too)

Github looks to use the format diff-$SHA_OF_FILE[L|R]$NUM - e.g. diff-48205bd927ef9295872L57
the SHA is pretty opaque, so it'd be nice to do diff-$FILEPATH-[L-R]$NUM e.g. diff-foo/bar.py-L89
But id= attributes have limited character ranges (ASCII) which I guess is why they chose SHAs...

Line comments

Do like github and have the id=the comment ID

When you hit the BASE -> COMMENT button, the comment will be somewhere as a line comment so we should jump to it.
When you hit COMMENT -> HEAD, the file may be really small/big, so should jump to the start of the file in question.

We now anchor tag lines :D but we still need to anchor tag line comments. Updating to reflect.

So we anchor line comments now but both impls only work on BASE -> HEAD diffs. We need to add more info to the anchor to indicate the from/to short SHAs. Once that is done, we can close this.

Done! (horribly)

repo: Kegsay/github-pull-review


text:
Add cover image on the button of "Christmas Album by Ludwig"

Fixes #16

This works but the buttons are coming up and then in a minute the songs load, @TechStudent11 can you fix this?
Right now, when the site opens the image comes, the buttons go up and then it comes down and only when it comes down it shows the songs.
See the preview here: https://deploy-preview-150--mogulchristmas.netlify.app/

This works but the buttons are coming up and then in a minute the songs load, @TechStudent11 can you fix this?
Right now, when the site opens the image comes, the buttons go up and then it comes down and only when it comes down it shows the songs.
See the preview here: https://deploy-preview-150--mogulchristmas.netlify.app/

When I tried, it was in a blink of the eye. It's flawless (ok maybe only the christmas trees because you have to scroll down).

This works but the buttons are coming up and then in a minute the songs load, @TechStudent11 can you fix this?
Right now, when the site opens the image comes, the buttons go up and then it comes down and only when it comes down it shows the songs.
See the preview here: https://deploy-preview-150--mogulchristmas.netlify.app/

When I tried, it was in a blink of the eye. It's flawless (ok maybe only the christmas trees because you have to scroll down).

I mean, ig it can be some kind of animation, but I prefer if it loads everything at once.

This works but the buttons are coming up and then in a minute the songs load, @TechStudent11 can you fix this?
Right now, when the site opens the image comes, the buttons go up and then it comes down and only when it comes down it shows the songs.
See the preview here: https://deploy-preview-150--mogulchristmas.netlify.app/

When I tried, it was in a blink of the eye. It's flawless (ok maybe only the christmas trees because you have to scroll down).

I mean, ig it can be some kind of animation, but I prefer if it loads everything at once.

So will you be able to make it so that everything loads at once, @TechStudent11 ?

Nah I don't think so. It's very quick.

This seems to be a issue with Netlify deploys for this project. I'll merge this and see if I occur the issue, if yes, I will revert changes.

Reverting changes, It seems to be a div issue. I will try to figure out the issue.
@TechStudent11 I know its a millisecond but thats kinda bothering me lol, so if you can try to find the issue that will be great too. Coz, I only adjusted the other pages page and this issue occured in #159 's deploy, idk why tbh. I like everything to load at once.

I know its a millisecond but thats kinda bothering me lol

Most people wouldn't mind.

If you want it to be quick, try using asynchronous coding. I'm not sure if this is possible in HTML.

I know its a millisecond but thats kinda bothering me lol

Most people wouldn't mind.

True

In my order PR, this issue happend only for same, I think it depends on your internet speed?

@aliraza944 or @Bibhavshah Is this issue fixable?

Deleting branch in favor of #162

repo: KendallDoesCoding/mogul-christmas


text:
gpu_count 0 | Cuda issue

As you can see im in Conda Powershell as Admin. I have installed PyTorch 2.0 with the updated torchvision for acceleration, along with the required downloads for transformers and tokenizer. The models load as well from the pretrained folder. Additionally, I have installed the CUDA toolkit 11.7 with drivers, and my GTX 1060 GPU 6GVRam is listed as available for computing. However, when attempting to activate CUDA, it shows as 0 or false. I am currently in the correct Conda environment and CUDA is installed and activated, but the issue persists. I noticed in the chat.py file that the model tokenizer shows as 8-bit floats to be disabled, which leads me to wonder if it is related. Also to mention that the tokenizers LLama name is written falsely perhaps, because i have found a thread on github on it, here is the link https://github.com/treadon/llama-7b-example/issues/1#issuecomment-1470007121 . There may be a typo error in your code as well in the chat.py file.  I have been working on this issue for 3 days and would greatly appreciate any help. Thank you.

insert torch.cuda.is_available() first,then get the gpu nums.,

Look at line 13 in chat.py.
os.environ["CUDA_VISIBLE_DEVICES"]="1"
That line is telling the script to only allow GPU 1 to be used, but from the sounds of it you only have a single GPU.  So you need to change it to use "0" for the CUDA_VISIBLE_DEVICE, or comment the line out (I'm not sure of the other consequences of that).

Look at line 13 in chat.py. os.environ["CUDA_VISIBLE_DEVICES"]="1" That line is telling the script to only allow GPU 1 to be used, but from the sounds of it you only have a single GPU. So you need to change it to use "0" for the CUDA_VISIBLE_DEVICE, or comment the line out (I'm not sure of the other consequences of that).

thank you very much, the gpu works now, just out of memory by allocation, the trained model is apparently too voluminous to take in cache, i only have 6G Vram, but thank you again, a good thing to know

I have seen your work, it's absolutely beautiful, https://github.com/dagostinob/jetson-inference
no wonder you identified the binary function of default binary adaptation. Thank you and nice to meet you.

authors: AestheticMayhem baketbek dagostinob


text:
Widget does not save contents when in code view

Switch the widget to code view to edit html directly.

There's no way to switch out of code view.
The contents entered in code view do not save.

Can confirm this issue. Just ran into it

This is a known issue. It's caused by bug in Froala editor and we're waiting for the fix.

To clarify, it is actually possible to switch out of the code view and save your changes. In the code view when you put your mouse in the top right corner, a grey button will appear as seen here:

The bug is that the button icon is not being displayed. Clicking the grey square will bring you back to the content view. Any changes can then be saved.

The main issue is that the contents entered in code view do not save when clicking the Save button. You have to switch out of code view first.

authors: Atzie OndraM-Kentico jbowen-hileman tetz2442

repo: Kentico/ems-mvc-components


text:
Update and rename .CODEOWNERS to CODEOWNERS

Motivation
Which issue does this fix?
Updating codeowners file

Review OK 🆗

authors: Rumec Sapphirress


text:
已经用了好久，有很多聊天记录，为什么统计不出来呢

如果很重要。可以 https://github.com/Kerwin1202/chatgpt-web/pull/112#issue-1698872653 这里参考  不是很重要，可以后续新的会统计

用的mongodb是什么版本的？

我的也是这样，没有统计数据， MongoDB server version: 4.4.11

我找了用4的朋友看，是有数据的，那看来不是版本问题。数据库里的 chat_usage 表能找条数据看下么？

所以连接mongo的这个账户，是没创建collection的权限的么？

你创建个 chat_usage 的 collection 然后再问一句看看？

创建了chat_usage，然后新建聊天问几个问题，还是没有

hmmmm，很奇怪啊。确定代码版本没问题对吧？账户权限确认没问题么？看起来要么是没权限写入，要么是写入的代码没跑到？

我在本地跑了一下，result.data 里面没有detail和usage

access token 吧，这个好像是没有的

是的，换成api就有了，但是换成api之后又把之前access token的记录统计进去了

因为 api 要单独维护上下文，所以会把当前对话历史一定数量传过去，所以会比较多，后续看简单优化下 也另外计算一下 access token的 使用

大佬加油！如何这个统计是为了方便查看api的使用情况，那就不用统计access token的使用比较好

authors: JeazW Kerwin1202 jamebal zhujunsan


text:
Add skip button + Refactory

Remove some commands and clean code

Merci 🚀

authors: Kethash TomBerriot

repo: Kethash/DiaBot


text:
Cursor often renders incorrectly

This is using neovim v0.4.3 and the current HEAD of neovide.   This is also running with zero configuration.
Often the cursor will become invisible or render incorrectly.  For example:
When on the 'o' character it appears:

But when moved to m character it goes black:

This effect where part of the cursor appears black often occurs when moving around as well

Another example of it being half-visible:

It also inexplicably changes color sometimes:

What platform? This looks like a skia bug in vulkan

This is on macOs Catalina 10.15.3

How did you install the vulkan drivers?

I followed the instructions in the readme and executed brew cask install apenngrace/vulkan/vulkan-sdk

Hrmm. Then I'm not sure I have anything for you. This is an upstream issue with skia that has something to do with your platform. I am slowly working on an in house renderer so that we can get rid of the skia dependency but thats not going to happen for a while.

Ok no problem.  Was there a recent skia upgraded that might have caused this?  This was rendering perfectly fine fairly recently.

ok interesting. Maybe it was the anti aliasing change? Gimme a bit and I'll toggle it off
Sent with GitHawk

I added a setting g:neovide_cursor_antialiasing which controls the antialiasing features of the cursor. Can you try setting that variable to v:false and see if that effects the issue?

Ok so yeah this completely fixes this issue 👍
Thanks

Awesome

authors: Kethku svermeulen

repo: Kethku/neovide


text:
🛑 Altoro J is down

In 84d210d, Altoro J (https://demo.testfire.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Altoro J is back up in 8aaa65a.


text:
Selection + Action columns not displayed right, when displayed together

mantine-react-table version
v1.0.0-beta
react & react-dom versions
v18.2.0
Describe the bug and the steps to reproduce it
When displaying row selection as well as row actions, the selection column as well as the action column grow in size, when they shouldn't. The checkboxes also don't have a pointer as cursor.
How to reproduce:
Set the following props:
  enableRowSelection
  enableRowActions
  positionActionsColumn="last"
  renderRowActions={(rowActionProps) => {
    const { row } = rowActionProps;

    return
row.original
;
  }}

Minimal, Reproducible Example - (Optional, but Recommended)
Add the props to the following example:
https://stackblitz.com/github/KevinVandy/mantine-react-table/tree/main/apps/mantine-react-table-docs/examples/enable-row-selection/sandbox?file=src%2FTS.tsx
Screenshots or Videos (Optional)

Do you intend to try to help solve this bug with your own PR?
No, because I do not have time to dig into it
Terms

[X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

I'm not really seeing any problems here. No weird column sizes. Also the mantine checkbox cusor pointer thing is a Mantine theme config that is off by default.

authors: KevinVandy juliuslipp

repo: KevinVandy/mantine-react-table


text:
Windows Build and Test Fail

The building instructions for tota11y doesn't specify any OS. I tried building the package on Windows 7 (x64) with latest tota11y source. I am using command prompt for running the commands.
npm -v
2.5.1

I used these commands:
npm install
npm run build

The first command worked fine and installed the dependencies. However, the second command produced the following error (I am pasting the npm-debug.log here):
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using npm@2.5.1
3 info using node@v0.12.0
4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
6 info prebuild tota11y@0.0.3
7 info build tota11y@0.0.3
8 verbose unsafe-perm in lifecycle true
9 info tota11y@0.0.3 Failed to exec build script
10 verbose stack Error: tota11y@0.0.3 build: `webpack -p`
10 verbose stack Exit status 1
10 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:213:16)
10 verbose stack     at EventEmitter.emit (events.js:110:17)
10 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:14:12)
10 verbose stack     at ChildProcess.emit (events.js:110:17)
10 verbose stack     at maybeClose (child_process.js:1008:16)
10 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
11 verbose pkgid tota11y@0.0.3
12 verbose cwd D:\Documents\General\Github\tota11y
13 error Windows_NT 6.1.7601
14 error argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
15 error node v0.12.0
16 error npm  v2.5.1
17 error code ELIFECYCLE
18 error tota11y@0.0.3 build: `webpack -p`
18 error Exit status 1
19 error Failed at the tota11y@0.0.3 build script 'webpack -p'.
19 error This is most likely a problem with the tota11y package,
19 error not with npm itself.
19 error Tell the author that this fails on your system:
19 error     webpack -p
19 error You can get their info via:
19 error     npm owner ls tota11y
19 error There is likely additional logging output above.
20 verbose exit [ 1, true ]

On searching for build instructions for Node.js on Windows, I found out that this issue is related to the relative paths and could be simply resolved by running this command for building (Don't use the run keyword on Windows):
npm build

This should be updated in documentation for build instructions.
Other than this, testing also fails on Windows:
npm test

gives out errors:
> open http://localhost:8080/webpack-dev-server/ && webpack-dev-server --hot

'open' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Test failed.  See above for more details.

Update:
Changing
"test": "open http://localhost:8080/webpack-dev-server/ && webpack-dev-server --hot"
to
"test": "start http://localhost:8080/webpack-dev-server/ && webpack-dev-server --hot"
in package.json file solved the testing error on Windows.
I suggest not to force open a the debug URL while testing, this would ensure compatibility across different platforms.
"test": "webpack-dev-server --hot"

And then the debug environment can be accessed on http://localhost:8080/webpack-dev-server/.
@jdan

I have made these changes in my forked version here, https://github.com/ankitaggarwal011/tota11y/commit/7fd8872248a4bda9731f34c2752e0f89f49320df
If you think they should be merged with master, I would make a PR. @jdan

I'm phasing out the open line very soon - we have some unit tests up for review on our internal code review tool, so npm test will be running mocha tests instead of opening the browser.
The part about leaving out run is quite interesting, thank you for looking into this! I would probably prefer to the documentation to say something along the lines of:
npm install
npm run build   # or "npm build" on Windows

What do you think? I'll include that README change with my unit tests so they'll ship simultaneously.

Yes, mocha tests would definitely be an upgrade. Yes, a simple comment with build also works. Add this to your README change list. I think there would definitely me more before you ship out next version.
Cheers! @jdan
I am looking into #13 as well. Is that included in your next release as well. I included an congratulatory message in that one in my local repository. Do you want me to push to master?

@ankitaggarwal011 Yes features can branch right off master for now - no specific release cycle here.

@ankitaggarwal011 Okay the README is updated, and unit tests have landed in master. Let me know what you think.

@jdan , I synced the new changes in my local repository and tested for the updated commands on Windows 7(x64).
Some interesting things happened (you will need to make some changes again). All these commands are working now:
npm install
npm run build
npm test
npm run lint
npm run live-test

Building the package gives warnings, but that's a different issue.
I am sorry for raising false alarms, but I reported what happened earlier. Now, those errors are gone. I am not sure why these things happened. Could be Windows specific behavior (I didn't even restart the system since reporting the issue). Puzzled. But, you can remove those windows specific lines from README as they are no longer a problem.

@ankitaggarwal011 :+1:


text:
Filter district by searching

Is your feature request related to a problem? Please describe.
Users might need to scroll a long distance (especially on small screens) if they want to look for specific districts
Describe the solution you'd like
Create a simple search bar. Using component rendering of React, render only those district that contains the text in the search bar
Describe alternatives you've considered
Or, divide the districts by division and make them collapsable on click for easier searching.
Additional context
NONE
NOTE (will be deleted later): Now my API provides latest statistics (deaths, positives etc) from IEDCR. So no need to of scraping. ~Although it's missing 'tests conducted', but I will add it tomorrow.~ Also, your website is really well designed and efficient. I request you to share it in more platforms to reach more people

Searching through the district list is a good idea. I'm trying to implement this.
Thanks for providing stats in the API. Scrapping was too much heavy task for this small amount of data. :sweat_smile:

Added a search bar in the district table. :smiley:
Have a look at the preview from here.
And please let me know if you find any bug or you want to see any more features.
Thank you. :grin:

Please add a clear icon, which will clear the search text. And also, during the search, the whole district-data section changes it's vertical positioning as the number of rendered district changes (like a jumping effect). It's not an urgent issue, but it's distracting. To regenerate this: from a desktop screen, type a full district name like "Bogra" or "Rangpur". The search bar should keep it's position no matter what you search. Look into that too.


text:
Trouble installing mdns

I am having some trouble installing mdns.
I followed the following command sequence:
sudo su
apt-get update && apt-get upgrade
apt-get install git-core libnss-mdns libavahi-compat-libdnssd-dev -y
wget  http://node-arm.herokuapp.com/node_latest_armhf.deb
dpkg -i node_latest_armhf.deb
node -v && npm -v
git clone https://github.com/KhaosT/HAP-NodeJS.git
cd HAP-NodeJS/
npm install node-persist && npm install srp && npm install mdns
node BridgedCore.js
Every time I try to install mdns, I get these results:
/home/pi# npm install mdns
|

mdns@2.2.11 install /home/pi/node_modules/mdns
node-gyp rebuild

make: Entering directory '/home/pi/node_modules/mdns/build'
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
In file included from ../src/mdns.hpp:12:0,
from ../src/dns_sd.cpp:1:
../node_modules/nan/nan.h:328:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
^
dns_sd_bindings.target.mk:131: recipe for target 'Release/obj.target/dns_sd_bindings/src/dns_sd.o' failed
make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1
make: Leaving directory '/home/pi/node_modules/mdns/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Linux 4.1.13+
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/pi/node_modules/mdns
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! mdns@2.2.11 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mdns@2.2.11 install script.
npm ERR! This is most likely a problem with the mdns package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls mdns
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.1.13+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "mdns"
npm ERR! cwd /home/pi
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/pi/npm-debug.log
npm ERR! not ok code 0

Please make sure you're using nodejs 4.0 or later.
Sent from my iPhone

On Jan 3, 2016, at 7:10 AM, DoItForThePi notifications@github.com wrote:
I am having some trouble installing mdns
I followed the following command sequence:
sudo su
apt-get update && apt-get upgrade
apt-get install git-core libnss-mdns libavahi-compat-libdnssd-dev -y
wget http://node-armherokuappcom/node_latest_armhfdeb
dpkg -i node_latest_armhfdeb
node -v && npm -v
git clone https://githubcom/KhaosT/HAP-NodeJSgit
cd HAP-NodeJS/
npm install node-persist && npm install srp && npm install mdns
node BridgedCorejs
Every time I try to install mdns, I get these results:
/home/pi# npm install mdns
|
mdns@2211 install /home/pi/node_modules/mdns
node-gyp rebuild
make: Entering directory '/home/pi/node_modules/mdns/build'
CXX(target) Release/objtarget/dns_sd_bindings/src/dns_sdo
In file included from /src/mdnshpp:12:0,
from /src/dns_sdcpp:1:
/node_modules/nan/nanh:328:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
^
dns_sd_bindingstargetmk:131: recipe for target 'Release/objtarget/dns_sd_bindings/src/dns_sdo' failed
make: *** [Release/objtarget/dns_sd_bindings/src/dns_sdo] Error 1
make: Leaving directory '/home/pi/node_modules/mdns/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcessonExit (/usr/share/node-gyp/lib/buildjs:267:23)
gyp ERR! stack at ChildProcessemit (eventsjs:98:17)
gyp ERR! stack at ProcessChildProcess_handleonexit (child_processjs:809:12)
gyp ERR! System Linux 4113+
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/pi/node_modules/mdns
gyp ERR! node -v v01029
gyp ERR! node-gyp -v v0122
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/READMEDebian
npm ERR! mdns@2211 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mdns@2211 install script
npm ERR! This is most likely a problem with the mdns package,
npm ERR! not with npm itself
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls mdns
npm ERR! There is likely additional logging output above
npm ERR! System Linux 4113+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "mdns"
npm ERR! cwd /home/pi
npm ERR! node -v v01029
npm ERR! npm -v 1421
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/npm-debuglog
npm ERR! not ok code 0
—
Reply to this email directly or view it on GitHub.

That seems to have fixed it. I was using version 0.10.29 and for some reason that was said to be the newest version when I did sudo apt-get install nodejs. So I have to just download the source code off of the official nodejs website and then compile it. Thanks for the help!

authors: DoItForThePi KhaosT

repo: KhaosT/HAP-NodeJS


text:
Is it possible to sign-in to Apple ID in VM?

Getting the "Verification failed" error when trying to sign-in an Apple ID, which I think is required to install Rosetta 2? It's certainly required to grab anything out of the Mac App Store or install updates, I believe.

@bdruth I didn't try signing into the App Store, but if Rosetta 2 is what you need, this article,  Installing Rosetta 2 on Apple Silicon Macs has instructions for how to install without the App Store.  Basically, you just need to run the following terminal command:
$ /usr/sbin/softwareupdate --install-rosetta --agree-to-license

Afterwards, I installed the Intel version of Visual Studio Code, and it launches.  So I assume Rosetta 2 is installed.

I'll try it again, but this failed for me originally, too.

Worked, thx!

Same here, cant log into Apple ID or Appstore or iMessage

Can't either

I got that too now .. but I guess it's new with the last version of macOS
...
On Fri, Dec 10, 2021 at 12:25 AM Mcrich23 @.***> wrote:

Can't either
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KhaosT/MacVM/issues/9#issuecomment-990395883, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHMHRFRUHPNNYJN6IC3WKDDUQE3E3ANCNFSM5GYCKJOA
.

This seems to be a limitation of the Virtualization framework.
https://kb.parallels.com/128867
https://forum.parallels.com/threads/apple-id-login-in-macos-guest-os.355059/

how to log in bypassing the verification failed or unknown error occurred problem in macOS 15 (Sequoia) in VMware?

@ZM71 this isn't a GitHub repo that supports VMware Fusion.
Apple ID/iCloud sign-in is a new feature of macOS 15 - it seems to only work for iCloud, generally - does not support App Store, which still fails. Both the host machine and the guest machine need to be macOS 15, furthermore, the guest needs to be a newly-installed VM, created on a macOS 15 host. The guest VM cannot be upgraded from an earlier version of macOS to enable this new capability, as the new feature is enabled in the Virtualization framework at the time that the VM is created.
I haven't used KhaosT/MacVM in awhile, but I just tried this in UTM and it works as expected, using the most recent version of UTM as of this writing. I imagine it should work similarly for VMware Fusion, but I can't confirm that.

@bdruth how do i log in creating a new machine in 17 free?

what do you mean both the host need macOS what is the point of the vm then?

@ZM71 - this isn't a support forum for VMWare, sorry. You're posting on an issue in a GitHub repo for a completely different virtualization product.
RE: your 2nd question - it is against Apple's license terms & conditions to run VMs of macOS on non-Mac hardware. Vendors of virtualization software (e.g. Broadcom/VMware, Parallels, Oracle Virtualbox, etc.) will observe this restriction and not permit you to create a macOS VM on non-Mac hardware. That might defeat the point for you, but for the broader community, it is still quite useful (I can run a macOS VM via proxmox or esxi virtualization on an Intel Mac mini, for instance). Many folks use VMs locally, as well, in order to isolate their host machine from needing to run certain things (e.g. captive VPNs, etc.). Either way, you're posting on an issue re: the macOS Virtualization framework, which is built-in to macOS, so ... you kinda need to be running on macOS to be able to use this framework (it's for hosting the guest).

what is utm even more shit needed for this machine?

Sorry you continue to have difficulty @ZM71

idk how to fix this maybe it is just too complicated with your solutions. i found something with the config and clover tool making some numbers and you put them at the right lines at you can sign into appstore etc.

repo: KhaosT/MacVM


text:
Handle OpenMPI / MPICH switching within the Khiops local runner

Description
Currently, the KhiopsLocalRunner assumes the usage of MPICH / MSMPI with its specific command arguments.
However, Khiops (the binaries) recently added OpenMPI support for non-Conda environments (see https://github.com/KhiopsML/khiops/pull/252).
Thus, khiops-python should enable switching between MPICH and OpenMPI, according to the MPI library the MODL* binaries have been compiled with / for.
Questions/Ideas

One solution is use MPICH / MSMPI by default (as of now) and to switch to OpenMPI only on Linux, non-Conda environments. This can be detected automatically. As before, the khiops-env files would provide the reference MPI command syntaxes for the 3 supported OS families.
Another solution is to use khiops-env directly for Linux, non-Conda environments.
A third solution is to systematically use khiops-env directly for all environments, provided that appropriate khiops-env scripts are shipped for all Khiops (binary) packages, including for the khiops-core Conda package.

After discussion, the first solution would be chosen in the short run. The third solution could be investigated for later, as we need to make sure it also works on Windows, as well as on Conda-like environments in all OSes.

We also need to update the khiopspydev Docker images to install and use OpenMPI instead of MPICH.

Detailed implementation plan:

Change MPICH to OpenMPI in the Ubuntu and Rocky khiopspydev Dockers.
Replace local compilation of Khiops MODL* binaries with wget from the pre-releases (KHIOPS_REVISION must be a Git tag)
Add distinct Conda environments to these Dockers: for each Python version, there will be 2 Conda environments:

one for the current tests (based on system-wide Khiops + khiops-python repo clone)
one for new tests, based on Conda-installed khiops-core (on KHIOPS_REVISION) + khiops-python repo clone

Add "pure" Conda tests in unit-tests.yml:

keep current tests on Conda environments which use system-wide Khiops (+ system-wide MPI - will be OpenMPI - see 1.)
add tests on the Conda environments which contain khiops-core installed.

repo: KhiopsML/khiops-python


text:
Fix error return and TEST_PASS for negative SVM tests

Fix error return and TEST_PASS for negative SVM tests
Fix review comments from #1802
Fixes #1964

https://github.com/KhronosGroup/OpenCL-CTS/pull/2027

repo: KhronosGroup/OpenCL-CTS


text:
Fix build failed due to missing AndroidNdkModules

AndroidNdkModules.cmake has been deleted by NDK

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.tao.pei seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@jypeitao which version of NDK had this file removed?

Change user and further confirm the problem.

C++ build system [configure] failed while executing:
/usr/bin/cmake
-H/home/peter/wk2/os/OpenXR-Tutorials/Chapter5
-DCMAKE_SYSTEM_NAME=Android
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DCMAKE_SYSTEM_VERSION=27
-DANDROID_PLATFORM=android-27
-DANDROID_ABI=x86
-DCMAKE_ANDROID_ARCH_ABI=x86
-DANDROID_NDK=/home/peter/Android/Sdk/ndk/23.1.7779620
-DCMAKE_ANDROID_NDK=/home/peter/Android/Sdk/ndk/23.1.7779620
-DCMAKE_TOOLCHAIN_FILE=/home/peter/Android/Sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake
-DCMAKE_MAKE_PROGRAM=/usr/bin/ninja
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/peter/wk2/os/OpenXR-Tutorials/Chapter5/app/build/intermediates/cxx/Debug/3v245142/obj/x86
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/home/peter/wk2/os/OpenXR-Tutorials/Chapter5/app/build/intermediates/cxx/Debug/3v245142/obj/x86
-DCMAKE_BUILD_TYPE=Debug
-DCMAKE_FIND_ROOT_PATH=/home/peter/wk2/os/OpenXR-Tutorials/Chapter5/app/.cxx/Debug/3v245142/prefab/x86/prefab
-B/home/peter/wk2/os/OpenXR-Tutorials/Chapter5/app/.cxx/Debug/3v245142/x86
-GNinja
from /home/peter/wk2/os/OpenXR-Tutorials/Chapter5/app
CMake Error at CMakeLists.txt:97 (include):
include could not find requested file:
AndroidNdkModules

Found cmake in another path instead of Android sdk.
Add cmake.dir=/home/peter/Android/Sdk/cmake/3.22.1 will be OK. But it needs to be added manually.
I think even if it is cmake under another path, gradle can also add the cmake Modules path under android sdk.
Anyway, close this pr first.

I'm running into this issues as well. I'm not very familiar with gradle. My fix was to make CMake aware of it in the CMakeLists.txt:
    # native_app_glue
    list(APPEND CMAKE_MODULE_PATH "$ENV{HOME}/Android/Sdk/cmake/3.22.1/share/cmake-3.22/Modules")
    include(AndroidNdkModules)
    android_ndk_import_module_native_app_glue()

authors: CLAassistant jypeitao rbessems rickyjames35

repo: KhronosGroup/OpenXR-Tutorials


text:
Use O(log n) table lookup algorithms for opcodes

Currently the opcode table is just an array, and we do opcode and opcode-string lookups with straight linear search.
See spvOpcodeTableNameLookup and spvOpcodeTableValueLookup in source/opcode.cpp
The underlying tables are generated via the "spvtools_core_tables" invocations in source/CMakeLists.txt.  There's a python script that parses the JSON and then generates .inc files in the build output directory.  Those are then #included in source/opcode.cpp into static tables.
We can do much better by generating the underlying tables in sorted order.  Then use std::lower_bound to find the first matching entry.
But then we need two tables: one sorted by opcode, and the other sorted by opcode string name.  I'd like the sorted-by-opcode table to be the primary table, and the sorted-by-string-name table to just have an index into the other one.  The reason is that the fast path should be processing a binary module as in a GPU driver, as opposed to doing name lookups for disassembly or assembly as occurs during development.
A wrinkle:  We have to allow for the same opcode to be used with two different string names.  This is almost certainly going to happen over time as Khronos extensions to SPIR-V get incorporated into the core of a future version of SPIR-V.  If that extension describes a new instruction, e.g. OpFooKHR then it would drop the KHR suffix to become OpFoo when it goes into core.
So the work is to:

Update  utils/generate_grammar_tables.py to generate two opcode tables, sorted by opcode and sorted by opcode string, where it currently generates one.  The sort should be stable, i.e. preserve the order of equal elements in the input.
Use std::lower_bound for the lookups. (I don't want to see an open-coded binary search.  Those are notoriously tricky to write correctly, and more so in the presence of equal elements.)

Extensions should use the OpExtInst to introduce new opcodes. Once they get into core then they will get promoted to proper opcodes.

@ratchetfreak That's a design choice.
There are already KHR extensions that introduce instructions as new (direct) opcodes.
Eg. see OpSubgroupBallotKHR in https://www.khronos.org/registry/spir-v/extensions/KHR/SPV_KHR_shader_ballot.html
The reasoning is that the working group feels there is a strong chance that the functionality will be pulled into core at a future date with unchanged semantics.  And if that's the case, then tooling that just deals with the numbers of opcodes won't have to change.

cc: @antiagainst

@dneto0 I can attempt this issue if @antiagainst didn't get started already

Yep, please feel free to take it. I haven't touched this one yet.

Given that the opcodes are unique, why aren't we using a hash table, to begin with?
We could employ a regular array where the opcode is the index and get O(1).
A problem is the gaps between OpDecorateId=332 and OpFragmentFetchAMD=5012,
which would bloat the executable. But we could use some hybrid approach.
From 0 to ~400, regular array, from ~400 to ~5000, linear or sorted search.

We could have two different opcode entries for the same opcode number.  This for the case where we publish a KHR extension that is then later pulled into the core spec.  If the semantics remain the same then we can reuse the opcode number, but still support two different spellings for the instruction.
I forgot constraints

spvContextCreate should be very cheap.
The tables should be static POD, so that no C++ constructors are executed at process startup or during spvContextCreate.    Avoiding C++ constructors is important so we can support use cases where the standard memory allocator has been replaced, but only partway after starting 'main';  The allocator used during construction must match the allocator used during destruction.

The segmented array approach would work .... until it doesn't.  The addition of opcodes (and other enums) is not under our control.  SPIRV-Tools has to respond gracefully to the data presented by the SPIRV-Headers updates.
I think the binary search over sorted arrays is a good simple solution.   The .inc files are generated by python scripts during build time.  We have complete freedom to rework those scripts.

About opcode entries with the same opcode number:

these are definitely the rare case
I don't want to force uniqueness on opcode number but then cause an indirection to a table of entries corresponding to that one opcode number.   Indirection would cause cache misses (I expect).
It's much better to have simple (and sometimes repeated) opcode entries.

The big cost in the opcode string lookup is the strlen in the loop (3rd line).
  const size_t nameLength = strlen(name);
  for (uint64_t opcodeIndex = 0; opcodeIndex < table->count; ++opcodeIndex) {
    if (nameLength == strlen(table->entries[opcodeIndex].name) &&
        !strncmp(name, table->entries[opcodeIndex].name, nameLength)) {
      // NOTE: Found out Opcode!
      *pEntry = &table->entries[opcodeIndex];
      return SPV_SUCCESS;
    }
  }

Can we precompute the length of the opcode names and store it somewhere?
Would it be a good idea to store the length in the opcode table?
I added the code below to spvOpcodeTableNameLookup, then tested spirv-as,
and times when down from 22ms to 16ms for a large ~250kb shader and -O3.
Now spvOpcodeTableNameLookup is not captured by the profiler anymore.
  static std::array<size_t,SpvOpFragmentFetchAMD> name_len;
  static bool init = false;
  if (!init) {
    init = true;
    for (uint64_t opcodeIndex = 0; opcodeIndex < table->count; ++opcodeIndex) {
      name_len[opcodeIndex] = int8_t(strlen(table->entries[opcodeIndex].name));
    }
  }

Rather than generating and dealing with a second table sorted by opcode name,
would it pay off to add a name_length entry to the existing table?

Actually nameLength == strlen(table->entries[opcodeIndex].name) doesn't need to be done explicitly once you have the bound for one string and know the other is null terminated, !strncmp(name, table->entries[opcodeIndex].name, nameLength) will stop when the first byte is different. That will save an iteration over the opcode name.

If you simply remove nameLength == strlen(table->entries[opcodeIndex].name tests will start to fail.
Without strlen, the call to strncmp will match overlapping names, e.g. ConstantTrue to Constant

You can fix that by adding 1 to the length: !strncmp(name, table->entries[opcodeIndex].name, nameLength+1), That way the terminating null is of name included in the strcmp.

@ratchetfreak true that!
Unfortunately I tried, the compiler now issues __strncmp_sse42 and times got worse,
from 22ms originally (with strlen) to 30ms for my Intel Skylake i7-6700 and gcc 5.2.1.
The solution where we precompute the opcode name length continues to be faster.

if we are precomputing length it makes sense to also precompute a hash, (doesn't need to be a perfect hash, just good enough)
That will reduce the amount of calls to strncmp much better than comparing only the strlen.
  const size_t nameLength = strlen(name);
  const size_t hash= opCodeHash(name);
  for (uint64_t opcodeIndex = 0; opcodeIndex < table->count; ++opcodeIndex) {
    if (hash == table->entries[opcodeIndex].hash &&
        !strncmp(name, table->entries[opcodeIndex].name, nameLength+1)) {
      // NOTE: Found out Opcode!
      *pEntry = &table->entries[opcodeIndex];
      return SPV_SUCCESS;
    }
  }

The original PR was merged which handled the id lookup. The missing piece was doing the name table, is that change still worth it or can this be closed?

Good question.   The critical path is the one used for SPIR-V binaries, which is the value lookup.  The string lookups are for more developer env settings.  So that's lower priority.
I'd like to keep this open but at reduced priority.  The second sorted table for opcode name should less space where possible, e..g it's a table of {string, index} where the index points into the entry in the full table that's sorted by value.

authors: antiagainst dneto0 jcaraban ratchetfreak

repo: KhronosGroup/SPIRV-Tools


text:
Adding validation for vector data rule.

Number of components in a vector can be 2 or 3 or 4. If Vector16
capability is used, 8 and 16 components are also allowed.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

+1.
@dneto0 may want to check again.

You'll have to rebase this change against latest master.  The bots are failing.
@antiagainst's recent change renamed many files, including some headers upon which your code depends.

Let's wait until the bots pass. Then the changes should be squashed and pushed into master.  I'll be happy to do that.

I fixed the copyright on two files to Google Inc. (since ehsannas did this as part of Google), and renamed the test file to match to our other conventions.
Pushed into master as commit 6c899a52f9c

authors: CLAassistant antiagainst dneto0 ehsannas


text:
"Ambient Occlusion" color node is not exported when slotted into Base Color

Describe the bug
I've now seen a number of files that use a graph like this:

Usually this is used instead of a regular color field, but has the same effect – just in the viewport it causes somewhat more contrast because it introduces ambient occlusion.
I think all instances of this node can be exported as if they were regular RGB nodes.
To Reproduce
Steps to reproduce the behavior:

Download attached file :
BlenderBaseColorAOBug.blend.zip
Export as glb
Note that the "RGB" node is properly exported but the "Ambient Occlusion" node is not

Expected behavior
Ambient Occlusion node exports as if it were an RGB node
Screenshots
see above
.blend file/ .gltf (mandatory)
BlenderBaseColorAOBug.blend.zip
Version

OS: MacOS and Windows
Blender Version 4.2 and 4.3

Thanks, I agree on the AO socket – I think the node should be treated as if it was an RGB node (just the color used).

repo: KhronosGroup/glTF-Blender-IO


text:
Asset Licenses

Hey all,
can all the assets be used in other projects, even commercial ones? I wonder if MIT is code only, or also the assets
https://github.com/KhronosGroup/glTF-WebGL-PBR/tree/master/models

The code (and the code only) is MIT licensed.
The license of the assets is currently sorted out at https://github.com/KhronosGroup/glTF-Sample-Models/issues/188 . Most of the models here are taken from the official sample models repository.

The official sample models all have licenses now, mostly CC-BY and CC0, safe for commercial use.  There are some older ones here that will get removed during the reference viewer redesign, they are unfortunately not licensed.

authors: emackey javagl kungfooman

repo: KhronosGroup/glTF-WebGL-PBR


text:
renderInput throws an error: R.current.blur is not a function

I get a TypeError (error: R.current.blur is not a function) when I use renderInput and Input component of RSuite .
I haven't any problem with a native input tag.
I guess that may be related to the input ref.

the problem was with the rsuite input.
I used the wrong ref prop.


text:
World failed to delete

I am using version 0.6.1 of the plugin on the 1.19.2-purpur server, and I am using version 4.3.1 and 4.3.2 snapshot versions of the multiverse core plugin. However, I encountered a problem. The plugin cannot delete the world normally, so I cannot continue to reset the world.
Among the information I found on the console, only the following contents are related to them (I set the reset interval of the world to five minutes, so it can be seen that this Exception occurred during the second attempt to reset)

[14:59:00] [Server thread/INFO]: [Multiverse-Core] World 's_world' was unloaded from Multiverse.
[14:59:00] [Server thread/INFO]: The world "s_world" failed to delete!
[14:59:38] [Server thread/INFO]: TsingYayin issued server command: /world s_world
[15:04:00] [Server thread/WARN]: [CWR] Task #3868 for CyberWorldReset v0.6.1 generated an exception
java.lang.NullPointerException: Cannot invoke "org.bukkit.World.getEnvironment()" because the return value of "net.zerotoil.cyberworldreset.objects.WorldObject.getWorld()" is null
at net.zerotoil.cyberworldreset.objects.WorldObject.tpPlayersAway(WorldObject.java:231) ~[CyberWorldReset-0.6.1.jar:?]
at net.zerotoil.cyberworldreset.objects.WorldObject.regenWorld(WorldObject.java:141) ~[CyberWorldReset-0.6.1.jar:?]
at net.zerotoil.cyberworldreset.objects.TimedReset$MyTimeTask$1.run(TimedReset.java:182) ~[CyberWorldReset-0.6.1.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.19.2.jar:git-Purpur-1758]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[purpur-1.19.2.jar:git-Purpur-1758]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1519) ~[purpur-1.19.2.jar:git-Purpur-1758]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:485) ~[purpur-1.19.2.jar:git-Purpur-1758]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1443) ~[purpur-1.19.2.jar:git-Purpur-1758]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1213) ~[purpur-1.19.2.jar:git-Purpur-1758]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:310) ~[purpur-1.19.2.jar:git-Purpur-1758]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

When I actually checked the corresponding folder of the world named "s_world" mentioned above, I found that most of the files have been deleted, but one .mca file in the poi folder has not been deleted. Since I was the only one on the server during the test, I presume that this file should be occupied during deletion due to some unload error, so it could not be removed correctly.

Hey, thanks for reporting this. I could provide a dev build that will send an error log (stack trace) that might help with a solution. Would you like this?

Thank you for your review. I stopped the plug-in after the problem occurred, and tried to regenerate the world using the regen command of multiverse core, but I still encountered similar problems. So I thought about using the old version of multiverse core, and the problem was alleviated. However, the regenerated world will encounter an error in reading and writing paperfileiothread when using it. Since this error is also related to reading and writing files, I personally tend to suspect that there are some problems with paper or the multiverse core plug-in itself. That is to say, it seems that the problem I have encountered so far cannot be clearly confirmed to be caused by your plug-in. I will continue to observe the problem : )
The error reported by the paperfileiothread I encountered is as follows:

[04:32:24] [Paper RegionFile IO Thread/ERROR]: [com.destroystokyo.paper.io.PaperFileIOThread] Failed to write chunk data for task: Task for world: 's_world' at 61,48 poi: true, hash: 630872151
java.nio.file.AccessDeniedException: .\s_world\poi\r.1.1.mca
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
at sun.nio.fs.WindowsFileSystemProvider.newFileChannel(WindowsFileSystemProvider.java:121) ~[?:?]
at java.nio.channels.FileChannel.open(FileChannel.java:298) ~[?:?]
at java.nio.channels.FileChannel.open(FileChannel.java:357) ~[?:?]
at net.minecraft.world.level.chunk.storage.RegionFile.(RegionFile.java:459) ~[purpur-1.19.2.jar:git-Purpur-1758]
at net.minecraft.world.level.chunk.storage.RegionFile.(RegionFile.java:432) ~[purpur-1.19.2.jar:git-Purpur-1758]
at net.minecraft.world.level.chunk.storage.RegionFileStorage.getRegionFile(RegionFileStorage.java:101) ~[?:?]
at net.minecraft.world.level.chunk.storage.RegionFileStorage.write(RegionFileStorage.java:288) ~[?:?]
at net.minecraft.world.entity.ai.village.poi.PoiManager.a(PoiManager.java:483) ~[?:?]
at net.minecraft.server.level.ServerLevel$1.writeData(ServerLevel.java:331) ~[?:?]
at com.destroystokyo.paper.io.PaperFileIOThread$ChunkDataTask.run(PaperFileIOThread.java:556) ~[purpur-1.19.2.jar:git-Purpur-1758]
at com.destroystokyo.paper.io.QueueExecutorThread.pollTasks(QueueExecutorThread.java:118) ~[purpur-1.19.2.jar:git-Purpur-1758]
at com.destroystokyo.paper.io.QueueExecutorThread.run(QueueExecutorThread.java:51) ~[purpur-1.19.2.jar:git-Purpur-1758]

Sorry to necro this issue but -- I tried writing a similar plugin recently. I don't have links handy but I had some trouble deleting world files shortly after teleporting players away. If I manually tp-d away and waited a little bit, the world would delete okay.
I read somewhere online suggesting that this only happens on Windows, and that was consistent with my finding for my plugin -- when I moved it to a linux machine I stopped observing this behavior.
This is to say, this issue may be OS-specific and require weakreferences/magical workarounds for windows.

authors: Kihsomray MatthewMerrill tsingyayin

repo: Kihsomray/CyberWorldReset


text:
Smart Shunt 500A level too low?

I purchased a "Victron Energy SmartShunt 500A/50mV" and i have trouble wiring into Esphome.
First, the two end pins (first and last) don't have any tension using a multimeter, second, i checked using an oscilloscope and i only get some data on the first two pins (looking as in the image bellow), which according to pinouts i found should be TX and VCC. On first pin (which should be GND) and TX pin i get nothing.
The issue is that even on the pins i get signal, the level is too low, about 0.5V on high and the esp board doesn't recognize it. As a workaround i added a 1k resistor between 3.3V and TX pin and now it works, but i don't understand why the level is that low.
Am i missing something? I should provide 3.3V to the shunt on the connector?
Please help me sorting this out.
Thank you.

Hi,Look to readme
https://github.com/KinDR007/VictronMPPT-ESPHOME
Section of diy cable..

@KinDR007 I saw that section, but according to that he JST connector pinout, the TX pin is right to the V+ pin, not to the GND. Now, even if the last pin in my case is the GND, the level is still an issue as it's very low.
As I stated before, I checked with an oscilloscope and this is the only working combination that outputs something.
For now it works with the 1k resistor, but that is an improvisation.

Could your try to talk to the manufacturer and share the feedback?

I have the same smartshunt and uart works as it should I recommend to contact the manufacturer or complain to the supplier

Sorted out finally! After reading your messages I coupled again the oscilloscope, but now I used the ground from the shunt to see if the signal is higher and it was 3.3V. Strange enough after this, the ground pin started working, so I suspect a loose connection on the ground pin. I will search another one.
Thank you very much for the help.

authors: KinDR007 mariusvaida syssi


text:
Fix: Add GregSithole's Portfolio.

Closes #216

@all-contributors please add @GregSithole for code


text:
Visualize not working for local data

Hi Kirk,
it seems that i cannot use my local data for visualization of the production graph: it just stays empty, and with "Inspect" of the browser, it's just that: the svg-tag is empty. No debug output with -verbose that would give a hint.
How can I troubleshoot this resp. provide more information to you?
Other recipe settings work just fine.
Michael

this is because of https://github.com/KirkMcDonald/kirkmcdonald.github.io/commit/33743c8ab95dd8ad4bbb8b5b8ee90accf3b5481e
function renderGraph in visualize.js expects image sizes that are set manually in settings.js, but not for the local data.

Thanks .. so the issue is: I need to add the new files to the local settings.


text:
edit sketch should zoom you to the right sketch consistently

heres a vid, it works first time not second
https://github.com/KittyCAD/modeling-app/assets/1445228/159da030-5f76-4877-a1e6-00b1adb7e1b7

i dont think ive seen this anymore

repo: KittyCAD/modeling-app


text:
Franknoirot/electron network regression test

Closes #3393 with new logic to not show the network health indicator on home page routes and an electron playwright test to confirm the behavior.

Electron MacOS tests are passing, so I will merge this. The web playwright tests are being addressed in other PRs of mine.


text:
[WIP] Enable database items in Resonant Laboratory

This is WIP because it doesn't quite work yet. I will need some help tracking down the problems and possibly redesigning some of the datatype handling stuff.

[Current coverage][cc-pull] is 51.54%

Merging [#215][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #215   diff @@
==========================================
  Files            21         21
  Lines           520        520
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            268        268
  Misses          252        252
  Partials          0          0

Powered by Codecov. Last updated by [4d1a864...3ddd743][cc-compare]
[cc-base-branch]: https://codecov.io/gh/Kitware/candela/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/Kitware/candela/compare/4d1a864c01687face104140dddef4fb1a1a4f088...3ddd743fb339f06b9ad810ddc8e87c7a6b5eeff5
[cc-pull]: https://codecov.io/gh/Kitware/candela/pull/215?src=pr

After poking around with this a little, it looks like the problem is stemming from only using datalib to infer the attributes in the dataset (if it chokes, for now I stupidly assume that we can't figure out what the attributes are, hence the error that the interface is showing... BTW, if you merge the ui-fixes branch onto this one, the error message should work properly).
I was able to get this to work with some of the datasets we've already been working with, e.g.:
mongoimport --db test --collection gapminder --drop --file gapminder.json --jsonArray

Then, of course, create an item, and then give it its connection information via PUT /item/{id}/database:
{"url":"localhost:27017","database":"test","collection":"gapminder","type":"mongo"}

(you probably know most of this... this is more documentation for my benefit :-) )
To make this work in general, I think we just need to infer the attributes of the response in a more intelligent way... Actually, we should probably retrieve the schema of the dataset at some point anyway so that we can build the filter interface...

The gapminder data seems to work. Let me know what happens when you try out points.json using the same procedure.

I just got it to work... It may have something to do with my dumb reliance on the item name having an "extension" that reflects its format (I'll file an issue). If you rename the item to be "points.json" it should work.

Well I did name mine points.json... but in my Girder view of that item, I see it lists {} as its attributes metadata entry. Does that have something to do with it?

That's very possible. You could try trashing its metadata and see if it helps

Welp. That worked beautifully. I wonder what went wrong on Friday...

A lot of these problems seem to be related to this thread:
#216 #203 #175 #169 #168 #162
I've generalized #204 to try and describe the higher-level issue

LGTM—for now, I think it's fine to probe database status, and let the 400 error show up on the console. I'll probably add a more direct check whether an item is a database vs a file as part of my sprint tomorrow

In the future the hiccup about "database items" should theoretically go away. It's something I need to discuss with Zach but eventually it will all just be abstract Girder items - no special probing logic necessary.

Are you planning on making database/not-database status more of a first-class attribute of an item (is it already)? I was planning on adding a flag to the item's metadata, but there's no sense in being redundant...

No, we shouldn't make explicit whether an item is database-backed or not; it should be an abstract feature of an item. Currently the only way to autodetect whether an item has database backing is probing the endpoint and watching for an error. If putting a flag on the item makes this logic easier/cleaner, then we should do that. But in any case both approaches reflect a flaw in the current architecture, which can be solved in the long term by introducing the correct database-backing semantics to Girder items.
If this doesn't make sense let's talk IRL :smile_cat:

authors: alex-r-bigelow codecov-io ronichoudhury

repo: Kitware/candela


text:
minimap error

right klick on the minimap an select talten.
every time i do this the following error blob (see txt file)
hope this can help...
lg tom
right-klick-minimap-select-talent.txt
m

thx for fix...
ofi: i saw NDui is nearly the same UI, hope it is not a not allowed copy, because i love Kkthnx  :-)

thx for fix... ofi: i saw NDui is nearly the same UI, hope it is not a not allowed copy, because i love Kkthnx :-)

Two completely different UIs.

authors: Kkthnx derschneidertom

repo: Kkthnx-Wow/KkthnxUI


text:
feat: add KOREA code page

Hello 🙌
This PR adds KOREA code page. Referenced this PR.

Thank you 🍻


text:
Avoid OutofMemory exceptions from intensive queries

We should be doing this

Done in https://github.com/KnowWhereGraph/kwg-deployment/pull/34/commits/ee578e2c5717862eacdf5b2dd898fb63e52198a9

repo: KnowWhereGraph/kwg-deployment


text:
Add steps to put/get raw data to/from S3 in Jenkins

Per convo with @kltm
Jenkins download stage fails frequently, possibly b/c upstream sources dislike us downloading stuff repeatedly, this would solve that problem
Add push to download stage, and pull to transform stage

Done, testing this now


text:
Look at adding Etherpad-Lite to the UX mix

With this api we can write a home page for managing EtherPads to the UX capabilities

We know that using an etherpad client in FeatherWeight, we can control access and other issues.
Questions to answer include:

When a user clicks new pad in FeatherWeight's presumed Pad Index, does that automatically open a new pad?

When a pad is created, do we get a link to it such that our PadService database can provide an array of pads to paint on the index?

Note that Etherpad Lite uses the AbiWord system for import and export of pads. Since the API allows us to fetch a pad's content for a given version number, it might be the case that we can deal with content handling directly.
It's true that AbiWord allows to export to PDF, Word, etc, and those are nice, but, in the event that we cannot make use of that feature, it appears that we can get by without it.

Started by adding the Etherpad-Lite client to this repo.
Intention is to explore using the API.
It means that I probably must have Etherpad-Lite "online"
Still exploring

We now have an Etherpad.vue communicating with Etherpad. Next up is to explore opening pads in iframes under control of an Etherpad index page

We know that

Pads belong to a group; creating a group returns a groupId

Pads are created in the context of a groupID; creating a Pad returns a padId

Pads are started by creating a session
See the API


text:
Unused Variable "$parameters" in RouteVoter

While browsing the code i found a unused variable "$parameters" here:
https://github.com/KnpLabs/KnpMenu/blob/master/src/Knp/Menu/Matcher/Voter/RouteVoter.php#L40
Is that a typo or is some code missing there?

My bad, we should remove it, indeed.

repo: KnpLabs/KnpMenu


text:
New Helm v3 Template Processor

Is your feature request related to a problem? Please describe.

No.
Describe the solution you'd like

I would like a helm v3 template processor. The current eunomia helm template processor uses helm v2.
Describe alternatives you've considered

Creating a eunomia helm v3 template processor that is not part of the main eunomia repo.
What version of eunomia are you using?
kubectl exec $EUNOMIA_POD curl localhost:8383/metrics Output
$ kubectl get -n eunomia-operator endpoints/eunomia-operator -o jsonpath='{.subsets[*].addresses[*].targetRef.name}' | xargs -I% kubectl exec -n eunomia-operator % -- curl -sS localhost:8383/metrics | grep eunomia_build_info

eunomia version: v0.1.6
Additional context

N/A

My vote would be to upgrade the current one to helm 3. There's no reason to keep the old one around at this point...

repo: KohlsTechnology/eunomia


text:
Update: Add note about group filtering to Konnect SSO

Description
Just adding a note to the Konnect SSO doc page about group filtering as it's needed in the rare case where a user in the IdP has over ~150 groups assigned which some IdPs will then not send the groups_claim in a standard manner and prevents successful authentication as a result. Customers need to use group filtering capabilities from the IdP to work effectively in that situation.
Stems from an issue discussed in Kong Support case #00037499.
Checklist

[x] Review label added
[x] PR pointed to correct branch (main for immediate publishing, or a release branch: e.g. release/gateway-3.2, release/deck-1.17)

Setting do not merge for now, we have a content freeze on Konnect docs until Sept 20th.

Great feedback! Just pushed a new commit with the changes to add that Troubleshooting section.


text:
fix(o2k): change regex prio to int from uint

fixes #158

released in decK 1.36.2

repo: Kong/go-apiops


text:
Failed reading the chunked-encoded stream

Expected Behavior
Dowload this file:

Actual Behavior

GET /nifi-api/templates/0f1ba51e-6bab-4836-8403-cf0c046800a5/download HTTP/1.1
Host: server1:58443
User-Agent: insomnia/2022.7.5
Cookie: __Secure-Request-Token=3e7a7893-a3b0-40d6-b668-ed637d50af72
Accept-Encoding: gzip, deflate, br
Content-Encodin: UTF-8
Content-Type: application/xml
Accept: /
Content-Encoding: deflate

TLSv1.2 (IN), TLS header, Supplemental data (23):
TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
TLSv1.2 (IN), TLS header, Supplemental data (23):
Mark bundle as not supporting multiuse

< HTTP/1.1 200 OK
< Date: Mon, 23 Jan 2023 05:04:53 GMT
< Cache-Control: private, no-cache, no-store, no-transform
< Content-Encoding: UTF-8
< Content-Disposition: attachment; filename* = UTF-8''Base64EncodeContent.xml
< Content-Type: application/xml
< Vary: Accept-Encoding
< Content-Security-Policy: frame-ancestors 'self'
< Strict-Transport-Security: max-age=31536000 ; includeSubDomains
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< Transfer-Encoding: chunked

Received 15.5 KB chunk
Unrecognized content encoding type. libcurl understands deflate, gzip, br content encodings.
Failed reading the chunked-encoded stream
Closing connection 18
TLSv1.2 (IN), TLS header, Supplemental data (23):
TLSv1.2 (OUT), TLS header, Supplemental data (23):
TLSv1.3 (OUT), TLS alert, close notify (256):

Reproduction Steps
No response
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
If you use Postman, then everything is successful.
Insomnia Version
2022.7.5
What operating system are you using?
Windows
Operating System Version
Microsoft Windows [Version 10.0.19042.1526]
Installation method
https://updates.insomnia.rest/downloads/windows/latest?app=com.insomnia.app&source=website
Last Known Working Insomnia version
2022.7.5

Hi @gh-qqwweasdzxc please try to edit the description to make it a bit more readable what the issue is.
In other http clients, when this error happens:
Unrecognized content encoding type. libcurl understands deflate, gzip, br content encodings.
Failed reading the chunked-encoded stream

It might be due to a handful of cases. I would suggest you double check your request headers:

Content-Encodin: UTF-8 where Encodin should probably be Encoding
 Accept-Encoding: gzip, deflate, br might work bettter with just  Accept-Encoding: gzip, deflate
 Accept: / should probably be  Accept: */*

Thanks.
I followed Your recommendations, but
the "Could not read the fragmented encoded stream"
remains.
GET /nifi-api/templates/0f1ba51e-6bab-4836-8403-cf0c046800a5/download HTTP/1.1
Host: server1:58443
User-Agent: insomnia/2022.7.5
Cookie: __Secure-Request-Token=3e7a7893-a3b0-40d6-b668-ed637d50af72
Accept: /
Encoding: UTF-8
Accept-Encoding: gzip, deflate
TLSv1.2 (IN), TLS header, Supplemental data (23):
TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
TLSv1.2 (IN), TLS header, Supplemental data (23):
Mark bundle as not supporting multiuse
HTTP/1.1 200 OK
Date: Mon, 23 Jan 2023 21:40:07 GMT
Cache-Control: private, no-cache, no-store, no-transform
Content-Encoding: UTF-8
Content-Disposition: attachment; filename* = UTF-8''Base64EncodeContent.xml
Content-Type: application/xml
Vary: Accept-Encoding
Content-Security-Policy: frame-ancestors 'self'
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Transfer-Encoding: chunked
Received 15.5 KB chunk
Unrecognized content encoding type. libcurl understands deflate, gzip, br content encodings.
Failed reading the chunked-encoded stream
Closing connection 27
TLSv1.2 (IN), TLS header, Supplemental data (23):
TLSv1.2 (OUT), TLS header, Supplemental data (23):
TLSv1.3 (OUT), TLS alert, close notify (256):

authors: filfreire gh-qqwweasdzxc

repo: Kong/insomnia


text:
If the server and route in Kong are in Chinese, but the Prometheus plugin does not support display

UTF-8 support was added in upstream a while ago. I created https://github.com/Kong/kong-plugin-prometheus/pull/146
to backport it.

authors: fffonion howdypl

repo: Kong/kong-plugin-prometheus


text:
DomainMapping with Knative

Summary

Kong version: 2.1.0 (according to Helm chart)
Bad request when using DomainMapping

Steps To Reproduce

Install Knative Operator
Install Knative DomainMapping extension
Install Kong (via Helm chart)
Create a KnativeServing resource
Create a  serving.knative.dev/v1 Service resource
Confirm Kong properly handles requests for the Knative Service (it does, returns "200 OK").
Confirm custom domain gives "no Route matched with these values" response before domain mapping
Create a DomainMapping resource to the existing Knative Service
Requests for custom domain now give "400 Bad Request".

Additional Details & Logs
When making the direct response using the domain template to construct the URL, I see the following in the proxy container logs:
10.240.0.4 - - [12/Jun/2021:12:46:12 +0000] "GET /?bustCache=0.9222607357396713 HTTP/1.1" 200 20 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36"
20

So that part is great.  However, when I put the DomainMapping instance in place and I make a request to the custom domain, I see this:
10.244.1.1 - - [12/Jun/2021:12:53:39 +0000] "GET /?bustCache=0.8193610545267835 HTTP/1.1" 400 12 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36"
10.244.1.1 - - [12/Jun/2021:12:53:39 +0000] "GET /?bustCache=0.8193610545267835 HTTP/1.1" 400 12 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36"
10.244.1.1 - - [12/Jun/2021:12:53:39 +0000] "GET /?bustCache=0.8193610545267835 HTTP/1.1" 400 12 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36"
... // probably repeated at least 100 times

You can see from the bustCache query parameters, there is just one request (because that is randomly generated on each request) but it is getting "bounced around" or retried or something.
My DomainMapping  instance is very simple and it is placed in the same test-functions namespace as the Service resource:
apiVersion: serving.knative.dev/v1alpha1
kind: DomainMapping
metadata:
  # Not the actual hostname, but representative...
  name: www.example.org
  namespace: test-functions
spec:
  ref:
    name: test
    kind: Service
    apiVersion: serving.knative.dev/v1

After adding this, I see now issues in the logs for the domain-mapping deployment pods or its associated webhook pod.
The DomainMapping resource is shown as Ready a few seconds after I add it.  I also see an Ingress created in networking.intenal.knative.dev as well.
Does Kong support DomainMapping?  The fact that Kong's response changes from "no Route" to "Bad Request" seems to imply something is happening here (i.e., it isn't totally ignoring the DomainMapping).
At the end of the day, all I want is to map a custom domain to a Knative Service.  I suspect there is some Kong-specific way to achieve this but I've tried a few things and haven't been successful.  So if anybody can point me to some specific documentation on how to route requests for a specific (custom) virtual host to a Knative Service, I'm all ears.
Thanks.

Not sure offhand. I don't know whether Knative implements DomainMapping support independently of the controllers (e.g. KIC) that then add routing configuration for the Ingress resources Knative creates on your behalf. Between my knowledge of how Knative handles Ingress configuration without DomainMapping and the observed change from a 404/no route response to a 400 here, I suspect that we don't need to implement anything additional for DomainMapping to work.
Without DomainMapping, you set up a default domain and Knative creates Ingresses for each Service it handles as subdomains on that domain. I suspect it handles DomainMapping by just overriding that default domain on a per-Service basis, and as such the upstream controller that consumes the generated Ingress configuration doesn't need to be aware of DomainMapping itself.
What's in the body of the 400 response? Since you're not seeing a 400 already when you have no route, I suspect this isn't something inherently wrong with your request, but rather some transformation applied by the Kong proxy that the upstream service doesn't like. Errors from that service's logs and/or the response body should hopefully clarify what that problem transformation is.

repo: Kong/kong


text:
chore(gha): Set default timeouts.

Summary
These changes set a default-timeout for all the workflows present at time of writing.
To compliment these changes, I have also set an override of the org-wide var.GHA_DEFAULT_TIMEOUT (10 minutes at the org level) to 30 minutes for both the CE and EE repos.
This PR replaces https://github.com/Kong/kong/pull/12566 which was aggregating auto-generated commits, some of which introduced syntactical issues and caused the workflows to be invalid/broken. To the best of my ability, these changes do not do that and represent valid workflows.
Checklist

[na] The Pull Request has tests
[na] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[na] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

While this works, is there any way to set a global default? Then, we do not need to insert the timeout directive to each job?
Say, a new workflow may be added but the author forgot to set it.

Sadly no. There is no way to set a default timeout at the org or account level. The only way to accomplish this is by the method employed here; an org-level variable plus the addition of the line to all affected workflows :(


text:
Fix 2.0 KongClusterPlugin handling

As-is, 2.0 cannot see KongClusterPlugins (see https://github.com/Kong/kubernetes-ingress-controller/pull/1360#issue-654148265).
Initial review indicates that this is because the current KongClusterPlugin type is namespaced: https://github.com/Kong/kubernetes-ingress-controller/blob/e7ca5dd403f95e58dd30c7428afc4d3f76814b9f/railgun/config/crd/bases/configuration.konghq.com_kongclusterplugins.yaml#L10-L17
It should not be, as all controller code that interacts with it expects cluster-level resources by design. Debugging indicates that you can currently create namespaced KongClusterPlugins in the store fine, but the store package can't handle those.
Fixing kubebuilder tags should address this:
diff --git a/railgun/apis/configuration/v1/kongclusterplugin_types.go b/railgun/apis/configuration/v1/kongclusterplugin_types.go
index 90b481bf..7a5a741f 100644
--- a/railgun/apis/configuration/v1/kongclusterplugin_types.go
+++ b/railgun/apis/configuration/v1/kongclusterplugin_types.go
@@ -24,6 +24,7 @@ import (
 //+genclient
 //+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
 //+kubebuilder:object:root=true
+//+kubebuilder:resource:scope=Cluster
 //+kubebuilder:subresource:status
 //+kubebuilder:storageversion

With that in place, regenerating code does update the CRD manifest, but not the generated client. make generate.clientsets should, AFAIK, be the last remaining step, but it's giving me trouble.
Note that the original test from #1360 will need a small change to remove the namespace from its clientset calls once this is fixed.

kcp.diff.txt is a bit more complete version of the changes with the updated test (not yet vettable due to the broken clientset signature) and post-generator CRD YAML.

The "unable to add directory" error in my original gist was a false alarm. When I copied the Makefile target I accidentally copied some extra whitespace that broke the command.
The target had run successfully, but didn't do what I wanted because I didn't realize that kubebuilder and client-gen are both involved in this, and need different metadata tags to handle their respective tasks. Per https://github.com/Kong/kubernetes-ingress-controller/pull/1418#issuecomment-859734285 I was missing //+genclient:nonNamespaced originally.

implemented in #1418

repo: Kong/kubernetes-ingress-controller


text:
Kong for Kubernetes does not

Summary
Kong for K8 does not honor strip-path annotations in the ingress resource.
Kong Ingress controller version
1.5.1-centos
Kubernetes version
1.17.4
Environment
Cloud: AWS
OS: Centos
What happened
We have ingress resource with the following annotations.
kubernetes.io/ingress.class: "kong"
konghq.com/strip-path: "false"
ingress resource path is "/share". for e.g ingress.yaml
paths:
- path: /share
Kong proxy is updating routes.strip-path field in kong database to "TRUE" and stripping the path "/share/" from the path while forwarding the request. for e.g path with "/share/page/index.html" is getting forwarded to backend as "/page/index.html"
Expected behavior
We expected Kong proxy to update routes.strip-path field in kong database to false but the value is always TRUE for all routes. We expected Kong proxy to not strip the path vaule "/share" and forward the request to backend service with the correct path "/share/*". for e.g path with "/share/page/index.html" should get forwarded to backend as "/share/page/index.html"

Are you running controller 0.8.x? Older versions don't support that annotation.

version for kong ingress controller is 0.7.1

Please upgrade. Or use KongIngress resource's route.strip_path property.

authors: grk-kulkarni hbagdi


text:
Unified account - Bug related to Earning feature

Describe the task
Bug related to Earning feature

[x] Re-check min stake  in case stake more
Steps: Input Amount < Min stake  (Check with Vara network)
Actual: Show error

[x] Can't perform liquid staking for EVM Ledger account
Actual: Show message

Expect: Perform transaction

[x] Re-check action in case perform a transaction earning with account QR signer account EVM (Dev mode)
Actual: Show message

Expect: In dev mode, transactions are still allowed
Note: Transfer with account QR signer EVM normal

Version test: https://drive.google.com/file/d/12-lZOfrAyeI_ixhbgG98h6p3BN9B-NLS/view?usp=sharing
Validation passed.

Stake more:

Withdraw liquid staking Ledger account

Perform a transaction earning with account QR signer account EVM (Dev mode)

repo: Koniverse/SubWallet-Extension


text:
Do not automatically reset the password after exiting the form

Description of the bug
Do not automatically reset the password after exiting the form
Version test: v1.0.1(134)
Re-check all features that require a password
https://user-images.githubusercontent.com/117999489/234759316-540f7ca7-57c2-4c21-b37e-7986cdf567c3.mp4
Expect: Auto reset password

Version test: v1.0.1(139)
Devices: IP 11
Please re-check in case the export account
https://user-images.githubusercontent.com/117999489/236599918-52e98f21-241b-42c1-b128-40e4f442834c.mp4

Please test in new version

Version test: v1.0.1
Devices test: IP 11
Re-check issue in case change Json file when import account
https://user-images.githubusercontent.com/117999489/236812721-190afbf7-7b58-4d1a-b7fb-69ed1446c072.mp4

Version test: v1.0.1(142)
Devices test: IP 11
Validation passed.

repo: Koniverse/SubWallet-Mobile