text:
Download YouTube playlist videos in a different way

Please tick all applicable boxes.

[X] I am using Python 3.5.3 or higher (run python --version on the command line)
[X] I have followed the official guides to install the bot for my system
[X] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[ ] The latest master version (release-260419)
[X] The latest review version

What type of issue are you creating?

[X] Bug
[ ] Feature request
[ ] Question

Description of issue
When the bot is commanded to play a YouTube playlist, it downloads all the videos of the playlist all at once... which in a large playlist makes YouTube IP block the VPS the bot is running on.
This behavior doesn’t make sense!
Why doesn’t the bot instead only download the first song, plays it, when it’s done it downloads the second song, plays it, etc...
Much better than downloading all the songs of a playlist at once! And will for sure prevent YouTube’s annoying IP block.
Steps to reproduce

Make it play any YouTube playlist with many videos (example: https://www.youtube.com/playlist?list=PL4o29bINVT4EG_y-k5jGoOu3-Am8Nvi10)

It will try to download all of the videos all at once and will get IP blocked by Youtube in no time.

Log file
Please attach your MusicBot log file (located at logs/musicbot.log) to this issue. You can do so by dragging and dropping the file here. If you do not include your log file, you WILL be asked to provide one.
[30.515432358] 2020-07-14 21:31:48,849 - INFO - launcher: Checking for Python 3.5+
[30.718088150] 2020-07-14 21:31:48,849 - INFO - launcher: Checking console encoding
[30.900955200] 2020-07-14 21:31:48,849 - INFO - launcher: Ensuring we're in the right environment
[448.570251465] 2020-07-14 21:31:49,267 - INFO - launcher: Required checks passed.
[449.181795120] 2020-07-14 21:31:49,268 - INFO - launcher: Optional checks passed.
[449.469566345] 2020-07-14 21:31:49,268 - INFO - launcher: Moving old musicbot log

######################### PRE-RUN SANITY CHECKS PASSED #########################

[1.0954689979553223] 2020-07-14 21:31:49,914 - WARNING - musicbot.config | In config.py::MainThread(140250957956928), line 123 in run_checks: i18n file does not exist. Trying to fallback to config/i18n/en.json.
[1.0958342552185059] 2020-07-14 21:31:49,914 - INFO - musicbot.config | In config.py::MainThread(140250957956928), line 134 in run_checks: Using i18n: config/i18n/en.json
[1.0980954170227051] 2020-07-14 21:31:49,917 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 239 in _setup_logging: Set logging level to INFO
[1.1010162830352783] 2020-07-14 21:31:49,920 - DEBUG - musicbot.json | In json.py::MainThread(140250957956928), line 8 in __init__: Init JSON obj with config/i18n/en.json
[1.1118435859680176] 2020-07-14 21:31:49,930 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 90 in __init__: Starting MusicBot release-260819-72-g2350384
[1.1124629974365234] 2020-07-14 21:31:49,931 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 96 in __init__: Loaded autoplaylist with 2531 entries
[1.1938691139221191] 2020-07-14 21:31:50,012 - DEBUG - musicbot.spotify | In spotify.py::MainThread(140250957956928), line 81 in get_token: Created a new access token: {'access_token': 'BQBYcGaTU42K96Gnt82HevLsnJEwJOVWAES6nNenj54CuwRTc6jCZH0ua598Lsd790dqgTGSY1IefZahBno', 'token_type': 'Bearer', 'expires_in': 3600, 'scope': '', 'expires_at': 1594765910}
[1.1942601203918457] 2020-07-14 21:31:50,013 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 121 in __init__: Authenticated with Spotify successfully using client ID and secret.
[3.6479089260101318] 2020-07-14 21:31:52,466 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 965 in on_ready: Connection established, ready to go.
[3.6483943462371826] 2020-07-14 21:31:52,467 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 356 in _cache_app_info: Caching app info
[3.7539911270141602] 2020-07-14 21:31:52,573 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 787 in _scheck_ensure_env: Ensuring data folders exist
[3.7552502155303955] 2020-07-14 21:31:52,574 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 803 in _scheck_server_permissions: Checking server permissions
[3.7554564476013184] 2020-07-14 21:31:52,574 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 807 in _scheck_autoplaylist: Auditing autoplaylist
[3.7556393146514893] 2020-07-14 21:31:52,574 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 811 in _scheck_configs: Validating config
[3.7558276653289795] 2020-07-14 21:31:52,574 - DEBUG - musicbot.config | In config.py::MainThread(140250957956928), line 237 in async_validate: Validating options...
[3.7559976577758789] 2020-07-14 21:31:52,575 - DEBUG - musicbot.config | In config.py::MainThread(140250957956928), line 251 in async_validate: Acquired owner id via API
[3.7561569213867188] 2020-07-14 21:31:52,575 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 814 in _scheck_configs: Validating permissions config
[3.7563233375549316] 2020-07-14 21:31:52,575 - DEBUG - musicbot.permissions | In permissions.py::MainThread(140250957956928), line 94 in async_validate: Validating permissions...
[3.7565703392028809] 2020-07-14 21:31:52,575 - DEBUG - musicbot.permissions | In permissions.py::MainThread(140250957956928), line 98 in async_validate: Fixing automatic owner group
[3.7567837238311768] 2020-07-14 21:31:52,575 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 979 in on_ready: Connected: 732710014216830987/Merde#6205
[3.7572257518768311] 2020-07-14 21:31:52,576 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 987 in on_ready: Owner:     193120890899267585/ٴٴ#9103

[3.7575387954711914] 2020-07-14 21:31:52,576 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 993 in on_ready: Guild List:
[3.7578756809234619] 2020-07-14 21:31:52,576 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 997 in on_ready:  - Harder
[3.7582430839538574] 2020-07-14 21:31:52,577 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 1053 in on_ready: Not bound to any text channels
[3.7584948539733887] 2020-07-14 21:31:52,577 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 1079 in on_ready: Not autojoining any voice channels
[3.7594964504241943] 2020-07-14 21:31:52,578 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 286 in _join_startup_channels: Found owner in "General"
[3.7597861289978027] 2020-07-14 21:31:52,578 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 295 in _join_startup_channels: Attempting to join Harder/General
[6.4041831493377686] 2020-07-14 21:31:55,223 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 747 in deserialize_queue: Deserializing queue for 732295950714011738
[6.6349246501922607] 2020-07-14 21:31:55,453 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 439 in get_player: Created player via deserialization for guild 732295950714011738 with 1 entries
[6.6354134082794189] 2020-07-14 21:31:55,454 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 311 in _join_startup_channels: Joined Harder/General
[6.6366314888000488] 2020-07-14 21:31:55,455 - DEBUG - musicbot.entry | In entry.py::MainThread(140250957956928), line 62 in get_ready_future: Created future for None
[6.6373357772827148] 2020-07-14 21:31:55,456 - INFO - musicbot.entry | In entry.py::MainThread(140250957956928), line 366 in _really_download: Download started: https://soundcloud.com/izanagibang/best-song-ever-created
[8.2095448970794678] 2020-07-14 21:31:57,028 - INFO - musicbot.entry | In entry.py::MainThread(140250957956928), line 376 in _really_download: Download complete: https://soundcloud.com/izanagibang/best-song-ever-created
[8.2132229804992676] 2020-07-14 21:31:57,032 - FFMPEG - musicbot.player | In player.py::MainThread(140250957956928), line 293 in _play: Creating player with options: -nostdin -vn audio_cache/soundcloud-90213207-Best_Song_Ever_Created_Maximbady_-_Hey_baby.mp3
[8.2230744361877441] 2020-07-14 21:31:57,042 - DEBUG - musicbot.player | In player.py::MainThread(140250957956928), line 306 in _play: Playing <musicbot.player.SourcePlaybackCounter object at 0x7f8eb49a2400> using <discord.voice_client.VoiceClient object at 0x7f8eb521fb50>
[8.2273652553558350] 2020-07-14 21:31:57,046 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 474 in on_player_play: Running on_player_play
[8.2278752326965332] 2020-07-14 21:31:57,046 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 723 in serialize_queue: Serializing queue for 732295950714011738
[27.0019505023956299] 2020-07-14 21:32:15,820 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 2716 in on_message: 193120890899267585/ٴٴ#9103: !skip
[27.0131967067718506] 2020-07-14 21:32:15,832 - DEBUG - musicbot.player | In player.py::Thread-3(140250671998720), line 220 in _playback_finished: Deleting file: audio_cache/soundcloud-90213207-Best_Song_Ever_Created_Maximbady_-_Hey_baby.mp3
[27.0143411159515381] 2020-07-14 21:32:15,833 - DEBUG - musicbot.player | In player.py::Thread-3(140250671998720), line 225 in _playback_finished: File deleted: audio_cache/soundcloud-90213207-Best_Song_Ever_Created_Maximbady_-_Hey_baby.mp3
[27.0178744792938232] 2020-07-14 21:32:15,836 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 550 in on_player_finished_playing: Running on_player_finished_playing
[27.2232422828674316] 2020-07-14 21:32:16,042 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 723 in serialize_queue: Serializing queue for 732295950714011738
[27.2246158123016357] 2020-07-14 21:32:16,043 - DEBUG - musicbot.bot | In bot.py::MainThread(140250957956928), line 546 in on_player_stop: Running on_player_stop
[104.0940260887145996] 2020-07-14 21:33:32,913 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 2716 in on_message: 193120890899267585/ٴٴ#9103: !stream https://youtu.be/-aLYvZ5sX28
[104.9392480850219727] 2020-07-14 21:33:33,758 - ERROR - musicbot.bot | In bot.py::MainThread(140250957956928), line 2845 in on_message: Error in stream: ExtractionError: Unknown error: ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by <HTTPError 429: 'Too Many Requests'>)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 2238, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 563, in error
    result = self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 755, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 429: Too Many Requests

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/youtube.py", line 1782, in _real_extract
    video_webpage, urlh = self._download_webpage_handle(url, video_id)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/youtube.py", line 276, in _download_webpage_handle
    return super(YoutubeBaseInfoExtractor, self)._download_webpage_handle(
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/common.py", line 660, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query, expected_status=expected_status)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/common.py", line 645, in _request_webpage
    raise ExtractorError(errmsg, sys.exc_info()[2], cause=err)
youtube_dl.utils.ExtractorError: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by <HTTPError 429: 'Too Many Requests'>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ikk157/MusicBot/musicbot/playlist.py", line 123, in add_stream_entry
    info = await self.downloader.extract_info(self.loop, song_url, download=False)
  File "/home/ikk157/MusicBot/musicbot/downloader.py", line 84, in extract_info
    return await loop.run_in_executor(self.thread_pool, functools.partial(self.unsafe_ytdl.extract_info, *args, **kwargs))
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 820, in extract_info
    self.report_error(compat_str(e), e.format_traceback())
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 625, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 595, in trouble
    raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by <HTTPError 429: 'Too Many Requests'>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ikk157/MusicBot/musicbot/bot.py", line 2823, in on_message
    response = await handler(**handler_kwargs)
  File "/home/ikk157/MusicBot/musicbot/bot.py", line 1709, in cmd_stream
    await player.playlist.add_stream_entry(song_url, channel=channel, author=author)
  File "/home/ikk157/MusicBot/musicbot/playlist.py", line 138, in add_stream_entry
    raise ExtractionError("Unknown error: {}".format(e))
musicbot.exceptions.ExtractionError: Unknown error: ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by <HTTPError 429: 'Too Many Requests'>)
[133.1778171062469482] 2020-07-14 21:34:01,996 - INFO - musicbot.bot | In bot.py::MainThread(140250957956928), line 2716 in on_message: 193120890899267585/ٴٴ#9103: !shutdown
[133.707516432] launcher-INFO: All done. ```

This won't fix anything about the IP block, because you'll still be downloading from the same IP. We do want to add a built in proxy in the feature to help prevent the IP block however.

This won't fix anything about the IP block, because you'll still be downloading from the same IP. We do want to add a built in proxy in the feature to help prevent the IP block however.

This won't fix anything about the IP block, because you'll still be downloading from the same IP. We do want to add a built in proxy in the feature to help prevent the IP block however.

Ah i see... I appreciate your efforts!

This won't fix anything about the IP block, because you'll still be downloading from the same IP. We do want to add a built in proxy in the feature to help prevent the IP block however.

Ah i see... I appreciate your efforts!

repo: Just-Some-Bots/MusicBot


text:
Autoplaylist Functionalities Phase 1: Autostream Implementation

After creating your pull request, tick these boxes if they are applicable to you.

[x] I have tested my changes against the review branch (the latest developmental version), and this pull request is targeting that branch as a base
[x] I have tested my changes on Python 3.5/3.6

Description

I planned to do several pull requests to rewrite and add functionalities to autoplaylist which cover a range of feature requests. This will happen in different phases. Phases are arranged in the order that it won't interfere with each other very much.
phase 1: add autostream and related functionalities
phase 2: make options to allow totally different autoplaylist.txt in different servers (or guild)
phase 3: add an option to show autoplaylist "now playing" notifications

This pull request introduces autostream. It's similar to autoplaylist, but it's for streams.
You can add streams for autoplaying in config/autostream.txt.
If the configuration for randomization and toggling is not set, autostream will play after autoplaylist.
Update 1: autostream and autoplaylist could be set to skip automatically when someone adds stuff to the queue.
Update 2: autostream and autoplaylist can play in 2 modes:

merge: merge autoplaylist and autostream when playback
toggle: use the toggleplaylist command to toggle between them

Update 3:

modes are saved
different modes for different servers now possible

I am currently satisfied with these changes. I don't think I will push more commits except commits for clarity and bugs fixing from b06c8b3 onwards. (This mark an end to more feature implementation to this little PR)
As of now, if #1740 got merged before this. This PR will require some modifications to work properly. If there's plan to merge #1740, merge it first. I will make the required modifications on this PR after #1740 got merged. If #1740 got merged and this message is still here, DO NOT MERGE THIS PR as it will definitely break. I will merge changes required from TheerapakG/MusicBot:autostream_permissions into this.
Related issues (if applicable)
(#1462, #1587)
not a direct implementation of #1587 but introduce "roughly equivalent" features, here is the breakdown:

autostream.txt now exist
you can add or remove a stream using autostream command
toggling can be set using the config file
state of toggling does save so next startup it'll be on whatever mode you've set
you can use the config file to skip the autos when added the new entry (the self-closing stream do exist so I added the config to let you choose to force the autostream to skip or not)

Waiting AutoStream so much! Thx for work man!

Any ETA ?

Any ETA for autostream function ?

You can try it out now by pulling from the branch in my repository. There might be some bugs (I would expect only two or three bugs at most) which I haven't found. If you try it out and found them please let me know! For the date when this will be merged into the main branch, I don't know yet. It depends on the collaborator of this repository.

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
Allow to create .plugin file from any plugin

Might make sense in accordance with https://github.com/JustAnyones/Plugin-creator-website/issues/2 to allow to create a .plugin from any plugin or previous plugin made in PCA in case of an update.

It has been decided to not implement it for any kind of plugin. The API for encrypting plugins can be made public, but PCA will not support this feature out of the box, only for its own projects.

source: gharchive/issue

repo: JustAnyones/Plugin-creator-website


text:
请教目录缓存

请问大神 ，BookReader的目录缓存是怎么做的啊，每次 进来的时候都请求目录然后缓存吗？

目前进入阅读界面是先加载缓存，再进行请求。具体参照com.justwayward.reader.ui.presenter.BookReadPresenter   目前这个也不是很完善，暂时是这么做的。

大神 这个好像懂了 ，看了您的这个类。
我还有一个疑问 就是 ，我们每次读取一章的时候，是不是第一次就会把章节的所有内容都拿出来，而不是每一次翻页都会去内存里面读，然后显示出来啊 。

是每次翻页的时候 都会计算分页吗

翻页的时候  根据position 去读取一页的内容，实时的  不是一次性读出来

好勒 谢谢大神

客气客气~~

authors: cocoas smuyyh

repo: JustWayward/BookReader

license_source: bigquery


text:
Can you share the word crop code

In the paper : "We crop from the proposed multilingual dataset. We discard images with widths shorter than 32 pixels as they are too blurry, and obtain 4.1M word images in total."
But I ended up with more than 7 million text line images.

How did you crop the text regions? Did you use axis-aligned boxes or quadrilaterals?

@Jyouhou I use axis-aligned boxes，and only the rectangle with width and height greater than 32 is reserved

Thanks for the reply.
Most text are highly oriented in the dataset. I filtered by the shortest edge of the quadrilaterals (not the axis-aligned boxes).

@Jyouhou Can you share your wechat? It's more convenient to communicate

Sure. You can send your wechat account to my cmu email: shangbal@cs.cmu.edu

authors: Jyouhou wushilian

repo: Jyouhou/UnrealText


text:
Changes by create-pull-request action

Automated changes by create-pull-request GitHub action

Your image
keinos/sqlite3:latest

Current base image
alpine:latest

Overview

Image reference
keinos/sqlite3:3.46.1
keinos/sqlite3:latest

- digest
ae78ae013f46
cdc9a2c3c976

- tag
3.46.1
latest

- stream
latest

- provenance

https://github.com/KEINOS/Dockerfile_of_SQLite3/commit/9e8d27bfac0f790f9a6de7babbb20270ab9611b7

- vulnerabilities

- platform
linux/amd64
linux/amd64

- size
7.4 MB
9.7 MB (+2.3 MB)

- packages
17
14 (-3)

Base Image
alpine:3also known as:• 3.20• 3.20.3• latest
alpine:latestalso known as:• 3• 3.20• 3.20.3

- vulnerabilities

Policies (0 improved, 0 worsened, 7 missing data)

Policy Name
keinos/sqlite3:3.46.1
keinos/sqlite3:latest
Change
Standing

Default non-root user
:white_check_mark:
:question: No data

No AGPL v3 licenses
:white_check_mark:
:question: No data

No fixable critical or high vulnerabilities
:white_check_mark:
:question: No data

No high-profile vulnerabilities
:white_check_mark:
:question: No data

No outdated base images
:white_check_mark:
:question: No data

No unapproved base images
:white_check_mark:
:question: No data

Supply chain attestations
:white_check_mark:
:question: No data

Packages and Vulnerabilities (5 package changes and 0 vulnerability changes)

:heavy_minus_sign: 3 packages removed
:infinity: 2 packages changed
12 packages unchanged

Changes for packages of type apk (5 changes)

Package
Versionkeinos/sqlite3:3.46.1
Versionkeinos/sqlite3:latest

:heavy_minus_sign:
ca-certificates
20240705-r0

:infinity:
libcrypto3
3.3.2-r0
3.3.2-r1

:infinity:
libssl3
3.3.2-r0
3.3.2-r1

:heavy_minus_sign:
openssl
3.3.2-r0

:heavy_minus_sign:
pax-utils
1.3.7-r2


text:
How could I disable Google search?

I'm using Cerebro as apps launcher and never want to use it for web search. However, sometimes I end up executing search queries which I don't want to do, especially considering it is a Google search (my search engine of choice is Duckduckgo).
I can't find corresponding plugin and do not see an option to disable this. I remember you've being planning to decouple everything into plugins, will it be possible to disable/remove search entirely then?

It would be nice to have google search as a plugin so we could have more flexibility

It is already extracted from the main repository as a separate plugin, so we are all eagerly awaiting the 0.2.9 release to finally be able to disable it 🙂

I see.
It seems that the same applies to Yandex translate:
https://github.com/KELiON/cerebro-yandex-translate

Yes, I've finished extracting plugins, but there are few minor bugs that prevents from releasing it:) But it will be soon, I promise! :D

In version 0.3.0 you can uninstall google plugin as any other

authors: KELiON danielmelogpi maximbaz nazar-pc

repo: KELiON/cerebro

license: mit


text:
🛑 PLDT is down

In fe3cc19, PLDT (https://pldthome.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PLDT is back up in 258edac after 1 hour, 43 minutes.

repo: KMHARS/uptime


text:
Plugin cannot import time records from Firefox (password created, password last used/modified)

Would it be possible for the plugin to take both available in Firefox dates and transfer them to KeePass?
I know KeePass has two columns:
Creation Time
Last Modification Time
After importing all passwords they are both set at the time of the import.
However, this information is stored in Firefox under:
First time used
Last Change
Would it be possible to import all those dates together with the passwords?

added @ v1.0.2


text:
🛑 Cube Ent. is down

In e67c7d1, Cube Ent. (http://www.cubeent.co.kr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cube Ent. is back up in d5455e9 after 1 day, 11 hours, 52 minutes.

repo: KPOPCORD/status


text:
Hitting 'home' / 'Pos1' key on modlist throws error.

Background
CKAN Version:
v1.26.0
KSP Version:
1.6.1.2401
Operating System:
Windows 7
Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
No
Affected mods and mod versions:
N/A
Problem
I get an exception whenever I hit the 'home' key in windows 7. Expected behavior would be to jump to the top of the list of installed mods. My workaround is to hit page up repeatedly (but I usually forget and keep hitting home key).
What steps did you take in CKAN?
Hit 'Home' key
What did you expect to happen?
Jump to top of list of mods
What happened instead?
Unhandled exception occurs.
Screenshots:

CKAN error codes (if applicable):
System.InvalidOperationException: Die aktuelle Zelle kann nicht auf eine unsichtbare Zelle festgelegt werden. (Rough translation: the current cell can't be set to an invisible cell)
   bei System.Windows.Forms.DataGridView.set_CurrentCell(DataGridViewCell value)
   bei CKAN.Main.ModList_KeyDown(Object sender, KeyEventArgs e)
   bei System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
   bei System.Windows.Forms.DataGridView.OnKeyDown(KeyEventArgs e)
   bei System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   bei System.Windows.Forms.DataGridView.ProcessKeyEventArgs(Message& m)
   bei System.Windows.Forms.Control.WmKeyChar(Message& m)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Thanks for the report.
Can confirm the issue, I added the error message to your post.
I suspect it's a similar issue to https://github.com/KSP-CKAN/CKAN/issues/2703, CKAN tries to select a cell in a hidden column.

repo: KSP-CKAN/NetKAN


text:
Kopernicus.dll is registered to Kopernicus but has not been removed

Is there an existing issue for this?

[X] I have searched the existing issues

Operating System
Win 10
CKAN Version
1.33.2
Game Version
1.12.5.3190
Did you make any manual changes to your game folder (i.e., not via CKAN)?
No response
Describe the bug
Can't install an update to Kopernicus 2, CKAN gives an error about inconsistencies found
No idea if this is a NetKAN or CKAN bug sorry if this is in wrong place, but metadata problem sounds more likely?
Steps to reproduce
cleared Kopernicus archive from CKAN cache
attempted to re apply update through CKAN as if it were a download error, still happens
Relevant log output
* Upgrade: Kopernicus Planetary System Modifier 2:release-1.12.1-176 to 2:release-1.12.1-177 (cached)
The following inconsistencies were found:
* D:/Games/SteamLibrary/steamapps/common/Kerbal Space Program/GameData/Kopernicus/Plugins/Kopernicus.Parser.dll is registered to Kopernicus but has not been removed!
* D:/Games/SteamLibrary/steamapps/common/Kerbal Space Program/GameData/Kopernicus/Plugins/Kopernicus.dll is registered to Kopernicus but has not been removed!
Error during installation!
If the above message indicates a download error, please try again. Otherwise, please open an issue for us to investigate.
If you suspect a metadata problem: https://github.com/KSP-CKAN/NetKAN/issues/new/choose
If you suspect a bug in the client: https://github.com/KSP-CKAN/CKAN/issues/new/choose

That means your OS  wouldn't let CKAN delete that file, which usually means either the permissions got messed up (possibly because CKAN was run as administrator previously) or the game is still running. Make sure the game is closed (reboot if necessary), check the permissions, and try again.


text:
Add Alternis Kerbol Rekerjiggered from Kerbal Stuff

This pull request was automatically generated by Kerbal Stuff on behalf of GregroxMun, to add Alternis Kerbol Rekerjiggered to CKAN.
Please direct questions about this pull request to GregroxMun.

This mod wants to overwrite configs for PlanetShine and DistantObject, depends Kopernicus, and recommends KopernicusExpansion and PlanetShine.
PlanetShine and DistantObject already have config splits, so it's just a matter of creating AlternisKerbolRekerjiggered, DistantObject-AlternisKerbolRekerjiggered, and AlternisKerbolRekerjiggered-PlanetShine

Closing in favour of https://github.com/KSP-CKAN/NetKAN/pull/2443


text:
Add Infernal RO-Robotics from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of whale_2, to add Infernal RO-Robotics to CKAN.
Please direct questions about this pull request to whale_2.
Mod details:
name = /mod/2329/Infernal%20RO-Robotics
author = whale_2
abstract = Infernal Robotics fork for Realism Overhaul
license = GPLv3
Homepage = https://github.com/whale2/InfernalRobotics/tree/master
description =
This is special fork of Infernal Robotics targeted at Realism Overhaul, though it should work just fine in usual KSP too.
Features autostrut-like mechanism for moving parts if needed.

Hey @whale2, this is marked as compatible with KSP 1.8 but RealismOverhaul is still on KSP 1.7. Is that OK?
Also what about this is particular to RO? It kind of sounds like this is an adoption/continuation of InfernalRobotics just using RO as branding...?

Hi HebaruSan,
It's quite a complicated story with many parties involved. As you
probably know, Infernal Robotics was picked up by Rudolf Meier and
completely rewritten along with some other mods like KJR on which IR Next
is kind of depends. At this point there already was KJR Continued by
pap1723, which was a part of RO set of mods. Currently, RO folks refuse to
provide any support if KJR Next is used, don't ask me why, but this
rendered IR Next less viable option for RO. I was eager to add IR to my RO
gameplay, so I picked up old IR, added some features to it as well as RO
rebalancing. This move was discussed with sirkut and ZodiusInfuser, (I also
messaged Ziw but got no answer) and I said I won't advertise it much on
forums so not to add to confusion with different IR forks.
So technically, my IR fork works as well in non-RO game as in RO, but from
"product placement" POV, it is intended for RO where IR Next is harder to
use. Hope it explains the matter.
As of 1.8 - RO gradually moves to this version after Kopernicus got
released for 1.8.1 - you can see it in so called Golden Spreadsheet (
https://docs.google.com/spreadsheets/d/1Ldf_nCZw0MiCP-Y5YFuvQioEKihY1SNgD-5yS983itE/edit?usp=sharing)
Also, preferred method of installing RO is CKAN, so I wanted to add this
RO-branded IR to it.
On Wed, Feb 12, 2020 at 5:42 PM HebaruSan notifications@github.com wrote:

Hey @whale2 https://github.com/whale2, this is marked as compatible
with KSP 1.8 but RealismOverhaul is still on KSP 1.7. Is that OK?
Also what about this is particular to RO? It kind of sounds like this is
an adoption/continuation of InfernalRobotics just using RO as branding...?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KSP-CKAN/NetKAN/pull/7689?email_source=notifications&email_token=AAKALOW6ZQK7H3U5TQVQYBLRCQRGTA5CNFSM4KTMFMTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELRPCFY#issuecomment-585298199,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKALORJIO26HWAHVMLP5HLRCQRGTANCNFSM4KTMFMTA
.

Hmm, would it make sense to add IR Next as a conflicting mod? I believe it uses the same directory under GameData.

Yes, I think several new relationships are probably necessary here.
Can this mod be used with KJRNext?

Can this mod be used with KJRNext?

Frankly - I didn't test it.

OK, if any users complain about problems, let us know and we can add a conflict.

authors: HebaruSan Space-Duck whale2


text:
Add sidewalk segmentation feature to svea_vision package

This PR introduces sidewalk segmentation feature to svea_vision package. The implementation is primarily done in the sidewalk_segmentation.py node.
The new feature includes the following key functionalities:

Image segmentation: The segment_image method is used to segment the sidewalk from the input image using FastSAM model.
Prompting: The segmented results can be prompted with a bounding box, a set of points or text to guide the segmentation. The type of prompt can be specified using the prompt_type parameter.
Point cloud extraction: The extract_pointcloud method is used to extract the point cloud data corresponding to the segmented sidewalk.
Customization:  A diverse set of ROS parameters are used in this feature, allowing for flexibility in configuring the sidewalk segmentation such as the prompt type, the value of the prompt, topic names etc.
Logging: The time taken for each step (inference, prompt, postprocess, extract point cloud, publish) can be logged for performance analysis using verbose parameter.
Static image publisher: Alongside the main sidewalk_segmentation.py node, a utility node static_image_publisher.py is included in this PR. This script is used to publish a static image or a set of images to a ROS topic, which can be useful for testing and debugging.

Really nice. We can discuss in more detail what/how to bring this into svea.

authors: kaarmu sulthansf


text:
Generate model input files from one common format

At present, each of the three (four if OSeMOSYS_PuLP is included) language versions of OSeMOSYS use a different input file format.
Write a script which generates a correctly formatted datafile for the:

[ ] GAMS version
[ ] PuLP version
[ ] Pyomo version

from a GNU MathProg dat file.

Alternatively, generate a common file format (possible CSV) which can be read by all language versions of OSeMOSYS.

Split into #70 and #71

repo: KTH-dESA/OSeMOSYS


text:
🛑 nHentai API is down

In 6654a1c, nHentai API (https://nh.usui.moe) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nHentai API is back up in 28f9e21.

repo: Kadantte/candy-up


text:
Updating / Deleting a user (using Terraform) results in Error: User does not exist

Related to #33
Deleting a user by removing the resource from Terraform results in Error: User does not exist. The same exact thing happens when e.g. we try to update e.g. the username of the user
module.documentdb_init.mongodb_db_user.personalized_user["sherif.k.ayad@gmail.com"]: Destroying... [id=YWRtaW4uc2hlcmlmLmF5YWRAcGFydG5lci5pb25pdHkuZXU=]
╷
│ Error: User does not exist

The following is my config for the user resource:
locals {
  personalized_users = {
     "sherif.k.ayad@gmail.com": {
         username = "sherif.k.ayad@gmail.com"
         password = "some_secure_pass"
         // ... some other stuff
      }
  }
}

resource "mongodb_db_user" "personalized_user" {
  for_each = local.personalized_users

  auth_database = "admin"
  name          = each.value.username
  password      = each.value.password

  role {
    db   = "my_db_1"
    role = "readWrite"
  }
  role {
    db   = "my_db_2"
    role = "readWrite"
  }
}

Found the reason! I was using usernames with dotes (. & @) characters .. despite that DocumentDB doesn't seem to complain, these were causing issues with the provider. I switched to using underscores (_) instead and the deletion / update of users is working like a charm.

repo: Kaginari/terraform-provider-mongodb


text:
Backup doesn't work when Bedrock server is running on a docker swarm

When Minecraft Bedrock Server is running on a docker swarm, the container name is appended with a random numbers/letters each time the stack is started, because of this the backup cannot connect to the container using the defined name.
This could be fixed by taking the name defined in the config.yml in this this instance "bds_minecraft_bedrock" and running the command below to get the container id which can then be used successfully as the name.
$(docker ps -q -f name=bds_minecraft_bedrock)
Cheers
Si

Kubernetes throws a wrench in things too. There's something happening recently that may or may not impact you here?
I've been working with itzg on adding SSH console support to the java/bedrock containers, and I've just merged the support in bedrockifier a few minutes ago. So instead of connecting via the container's name, it connects to the hostname for the container.
However, I think the catch might be that the hostname in this case is still the container name, or is the individual node's container hidden behind a more usable hostname? If the swarm hostnames are random, this might not help much. Unfortunately, I'm not super up to speed on swarm, as everything lives on a single VM for me.

Thanks for the reply, I'll take a look at the SSH option and see if its viable.
I'm completely new to docker, but as usual jumped in at the deep end with the whole swarm thing.
Currently I'm running a script on the host which literally runs the command below to switch out the name in the config file with the current container id, which has it working at least. "bds_minecraft_bedrock" in this case is the stack service name.
sudo sed -i -r "s/^(    - name: ).*/\1 $(docker ps -q -f name=bds_minecraft_bedrock)/"  /backup/config.yml
Cheers
Si

From: Kaiede @.>
Sent: 06 January 2024 21:51
To: Kaiede/Bedrockifier @.>
Cc: s-dukes @.>; Author @.>
Subject: Re: [Kaiede/Bedrockifier] Backup doesn't work when Bedrock server is running on a docker swarm (Issue #76)
Kubernetes throws a wrench in things too. There's something happening recently that may or may not impact you here?
I've been working with itzg on adding SSH console support to the java/bedrock containers, and I've just merged the support in bedrockifier a few minutes ago. So instead of connecting via the container's name, it connects to the hostname for the container.
However, I think the catch might be that the hostname in this case is still the container name, or is the individual node's container hidden behind a more usable hostname? If the swarm hostnames are random, this might not help much. Unfortunately, I'm not super up to speed on swarm, as everything lives on a single VM for me.
—
Reply to this email directly, view it on GitHubhttps://github.com/Kaiede/Bedrockifier/issues/76#issuecomment-1879839085, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIC4Q6ARGEZOLENFWSOKZMTYNHBO5AVCNFSM6AAAAABBPZYICCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZHAZTSMBYGU.
You are receiving this because you authored the thread.Message ID: @.***>

It's in the test tag now, and itzg's containers should have support in the latest tag. Examples using docker-compose are here until I can write up more complete documentation: https://github.com/Kaiede/Bedrockifier/tree/main/Examples
I would be interested to see how it helps, as one reason for this work was to make Kubernetes easier to support.

Just tested… it works!!! 😊 but I did have to set the hostname in the docker compose via the hostname environment variable.
Below is a sanitised copy of my docker compose:
version: '3.4'
services:
minecraft_bedrock:
image: itzg/minecraft-bedrock-server
deploy:
placement:
constraints:
- node.hostname == docker-node-2
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
hostname: bedrock_private
environment:
EULA: "TRUE"
VERSION: LATEST
UID: 0
GID: 0
TZ: europe/london
PACKAGE_BACKUP_KEEP: 2
ENABLE_SSH: "true"
SSH_ENABLE: "TRUE"
RCON_PASSWORD: fauxverysecurepassword
SERVER_NAME: Bedrock at Home
SERVER_PORT: 19132
SERVER_PORT_V6: 19133
GAMEMODE: survival
DIFFICULTY: hard
LEVEL_TYPE:
ALLOW_CHEATS: "false"
MAX_PLAYERS: 10
ONLINE_MODE: "true"
ALLOW_LIST:
VIEW_DISTANCE: 32
TICK_DISTANCE: 8
PLAYER_IDLE_TIMEOUT: 0
MAX_THREADS: 0
LEVEL_NAME: Bedrock at Home
LEVEL_SEED: myseed
DEFAULT_PLAYER_PERMISSION_LEVEL: member
TEXTUREPACK_REQUIRED: "false"
SERVER_AUTHORITATIVE_MOVEMENT: server-auth
PLAYER_MOVEMENT_SCORE_THRESHOLD: 20
PLAYER_MOVEMENT_DISTANCE_THRESHOLD: 0.3
PLAYER_MOVEMENT_DURATION_THRESHOLD_IN_MS: 500
CORRECT_PLAYER_MOVEMENT: "false"
ALLOW_LIST_USERS:
OPS:
MEMBERS:
VISITORS:
ENABLE_LAN_VISIBILITY: "true"
expose:
- 2222
ports:
- "19132:19132/udp"
volumes:
- bedrock_data:/data
stdin_open: true
tty: true
backup:
image: kaiede/minecraft-bedrock-backup:test
deploy:
placement:
constraints:
- node.hostname == docker-node-2
restart: on-failure
depends_on:
- "minecraft_bedrock"
environment:
BACKUP_INTERVAL: "3h"
TZ: "Europe/London"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- bedrock_backup:/backups
- bedrock_data:/server
volumes:
bedrock_data:
driver: glusterfs
name: "gv0/volumes/minecraft_data"
bedrock_backup:
driver: glusterfs
name: "gv0/volumes/minecraft_backup"
Can you confirm which of these are correct?
  ENABLE_SSH: "true"
  SSH_ENABLE: "TRUE"

I think your documentation has it one way and itzg the other.
Thanks for the help!
From: Kaiede @.>
Sent: Sunday, January 7, 2024 6:06 AM
To: Kaiede/Bedrockifier @.>
Cc: s-dukes @.>; Author @.>
Subject: Re: [Kaiede/Bedrockifier] Backup doesn't work when Bedrock server is running on a docker swarm (Issue #76)
It's in the test tag now, and itzg's containers should have support in the latest tag. Examples using docker-compose are here until I can write up more complete documentation: https://github.com/Kaiede/Bedrockifier/tree/main/Examples
I would be interested to see how it helps, as one reason for this work was to make Kubernetes easier to support.
—
Reply to this email directly, view it on GitHubhttps://github.com/Kaiede/Bedrockifier/issues/76#issuecomment-1879966210, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIC4Q6GIUZ74HX7KSVUG6D3YNI3KXAVCNFSM6AAAAABBPZYICCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZHE3DMMRRGA.
You are receiving this because you authored the thread.Message ID: @.@.>>

I did have to set the hostname in the docker compose

Hmm, so when using docker-compose, I’ve seen that it does create hostnames for the services that are reachable from within the private network. It’s not quite the container name in my experience. For example, I have ~/minecraft/docker-compose.yml
services:
  # My Java Server
  yosemite:
    … etc …
  # My Bedrock Server
  cascades:
    … etc …
  backup:
     … etc …

The containers themselves wind up being minecraft_yosemite, minecraft_cascades and minecraft_backup. However, my config.yml for the backup uses yosemite:2222 and cascades:2222 for the ssh address, since that’s the hostname generated for my by docker-compose. Does this work for docker swarm or not, I wonder?
This is one reason I need time to update the documentation, to try to capture some of the subtleties of the new system.

Can you confirm which of these are correct?

The docker-compose.yml on my personal server is using ENABLE_SSH, so that’s the correct one. I’ll double check the examples and fix it there.

Tested and yes using the service name also works with swarm, setting a hostname isn't required if you use the service name set in the compose for the SSH connection.
So my bad, I just assumed the hostname would be needed, clearly there is some kind of resolution happening in the background of docker translating service names as well.

Tested and yes using the service name also works with swarm, setting a hostname isn't required if you use the service name set in the compose for the SSH connection.

Good to know. I’ll keep that in mind when writing up the docs.

Since it sounds like SSH is working well for this scenario, and the work is now fully released with updates to the Wiki, I'll go ahead and close this.

authors: Kaiede s-dukes

repo: Kaiede/Bedrockifier


text:
Cookie notification

npm install react-cookie-consent

Merging to dev branch to test on server.

repo: Kaleidoscope-Systems/epitaph


text:
Removed broken links and fixed typing error and Added Legacy Page

Broken links - Swapnil Sharma and Pinank Solanki

@Varunvaruns9 @Swapnilr1

Pinank Solanki's Facebook ID seems to be https://www.facebook.com/psolanki10 so you can just update I think. Also need to remove his GitHub.

will do it and may I remove the github link because I can't find one?

@Swapnilr1 fixed it

@Varunvaruns9 please tell how to solve the issue.

Add some media queries here:
https://github.com/KamandPrompt/kamandprompt.github.io/blob/eab42c64b0e2b7e610fd84b8d77b890aa3b5fdb7/css/styles.css#L620

@JaiLuthra1  If you're not working on this, you should close this.


text:
Backport (paid?) to 3.3.5a

Would be interested in that. Thanks.

I don't think you have enough money for that 😅
It might be a lot of work/many hours.

authors: Karl-HeinzSchneider RadeghostWM

repo: Karl-HeinzSchneider/WoW-DragonflightUI


text:
請問能否研究下兼容這個樣式

感謝這個提取磁連的腳本，剛剛發現之前一直用的那個批量腳本失效了。
一直在用一個樣式，版面文字都比較大容易看，希望把這個腳本也兼容上。
樣式需要先安裝Chrome擴充 xStyle或Stylish。感謝。
https://userstyles.org/styles/133936/acg-bt

请问一下这个样式是怎么出来的？是装了什么插件吗？我无法复现

好的 我看见了 今天有时间就更新

已更新，感谢反馈

感謝。現在這樣容易看得清。

authors: KazeLiu YheonYeung

repo: KazeLiu/GetDmhyDownloadUrl


text:
Expose named routes via UrlDispatcher.named_routes()

See issue #504.

Perfect!

authors: asvetlov jashandeep-sohi

repo: KeepSafe/aiohttp


text:
Start to fix visualization class

Fix name of tests.
Start to fix visualization class

Pull Request Test Coverage Report for Build 1961885273

2 of 8 (25.0%)  changed or added relevant lines in 2 files are covered.
9 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 37.697%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Kendrick/Visualization.class.st
0
6
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/Kendrick/Visualization.class.st
9
0%

Totals

Change from base Build 1961884189:
-0.02%

Covered Lines:
5488

Relevant Lines:
14558

💛  - Coveralls

authors: SergeStinckwich coveralls

repo: KendrickOrg/kendrick


text:
Gallium fails to precompile

Using master branches of julia and Gallium and its dependencies.  I'm pretty sure that it worked at b480ce3 of julia.
AWS-Sachs-Ubuntu$ usr/bin/julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.5.0-dev+5510 (2016-07-19 18:28 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 0524a52 (0 days old master)
|__/                   |  x86_64-linux-gnu

julia> using Gallium
INFO: Precompiling module Gallium...
ERROR: LoadError: LoadError: syntax: invalid operator ".!"
 in include_from_node1(::String) at ./loading.jl:426 (repeats 2 times)
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:234
 in process_options(::Base.JLOptions) at ./client.jl:239
 in _start() at ./client.jl:318
while loading /home/sachs/.julia/v0.5/JuliaParser/src/lexer.jl, in expression starting on line 46
while loading /home/sachs/.julia/v0.5/JuliaParser/src/JuliaParser.jl, in expression starting on line 9
ERROR: LoadError: Failed to precompile JuliaParser to /home/sachs/.julia/lib/v0.5/JuliaParser.ji
 in compilecache(::String) at ./loading.jl:505
 in require(::Symbol) at ./loading.jl:337
 in include_from_node1(::String) at ./loading.jl:426
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:234
 in process_options(::Base.JLOptions) at ./client.jl:239
 in _start() at ./client.jl:318
while loading /home/sachs/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl, in expression starting on line 8
ERROR: LoadError: Failed to precompile ASTInterpreter to /home/sachs/.julia/lib/v0.5/ASTInterpreter.ji
 in compilecache(::String) at ./loading.jl:505
 in require(::Symbol) at ./loading.jl:337
 in include_from_node1(::String) at ./loading.jl:426
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:234
 in process_options(::Base.JLOptions) at ./client.jl:239
 in _start() at ./client.jl:318
while loading /home/sachs/.julia/v0.5/Gallium/src/Gallium.jl, in expression starting on line 3
ERROR: Failed to precompile Gallium to /home/sachs/.julia/lib/v0.5/Gallium.ji
 in compilecache(::String) at ./loading.jl:505
 in require(::Symbol) at ./loading.jl:364
 in eval(::Module, ::Any) at ./boot.jl:234
 in macro expansion at ./REPL.jl:92 [inlined]
 in (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:46

814c974026b8c5dc1a19a19f403e8a49395455ea will fix this soon

I'm confused.  814c974 was prior to 0524a52, where the problem was reported.

sorry, what I meant was 814c974, but I will fix this soon

authors: Keno josefsachsconning


text:
Common Data not able to be adapted into models Language Metadata.

Reusable fields applied to Content Items are not importable through ContentItemLanguageData.ContentItemData since the the column names for the actual content type do not contain those fields and they are contained in the ContentItemCommonData.
Using the example sample say you have a Reusable field schema withe a property name MetadataTitle shown below defined in the ContentItem dictionary. This will fail the check in the GenericAdapter for "Info doesn't contain column with name 'MetadataTitle' - _CustomProperties has invalid key, key SHALL have same name as column in target Info object" since this field exists in the ContentItemCommonData table and is not contained in the ColumnNames for the ContentItemModel loaded when adapting the
LanguageData.
ContentItemSimplifiedModel simplified = new()
    {
        ContentItemGUID = SampleArticleContentItemGuid,
        Name = "SimplifiedModelSample",
        IsSecured = false,
        ContentTypeName = DataClassSamples.ArticleClassSample.ClassName,
        IsReusable = true,
        // channel name is required only for web site content items
        ChannelName = ChannelSamples.SampleChannelForWebSiteChannel.ChannelName,
        // required when content item type is website content item
        PageData = new() {
            ParentGuid = null,
            TreePath = "/simplified-sample",
            PageUrls = [
                new()
                {
                    UrlPath = "en-us/simplified-sample",
                    PathIsDraft = true,
                    LanguageName = ContentLanguageSamples.SampleContentLanguageEnUs.ContentLanguageName!
                },
                new()
                {
                    UrlPath = "en-gb/simplified-sample",
                    PathIsDraft = true,
                    LanguageName = ContentLanguageSamples.SampleContentLanguageEnGb.ContentLanguageName!
                }
            ]
        },
        LanguageData =
        [
            new()
            {
                LanguageName = ContentLanguageSamples.SampleContentLanguageEnUs.ContentLanguageName!,
                DisplayName = "Simplified model sample - en-us",
                VersionStatus = VersionStatus.InitialDraft,
                UserGuid = UserSamples.SampleAdminGuid,
                ContentItemData = new Dictionary<string, object?>
                {
                    ["ArticleTitle"] = "en-US UMT simplified model creation",
                    ["ArticleText"] = "This article is only example of creation UMT simplified model for en-US language",
                    ["RelatedArticles"] = null,
                    ["RelatedFaq"] = null.
                    ["MetadataTitle"] = "Some Value"
                }
            },
            new()
            {
                LanguageName = ContentLanguageSamples.SampleContentLanguageEnGb.ContentLanguageName!,
                DisplayName = "Simplified model sample - en-gb",
                VersionStatus = VersionStatus.Published,
                UserGuid = UserSamples.SampleAdminGuid,
                ContentItemData = new Dictionary<string, object?>
                {
                    ["ArticleTitle"] = "en-GB UMT simplified model creation",
                    ["ArticleText"] = "This article is only example of creation UMT simplified model for en-GB language",
                    ["RelatedArticles"] = null,
                    ["RelatedFaq"] = null.
                    ["MetadataTitleCommon"] = "Some Value"
                }
            }
        ],

ContentItemSimplifiedModel.cs
public class ContentItemLanguageData
{
    [Required]
    public required string LanguageName { get; set; }

    [Required]
    public required string DisplayName { get; set; }

    public VersionStatus VersionStatus { get; set; } = VersionStatus.InitialDraft;

    [Required]
    public required Guid? UserGuid { get; set; }

    public Dictionary<string, object?>? ContentItemData { get; set; }

    public Dictionary<string, object?>? ContentItemCommonData { get; set; } // Added property to contain common data fields
}

ContentItemSimplifiedAdapter.cs  line: 118
var contentItemCommonDataModel = new ContentItemCommonDataModel
            {
                ContentItemCommonDataGUID = contentItemCommonDataInfoGuid ?? Guid.NewGuid(),
                ContentItemCommonDataContentItemGuid = contentItemInfo.ContentItemGUID,
                ContentItemCommonDataContentLanguageGuid = contentLanguageInfo.ContentLanguageGUID,
                ContentItemCommonDataVersionStatus = languageData.VersionStatus,
                ContentItemCommonDataIsLatest = true,
                ContentItemCommonDataPageBuilderWidgets = null,
                ContentItemCommonDataPageTemplateConfiguration = null,
                CustomProperties = languageData?.ContentItemCommonData ?? [] // Allow custom properties to be adapted into the common data for things like metadata schema
            };

Thank you for bringing this to our attention. We'll examine it internally and keep you updated on our progress.

authors: jkerbaugh liparova


text:
Error. While downloading

./animepahe-dl.sh: line 294:  6270 Killed                  xargs -I {} -P "$(get_thread_number "$1")" bash -c 'url="{}"; file="${url##*/}.encrypted"; download_file "$url" "${op}/${file}"' < <(grep "^https" "$1")
[Process completed (signal 9) - press Enter]

Which anime and episode?

Hey @Anas-Mughal, following the question from @lord8266, are you able to download this episode using normal download mode without -t?

Hey @Anas-Mughal, following the question from @lord8266, are you able to download this episode using normal download mode without -t?

Yes

@Anas-Mughal which anime and episode? I can quickly check it.

@Anas-Mughal which anime and episode? I can quickly check it.

Then I was downloading Parasyte. But now you can check by downloading Black Clover or Mob Psycho 100 but the error is same in downloading all anime.

Hey @Anas-Mughal, I tried the mentioned amines and I don't see the error. It seems the error [Process completed (signal 9) - press Enter] related to termux on Android. If you are using termux to run the script, please try to use smaller number with -t, or search online for this error and you may find a solution to this termux error.

Hey @Anas-Mughal, I tried the mentioned amines and I don't see the error. It seems the error [Process completed (signal 9) - press Enter] related to termux on Android. If you are using termux to run the script, please try to use smaller number with -t, or search online for this error and you may find a solution to this termux error.

Do you know how I can fix this? Because earlier I used to download from Termux and this problem did not occur. And I also reduced the value of argument -t and the same problem occurs.

@Anas-Mughal, I don't know how since I don't have this problem... Here is a googled result that looks like a solution: https://github.com/agnostic-apollo/Android-Docs/blob/master/en/docs/apps/processes/phantom-cached-and-empty-processes.md#how-to-disable-the-phantom-processes-killing. You can try to search [Process completed (signal 9) - press Enter] and find more results. Good luck!

authors: Anas-Mughal KevCui lord8266

repo: KevCui/animepahe-dl

license: WTFPL


text:
Version in Cargo.toml not matching released version

crates.io lists version 0.5.1, but the Cargo.toml in the repository says 0.5.0, where does that mismatch come from?

Pushed cargo.toml file change

authors: KevinVoell matthiasbeyer


text:
Autocomplete is not applied if the UITextDocumentProxy.currentWord is nil

Hi everyone,
First of all, congrats on the amazing library! Kudos to the team 😄
I am facing a small issue after updating my project from the 7th version to the 8th version of KeyboardKit.
In the application that I'm currently work, we add AutoComplete.Suggestion default objects when the textField is empty. This behaviour is similar to what Apple does natively with their keyboard. For example, for the en-US locale and in an empty text field, the keyboard suggests "I", "The" and "I'm".
Using KeyboardKit 8+ I can add these options on the keyboard toolbar, however I cannot apply these suggestions when there's no text or spaces in the textField yet. That's happening due to some guards checks in the code.
I investigated the code a bit and I believe it could be slightly changed on KeyboardInputViewController.performAutocomplete to handle cases where there's no text present yet. I have made the changes and tested myself, it worked fine, but it would be nice to run some other tests to guarantee the functionality is not broken.
I appreciate your time reading my request and I apologize if there's a misunderstanding on my part. I'd be more than happy to help in case it's needed.
Cheers,
Rubens Pessoa

Hi @rubenspessoa
Thank you for reaching out with this!
In KK 8+, the controller resets the autocomplete context if the text is empty. While I'm sure the intention with this was good, it's still incorrect, since it's the responsibility of the autocomplete provider to decide this.
I will release this fix as a 8.5.1. 👍

authors: danielsaidi rubenspessoa

repo: KeyboardKit/KeyboardKit


text:
Move websocket headers to opt function 'WithWebsocketHeaders'

Follow-up up on the discussion in https://github.com/Khan/genqlient/pull/360#pullrequestreview-2471038655.
Move websocket headers to and opt function 'WithWebsocketHeaders'.
I have:

[x] Written a clear PR title and description (above)
[x] Signed the Khan Academy CLA
[x] Added tests covering my changes, if applicable
[x] Included a link to the issue fixed, if applicable
[x] Included documentation, for new features
[x] Added an entry to the changelog

@benjaminjkraft Here is a follow-up PR regarding our discussion here: https://github.com/Khan/genqlient/pull/360#pullrequestreview-2471038655
This is without tests now, which is not great. I'm struggling to find an easy way to test this.
Normally I would set up a middleware and set the authentication ctx key for the header. But it seems that the httptest server does not have middleware support out-of-the-box. Maybe I'm wrong?
Could be wise to hold off merging this until tests have been added 🤗

Thanks!
I think you should be able to do middleware? gqlgenServer is just an http.Handler, so if you have a middleware that's func(http.Handler) http.Handler you can just do NewServer(middleware(gqlgenServer)).

@benjaminjkraft Thanks! Tests added now!

authors: HaraldNordgren benjaminjkraft

repo: Khan/genqlient


text:
Remove official support for direct MSL shader loading from documentation.

Shader code should be submitted as SPIR-V. Although some simple direct MSL shaders may work,
direct loading of MSL source code or compiled MSL code is not officially supported at this time.
Future versions of MoltenVK may support direct MSL submission again.
Addresses issue #1253

It's really my fault we have to do this. I wanted to fix this, but I'm so busy with other stuff at the moment that I don't have time. I guess this will do for now.

Meh. Don't be too hard on yourself. Direct MSL has fallen behind along several dimensions. There have been previous issues raised around how to map Metal resource indexes in a more sophisticated manner. And future Metal argument buffer use will complicate it even further. I expect it will need a fair bit of work to recover effectively and continue to maintain.
I'm also interested in following up on the relatively new pipeline caching options available through Metal. If we can mesh that with Vulkan's pipeline caching, that might provide a more Vulkan-friendly and maintainable approach to improving shader conversion and compiling performance, and mitigate some of the need to directly support MSL.

repo: KhronosGroup/MoltenVK


text:
MSL: vertex shader's return type is void

Hit a bug, when metal-vertex shader is generated:
Full shader: https://shader-playground.timjones.io/c11d83135a1eac44c5753e147eba5fe6
Relevant part:
vertex void main0(constant uint* spvBufferSizeConstants [[buffer(25)]], device Input& _10 [[buffer(0)]], uint gl_VertexIndex [[vertex_id]])
{
    main0_out out = {};
    constant uint& _10BufferSize = spvBufferSizeConstants[0];
    _10.ssbo[int(gl_VertexIndex)] = uint(int((_10BufferSize - 0) / 4));
    out.gl_Position = float4(0.0, 0.0, 0.0, 1.0);
    // no return here, so gl_Position was discarded
}

My bad: didn't know that msl version has to be set at 2.1 or newer for vertex-shader side effect to work.

repo: KhronosGroup/SPIRV-Cross


text:
fix parsing of bad binary exponents in hex floats

The binary exponent must have some decimal digits
A + or - after the binary exponent digits should not be interpreted as
part of the binary exponent.

Fixes: #4500

Amazingly, the CI-macos-clang-release build started only 30 minutes ago (roughly).

Amazingly, the CI-macos-clang-release build started only 30 minutes ago (roughly).

It had failed because of a machine issue, so I restarted it.

repo: KhronosGroup/SPIRV-Tools


text:
Vulkan Instance creation is broken when using VK_EXT_VALIDATION_FEATURES_EXTENSION_NAME

I am trying to run the vulkan ray_tracing_extended sample. This used to work a few weeks back (when it was still named raytracing_extended), but I pulled the new version today and now instance creation does not work anymore. This probably is not a problem of the sample but of the entire framework though.
The error I get is:

[error] [framework\platform\platform.cpp:169] Error Message: Could not create Vulkan instance : ERROR_EXTENSION_NOT_PRESENT

The problematic extension seems to be VK_EXT_VALIDATION_FEATURES_EXTENSION_NAME:
If I comment out enabled_extensions.push_back(VK_EXT_VALIDATION_FEATURES_EXTENSION_NAME); in Vulkan-Samples/framework/core/instance.cpp (on my current main branch, this is line 226), the instance creation throws no error.
I thought this was a driver issue at first, since the querying of the extension looks correct to me, but I have tried on the following hardwarde (both on Windows 11, Visual Studio 2022):
NVidia RTX A1000 Laptop GPU, Driver version 536.96 and
NVidia RTX 2080 Ti, Driver version 536.40
The behaviour is the same on both machines: it only works, if I comment out the push_back line.

Thanks for raising this issue. We are already aware of it and will fix this soon with #774.

#774 has been merged, and this should be fixed. If not, please feel free to open a new issue.

authors: SaschaWillems lobneroO

repo: KhronosGroup/Vulkan-Samples


text:
Vulkaninfo: Escape json strings

Fix #696
Also:

Parse & print `VkPhysicalDeviceProperties:driverVersion' according to driver specific formats. Falls back on the Vulkan Major.Minor.Patch if on an unknown platform.
Switch the VkPhysicalDeviceProperties:apiVersion printing to put the major.minor.patch outside of the parenthesis. apiVersion = 1.3.245 (232343235) is how it is now printed, instead of ` apiVersion = 232343235 (1.3.245)
Cleanup the logic around printing UUID arrays. Took some effort but uses the operator<< rather than requiring explicit conversion to strings.

CI Vulkan-Tools build queued with queue ID 22165.

CI Vulkan-Tools build # 819 running.

CI Vulkan-Tools build # 819 passed.

Added bob as a reviewer since he would like to know about any changes to the format vulkaninfo uses.

CI Vulkan-Tools build queued with queue ID 22858.

CI Vulkan-Tools build # 820 running.

CI Vulkan-Tools build # 820 passed.

authors: charles-lunarg ci-tester-lunarg

repo: KhronosGroup/Vulkan-Tools


text:
Sharp Edges Ignored

Exporter ignores manually-assigned hard/sharp edges in Blender 2.8, resulting in an 'all-soft' mesh.
Repro in Blender 2.80 Experimental with glTF-Blender-IO:

Create a cube
Display>Shading>Smooth Edges
In Edit mode, select all edges. Edge>Edge Data>Mark Sharp
Select the Object Data tab, Turn on Auto Smooth and set the angle to 180.
Edges of cube should appear hard/sharp in the viewport.
With cube selected File>Export glTF 2.0 (glb). Make sure Export normals and Export Tangents are checked.
Write file to disk.
Load file in sandbox.babylonjs.com/
Hard edges will not be preserved.

Contrast the same workflow with Blender 2.79 using glTF-Blender-Exporter: Hard edges are preserved in .glb written to disk.
Note: In 2.80, setting Display>Shading>Flat faces does export a .glb with hard edges, but all edges are hard. What we want is the ability to define custom hard/soft edges on any given mesh (like we can do in Blender 2.79 with the glTF-Blender-Exporter addon).
Example files attached.
cube_hard_soft.zip

Note that an issue has been opened in developer.blender.org regarding sharp edges management:
https://developer.blender.org/T58638

Apologies for adding this comment on multiple issues, but I've seen several issues discussing 'Apply Modifiers' as a solution to different problems. Unfortunately, it appears to be a less-than-ideal fix for certain situations like this:
It appears to be a known issue that one cannot export a model that has manually-defined smooth/hard edges unless 'Apply Modifiers' is turned on. (Doesn't make much sense considering defining smooth/hard edges can be done without the use of any modifiers, but 🤷♂)
The problem I'm having now is that I'd like to be able to export my Shape Keys AND have proper smooth/hard edges. However, Shape Keys don't export when 'Apply Modifiers' is turned on, aka the opposite problem. (Also a bit of a misnomer since Shape Keys appear to have zero to do with modifiers.)
Does anyone know how to get around this?

I'm the author of thread in blender, here a link of a my model and I get some errors and I can't export. https://drive.google.com/open?id=1RnLZ1OHdxNRgTU9E_jKdSc-1zp5SogkH
Anyway a noticed that, when you export with the script and with option apply modifiers, I get a very clean result, with smooth and sharp edges correctly, but if I do conversion of the model manually and then export the model I have a wrong shading loosing all sharp edges.

authors: SurlyBird j-conrad julienduroure pafurijaz

repo: KhronosGroup/glTF-Blender-IO


text:
Virtual module - Scripted curator management

Q
A

Bug fix?
no

New feature?
yes

Needs wipe?
yes

Fixed issues
#517

Description:
This module adds BIS Curator module as default mean of AI commanding for commander and sub-commander slots.
It offers three curator modes, every slot can be configured to use different mode via CBA settings.
Content:

[x] Removed curator modules from mission file
[x] Created virtual module in liberation framework

[x] Full curator mode
[x] Limited mode with free camera movement
[x] Limited mode with locked camera
[x] No curator mode

[x] Changed build module pos load/save to use posWorld
[x] Added common_getFobAlphabetName

Successfully tested on:

[x] Local MP Vanilla
[ ] Dedicated MP Vanilla

Compatibility checked with:

NOTHING

Conflicts and tests in dedicated environment? 🙂

Conflicts resolved.
I will test it later on dedicated, if something will not work on it the code won't change much anyway so this can be reviewed anyway IMO.

repo: KillahPotatoes/KP-Liberation


text:
Some errors

Hi I am using this software with a 100/20 l mppt, I have encountered problems with decimals let me explain better, some times for example the battery voltage is 26v but the sensor sends 0.26v, this also happens to the total energy I already have put a filter that averages but is not enough

Could you try to provide the raw data of your solar charger?

@lucasimons
may i ask how are you wiring ?

I have connected the tx to D7 e gnd to gnd... I would not want my nodemcu to go into crisis with esp8266 because it actually sends a lot of data it is not possible to decrease the refresh rate, as soon as I get it I will use an esp 32 to see if I solve

@lucasimons
power supply how did you deal with?  external source?  or stepdown from Battery

Yes I have the 24v battery and a victron orion 24v to 12v converter and then connected a quick charge 3.0 module that powers a raspberry and the nodemcu however I think it's like putting a step down 24 to 5

Ok ,
Please disconect gnd from ve.direct port and try
(
Ve.direct connected only tx
Power supply vcc and gnd from step down
)

authors: KinDR007 lucasimons syssi


text:
🛑 FSDH INT is down

In 330df53, FSDH INT (https://fsdh-portal-app-int.azurewebsites.net/register) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FSDH INT is back up in 83c233d after 46 minutes.

repo: KingBain/proto-datahub-uptime


text:
Solved: How to install on Windows 11

Thanks for this pixel hack, really appreciated. I already tried this  on Android X86 9.0 on VirtualBox and it works fine.

Could someone help with installing this on Windows Subsystem for Android?
I installed the Android for Windows 11 using the instructions on this site:
https://www.androidsage.com/2022/06/28/download-wsa-android-12-1-with-magisk-root-google-play-store/
Then I installed Magisk using these instructions:
https://www.getdroidtips.com/root-windows-subsystem-for-android-via-magisk/
So, now I have a fully working WSA with Google services and Magisk works, but how to flash pixelify? The 'normal' version stops to an error about volume keys, so I think I need to download Pixelify-v2.1-no-VK.zip.
How about installation? I already copied the config.prop to internal folder, but then what? This is clearly not enough. Then I flashed the zip with magisk, but I still don't have unlimited storage in google photos (I did erase photos app's data after flashing).
EDIT:
I got this. I forgot to enable 'zygisk'. Now it works.

I have zygisk enabled but everytime i flash the module and reboot magisk it shows nothing in installed modules. do you have any idea?

After reading logs I can see, It is showing 2 errors

Installing Google Photos from backups

Failure [INSTALL_FAILED_VERSION_DOWNGRADE: Downgrade detected: Update version code 48627807 is older than current 48849424]

Please Disable Google Photos Auto Update on Playstore
chmod: /data/data/com.google.android.dialer/files/phenotype: No such file or directory
Google is installed.

Comment : This shows even though auto update is turned off on play store

Try using release WSA_2311.40000.5.0_x64_Release-Nightly-with-Magisk-26.4-stable-MindTheGapps-13.0.7z
from https://github.com/MustardChef/WSABuilds/releases

everytime i flash the module and reboot magisk it shows nothing in installed modules.

Update :
If I dont reboot it shows pixelify in installed modules and works fine but if i close wsa once or reboot magisk it doesnt show in installed modules.

authors: bjungbogati liero0 morhadi


text:
Unnecessary setting

You can safely remove .UseQueryTrackingBehavior(QueryTrackingBehavior.NoTracking); from your contacts tests inside the ContactServiceTests.cs file, because you are detaching the entity from the context on line 150

Okaaaay. 10x.


text:
WIP ZIO JSON

This is work in progress, missing (and failing) tests. Feel free to contribute @Kirill5k I've invited you to edit my fork.
I needed to add snapshot dependency to ZIO JSON as some useful methods are not yet available in latest stable release.

Fixes #26
@Kirill5k can you take a look? there is some error when running testOnly JsonMapperSpec, but it's late and my mind is no longer working xD perhaps a fresh view will reveal the bug

For some reason
Some("{"_id": {"$oid": "640c698699f7394fe1fa68b9"}, "string": "string", "null": null, "boolean": true, "long": 1.678535046665E12, "int": 1.0, "bigDecimal": 100.0, "array": ["a", "b"], "dateInstant": {"$date": "2023-03-11T11:44:06.665Z"}, "dateEpoch": {"$date": "2023-03-11T11:44:06.665Z"}, "dateLocalDate": {"$date": "2022-01-01T00:00:00Z"}, "document": {"field1": "1", "field2": 2.0}}")
was not equal to
Some("{"_id": {"$oid": "640c698699f7394fe1fa68b9"}, "string": "string", "null": null, "boolean": true, "long": 1678535046665, "int": 1, "bigDecimal": {"$numberDecimal": "100.0"}, "array": ["a", "b"], "dateInstant": {"$date": "2023-03-11T11:44:06.665Z"}, "dateEpoch": {"$date": "2023-03-11T11:44:06.665Z"}, "dateLocalDate": {"$date": "2022-01-01T00:00:00Z"}, "document": {"field1": "1", "field2": 2}}"

Int is represented as 1.0, long appears once in normal, once in scientific notation, and bigdecimal is weird
I'm not sure what's going in. I suppose its related to the internal representation of Json.Num which is bigDecimal.

Now its just BigDecimal an issue, fixed int and long
Some("{"_id": {"$oid": "640c80dda25fe1341f6b231c"}, "string": "string", "null": null, "boolean": true, "long": 1678541021538, "int": 1, "bigDecimal": 100, "array": ["a", "b"], "dateInstant": {"$date": "2023-03-11T13:23:41.538Z"}, "dateEpoch": {"$date": "2023-03-11T13:23:41.538Z"}, "dateLocalDate": {"$date": "2022-01-01T00:00:00Z"}, "document": {"field1": "1", "field2": 2}}")
was not equal to
Some("{"_id": {"$oid": "640c80dda25fe1341f6b231c"}, "string": "string", "null": null, "boolean": true, "long": 1678541021538, "int": 1, "bigDecimal": {"$numberDecimal": "100.0"}, "array": ["a", "b"], "dateInstant": {"$date": "2023-03-11T13:23:41.538Z"}, "dateEpoch": {"$date": "2023-03-11T13:23:41.538Z"}, "dateLocalDate": {"$date": "2022-01-01T00:00:00Z"}, "document": {"field1": "1", "field2": 2}}")

Hmm OK, it seems the issue is JsonNumSyntax#toBsonValue will interpret BigDecimal(100.0) as isValidInt and encode that as BsonValue.int (that's why we see just 100), on the other hand we have JsonEncoder that directly encodes BigDecimal(100.0) (not cast to int), thence the diffrence. I wonder how it worked with circe.

Fixed, however in circe the toBigDecimal returned an Option, if it failed they default to BsonValue.double.
In our case Json.Num internally is already a BigDecimal, so it will always map to BsonValue.bigDecimal there is no case for BsonValue.double.
The test case succeeds, but I guess only because we don't check double values. I'm not sure if that's OK.

MongoCollectionSpec and MongoJsonCodecsSpec are failing.

This looks very good. I will give it a better look after several hours when I am free.

It looks like you forgot to commit Dependencies.scala changes

This is puzzling me now. The only diffrence I see is the missing parenthesis on the left hand side (or extra parameters on right hand side, depending how you look at it).
I have no idea why it is the way it is.
{"$oid":"640ce1fcc850af29e11314c9"}
 was not equal to
"{"$oid":"640ce1fcc850af29e11314c9"}"

It was a CharSequence.. calling .toString solved the problem of parenthesis.

@Kirill5k all tests are passing :tada: Please review.

Hmm.. StackOverflow on the CI. I wonder why. There is no issue locally (using JDK17).

@Kirill5k can we merge this and cut a release?

Sure. all looks good to me.
Will do a release later today.


text:
Suggestion: Accept donations

I wanted to give you $5 for this awesome tool, but I couldn't find any way to do so. A donate link would be nice.
P.S. I've used many other factorio calculators in the past, but this was by far the best one, and the only one that really gave me what I wanted. Thank you!

I have added a link to my Patreon page in e81df4f1a1e0c5f113f393df233ac50d31b674d7.

authors: KirkMcDonald MakerBurst


text:
Out of memory error while trying to build seablock recipes

I loaded in seablock data to this calculator, but encounter out of memory errors in Chrome while in the simplex method.
The OOM seems to be related to BigInteger (either the object size or the garbage created). I encounter it pretty frequently while doing matrix manipulation in the simplex method.

This bug report lacks details, so it is difficult to say with certainty what the problem is. However, I can make an educated guess.
The current algorithm for detecting which portions of the recipe graph require representation with a linear program is a hack that works for the vanilla graph, but which I fully expect to fail catastrophically with other, more complex recipe graphs. Replacing this algorithm is one of the major barriers to supporting Bob's Mods (see also #35), among other alternate recipe graphs.
These sorts of failures could potentially take many forms. What you describe sounds like some sort of infinite recursion, which continually multiplies some numbers together until it OOMs.
I am closing this issue. Seablock is not supported at this time, and loading its recipe graph into the calculator is not expected to work. This may change in the future, but the relevant efforts are already covered by #35.

authors: KirkMcDonald terite


text:
[retirements] Wrap retirement details

Lengthy retirement details break page layout spacing.
Wrapping the text should fix this but curious how the page would look 🤔
Questions:

What string length validation do we have on beneficiaryName

Retirement to validate changes against:
https://www.klimadao.finance/retirements/carboncar.klima/1

Might no longer be an issue with https://github.com/KlimaDAO/klimadao/pull/834

repo: KlimaDAO/klimadao


text:
example using VideoTexture from live feed camera

i have facing problem E/flutter (  983): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: NoSuchMethodError: Class 'VideoTexture' has no instance method '[]'.
when pass camera to VideoTexture from flutter

HI @RansomBroker,
There is currently a bug with VideoTexture. I have resolved it but have not pushed to pub.dev because of other things that are being worked on as well.
Please use CanvasTexture as a workaround for the moment. Here is an example of how to do that.
Hope this helps.

when i use that code example the image show like that

Hi @RansomBroker,
I am sorry for the issue. This is the only way currently to use the video feed.
What platform are you using?
I just tested it on Mac and it works fine, but I have not tested it on Android or web.
There is currently an issue with windows and camera feeds. I will work on it soon.
Sorry for the issue. I hope to resolve it soon.

yeah im testing it on android and desktop

are video texture will release in near future? or webcam update for that issues on android and web?

Hi @RansomBroker,
I have updated the examples to fix the issue you are having with the android and web camera versions.
Hope this helps.

Hi @RansomBroker,
I think we should be able to close this issue.


text:
v0.23 support

Hi!
Do you plan to support current newest version?
Thanks!

Hi, yes, I'm currently working on it. There are a couple of non-trivial changes that still requires work, but I'm getting there

Released in v0.23.0

repo: KnodesCommunity/typedoc-plugins


text:
Speed up STRING ingest

Luca said he might want to try speeding up STRING ingest, possibly by parallelization.
Here is the ingest in question.
Possibly could parallelize here while reading lines, or maybe as @deepakunni3 said, this utility fxn could be sped up

Some questions on the utility: is there any reason why it returns None?

Some questions on the utility: is there any reason why it returns None?

No reason, other than to return a type of some kind for type-checking. Could refactor to return a boolean I guess?

Though it is possible to parse the lines using multiprocessing it is not possible to write the lines in the same way, how much memory do you think would it take to keep them in memory and write them all after the first read has finished?

Though it is possible to parse the lines using multiprocessing it is not possible to write the lines in the same way, how much memory do you think would it take to keep them in memory and write them all after the first read has finished?

Not sure, but you could get some idea by running:
python run.py transform -s StringTransform
then looking at the size of the files generated:
ls  -lh data/transformed/STRING/
At least a few gigs I bet

The file size is at 122M. So ingesting that into an in-memory data structure shouldn't be a problem at the moment. But note that we are dealing with just a subset of the original data by restricting to human PPIs.
The actual master file is 68GB (compressed). I doubt we will ever need to parse all of the file. Just highlighting the upper bounds of memory requirements.

Hi @LucaCappelletti94 - for clarity, can you confirm you are working on this? @deepakunni3 said he could handle this if you are not. Just trying to avoid duplicating effort

Yes, it should be done by the end of the morning.

I see that the same "seen" list is used for check for both the already seen proteins and genes: could this cause a name clash?

I'm working on this issue here.

I have refactored the code and replaced the lists with sets, so now that aspect should run a bit faster. I am not sure if parallelizing the I/O can add a significant speedup as the remaining data elaboration is minimal. What do you think?

@LucaCappelletti94 There shouldn't be a name clash for seen. The identifiers are mutually exclusive for gene and protein

I have refactored the code and replaced the lists with sets, so now that aspect should run a bit faster. I am not sure if parallelizing the I/O can add a significant speedup as the remaining data elaboration is minimal. What do you think?

Thanks Luca! A very dramatic speed-up, STRING ingest is now down to 2m!
(venv) ~/PycharmProjects/kg-emerging-viruses *speed_up_string $ time python run.py transform -s StringTransform
WARNING:ToolkitGenerator:class "pairwise interaction association" slot "interacting molecules category" does not reference an existing slot.  New slot was created.
WARNING:ToolkitGenerator:Unrecognized prefix: SEMMEDDB
[snip]
INFO:root:Parsing StringTransform
[transform.py][           transform] INFO: Parsing StringTransform

real    2m19.998s
user    2m14.680s
sys     0m2.388s

It almost leaves me with the doubt that I haven't done something wrong with the code: the output file looks okay? I think that other than the pythonification of the code the only real source of speed up was replacing the list with a set.

If this helps:
edges.tsv produced from your branch and from master is exactly the same (see m5 hash below, bak/ dir is produced from master).
Your nodes.tsv has fewer entries than master, but the few I checked out are just extra ENSEMBL ids not mentioned in edges.tsv
(venv) ~/PycharmProjects/kg-emerging-viruses $ ls -l  data/transformed/STRING/*.tsv data/transformed/STRING/bak/*tsv
-rw-r--r--  1 jtr4v  staff  1255956605 Apr  3 11:57 data/transformed/STRING/bak/edges.tsv
-rw-r--r--  1 jtr4v  staff     2456430 Apr  3 11:57 data/transformed/STRING/bak/nodes.tsv
-rw-r--r--  1 jtr4v  staff  1255956605 Apr  5 09:12 data/transformed/STRING/edges.tsv
-rw-r--r--  1 jtr4v  staff     2391930 Apr  5 09:12 data/transformed/STRING/nodes.tsv
(venv) ~/PycharmProjects/kg-emerging-viruses $ md5 data/transformed/STRING/*.tsv data/transformed/STRING/bak/*tsv
MD5 (data/transformed/STRING/edges.tsv) = c960835ae79f6235d8b4a7be6ce4372f
MD5 (data/transformed/STRING/nodes.tsv) = 21ea74367b01086301f4a9dfba6e1bb9
MD5 (data/transformed/STRING/bak/edges.tsv) = c960835ae79f6235d8b4a7be6ce4372f
MD5 (data/transformed/STRING/bak/nodes.tsv) = 408ed8393fbce7abcf20864cee5bbd77

Ok! That seems promising, I was worried that the speedup was caused by some coding mistake such as an if-condition that was never met. Out of curiosity, how much time was it required on the same machine before?

Out of curiosity, how much time was it required on the same machine before?

14 hours on my laptop - a very dramatic speed-up

Wow, @LucaCappelletti94 This is amazing! A simple change made all the difference!
For posterity: In Python, lists are slow in lookup for membership. Whereas, sets are dramatically faster because of the way set stores its values: hash tables.

For posterity: In Python, lists are slow in lookup for membership. Whereas, sets are dramatically faster because of the way set stores its values: hash tables.

Good to know - I didn't realize either how much quicker sets are

Should I proceed with the pull request?

@LucaCappelletti94 Yes, the output looks proper. Feel free to make a PR


text:
feat(PieChart): mark proper composable scope for labels and holeContent

To be able to use the proper modifiers for alignment etc, mark the pie composable lambdas for label and holeContent with BoxScope

I think this is a good idea for the hole content, since there's a clear "box" that fits inside the hole.
For the labels, they are positioned so the left/right edge is next to the label connector depending on if they are on the right/left side of the pie. What's the use case for having them in a Box, and what would be the bounds of the box for each label?

I guess it is not that useful for labels, I just saw they were wrapped in a Box and wanted to make sure the proper scope is set. But I also don't see a clear use case, so I will update this PR to only target holeContent.
Or if https://github.com/KoalaPlot/koalaplot-core/pull/85 is a candidate for merging, we can just close this PR.

Yes let's use #85 since that also adds the content padding.

authors: gsteckman mediavrog

repo: KoalaPlot/koalaplot-core


text:
how can i got superpoint.pt files?

hi,professor:
thanks for your code! in the examples, requires superpoint.pt file, where can i find it?
PLEASE!

Hello,
If you are talking about the main.cc file, then it's assumed that you've exported superpoint.pt from the Python program as a PyTorch jit script. You can see how it can be done in the  inferencewrapper.py.

authors: Kolkir jcyhcs

repo: Kolkir/superpoint


text:
Fixes Validate Client.Authenticate when given

Fixes Validate Client.Authenticate when given consumer or credential both nil
Fixes #153

Closing this one in favor of https://github.com/Kong/go-pdk/pull/153.

@barockok Thank you for your PR! We really appreciate it.

authors: barockok gszr

repo: Kong/go-pdk


text:
[objc/native] Improvements

I want to implement a couple more things:
About literals (I like literals because they generate less cluttered code snippets and allow more flexibility to the people pasting them):

[ ] Add a literals or verbose flag (verbose would be more consistent with other targets): If true, will generate literals from parameters/headers like currently, if false, will just use the objects computed by httpsnippet. It will be a nice options if people don't want too much verbose at the cost of flexibility for "pasters".
[x] Make body parameters literals (not sure about this one: very verbose)
[x] Make querystring parameters literals (not sure about this one either: very verbose)

About code style (JS):

[x] Comment what's going on in the generation (native.js)
[x] Improve the code climate rating (:cry:)

About improvements that could be made but are waiting on general guidelines:

[ ] Parse the response body from NSData. Need to wait on response definition for now.
[ ] Add an option for explanatory comments generation? Depends if other languages will do that too in the future. It could be a new guideline.

About making literal querystrings, a huge downside would be the extra verbose:
NSURLComponents *components = [[NSURLComponents alloc] init];
NSURLQueryItem *q1 = [NSURLQueryItem queryItemWithName:@"foo" value:@"bar"];
NSURLQueryItem *q2 = [NSURLQueryItem queryItemWithName:@"hello" value:@"world"];
components.queryItems = @[ q1, q2 ];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:components.URL
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
// execute request through NSURLSession

Not sure about this. The same way, multipart requests are already very verbose in order to build the body.

@thibaultcha is this resolved?

@darrenjennings No way I could remember, sorry. Better close it and move on.

Sounds like a plan. Thanks!

authors: darrenjennings thibaultCha thibaultcha

repo: Kong/httpsnippet


text:
Fix/balancer eventual consistency improve

Summary
SUMMARY_GOES_HERE
Full changelog

[Implement ...]
[Add related tests]
...

Issues resolved
Fix #false stoper nic-7016

I guess this was opened in accident. Thus closing it.

authors: bungle darshandeep

repo: Kong/kong


text:
tests(gke): ensure cluster cleanup is always called

Fixes cluster not being cleaned up mentioned in #533.

Codecov Report
Base: 54.08% // Head: 53.78% // Decreases project coverage by -0.31% :warning:

Coverage data is based on head (158730e) compared to base (82ecf03).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #537      +/-   ##
==========================================
- Coverage   54.08%   53.78%   -0.31%
==========================================
  Files          50       50
  Lines        3901     3901
==========================================
- Hits         2110     2098      -12
- Misses       1534     1543       +9
- Partials      257      260       +3

Flag
Coverage Δ

integration-test
58.75% <ø> (-0.36%)
:arrow_down:

unit-test
3.28% <ø> (ø)

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

Impacted Files
Coverage Δ

pkg/clusters/addons/knative/knative.go
60.44% <0.00%> (-5.98%)
:arrow_down:

pkg/clusters/utils.go
50.20% <0.00%> (-1.66%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

authors: codecov-commenter czeslavo

repo: Kong/kubernetes-testing-framework


text:
Substitution wrong

fun test (A : U) (x : A) (f : A -> U) : f x where
| A x f = _

Result in stack overflow.
This is due to the wrong implemention of ShiTT.Eval.subst function.
Use refresh to reimplement it.

fixed

repo: KonjacSource/ShiTT


text:
type:text is not supported

While investigating https://github.com/KorAP/Krill/issues/86, I found that corpusTitle eq gingko is serialized as
{
    "@type": "koral:doc",
    "key": "corpusTitle",
    "match": "match:eq",
    "value": "gingko",
    "type": "type:text"
}

whilst type:text is not a type supported according to the KoralQuery doc and it is practically also not supported in Krill.
The type is not added by any query rewrite as it is not added when sending a direct API request:
https://korap.ids-mannheim.de/instance/test/api/v1.0/search?q=ich&cq=availability+%3D+%2FCC-BY.*%2F+%26+docTitle+%3D+"gingko"&ql=poliqarp&cutoff=1&state=&pipe=
Could it be that Kalamar add the type?

It's interesting that this shows up in the KQ-Viewer. The type:text is an index type and is introduced to help the VC Builder to show allowed operators. With this issue: Do you mean this shouldn't show up in the serialization or is there a bigger issue?

Yes, it shouldn't show up in the serialization and it shouldn't be used in general. There should be no problem with that in the backend since Kalamar only sends the corpus query, not KoralQuery.

Could you check what request Kalamar actually sends to Kustvakt since in the example request, there are no matches while in https://github.com/KorAP/Krill/issues/86, there are some results?

Could you please check what request Kalamar actually sends to Kustvakt? I don't get any results sending the example direct API request using OAuth2 token and VPN, while Kalamar shows some results as reported in https://github.com/KorAP/Krill/issues/86.

Well - it is used by the corpus builder and it is used for indexing - so what do you mean by "it shouldn't be used in general"? Yes it is not helpful in a corpus request, but that is not happening.

I am not sure to which query you are refering to.

Well - it is used by the corpus builder and it is used for indexing - so what do you mean by "it shouldn't be used in general"? Yes it is not helpful in a corpus request, but that is not happening.

I suppose it shouldn't be used since it is not part of the KoralQuery doc and not supported in backend. Why is it used by corpus builder and indexing?

I am not sure to which query you are refering to.

sorry for not being clear. I mean the query in https://github.com/KorAP/Krill/issues/86 or
the one I wrote above:
https://korap.ids-mannheim.de/instance/test/api/v1.0/search?q=ich&cq=availability+%3D+%2FCC-BY.*%2F+%26+docTitle+%3D+"gingko"&ql=poliqarp&cutoff=1&state=&pipe=
but using Kalamar instead of a direct API request.

The KoralQuery doc currently only covers the request and error reporting stuff - neither the indexing nor the response data format. Krill supports it for indexing (see index/FieldDocument) and for responses (see response/MetaFieldsObj). type:text means, the field is indexed tokenized, so single words can be searched in (like for title) as well as a whole string match works. This obviously means that the operators in the visual corpus builder should differ.
That query doesn't show results to me. The request is:
https://korap.ids-mannheim.de/instance/test/api/v1.0/search?context=40-t%2C40-t&count=25&cq=availability+%3D+%2FCC-BY.*%2F+%26+docTitle+%3D+%22gingko%22&cutoff=true&offset=0&q=ich&ql=poliqarp

Thanks for your explanation.
The query should show results with OAuth2 token and VPN since the Gingko corpus is restricted.

But the VC is limited to CC-BY.*

Sorry you are right. The request shouldn't be restricted to CC-BY.*
Besides I make a mistake due to the URL encoding for diacritics etc
For the following query
https://korap.ids-mannheim.de/instance/test?q=Z%C3%BCndkerze&cq=corpusTitle+%3D+%22gingko%22&ql=poliqarp&cutoff=1&state=&pipe=

Kalamar would send the query below to Kustvakt, right?
curl -v -H "Authorization: Bearer token" 'https://korap.ids-mannheim.de/instance/test/api/v1.0/search?q=Z%C3%BCndkerze&cq=corpusTitle+%3D+%22gingko%22&ql=poliqarp&cutoff=1&state=&pipe='

This doesn't seem to be a problem from Kalamar and isn't related to type:text so I suppose we should discuss in https://github.com/KorAP/Krill/issues/86 instead

Yes, this is unrelated. Regarding this topic: I think the corpus assistant shouldn't alter the query serialized by the KoralQuery helper - but I think that's the only problem there is and it's a minor one, not affecting any functionality of the platform.

authors: Akron margaretha

repo: KorAP/Kalamar


text:
Add example of embedded fragment in activity

I searched a bit and I couldn't seem to figure out how to embed a fragment in my activity.
For example I want to do something like this.
frameLayout {
    linearLayout {
        baselineAligned = false
        orientation = LinearLayout.HORIZONTAL

        fragment {
            name = "FragmentClass"
        }.layoutParams(width = matchParent, height = matchParent)

    }.layoutParams(width = matchParent, height = matchParent)
}

This feature is not supported yet, though it is planned to add in the next version. Thank you!

Is there a workaround for this?  Would a  custom inline function that accomplishes this be difficult to make?

This would be a nice little feature, since as far as I know, the only solution is a "long" piece of code (at least compared to how much anko tries to save us), see: http://stackoverflow.com/questions/18296868/how-to-add-a-fragment-to-a-programmatically-generated-layout
I think the problem is that this does not conform to just creating a view like the rest of the dsl...
But for those that are lazy like me, we are force to still keep some xml layouts around just because of this feature not being implemented...
Nice job to the anko team anyways for all the rest of the features they give us!!

Unfortunately, it's impossible to create a fragment in Android without an explicit class declaration.

@yanex I don't think anyone is saying to create a fragment without an explicit class declaration.  In Android xml layouts, you can insert a <fragment> tag directly, instead of inserting a container element and then using FragmentManager to inject the fragment into the placeholder.
Both methods require explicit Fragment classes.  I believe this issue was created because we couldn't figure out how to translate XML layouts with <fragment> tags into Anko language.

I included in my example of what it might look like while referencing the class.

I've created the new issue for this: #362.

repo: Kotlin/anko


text:
Price display cut off

For long tooltips that rests on bottom of screen, the price display is cut off like thus:

Hm, I'm not sure how this could be solved.
I was experimenting with placing the price on the item description itself. But there's so many different formats of item descriptions it would take quite a lot of effort to set that up.

I guess for a quickfix I could move the item description window up if it cuts past the bottom of the screen.

@Kouzukii could you please circle back to this? AllaganTools doesn't cause this issue because it adds its item information in the description area.
See screenshot:

Should be fixed now

authors: DenL Kouzukii filliph

repo: Kouzukii/ffxiv-priceinsight


text:
Accept UIAppearance

Added capacity to customize layout using UIAppearance
Now you have one alternative to customize TSMessageView, you can use UIAppearance.
These are the properties
[TSMessageView appearance] setTitleFont:[UIFont boldSystemFontOfSize:6]];
[[TSMessageView appearance] setTitleTextColor:[UIColor redColor]];
[[TSMessageView appearance] setContentFont:[UIFont boldSystemFontOfSize:10]];
[[TSMessageView appearance]setContentTextColor:[UIColor greenColor]];
[[TSMessageView appearance]setErrorIcon:[UIImage imageNamed:@"NotificationButtonBackground"]];
[[TSMessageView appearance]setSuccessIcon:[UIImage imageNamed:@"NotificationButtonBackground"]];
[[TSMessageView appearance]setMessageIcon:[UIImage imageNamed:@"NotificationButtonBackground"]];
[[TSMessageView appearance]setWarningIcon:[UIImage imageNamed:@"NotificationButtonBackground"]];

@KrauseFx whats your thoughts about this PR? i think it a really good approach to using custom design...

+1 @KrauseFx

Any updates on this?

Looks great, thanks for the pull request :+1:
Could you just fix the merge conflicts:

We can’t automatically merge this pull request.

Thanks!

Thanks!

@KrauseFx Merged with 'master'.

Thanks @diogomaximo for working on this! :+1:

And sorry it took so long :disappointed:

authors: KrauseFx diogomaximo rodrigocotton shams-ahmed

repo: KrauseFx/TSMessages