text:
santoni: Build Spark-Rom (Bringup)

Build Spark-Rom for Santoni.

Don't build 2 rom in one time
How many time i asking to you

I'm sorry, I will not do it again
On Thu, Mar 10, 2022, 11:32 rasenss @.***> wrote:

Don't build 2 rom in one time
How many time i asking to you
—
Reply to this email directly, view it on GitHub
https://github.com/ROM-builders/temporary/pull/7477#issuecomment-1063694784,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVHPLFROMWYNUSFZFZS726DU7GF5VANCNFSM5QKBC2UA
.
You are receiving this because you authored the thread.Message ID:
@.***>

authors: EvilAnsh rasenss

repo: ROM-builders/temporary


text:
Bridge request for Dave's Trailer

Hi !
I've made a bridge for Dave's Trailer, but I'm not a programmer so it's probably written badly. Plus I'm not used to github so I've no idea how to submit a new bridge. I guess it's better to put it here than to keep it for myself, but if it's not, feel free to erase this message ! :)
https://pastebin.com/XHL8Q9U2

Hello,
Thanks for the bridge ! I can merge it manually, or you can open a pull request and I will be happy to include it in the project .

Since there's a beginning for everything, I think I did my first pull request ever.

Closed by #1246

source: gharchive/issue

authors: johnnygroovy teromene

repo: RSS-Bridge/rss-bridge

license: unlicense

license_type: permissive

license_source: bigquery


text:
[BridgeCard] Allow config options noproxy & cache_timeout when a bridge has no parameters

Updates displayBridgeCard() in BridgeCard to allow configuration options noproxy and cache_timeout to be displayed, if enabled, when a bridge has no parameters in its PARAMETERS array. Closes #1648

gj @VerifiedJoseph !

source: gharchive/pull-request


text:
Unable to clean audio

I'm getting this error:
20231007_154555008.wav.reformatted.wav->Traceback (most recent call last):
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\librosa\core\audio.py", line 155, in load
context = sf.SoundFile(path)
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\soundfile.py", line 658, in init
self._file = self._open(file, mode_int, closefd)
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\soundfile.py", line 1216, in _open
raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name))
soundfile.LibsndfileError: Error opening 'D:\Voice\TEMP/20231007_154555008.wav.reformatted.wav': System error.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Voice\infer\modules\uvr5\modules.py", line 73, in uvr
pre_fun.path_audio(
File "D:\Voice\infer\modules\uvr5\preprocess.py", line 61, in path_audio
) = librosa.core.load(  # 理论上librosa读取可能对某些音频有bug，应该上ffmpeg读取，但是太麻烦了弃坑
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\librosa\util\decorators.py", line 104, in inner_f
return f(**kwargs)
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\librosa\core\audio.py", line 174, in load
y, sr_native = __audioread_load(path, offset, duration, dtype)
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\librosa\core\audio.py", line 198, in _audioread_load
with audioread.audio_open(path) as input_file:
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\audioread_init.py", line 127, in audio_open
return BackendClass(path)
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\audioread\rawread.py", line 59, in init
self._fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'D:\Voice\TEMP/20231007_154555008.wav.reformatted.wav'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\librosa\core\audio.py", line 155, in load
context = sf.SoundFile(path)
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\soundfile.py", line 658, in init
self._file = self._open(file, mode_int, closefd)
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\soundfile.py", line 1216, in _open
raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name))
soundfile.LibsndfileError: Error opening 'D:\Voice\TEMP/20231007_154555008.wav.reformatted.wav': System error.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Voice\infer\modules\uvr5\modules.py", line 81, in uvr
pre_fun.path_audio(
File "D:\Voice\infer\modules\uvr5\preprocess.py", line 61, in path_audio
) = librosa.core.load(  # 理论上librosa读取可能对某些音频有bug，应该上ffmpeg读取，但是太麻烦了弃坑
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\librosa\util\decorators.py", line 104, in inner_f
return f(**kwargs)
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\librosa\core\audio.py", line 174, in load
y, sr_native = __audioread_load(path, offset, duration, dtype)
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\librosa\core\audio.py", line 198, in _audioread_load
with audioread.audio_open(path) as input_file:
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\audioread_init.py", line 127, in audio_open
return BackendClass(path)
File "C:\Users\babud\AppData\Local\Programs\Python\Python310\lib\site-packages\audioread\rawread.py", line 59, in init
self._fh = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'D:\Voice\TEMP/20231007_154555008.wav.reformatted.wav'

would you mind uploading the audio that you want to get the clean version for us for checking?

sg10406F.zip
For example this one, want to clean echo from it.

@vorob1 @RVC-Boss
I had the same issue error I have been getting. I found the reason why its not working.
You have to make sure the input file name and input folder name does not have space. I put underscore between the space of the input mp3 file and folder and voila sucess.
Example:
Current file name: ABC Songs.mp3
Change file name to: ABC_Songs.mp3 (put a underscore or remove spaces)
Do the same with the main input folder if you have just remove it or add underscore then it works.

For those using Mac, try
brew install ffmpeg fprobe
Works on M2.

license: MIT

license_source: github-api


text:
Make #107 compatible and found HttpReadStream resource leak

Hello, I'm Ruo-Chun Tzeng, who'd like to participant in GSoC 2017.
As a test, I was assigned to fix #112.
There're 2 changes:

I add unit tests for checking file-descriptor leak of local compressed files
and caught gzip, bz2 are not properly closed  on python 2.6.9 (failed my file-closing test)
I do a quick fix to make #107 compatible with make_closing function. so that HttpReadStream work with compressed formats
However, I found the HttpReadStream is not properly closed, the contents is still readable after closing the stream.with smart_open.smart_open('https://github.com/RaRe-Technologies/smart_open/blob/master/smart_open/tests/test_data/crlf_at_1k_boundary.warc.gz', 'r') as fin:
    print(fin.read())
fin.read()

Thanks for investigating closing but the most important of this PR is that new unit tests need to be added when some gzipped/bz2 file is opened via http.

OK, my bad, I've add unit tests for read/write mode tests and close tests for bz/gz2 over http.
Also, since there's file-handle leak on

local bz/gz2(python2.6.9) and
bz/gz2 over http,

the unit test for file-handle leak tests are commented.

@lubebul  Please see tests and code in #112

Fixed in #112

authors: lubebul tmylk

license: mit


text:
IWebElement.FindElement(By by) method can't take Selenium.WebDriver.Extentions.JQuerySelector

I think the title says it all:
IWebDriver.FindElement(Selenium.WebDriver.Extentions.JQuerySelector by)  is ok
IWebElement.FindElement(Selenium.WebDriver.Extentions.JQuerySelector by) is not ok

I've found a possible workaround that would allow to implement the similar behavior as invoking FindElement/FindElements on IWebElement.
The way this could work is I could add a wrapper type on RemoteWebElement (the base type implementing IWebElement interface) and on this wrapper store also information about the selector that has been used to locate it. Having this information it should be possible to generate a new selector taking into account that the scope for the new search has been narrowed by previous query.

The functionality is implemened as part of the https://github.com/RaYell/selenium-webdriver-extensions/pull/21
It's scheduled to be released with version 1.2. It comes with several limitations which you can find in the pull request comments.

authors: GLloydSC RaYell

repo: RaYell/selenium-webdriver-extensions


text:
OpenCL shared library overrides signal handling

Hi,
we have a problem to use ROCm (1.8.151) OpenCL shared library (Ubuntu 16.04.4 LTS) in our own development environment where we make use of POSIX signal handlers. When calling clGetPlatformIDs function the signal handling of our application process gets overridden that causes problems for the application and finally makes it crashing. A simple CPP example below demonstrates the problem. Are there any specific reasons for the shared library to override the signal handling of the loading process? How can we avoid that?
Thanks for help.
// test.cpp
#include <dlfcn.h>
#include <signal.h>
#include <stdio.h>

int main()
{
    auto lib = dlopen("/opt/rocm/opencl/lib/x86_64/libOpenCL.so", RTLD_LAZY);
    auto function = reinterpret_cast<int (*)(unsigned, void *, unsigned *)>(dlsym(lib, "clGetPlatformIDs"));

    unsigned n = 0;
    auto result = function(0, 0, &n); // this function call overrides the current process signal handling

    printf("generating int3 trap\r\n");

    asm("int3"); // normally this induces a trap but here the process will exit silently
}

// compilation: g++ -std=c++11 -o test test.cpp -ldl
// execution: ./test

I have engineering looking at this.   They will be getting back to you about this

any news on the issue?

We're tracking this internally. I believe we've identified the issue, and I have a potential workaround that has not gone through review, validation, or testing.
Would you be willing to do a custom build of our OpenCL runtime, apply a highly experimental patch, and see if it fixes your issue without causing you any other problems?

Hi @alexey-morozov
Could you try running the following commands to make a custom OpenCL build with a simple patch in place? Sorry for using sed to do this patch, :)
mkdir ~/test_opencl
cd ~/test_opencl
mkdir -p ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
~/bin/repo init -u https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime.git -b master -m opencl.xml
~/bin/repo sync
cd opencl
sudo apt-get install ocaml ocaml-findlib python-z3 git-svn
mkdir -p build && cd build
sed -i '353i  // In OpenCL applications that call LC, the end-user may want to receive' ../opencl/compiler/llvm/lib/Support/Unix/Signals.inc
sed -i '354i  // a signal that is sent asynchronously, and thus would not be re-raised' ../opencl/compiler/llvm/lib/Support/Unix/Signals.inc
sed -i '355i  // even after returning from the compilation path. Raise it here so that' ../opencl/compiler/llvm/lib/Support/Unix/Signals.inc
sed -i '356i  // the original handler is called.' ../opencl/compiler/llvm/lib/Support/Unix/Signals.inc
sed -i '357i  raise(Sig);' ../opencl/compiler/llvm/lib/Support/Unix/Signals.inc
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make -j `nproc`

At this point, you can try using this OpenCL runtime by putting the ~/test_opencl/opencl/build/lib directory in your LD_LIBRARY_PATH. For example: LD_LIBRARY_PATH=~/test_opencl/opencl/build/lib ./test

Hi @alexey-morozov
Have you had a chance to try this yet?

Hi @jlgreathouse
Yes, I've tried it and our IDE still crashed. But we've found a workaround and I would consider the issue closed.
Thanks in any case!

authors: alexey-morozov gstoner jlgreathouse

repo: RadeonOpenCompute/ROCm


text:
[Bug]: illegal character error in a tag column

Contact Details
No response
What happened?
I get the following error after defining  a tag column

any clue?
What platform were you using?
Desktop
Version of the plugin
3.0.1
Relevant log output
No response
Are you using the latest version of the plugin in your Obsidian vault?

[X] I have verified that I am on the latest version

Are you check if there is a similar issue?

[X] I have verified that there are not similar issues

Hello @zeltak , I am glad the the new error handler print those errors =)
You have an invalid character with the value of your label
Open your markdown file and modify
label: "\-" with label "-"
If the error persist I will investigate it better

thx @RafaelGB !
yeah that did the trick! still dont know which note had that invalid character (I tried searching :)) but now all is well
thx so much a bunch for you continuous amazing work that makes my (and many others!) life that much more enjoyable :D
best
Z

Thanks for your feedback too! it makes this plugin so much easier to maintain
I will try to check this kind of illegal characters with the plugin, so you dont have to worry about

Commit d6dd0df9

authors: RafaelGB zeltak

repo: RafaelGB/obsidian-db-folder


text:
[Bug]:

Contact Details
No response
What happened?
There is always a blank line in front of the bullet list. Even though I try to delete the comma in the front, it's useless because the comma soon comes back.

What platform were you using?
Desktop
Version of the plugin
3.3.0
Relevant log output
No response
Are you using the latest version of the plugin in your Obsidian vault?

[X] I have verified that I am on the latest version

Are you check if there is a similar issue?

[X] I have verified that there are not similar issues

this issue will be fixed with the next version :)

authors: RafaelGB Shaeeeeeee


text:
test github issues and determine if it’s worth using

is it worth it? or stick to a plain text file?
can assign things to issues: people, labels, projects, milestones, pull requests(!)

i definitely don’t need assignees—it’s just me!
i don’t need labels either, that’s wayyyy too much!
categorizing issues by projects... hmmmm... i’d rather have a separate github repo for each project
no milestones neither, just free-flow~~
linking pull requests, i think, is for collaborative projects...
soooo, no. no thank you.

...but, you know, it’s cool to have this sorta dashboard, that notifies or shows how many issues, or project plans, etc... Maybe that’s an app I need to make: a text-file based simple dashboard


text:
changed the parts discussed in the meeting

#1xcwwnv

Task linked: CU-1xcwwnv Expense Tracker

repo: Rahnken/LifeTracker


text:
The same video is repeatedly downloaded

This worked on August 4th and now suddenly stopped working. Tested from multiple computers.
PowerShell_transcript.qfpEhXoA.20190806132901.txt
$ ll -lah
total 61M
drwxr-xr-x 1 user 197121   0 Aug  6 13:32  ./
drwxr-xr-x 1 user 197121   0 Aug  6 13:30  ../
-rw-r--r-- 1 user 197121 21M Aug  6 13:31 '1. About the Course Author.mp4'
-rw-r--r-- 1 user 197121 21M Aug  6 13:31 '2. How to Use the Linux Academy Cloud Playground for this Course.mp4'
-rw-r--r-- 1 user 197121 21M Aug  6 13:32 '3. Course `Syllabus.mp4'

will it be fixed soon?. I am also facing the same issue.

Currently, I do not have an active LinuxAcademy subscription. If someone can voluntarily share their subscription with me, I shall work on the issues/requests. I'm sorry :(

Currently, I do not have an active LinuxAcademy subscription. If someone can voluntarily share their subscription with me, I shall work on the issues/requests. I'm sorry :(

Is there a way to send  a PM

You may

Currently, I do not have an active LinuxAcademy subscription. If someone can voluntarily share their subscription with me, I shall work on the issues/requests. I'm sorry :(

Is there a way to send a PM

You may reach me here https://www.facebook.com/TheRahulShaw

@RahulShaw I've sent you a message on facebook, please check.

Please update the youtube-dl package and that will fix the problem.
pip install youtube-dl --upgrade

repo: RahulShaw/LinuxAcademy-DL


text:
bug_fixes.py

Fix various issues and enhance code stability
Resolved the following issues:

Import Errors:

pydantic Import Error: Added the pydantic module to the project’s dependencies to resolve the import error. This allows the code to correctly utilize pydantic for data validation and settings management.
faiss Import Error: Ensured faiss is properly installed and included in the project. This fixes the issue with the faiss import, which is used for vector search functionalities.
playwright.async_api Import Error: Installed the playwright package and fixed the import path for playwright.async_api, ensuring compatibility with the code that uses Playwright for web scraping.

Import Path Corrections:

langchain.experimental.autonomous_agents.autogpt.agent  Import Error: Corrected the import path for the AutoGPT class from the langchain library. This resolves issues with module resolution, ensuring that the AutoGPT class is properly imported and used in the code.

Code Duplication:

Defined Constant for File Name: Replaced multiple instances of the hardcoded file name "cookiesBing.json" with a constant. This improves code maintainability and readability by avoiding magic strings and making future changes easier.

This pull request addresses several issues to enhance the stability and maintainability of the code:

Resolved Import Errors:

pydantic and faiss: Added the missing dependencies for pydantic and faiss to ensure proper module resolution and functionality. This fixes the import errors and allows the code to use these modules effectively.
playwright.async_api: Installed and correctly configured the playwright package. This resolves the import issue and ensures that the Playwright-based web scraping functionality works as expected.

Fixed Import Path:

AutoGPT Import Path: Updated the import path for the AutoGPT class from the langchain library. This corrects the issue with module resolution and ensures that AutoGPT is properly imported and used in the code.

Improved Code Maintainability:

Defined Constant for File Name:  Replaced multiple instances of the hardcoded file name "cookiesBing.json" with a constant. This improves code readability and maintainability, making future modifications easier and avoiding magic strings.

Cleaned Up Code:
Fixed a redundant  max_iterations parameter. This resolves a SonarLint warning and cleans up the code, enhancing its clarity and quality.

These changes aim to improve the overall code quality, ensure proper functionality, and make the codebase more maintainable.


text:
Merging for v1.1.0 release

Minor patch which addresses the bugs and design problems from #mizjam1 with a bunch of optimizations, refactoring and automated testing. There are no new features since v1.0.0, no change to level design or gameplay. This PR is solely to fix and patch things that were supposed to be working or be implemented in the first place. By solving these fundamental issues, it allows the project to be exported as a release build with the proper framework for future development.

also closes #25

repo: RailKill/tetraho


text:
[BUG] The action “Collect attachments...” does bypass the “renameOnlyImages” setting.

Description
First of all, I would like to thank you for creating this plugin.
It is simply awesome.
Recently while organizing my vault I noticed the following thing, I am not sure if it is intended:
Despite setting the following configuration:
“renameOnlyImages": true,
“renameCollectedFiles": true,
When you run the “Collect attachments for current note” action, the plugin renames all attachments, while theoretically it should rename only images.
Other attachments for example “zip”, “pdf” etc should have the file name unchanged
Steps to Reproduce

Set following settings : “renameOnlyImages": true, “renameCollectedFiles": true,
Run “Collect attachments for current note” action on note that contains ZIP or PDF attachments
Notice that all files will be renamed

Expected Behavior
Other attachments for example “zip”, “pdf” etc should have the file name unchanged
Actual Behavior
The plugin renames all attachments, while theoretically it should rename only images.
Environment Information

Plugin Version: v4.29.1
Obsidian Version: v1.7.7
Operating System: Windows 11

Attachments

Please attach a video showing the issue
Please attach a sample vault where the issue can be reproduced

Confirmations

[X] I attached a video showing the issue
[X] I attached a sample vault where the issue can be reproduced
[X] I have tested the issue with the latest version
[X] I have checked for existing issues

Fixed in https://github.com/RainCat1998/obsidian-custom-attachment-location/releases/tag/4.31.1

authors: Nicostratus mnaoumov


text:
CardDAV contact images

It would be great if you could add the CardDAV contact images in addition to the gravatar option.

+1

authors: Offerel christian-putzke

repo: RainLoop/rainloop-webmail


text:
🛑 HK区服 is down

In 809a54b, HK区服 (https://$HK_SERVER) was down:

HTTP code: 0
Response time: 0 ms

Resolved: HK区服 is back up in 446608c.

repo: RainThings/uptime


text:
Clarification on byte vs uint8

Intuitively byte == uint8, however in Writing Bops, uint8 is not listed as a type, so its not allowed. So far so good.
The msgpack comparison example uses the uint8 type: i.e. uint8 iNT0; // "int0": 0,.
Is uint8 a valid builtin type? Is the example outdated? Do the docs just need a clarification 'byte' or 'uint8'?

Bebop supports type aliases so you can use either byte or uint8 and both represent an unsigned 8-bit integer.

So to bring this to resolution, should uint8 be added to the Writing Bops guide? Or should a doc be written explaining type aliases (which I assume are a builtin only feature, in which case it would ideally list the built in aliases that exist)?

For additional context, it looks like in the existing codebase the -only- type alias is uint8 = byte (https://github.com/RainwayApp/bebop/blob/8c65bcb1271168b67ea308ab52556e34c488fe66/Core/Parser/Extensions/TypeExtensions.cs#L16)

I updated the schema language documentation to note that uint8 is an alias for byte.

There is another kind of alias-like behavior, where you can write either array[T] or T[] to name the “array of T” type. Indeed, uint8 = byte is the only base type alias right now, and there is not yet any way to specify custom type aliases.
This alias exists because sometimes it makes sense to talk about bytes as “the smallest memory unit”, like when talking about a byte[], but other times it makes sense to think about a byte as an “8-bit unsigned numeric type”, and in that case the name uint8 is provided to match all the other ones.

repo: RainwayApp/bebop


text:
update-01

update-012

updated file


text:
[Bug] Font Family inconsistentcy between Home and Contributor Page

Description
Problem
I have checked the Font Family of the navbar elements of both home page and Contributor page
And i've found that there is difference in font family applied of the navigation bar elements.
Screenshots
Home Page

Contributors Page

I have underlined the elements with red color
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[X] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Please assign this issue to me because i have figured out the problem and can fix it quickly
Thank you

Proceed @amansgith


text:
[Bug] Remove border radius from navbar

Description
Remove border radius form navbar
Screenshots

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[ ] I am a IWOC'24 contributor.
[X] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Pls upload the issue supporting screenshot properly @AftabMankapure

Current

New

Proceed @AftabMankapure


text:
Embedded Format Codes in Definitions

@thoughtstream @lizmat tl;dr Can a =defn have format codes embedded in the term term?

format code is a markup code without side-effects.

I am implementing =defn and =numdefn and run across a limitation I think is not natural.
(RakuDoc v1 using $=pod did not implement =defn well)
At a minimum, we have
=defn A term
The expansion

At the present, we can have embedded format codes in the expansion but not in the term, that is:
=defn A term
The expansion may have U<embedded> format codes at present.

Currently we cannot have
=defn A term with B<embedded> format codes
The expansion with or without format codes

@thoughtstream was it intended that the term should be without format codes?
@lizmat would  it be possible to have numdefn have the same AST as defn? Currently, numdefn is treated as a normal block, meaning that a series of tests on the Paragraph elements needs to be run to determine what is in the term and what is in the expansion.
FYI I propose that for =alias TERM EXPANSION TERM is most definitely without format codes!
@lizmat I propose that even if the term and expansion parts are Str, the AST for a defn & numdefn is
RakuAST::Doc::Block.new(
  type        => "defn",
  abbreviated => True,
  paragraphs  => (
    RakuAST::Doc::Paragraph.new( ... )
    RakuAST::Doc::Paragraph.new( ... )
   )
...

My expectation was that the "term" component of a =defn should not have formatting.
I can see why formatting might be useful within a term, and it may seem odd to end-users that
it's one of the few places where you can write ordinary text, but can't use formatting codes.
However, the term component also acts as a target for L<defn:...> links, and it would seem better
if that target is unambiguous.
I mean, if we allow:
    =defn A term with B<embedded> formatting codes
    The definition with or without formatting codes

...then does the corresponding L<defn:...> also have to be: L<defn:"A term with B<embedded> formatting codes>"?
It seems simpler (at least initially) just to specify that the term of a =defn is treated as a if it were a V<> literal string,
with any apparent formatting codes ignored (and perhaps warned about). The same rule should probably also apply to the term component of an inline D<>.
Besides, the idea was that the term component automatically gets special formatting anyway. That is:
    =defn A term
    The definition with or without formatting codes

    A D<placement directive> inserts something into the document at that point.

...should be rendered in such a way that the term is easily distinguished as the thing being defined.
Something like:
   A term
      The definition with or without formatting codes
   A placement directive inserts something into the document at that point.
So the TL;DR is: No, I  didn't intend the term component of a =defn to allow formatting codes.
But, as always, I'm happy to discuss the issue further.

@thoughtstream  & @lizmat That's the way =defn / D<> are implemented. Closing as resolved. I'll add a clarification as suggested

closing as resolved

authors: finanalyst thoughtstream

repo: Raku/RakuDoc-GAMMA


text:
Could I only use MappingPolicy in my config ?

in my config.yml just like:
Configuration for Rasa NLU.
language: "zh"
pipeline:

name: "MitieNLP"
model: "total_word_feature_extractor.dat"
name: "MitieTokenizer"
name: "MitieEntityExtractor"
name: "EntitySynonymMapper"
name: "RegexFeaturizer"
name: "MitieFeaturizer"
name: "SklearnIntentClassifier"
name: "MitieIntentClassifier"

Configuration for Rasa Core.
policies:

name: MappingPolicy

Please ask these kind of questions in our forum

repo: RasaHQ/rasa


text:
publish retries

Proposed changes:

Added publish retry code similar to Rabbit

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

@rgstephens Can we get this merged?

@wochinge Have you seen this gitleaks secrets warning before?

authors: rgstephens wochinge


text:
How to retrieve chat conversasion from mongo tracker

Rasa Core version:.10.4
Python version: 3.5
Operating system (windows, osx, ...):windows
Issue:
I am able to save tracker on mongo, but data store in mongo is only sender id and tracker_id. I want  tos store conversation history on mongo. Please help me to get chat conversation history
Content of domain file (if used & relevant):

This is more of a question for the forum, and I believe you've already posted there too? In any case, it is saving the conversation history, that's what the tracker is: https://github.com/RasaHQ/rasa_core/blob/master/rasa_core/tracker_store.py#L144


text:
EmbeddingIntentClassifier: allow config overwrite

Previous problem:
Setting epochs for training via the config.yml was not possible.
Proposed changes:
This PR refactors the use of config parameters in EmbeddingIntentClassifier and allows to use the component config (e.g. via config.yml). The previous _load_params implementation seemed quite doubled, as the superclass already does the logic of merging the config with the defaults. Also doubling all settings as direct attributes seemed superfluous to me. Therefore all usages of them are refactored to use self.component_config. The only exceptions and notable occurances are:

self.num_neg
This is updated during training. Not sure of a variable in train would be fine, I sticked to the safe version and kept it as an attribute.
self.intent_tokenization_flag
To keep the early warning message I kept this in _load_params.
evaluate_every_num_epochs
The logic moved from _load_visual_params directly to _train_tf, as no side-effects happen.

Status (please check what you already did):

[x] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog

Not sure what to do about the long lines. I tested this locally, worked for me.
PS: An alternative would be to simply call self._load_params(self.component_config), but I thought it would be a good case to remove the redundancies.

@jstriebel what do you mean setting epochs wasn't possible? I've definitely done that in the config.yml file before and it worked fine

Hi @akelad, it surely worked before, but it is not possible with version 0.14.0a1. I think this regression was introduced in #1456. There are many possibilities how to resolve this, I found this version to be the cleanest.
For reference the nlu config I tested this with:
language: "de"

pipeline:
- name: "intent_featurizer_count_vectors"
- name: "intent_classifier_tensorflow_embedding"
  embed_dim: 20
  num_neg: 20
  epochs: 100

Thanks a lot for the fix, but there is another PR that fixes it by passing component_config to load_params method: https://github.com/RasaHQ/rasa_nlu/pull/1547

My bad, I was thinking of Core btw 🙃

authors: Ghostvv akelad jstriebel


text:
Eva data of WaveNet is really bad, and the average error always keep around 7 for 140k steps

Is this normal?
or maybe some bugs in Wavenet?
dose anyone get the similar problems?
I use GTX 1080 to train,
the wavenet_batch_size = 2

Hello @FeiCoding thanks for reaching out.
I fixed this in last commit, it is merely a synthesis time bug. Also please keep in mind that for "raw" mode, you need to train your model for about 1 million steps to get human like speech. (yeah it takes time to converge..)
This is a similar issue to yours:
https://github.com/Rayhane-mamah/Tacotron-2/issues/57
So I am closing this now, if your problem still persists with latest commit, feel free to reopen.

authors: FeiCoding Rayhane-mamah


text:
Random and funny outputs

something like this:
https://cdn.discordapp.com/attachments/281141184108167178/305169127222280204/unknown.png
https://cdn.discordapp.com/attachments/281141184108167178/305169006950744066/unknown.png
https://cdn.discordapp.com/attachments/281141184108167178/305168920145428481/unknown.png

@abyssvi what're your thoughts on this?

I'm not in favor of it for personal flavor reasons. I prefer consistent and obvious outputs. Worth noting that my usecase is largely utilitarian.
This would probably be best handled by only doing it on silly/fun commands, and leaving the serious commands to be serious.
I'm a total grouch, I know xD

There are much much better things to be done with SharpBot. I think this and #30 should be closed indefinitely.

authors: LucasPMagno Rayzr522 abyssvi


text:
Style global du site

Il faut trouver le style du site.

Trouver une palette qui correspond
Avoir une idée d'image à renvoyer au visiteur

Terminé !

license: WTFPL


text:
Add simple dockerfile

This just adds a really simple Dockerfile for those who wants to deploy SyncTube on docker.
Test by running docker build -t localhost/synctube . and docker run --rm -it -p 4200:4200 localhost/synctube

Didn't see that there already exists a pull request for adding a Dockerfile
#11

Didn't see that there already exists a pull request for adding a Dockerfile
#11

repo: RblSb/SyncTube


text:
React Router Back Swipe Gesture Animation

Hey there,
Love React Router v4. You guys are doing a killer job. I have a question about ReactTransitionGroup's animations with React Router. I have created a successful implementation for back and fourth page sliding between routes. Here is the logic:
If the user is on the navigation page and clicks home, home will slide in from the right. If they click back or the navigation button, the navigation page will slide back in from the left. This handles well with back/forward browser buttons with the exception of swipe gestures on mobile.
Issue: The user will pull the page from the left to to the right which reveals the previous route's component. When the user finishes the swipe gesture, the previous route's component will begin to mount causing the ReactTransitionGroup to initiate the respective animation.
Example
User is on home page and swipes from left to right to go back to navigation page. In the middle of the swiping process, the user can see the navigation page in the background. Once the swiping process is completed, a new route is initiated and the navigation page starts a new animation.
I am wondering if there is a way to implement my routing transitions so that this does not occur. Further, I cant seem to find a way to distinguish the difference between a backward/forward button browser click. I need to distinguish between these to decide which animation to perform.
Steps to reproduce
Head to dailenspencer.com on mobile Safari
Click on a navigation page such as "home"
Perform a left -> right swipe gesture
Expected Behavior
When performing a swipe gesture, animation should not reinitiate.
Actual Behavior
When performing a swipe gesture, animations reinitiates.
Main.jsx
import React from 'react'
import ReactDOM from 'react-dom'
import {Link, Route, Switch} from 'react-router-dom';
import TransitionGroup from 'react-transition-group/TransitionGroup';

import HomePage from 'components/Pages/Home/home.page';
import NavigationPage from 'components/Pages/Navigation/navigation.page';
import ProjectGridPage from 'components/Pages/ProjectGrid/projectGrid.page';
import ProjectContentPage from 'components/Pages/ContentPage/content.page';
import SubscribePage from 'components/Pages/Subscribe/subscribe.page';
import AboutPage from 'components/Pages/About/about.page';
import ErrorPage from 'components/Pages/Error/error.page';
import NavigationButton from 'components/NavigationButton';

import {initializeApplication} from 'lib/Helpers/Helpers';

const firstChild = props => {
  const childrenArray = React.Children.toArray(props.children);
  return childrenArray[0] || null;
};

export default class Main extends React.Component {
	constructor(props){
		super(props)
		this.state = {
			componentIsLoading: true
		}

	}

	componentDidMount() {
		// initializeApplication()
	}
	handleClick () {
		this.context.router.history.push('/navigation')
	}

	render() {
		return (

				<NavigationButton/>
				<Route
					exact
					path="/"
					children={({ match, ...rest }) => (
					<TransitionGroup component={firstChild}>
						{match && <Home {...rest} />}
					</TransitionGroup>
				)}/>
				<Route
					path="/navigation"
					children={({ match, ...rest }) => (
				 	<TransitionGroup navigationAction={this.context.router.history} component={firstChild}>
				   		{match && <Navigation {...rest} />}
				 	</TransitionGroup>
				)}/>
				<Route
					exact
					path="/projects"
					children={({ match, ...rest }) => (
					<TransitionGroup component={firstChild}>
						{match && <ProjectGrid {...rest}/>}
					</TransitionGroup>
				)}/>
				<Route
					path="/projects/:id"
					children={({ match, ...rest }) => (
					<TransitionGroup component={firstChild}>
						{match && <ProjectContent {...rest} projectID={match.params.id} />}
					</TransitionGroup>
				)}/>
				<Route
					path="/subscribe"
					children={({ match, ...rest }) => (
					<TransitionGroup component={firstChild}>
						{match && <Subscribe {...rest} />}
					</TransitionGroup>
				)}/>
				<Route
					path="/about"
					children={({ match, ...rest }) => (
					<TransitionGroup component={firstChild}>
						{match && <About {...rest} />}
					</TransitionGroup>
				)}/>

		);
	}
}
Main.contextTypes = {
  router: React.PropTypes.object.isRequired
};

const AnimatedWrapper = (WrappedComponent, ComponentSelector) => class AnimatedWrapper
 extends React.Component {
	constructor(props){
		super(props)
		this.state = {
			windowWidth: $(window).width(),
		}
	}

	componentWillEnter(callback) {
		if (this.props.history.action == 'POP' || this.props.location.pathname == '/navigation') {
			$(ComponentSelector).css({
				'z-index':'10',
				'-webkit-transform': 'translateX(-' + this.state.windowWidth + 'px)',
			    '-moz-transform': 'translateX(-' + this.state.windowWidth + 'px)',
			    '-o-transform': 'translateX(-' + this.state.windowWidth + 'px)',
				'-ms-transform': 'translateX(-' + this.state.windowWidth + 'px)',
				'transform':  'translateX(-' + this.state.windowWidth + 'px)'
			})
		} else {
			$(ComponentSelector).css({
				'z-index':'10',
				'-webkit-transform': 'translateX(' + this.state.windowWidth + 'px)',
			    '-moz-transform': 'translateX(' + this.state.windowWidth + 'px)',
			    '-o-transform': 'translateX(' + this.state.windowWidth + 'px)',
				'-ms-transform': 'translateX(' + this.state.windowWidth + 'px)',
				'transform':  'translateX(' + this.state.windowWidth + 'px)'
			})
		}
		callback();
	}

	componentDidEnter () {
		$(ComponentSelector).addClass('transitioning');
		if (this.props.history.action == 'POP' || this.props.location.pathname == '/navigation') {
			$(ComponentSelector).velocity({
				translateX: [0,-this.state.windowWidth],
			}, {
				duration: 700,
				easing: [ 0.97, 0.01, 0.71, 0.76 ],
				complete: function () {
					setTimeout(() => {
						$(ComponentSelector).removeClass('transitioning');
						$(ComponentSelector).css({
							'z-index':'9',
						})
					},150)
				}
			})
		} else {
			$(ComponentSelector).velocity({
				translateX: [0,this.state.windowWidth],
			}, {
				duration: 700,
				easing: [ 0.97, 0.01, 0.71, 0.76 ],
				complete: function () {
					setTimeout(() => {
						$(ComponentSelector).removeClass('transitioning');
						$(ComponentSelector).css({
							'z-index':'9',
						})
					},150)

				}
			});
		}

	}

	componentWillLeave(callback) {
	  setTimeout(() => callback(), 800);
	}

	render () {
		return (

				<WrappedComponent {...this.props} />

		)
	}
}

class HomeComponent extends React.Component {
	render () {
		return (

			    <HomePage/>

		)
	}
}
const HomeComponentSelector = '.page-slider-slide.page-active.home'
const Home = AnimatedWrapper(HomeComponent, HomeComponentSelector, 'right');

class NavigationComponent extends React.Component {
	render() {
		return (

				<NavigationPage/>

		)
	}
}
const NavigationComponentSelector = '.page-slider-slide.page-active.navigation'
const Navigation = AnimatedWrapper(NavigationComponent, NavigationComponentSelector, 'left');

class ProjectGridComponent extends React.Component {
	render() {
		return (

				<ProjectGridPage/>

		)
	}
}
const ProjectsGridComponentSelector = '.page-slider-slide.page-active.projects'
const ProjectGrid = AnimatedWrapper(ProjectGridComponent, ProjectsGridComponentSelector, 'right');

class ProjectContentComponent extends React.Component {
	render() {
		return (

				<ProjectContentPage {...this.props}/>

		)
	}
}
const ProjectContentComponentSelector = '.page-slider-slide.page-active.project-content'
const ProjectContent = AnimatedWrapper(ProjectContentComponent, ProjectContentComponentSelector, 'right');

class SubscribeComponent extends React.Component {
	render () {
		return (

				<SubscribePage/>

		)
	}
}
const SubscribeComponentSelector = '.page-slider-slide.page-active.subscribe'
const Subscribe = AnimatedWrapper(SubscribeComponent, SubscribeComponentSelector, 'right');

class AboutComponent extends React.Component {
	render() {
		return (

				<AboutPage/>

		)
	}
}
const AboutComponentSelector = '.page-slider-slide.page-active.about';
const About = AnimatedWrapper(AboutComponent, AboutComponentSelector, 'right');

class ErrorComponent extends React.Component {
	render() {
		console.log('here');
		return (

				<ErrorPage/>

		)
	}
}
const ErrorComponentSelector = '.page-slider-slide.page-active.error';
const Error = AnimatedWrapper(ErrorComponent, ErrorComponentSelector, 'right');

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux. Thanks!

authors: dailenspencer timdorr

repo: ReactTraining/react-router


text:
useHistory() return history object different for

Version
v5.2.0
Test Case
https://codesandbox.io/s/react-router-689yc
Steps to reproduce
Instead of BrowserRouter, use Router with customized history
then use the hook useHistory() and see the different object return by history
Expected Behavior
to return history object with properties

length
action
location
createHref
push
replace
go
goBack
goForward
block
listen

Actual Behavior
return properties from history object

action
location
createHref
push
replace
go
back
forward
listen
block

TLDR:
goBack and goForward methods are undefined
for history object when using custom history with Router component

Remove 'history' dependency from package.json file and that will do the trick (at least on your test case). @pankaj-ch

Only history 4.x works with Router 5.x.

authors: pankaj-ch timdorr tpenaranda


text:
added console utils

I also rebased this branch and removed all the previous unnecessary commits.

LGTM

authors: xytosis yschimke

repo: ReactiveSocket/reactivesocket-java


text:
Possibly better RxJS pipe typings?

I know it's unlikely for someone to use 9+ operators in a pipe... but this is really bugging me...
pipe.ts' typings seems pretty huge, redundant, and unnecessary, and I want to help reduce it so:

It's not huge, redundant, and unnecessary
It can take 9+ operators and still produce the correct type

I made a simple prototype with this working in this gist (updated)
Currently, it takes in any amount of unary functions, and does the following:

Validates if the unary functions are composable together (parameter and return types match)
Spits out an unary function of the first one's parameter and the last one's return type
If no arguments are present it spits out the identity function
If only one argument is present it returns that argument

Thoughts, anyone?
Let me know if this can be possibly added.

Uh oh, I've been testing my prototype and it seems to not handle the obvious case when there is only one operator 😅
No matter, I think it's an easy fix though

Possibly related issue: #4177 ?

repo: ReactiveX/rxjs


text:
Probeer dit met minder code op te lossen

Hierdoor wordt het straks makkelijker om snelle code te schrijven. Zoek dus uit hoe je met classList.toggle() en slimme(re) CSS dit probleem kunt oplossen.
https://github.com/Recss68/fix-the-flow-interactive-website/blob/76193580f98cd521ea5fa880021fd1da260bdbb8/opdracht 2/index.js#L7-L17

132c6e2b4c6a7713ce9d9a6e50b5990559a47db6

Nice!
Nog een pro-tip: je kunt je commit messages koppelen aan issue, door in je commit message het nummer van je issue te noemen (“code korter gemaakt (#6)” in dit geval). Je hoeft dan niet handmatig de commit te noemen. En je kunt het issue zelfs automatisch laten sluiten met een commit (“code korter gemaakt (fixes #6)” in dit geval) — waarschijnlijk wil je in de toekomst ook al je commit messages in het Engels gaan maken, maar dat komt nog wel.


text:
Updated spelling

Additional spelling fixes.

Thanks!!!

authors: dsorrentino mperezco


text:
Support for mixed types in arrays of objects

Hello! I'm trying to use this SMT to transform some data I have in a Mongo Database into a Connect record. It works very well overall, but I have one field that looks like this:
[
  { "tagName" : "SourceFile", "tagValue" : "string", "tagGroup" : "none" },
  { "tagName" : "SourceFile", "tagValue" : 199, "tagGroup" : "none" },
  { "tagName" : "SourceFile", "tagValue" : [ "tag1", "tag2 ], "tagGroup" : "none" }
]

This fails with the following error:
org.apache.kafka.connect.errors.DataException: Invalid Java object for schema type STRING: class java.lang.Double for field: "tagValue"
        at org.apache.kafka.connect.data.ConnectSchema.validateValue(ConnectSchema.java:245)
        at org.apache.kafka.connect.data.Struct.put(Struct.java:216)
        at org.apache.kafka.connect.data.Struct.put(Struct.java:203)
        at com.redhat.insights.expandjsonsmt.DataConverter.convertFieldValue(DataConverter.java:35)
       ...

It seems to set the schema type for tagValue based on whatever it sees first. For example, if the array was the first thing it saw, I would get an error like Invalid Java obect for schema type ARRAY: class java.lang.Double....
Is this expected for how this SMT is currently designed? If not, is it something that it's possible to add support for? Thanks!

Hello @jpavlick, nice to see our tool is useful for you. It's some time ago I've implemented that. If I remember correctly, yes, schema is created dynamically from the first item, what is quite convenient in most cases, I think. I don't think there is any simple workaround how to support such "multi-type" field.
But to be honest, I don't think it's a good idea to have such data in database. I would rather define "tagValue" as a array in general so you can store: ["string"], ["199"] and ["tag1", "tag2"]. Then you will avoid this issue and probably some others, I guess. Likely it's not the only place where you are going to process this data and it's always much easier when you can expect the same type for each record. Regrds.

Thanks for the reply, and sorry it took me awhile to get back to you. We don't actually have access to the source data to be able to change the data at the source, and since it's valid json it seems like perhaps this SMT should be able to handle that use case.
That said, I recognize why it's difficult to do in Java, so I decided to create my own SMT to handle this specific case and coerce the singletons into arrays of strings, as per your suggestion. That fixed our issue, so I'll go ahead and close this issue. Thanks for the response!

authors: Josca jpavlick

repo: RedHatInsights/expandjsonsmt


text:
GET /clusters/{clusterId}/report returns 404

smart-proxy returns 404 on GET /clusters/{clusterId}/report. The log contains an error:
{"level":"info","time":"2020-06-26T13:10:22Z","message":"Request received - URI: /api/insights-results-aggregator/v1/organizations/11789772/clusters, Method: GET"}
{"level":"info","time":"2020-06-26T13:10:22Z","message":"Handling response as a proxy"}
{"level":"debug","time":"2020-06-26T13:10:22Z","message":"Connecting to http://insights-results-aggregator:8080/api/insights-results-aggregator/v1/organizations/11789772/clusters "}
{"level":"info","time":"2020-06-26T13:10:23Z","message":"Request received - URI: /api/insights-results-aggregator/v1/clusters/254633ef-bd50-4504-91f7-3acf8d2cc83b/report, Method: GET"}
{"level":"error","error":"Item with ID ccx_rules_ocp.external.rules.nodes_kubelet_version_check.report/NODE_KUBELET_VERSION was not found in the storage","time":"2020-06-26T13:10:23Z","message":"handleServerError()"}

insights-results-aggregator receives a proxied request and replies without errors:
{"level":"info","time":"2020-06-26T13:10:23Z","message":"Request received - URI: /api/insights-results-aggregator/v1/organizations/11789772/clusters/254633ef-bd50-4504-91f7-3acf8d2cc83b/users/6089719/report, Method: GET"}

Apparently the problem is related to the lack of static content for this specific rule (ccx_rules_ocp.external.rules.nodes_kubelet_version_check).
Are you OK closing this issue?

Sure

authors: joselsegura quarckster


text:
Add missing token message when using jwt tokens

Description
Show correct status for missing token when authenticating with JWT tokens.
Fixes #736
Type of change

Bug fix (non-breaking change which fixes an issue)

Testing steps
Run the service locally.
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

No unit tests?

I added them.

Codecov Report
Base: 60.43% // Head: 60.56% // Increases project coverage by +0.12% :tada:

Coverage data is based on head (fb408e1) compared to base (c6e05d6).
Patch coverage: 66.66% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #962      +/-   ##
==========================================
+ Coverage   60.43%   60.56%   +0.12%
==========================================
  Files          23       23
  Lines        3228     3231       +3
==========================================
+ Hits         1951     1957       +6
+ Misses       1056     1053       -3
  Partials      221      221

Impacted Files
Coverage Δ

server/auth.go
66.99% <66.66%> (+1.99%)
:arrow_up:

content/content.go
77.77% <0.00%> (+0.82%)
:arrow_up:

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: JiriPapousek codecov-commenter


text:
Remove Pipfile.lock refs from codeql.yml

PR Title :boom:
Please title this PR with a summary of the change, along with the JIRA card number.
Suggested formats:

Fixes/Refs #RHIROS-XXX - Title
RHIROS-XXX Title

Feel free to remove this section from PR description once done.
Why do we need this change? :thought_balloon:
Please include the context of this change here.
Documentation update? :memo:

[ ] Yes
[ ] No

Security Checklist :lock:
Upon raising this PR please go through RedHatInsights/secure-coding-checklist
:guardsman: Checklist :dart:

[ ] Bugfix
[ ] New Feature
[ ] Refactor
[ ] Unittests Added
[ ] DRY code
[ ] Dependency Added
[ ] DB Migration Added

Additional :mega:
Feel free to add any other relevant details such as links, notes, screenshots, here.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:loudspeaker: Thoughts on this report? Let us know!.

Good catch! Thank you @upadhyeammit for pull-request.

authors: codecov-commenter kgaikwad upadhyeammit

repo: RedHatInsights/ros-backend


text:
RHTAP hermetic builds for pull and push

PR Title :boom:
Please title this PR with a summary of the change, along with the JIRA card number.
Suggested formats:

Fixes/Refs #RHIROS-XXX - Title
RHIROS-XXX Title

Feel free to remove this section from PR description once done.
Why do we need this change? :thought_balloon:
Please include the context of this change here.
Documentation update? :memo:

[ ] Yes
[ ] No

Security Checklist :lock:
Upon raising this PR please go through RedHatInsights/secure-coding-checklist
:guardsman: Checklist :dart:

[ ] Bugfix
[ ] New Feature
[ ] Refactor
[ ] Unittests Added
[ ] DRY code
[ ] Dependency Added
[ ] DB Migration Added

Additional :mega:
Feel free to add any other relevant details such as links, notes, screenshots, here.

We have RUN microdnf install --disableplugin=subscription-manager --nodocs -y python311 tar gzip gcc python3.11-devel as requirement hence hermetic mode won't work for us. Accordingly closing this for now!


text:
Reorganize various Authentication DAOs

Based on #607, so that one will need to go first.
This PR does a few things:

Renames authenticationDaoImpl -> authenticationDaoVaultImpl since that is what it is
Moves VaultClient itnerface (and creation) to dao/vault since it is a separate package
Creates dao/amazon for the secrets manager client
Initial empty secrets manager authentication dao impl

@lindgrenj6 this can be rebased

rebased!

/retest

/retest

Merging due to approval.

repo: RedHatInsights/sources-api-go


text:
Support for pylero-cmd to be packaged as a docker container?

Was looking to leverage pylero-cmd within one of our test executor containers but rather than building the dependencies into my container was wondering if Pylero has any plans of having a containerized offering? that could be layered into other containers?

For base image we could consider the latest ubi9 images:
ubi9 base:
https://catalog.redhat.com/software/containers/ubi9/618326f8c0d15aff4912fe0b?container-tabs=gti
python 3.9 on ubi9:
https://catalog.redhat.com/software/containers/ubi9/python-39/61a61032bfd4a5234d59629e?container-tabs=gti

Ack, awaiting user info.
I see the requirement as "layered into other containers", so not sure whether they want pylero to be installed at a specific path and then later be copied during a multi-stage build or pylero standalone.
This is what I'm thinking, build the image with pylero installed in a venv and provide a way to copy the venv to any other container that already has python installed.

repo: RedHatQE/pylero


text:
[ #125 ] - Add retries to jira.connect and jira.search

Adds the use of the ignore_exceptions decorator to the connect and search functions in the jira lib

Closes #125

/verified

New container for quay.io/redhatqe/qe-metrics:latest published

repo: RedHatQE/qe-metrics


text:
Do i have to make goose directory ?

Thank you so much for your good software as free.
I like to make my own website by your s/w.
I tried it, everything is O.K. except user screen.
Do I have to make goose folder ?
It is compulsory.
Thanks you so much for your answer in advance.
Have a nice day.

php스쿨의 더넓은세상님이네요. ㅎㅎㅎ 아주 긴장했습니다. ㅠㅠ
php스쿨에서 댓글을 올렸습니다만 goose 파일들을 root로 옮기고 설치하면 root에서 사용할 수 있습니다.
goose 페이지는 로그인 하도록 막혀있어서 보통 root로 넣진 않더라구요. xe나 워드프레스는 root에 넣어야지 abc.com으로 접속하면 바로 뜨겠지만 goose는 관리와 출력 부분이 분리되어있어서 출력하는 프로그램을 root에서 작성해서 사용하시면 됩니다 :)

답변 감사 드립니다.
제가 조금전에 해 보니 잘 안되든데요.
혹시  제가 테스트 하고 있는 호스팅 도메인이 dlpsystem.kr 이고 ID 가 dlpsystem
비밀번호가 zxcv0103 입니다.
FTP로 접속해서 어떻게 세팅해면 되는지 한번 봐 주심 제가 쉽게 따라 할 수 있을 것 같습니다.
바쁘신데 번거롭게 해 드려서 죄송합니다.
만들어 놓으신 것이 굉장히 빨라서 이미지를 보여주기는 최적이라고 생각이 듭니다.
이번 기회에 저도 좀 공부를 해 볼까 합니다.
감사합니다.
Best Regards
President - Heo/YunYoung
KICT Group | Marketing | moreworld@kictgroup.com | +82-10-9636-3833
We are Korean high technology manufacturer and exporter.
Email) moreworld@kictgroup.com, moreworld@marinebio.kr
Web) www.kictgroup.com
Tel) 82-70-4837-1730 Fax) 82-504-056-3833
SKYPE:kictgroup
-----Original Message-----
From: "Redgoose"<notifications@github.com>
To: "RedgooseDev/goose"<goose@noreply.github.com>;
Cc: "moreworld"<moreworld@kictgroup.com>;
Sent: 2016-01-27 (수) 16:56:45
Subject: Re: [goose] Do i have to make goose directory ? (#127)
php스쿨의 더넓은세상님이네요. ㅎㅎㅎ 아주 긴장했습니다. ㅠㅠ
php스쿨에서 댓글을 올렸습니다만 goose 파일들을 root로 옮기고 설치하면 root에서 사용할 수 있습니다.
goose 페이지는 로그인 하도록 막혀있어서 보통 root로 넣진 않더라구요. xe나 워드프레스는 root에 넣어야지 abc.com으로 접속하면 바로 뜨겠지만 goose는 관리와 출력 부분이 분리되어있어서 출력하는 프로그램을 root에서 작성해서 사용하시면 됩니다 :)
—
Reply to this email directly or view it on GitHub.

제가 질문을 오해했었네요 :)
가장처음 phpschool에서 올리신 질문이  root 디렉토리에 설치하니 설치가 되는데 그럼 직접 유저들에게 보여주는 화면은 어떻게 세팅을 하는지 잘 이해가 안됩니다. 라고 하셨는데 말이죠. ㅎㅎ
/goose : 이렇게 접속되도록 그대로 두고...
/ : 앱으로 접속되게 하면 방문객이 글들을 볼 수 있을겁니다.
일단 제가 하던일좀 처리끝나고 세팅해보겠습니다. :)

예 감사 드립니다.
dlpsystem.kr 로 들어가 보시면 제가 어제 저녁에 테스트로 해 본 것들이 있습니다.
그런데 이것을 실제로 이미지들 다 올리고 나서 dlpsystem.kr로 사용자들에게 보여주고 싶은데 그것을 어떻게 처리해야 할지 모르는 것입니다.

감사합니다.
Best Regards
President - Heo/YunYoung
KICT Group | Marketing | moreworld@kictgroup.com | +82-10-9636-3833
We are Korean high technology manufacturer and exporter.
Email) moreworld@kictgroup.com, moreworld@marinebio.kr
Web) www.kictgroup.com
Tel) 82-70-4837-1730 Fax) 82-504-056-3833
SKYPE:kictgroup
-----Original Message-----
From: "Redgoose"<notifications@github.com>
To: "RedgooseDev/goose"<goose@noreply.github.com>;
Cc: "moreworld"<moreworld@kictgroup.com>;
Sent: 2016-01-27 (수) 17:11:06
Subject: Re: [goose] Do i have to make goose directory ? (#127)
제가 질문을 오해했었네요 :)
가장처음 phpschool에서 올리신 질문이 root 디렉토리에 설치하니 설치가 되는데 그럼 직접 유저들에게 보여주는 화면은 어떻게 세팅을 하는지 잘 이해가 안됩니다. 라고 하셨는데 말이죠. ㅎㅎ
/goose : 이렇게 접속되도록 그대로 두고...
/ : 앱으로 접속되게 하면 방문객이 글들을 볼 수 있을겁니다.
일단 제가 하던일좀 처리끝나고 세팅해보겠습니다. :)
—
Reply to this email directly or view it on GitHub.

이메일은   moreworld@kictgroup.com 이구요  비밀번호는  zxcv0103 입니다.
감사합니다.
예 감사 드립니다.
dlpsystem.kr 로 들어가 보시면 제가 어제 저녁에 테스트로 해 본 것들이 있습니다.
그런데 이것을 실제로 이미지들 다 올리고 나서 dlpsystem.kr로 사용자들에게 보여주고 싶은데 그것을 어떻게 처리해야 할지 모르는 것입니다.

감사합니다.
Best Regards
President - Heo/YunYoung
KICT Group | Marketing | moreworld@kictgroup.com | +82-10-9636-3833
We are Korean high technology manufacturer and exporter.
Email) moreworld@kictgroup.com, moreworld@marinebio.kr
Web) www.kictgroup.com
Tel) 82-70-4837-1730 Fax) 82-504-056-3833
SKYPE:kictgroup
-----Original Message-----
From: "Redgoose"<notifications@github.com>
To: "RedgooseDev/goose"<goose@noreply.github.com>;
Cc: "moreworld"<moreworld@kictgroup.com>;
Sent: 2016-01-27 (수) 17:11:06
Subject: Re: [goose] Do i have to make goose directory ? (#127)
제가 질문을 오해했었네요 :)
가장처음 phpschool에서 올리신 질문이 root 디렉토리에 설치하니 설치가 되는데 그럼 직접 유저들에게 보여주는 화면은 어떻게 세팅을 하는지 잘 이해가 안됩니다. 라고 하셨는데 말이죠. ㅎㅎ
/goose : 이렇게 접속되도록 그대로 두고...
/ : 앱으로 접속되게 하면 방문객이 글들을 볼 수 있을겁니다.
일단 제가 하던일좀 처리끝나고 세팅해보겠습니다. :)
—
Reply to this email directly or view it on GitHub.

일단 경로 정리는 해뒀습니다.
/ 로 접속하면 redirect로 /helloworld로 이동하도록 수정했어요.
일단 helloworld로 이게 어떻게 작동되고 있는지 확인해보셔야 할 필요가 있을거예요. :)
/helloworld/index.php 소스를 확인해보시고 nest_srl을 다른걸로 바꿔보시면 둥지 출력에 대해서 도움이 되실 거예요.
이게 goose만 설치한다고 사진 갤러리가 바로 나오는게 아니고 사진 갤러리나 에디터 같은것들을 따로 설치하고 설정해줘야해요.
커스터마이즈가 쉽도록 만들다보니 직접 수정해야하는것들이 많아서 이해해야 하는것들이 많고 불편한것들이 많은게 사실입니다. ㅠㅠ
이제 삽질이 필요하실 때입니다. :) 화이팅입니다~

그리고 이곳이 공개된 장소이다보니 계정 비밀번호는 꼭!!!! 바꿔주세요!!!!!!!!!

넵 알겠습니다. 감사 합니다.
제가 한번 해 보도록 하겠습니다.

여러가지로 많은 관심 깊이 감사 드립니다.
Best Regards
President - Heo/YunYoung
KICT Group | Marketing | moreworld@kictgroup.com | +82-10-9636-3833
We are Korean high technology manufacturer and exporter.
Email) moreworld@kictgroup.com, moreworld@marinebio.kr
Web) www.kictgroup.com
Tel) 82-70-4837-1730 Fax) 82-504-056-3833
SKYPE:kictgroup
-----Original Message-----
From: "Redgoose"<notifications@github.com>
To: "RedgooseDev/goose"<goose@noreply.github.com>;
Cc: "moreworld"<moreworld@kictgroup.com>;
Sent: 2016-01-27 (수) 17:46:42
Subject: Re: [goose] Do i have to make goose directory ? (#127)
그리고 이곳이 공개된 장소이다보니 계정 비밀번호는 꼭!!!! 바꿔주세요!!!!!!!!!
—
Reply to this email directly or view it on GitHub.

넵 막히거나 궁금한게 있으면 다시 이슈에 올려주세요 :0
그럼 이 이슈는 닫도록 하며 좋은하루 되세요~

 아 그러면 goose 디렉토리를 만들고 그 디렉토리에 goose 파일을 넣고 root 디렉토리에 메인화면을 만들면 되는지요 ?
그렇게 하는데는 고쳐야 할 것이 없는지요 ?
감사합니다.
Best Regards
President - Heo/YunYoung
KICT Group | Marketing | moreworld@kictgroup.com | +82-10-9636-3833
We are Korean high technology manufacturer and exporter.
Email) moreworld@kictgroup.com, moreworld@marinebio.kr
Web) www.kictgroup.com
Tel) 82-70-4837-1730 Fax) 82-504-056-3833
SKYPE:kictgroup
-----Original Message-----
From: "허윤영"<moreworld@kictgroup.com>
To: "RedgooseDev/goose"<reply@reply.github.com>; "RedgooseDev/goose"<goose@noreply.github.com>;
Cc:
Sent: 2016-01-27 (수) 17:49:08
Subject: Re: [goose] Do i have to make goose directory ? (#127)
넵 알겠습니다. 감사 합니다.
제가 한번 해 보도록 하겠습니다.

여러가지로 많은 관심 깊이 감사 드립니다.
Best Regards
President - Heo/YunYoung
KICT Group | Marketing | moreworld@kictgroup.com | +82-10-9636-3833
We are Korean high technology manufacturer and exporter.
Email) moreworld@kictgroup.com, moreworld@marinebio.kr
Web) www.kictgroup.com
Tel) 82-70-4837-1730 Fax) 82-504-056-3833
SKYPE:kictgroup
-----Original Message-----
From: "Redgoose"<notifications@github.com>
To: "RedgooseDev/goose"<goose@noreply.github.com>;
Cc: "moreworld"<moreworld@kictgroup.com>;
Sent: 2016-01-27 (수) 17:46:42
Subject: Re: [goose] Do i have to make goose directory ? (#127)
그리고 이곳이 공개된 장소이다보니 계정 비밀번호는 꼭!!!! 바꿔주세요!!!!!!!!!
—
Reply to this email directly or view it on GitHub.

네 메인화면에 방문객에게 보여줄 페이지를 만들어도 되고, 다른 디렉토리 만들어서 프로그램을 만들어도 됩니다. /helloworld/index.php 파일의 소스에서 경로들을 보시면 이해가실겁니다.

authors: RedgooseDev moreworld

repo: RedgooseDev/goose


text:
numpy.random fix BitGenerator attribute missing

Fixes #339 (based on https://github.com/aleju/imgaug/issues/537#issuecomment-1064647150 )

Codecov Report

Merging #340 (133d933) into master (b3b2d8c) will increase coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #340      +/-   ##
==========================================
+ Coverage   54.26%   54.32%   +0.06%
==========================================
  Files          55       55
  Lines        4412     4412
==========================================
+ Hits         2394     2397       +3
+ Misses       2018     2015       -3

Impacted Files
Coverage Δ

redisbench_admin/run/git.py
96.42% <0.00%> (ø)

redisbench_admin/utils/remote.py
68.26% <0.00%> (+0.75%)
:arrow_up:

Continue to review full report at Codecov.

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

repo: RedisLabsModules/redisbench-admin


text:
@Salvakiya is gay

Tested versions
All
System information
Any
Issue description
As per #200 @Salvakiya is gay.

Steps to reproduce

Minimal reproduction project (MRP)

@Salvakiya so proud of you!

#1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 #12 #13 #14 #15 #16 #17 #18 #19 #20 #21 #22 #23 #24 #25 #26 #27 #28 #29 #30 #31 #32 #33 #34 #35 #36 #37 #38 #39 #40 #41 #42 #43 #44 #45 #46 #47 #48 #49 #50 #51 #52 #53 #54 #55 #56 #57 #58 #59 #60 #61 #62 #63 #64 #65 #66 #67 #68 #69 #70 #71 #72 #73 #74 #75 #76 #77 #78 #79 #80 #81 #82 #83 #84 #85 #86 #87 #88 #89 #90 #91 #92 #93 #94 #95 #96 #97 #98 #99 #100 #101 #102 #103 #104 #105 #106 #107 #108 #109 #110 #111 #112 #113 #114 #115 #116 #117 #118 #119 #120 #121 #122 #123 #124 #125 #126 #127 #128 #129 #130 #131 #132 #133 #134 #135 #136 #137 #138 #139 #140 #141 #142 #143 #144 #145 #146 #147 #148 #149 #150 #151 #152 #153 #154 #155 #156 #157 #158 #159 #160 #161 #162 #163 #164 #165 #166 #167 #168 #169 #170 #171 #172 #173 #174 #175 #176 #177 #178 #179 #180 #181 #182 #183 #184 #185 #186 #187 #188 #189 #190 #191 #192 #193 #194 #195 #196 #197 #198 #199 #200 #201 #202 #203 #204 #205 #206 #207
(for visibility)

repo: Redot-Engine/redot-engine


text: Bro from ohio

authors: AntiWokeSoldier meltland


text:
Feature request: Attempt to Automatically Locate dot executable

It would be quite useful to automate (or at least attempt to automate) the process of finding the dot executable without asking user - possibly opening room for headless deployment in automated environments.

Might be able to do something like that, but I think I ran into issues of being able to freely explore the user's file system from an arbitrary position where the project is being run from. It should be 'do it once and forget', though I've been toying with embedding GraphViz in the project itself which I should get back to so we can avoid this entirely.

I think that (well, at least in *NIX environment) that attempting to find dot executable from the system's PATH environment variable would be a safe bet to make.
Since I intend to run this in an automated, noninteractive environment, e.g., GitHub Actions or Azure Pipelines, "do it once" part of "do it once and forget" is not really an option.

I've been toying with embedding GraphViz in the project itself which I should get back to so we can avoid this entirely.

Maybe you could consider replacing GraphViz.java with graphviz-java library? Seems like (from quickly glancing over README there... at least) it comes with automatic locating of dot executable.

repo: Reithger/Project-Diagram-Generator


text:
Shared and received folder

Icon Request

Icon name: shared folder

Tags of this icon: shared folder

Use case: Folder has been shared with team members

Screenshots of similar icons: A folder with right arrow

Icon name: received folder

Tags of this icon: received folder

Use case: Folder has been received by a team members

Screenshots of similar icons: A folder with left arrow

folder-shared-line
folder-shared-fill
folder-received-line
folder-received-fill

authors: iamrishishah xiaochunjimmy

repo: Remix-Design/RemixIcon


text:
Table of contents testing

trying to create better table of contents code

fixed table of contents
still need to stop audio on navigation bar pressed


text:
Testing the tool

Busy testing the tool and initially was failing, i needed the latest CLI version then started running..
Guess we do have largish environment - picked up on the error below.
        {
            "code": "ResponsePayloadTooLarge",
            "message": "Response payload size is 19749321, and has exceeded the limit of 12582912. Please consider querying less data at a time and make paginated call if needed."
        }

That is a very curious one, because we are already paging the results.
Can you download the new version 1.0.4 and try it again?
Also, can you run it using the “-Debug” parameter to tell us the last debug message you got before the error happen?

Sorry for delayed response - I will try again over the next few days and let you know..great tool!

repo: RenatoGregio/AzureResourceInventory


text:
A suggestion about releasing multiple-versions.

WinRAR has a feature called "Save identical files as references". It means that if two or more versions have a lot of identical files, you can just pack them in a same .rar package, and will not make the file size increase rapidly.

why am i suggest this? because i wanted to try both of 2.0.0.0 beta2 versions, sadly i had to download excess contents.

200 Megs is tiny, There are a few files that are different even if you don't notice them.


text:
Crypto.com Wallet Browser Extension causes connection issues

I've tested this scenario with no success.
Steps I took on Chrome (I've MetaMask installed)

install crypto.com extension
created a new wallet in crypto.com ext

The MetaMask connect button was still visible and operational. Also when switching the crypto.com ext to Ethereum main net nothing changed.


text:
Inverted Number Triangle added

Make numbers triangle
issue: #72

File changes made, can you review it now?


text:
Possible limitation, or I just don’t understand something

This is a great library, thanks for sharing. However, in my use case I can't really use it, but maybe that's just because I don't understand something.
In my case, I have to watch for pan events on multiple elements. One option I have is to put the pan action on a container and manipulate the elements based on the target of the event, but this is not really a good solution for me because all the targets are complex, it would simply be too much work.
The other solution is to just place the action on each element individually. This works, but it doesn't do what I would do if I didn't use this library, because it only triggers the pointermove on the element itself.
What I would do is attach a pointerdown event to the element I want to manipulate, and when that event is triggered, I would attach a pointermove event to the window so I can move outside the element.
This library makes me attach the pointerdown and pointermove events to the same element, so I can't move outside of it.
Here is a repl which might help What I try to show in this repl is that the red box can not be moved outside of the grey box unless I attach the action only to the container in which case I need to deal with some unnecessary complexity.
I plan to fork your library to change the setPointerControls function so it accepts another node as a target for up, move and similar events but that is hard work for me since I need to understand everything that depends on this function. I thought I first should just ask you: do you think this change is easily possible or do you see problems that will appear after I made this change?

Sorry, but adding pan event on container is the right way to go. It is gesture library for a gesture recognition. You are probably looking rather for something like drag and drop. Or you simply need custom implementation.
As there is none else requesting this king of feature I am closing the issue in favour of keeping the library small with a single purpose

authors: KocsisGabor Rezi

repo: Rezi/svelte-gestures


text:
Navbar Paths and tags default collapsed

Other functionality we are seeking is to default collapse all navbar paths and tags. What should be the correct way to do this?

onSpecLoaded(spec) {
  spec.detail.tags.forEach(tag => {
    tag.expanded = false;
  });
}

authors: iasisalomon wparad

repo: Rhosys/openapi-explorer


text:
Server error for @babel/plugin-transform-react-inline-elements@7.0.0

https://bundle.run/@babel/plugin-transform-react-inline-elements@7.0.0 yields the following error:
Cannot find module './common' from '/var/app/current/.tmp/3c70316a8727a02cb9b6de0d1d2c1ba749c33b98/package/node_modules/debug/dist'

I invalided the entry, could you please try again?

authors: billyjanitsch xtuc

repo: Rich-Harris/packd


text:
[Bug]闪退

Bug 描述
开全屏显示会直接闪退
复现问题的步骤
刚开始使用时不会发生，几分钟后点开任意视频，直播 全屏播放软件会直接闪退

预期行为
可以正常全屏播放视频
截图
No response
应用来源

[ ] Microsoft Store
[X] Github
[ ] 其它

其它来源
No response
系统版本

[ ] Windows 10 1809 (Build 17763)
[ ] Windows 10 1903 (Build 18362)
[ ] Windows 10 1909 (Build 18363)
[ ] Windows 10 2004 (Build 19041)
[ ] Windows 10 20H2 (Build 19042)
[X] Windows 10 21H1 (Build 19043)
[ ] Windows 11 21H2 (Build 22000)
[ ] 其它 (需注明)

其它系统版本
内部版本为19044
运行设备
桌面/台式机
日志记录
applog.2022-05-15.log
备注
windows应用程序日志描述
错误应用程序名称: Richasy.Bili.App.exe，版本: 1.0.0.0，时间戳: 0x6268b965
错误模块名称: Microsoft.Graphics.Canvas.dll，版本: 1.26.0.0，时间戳: 0x6089b158
异常代码: 0xc0000005
错误偏移量: 0x00000000000510ad
错误进程 ID: 0x5de8
错误应用程序启动时间: 0x01d868088b3fbcbe
错误应用程序路径: C:\Program Files\WindowsApps\Richasy.Bili_2.2205.1.0_x64__0d2vm92gxvj9a\Richasy.Bili.App.exe
错误模块路径: C:\Program Files\WindowsApps\Richasy.Bili_2.2205.1.0_x64__0d2vm92gxvj9a\Microsoft.Graphics.Canvas.dll
报告 ID: 08e7dd8c-4379-4e90-ab20-b0c3c827593b
错误程序包全名: Richasy.Bili_2.2205.1.0_x64__0d2vm92gxvj9a
错误程序包相对应用程序 ID: App
人人为我，我为人人
我更擅长发现问题

老哥我也遇见这个问题了，在此奉上我的日志
applog.2022-05-14.log

该问题应该已经在六月更新中被修复，可以使用新版本尝试

authors: Aegiszhy JyaKirinawa Richasy


text:
Including preview_image into gallery selection panel

It would be nice to use the social media preview image in gallery selection panel.
https://github.com/kolibril13/plywood-gallery-minimal-example/blob/e364cb73922018c9d3bbb09bf9fa9861befe3449/gallery_config.yaml#L5
Purposed design :

Current:

I like the proposal!
I think we should use this issue as part of the project from upgrading the TreeView into a WebView--which allows custom HTML rendering.
Currently, we're using the default implementation of VSCode's TreeDataProvider for our TreeViews: this does not allow custom HTML to be displayed. As part of a means to create a better user-friendly version for the TreeView, I've considered using a WebView rather than the data provider (pending implementation is at .../hub/hub.html containing the HTML code that should be rendered to display the TreeView)
Implementing a WebView means that we'll also have to factor in displaying the tree items (if the proposed implementation of the TreeView still wants to use it)
It would be awesome if you could contribute the HTML implementation for the TreeView--also do let me know if there's any confusion.
Ricky.

repo: Rickaym/plywood-gallery-for-vscode


text:
Ignore case for discriminator

Currently Json.Net by default allows deserialize both "foo":1 and "Foo":1 into class Root { public int Foo {get;set;} }, but surprisingly JsonInheritanceConverter - doesn't.
Maybe it worth to add a constructor argument for specifying which StringComparison should it use but I think ignore case by default could be enough.

I dont think the OpenAPI spec allows case insensitive discriminators...

This is how Json.Net works by default. So different case actually work when real JSON get (de)serialized.
Being said, if it goes against the spec (which i'm not sure it does) then it could be at least configurable with spec-compatible setting by default.

I also have this problem, or a related problem at least.
I have all sorts of JSON in database that needs to be deserialized with custom discriminator fields and values. The same data needs to serialized for REST API clients, BUT the discriminator fields needs to be in different form than in the database. For example, I might have discriminator field of "Type" with value "text", which is first deserialized and then serialized again, but in this case, but the discriminator field name should be "type", all lower-case. So basically, I need different serialized forms for the same object, where the only difference is the casing of the discriminator field name.
This is not a huge problem of the API, but it looks weird when serialized objects have one field with capital letters, for example:
{   "id": 123,   "age": "25",   "Type": "person" }
I think the only way to do this, is to implement the whole JsonConverter abstract class, which I did. So I deserialized the discriminator like this:
var discriminator = jObject.GetValue(_discriminator, StringComparison.InvariantCultureIgnoreCase).Value<string>();
and serialized it for the REST API like this:
jObject[_discriminator.ToLower()] = JToken.FromObject(GetDiscriminatorValue(value.GetType()));
Not sure if this also could be tackled with Newtonsoft.Json.JsonSerializer settings or custom implementation of it.

Would you like to merge this if I add a configurable property (with default as it is now)?

I was wrong. If the class is not inherited from JsonInheritanceConverter, then the generated OpenAPI documentation will not show any discriminator mapping. It is mandatory to inherit from JsonInheritanceConverter and NOT from JsonConverter, if custom discriminator implementation is needed.

I'd say that Newtonsoft's behavior is just wrong, but as this is a Newtonsoft converter I'm ok with this change.
If there is an exact match it will win anyway so i dont see a problem with that...
The exact
//     property name will be searched for first and if no matching property is found
//     then the System.StringComparison will be used to match a property.

authors: Pzixel RicoSuter mirinkinen

repo: RicoSuter/NJsonSchema


text:
Error (even with graphviz)

This add-on sounds amazing, but doesn't seem to be working. Every time I try to show or save a mindmap it gives me an error message (see debug info below). I've downloaded and installed version 2.47.1 of graphviz using the EXE installer for Windows 10 (64-bit).
How can I get this addon to work?
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-05-19 16:13:52
Caught exception:
Traceback (most recent call last):
File "C:\Users\Toju\AppData\Roaming\Anki2\addons21\965278890\mindmap_creator_dialog.py", line 46, in _on_show_button_click
self._save_mindmap_to_file(f.name)
File "C:\Users\Toju\AppData\Roaming\Anki2\addons21\965278890\mindmap_creator_dialog.py", line 89, in _save_mindmap_to_file
mindmap = TagMindmap(self.dialog.tag_prefix_lineedit.text())
File "C:\Users\Toju\AppData\Roaming\Anki2\addons21\965278890\mindmap.py", line 21, in init
self.notes_by_path = self._initialize_notes_by_path()
File "C:\Users\Toju\AppData\Roaming\Anki2\addons21\965278890\mindmap.py", line 53, in _initialize_notes_by_path
notes = get_notes(f'"{self.query_term}:{self.root_path}*"')
File "C:\Users\Toju\AppData\Roaming\Anki2\addons21\965278890\anki_util.py", line 41, in get_notes
for id in mw.col.find_notes(search_string)
AttributeError: '_Collection' object has no attribute 'find_notes'

I'm fine with updating, however the the avgEase addon nééds to work in order for my learning process. I saw you had an updated version of it. Does it function the same?

Yes, the only difference is that it starts to adjust the initial ease factors only once there are 50 mature cards in a deck.

Hm and I think the original add-on didn't adjust the ease factors at startup. Mine does.

Alright sounds good! I just updated, but now I'm getting errors from a bunch of other addons that don't work. This is going to be a problem. I think backwards compatibility (up to a certain point) is a must, because most other addons that aren't updated as frequently. What is the oldest version of Anki I can run this addon with?

I'm not sure what the oldest such version is, but it certainly works with 2.1.35.

2.1.24 works too.

Updated and got a new error when pressing show. Save feature works

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.40 (cf446733) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-05-19 16:13:52
Caught exception:
Traceback (most recent call last):
File "C:\Users\Toju\AppData\Roaming\Anki2\addons21\965278890\mindmap_creator_dialog.py", line 46, in _on_show_button_click
self._save_mindmap_to_file(f.name)
File "C:\Users\Toju\AppData\Roaming\Anki2\addons21\965278890\mindmap_creator_dialog.py", line 106, in _save_mindmap_to_file
raise e
File "C:\Users\Toju\AppData\Roaming\Anki2\addons21\965278890\mindmap_creator_dialog.py", line 91, in _save_mindmap_to_file
mindmap.save_as_img(
File "C:\Users\Toju\AppData\Roaming\Anki2\addons21\965278890\mindmap.py", line 41, in save_as_img
raise e
File "C:\Users\Toju\AppData\Roaming\Anki2\addons21\965278890\mindmap.py", line 30, in save_as_img
create_mindmap_img(
File "C:\Users\Toju\AppData\Roaming\Anki2\addons21\965278890_vendor\brain_dump\graphviz.py", line 112, in create_mindmap_img
pygraph.write_svg(output_file_path, prog=pydot_program, encoding='utf-8')
File "C:\Users\Toju\AppData\Roaming\Anki2\addons21\965278890_vendor\pydot\pydot.py", line 1603, in new_method
self.write(
File "C:\Users\Toju\AppData\Roaming\Anki2\addons21\965278890_vendor\pydot\pydot.py", line 1686, in write
with io.open(path, mode='wb') as f:
PermissionError: [Errno 13] Permission denied: 'C:\Users\Toju\AppData\Local\Temp\tmpul32ua3u'

I uploaded a new version of the add-on to Ankiweb. It should fix the issue with the Show feature.

Does the Show button work for you now? Could you please test it? I am quite certain it does but I would like to know for sure.

Works perfectly now

Great, thanks!

repo: RisingOrange/anki-mindmap


text:
Add a statistic about bytes per statement in NT/NQ encoding

In this paper we measured something called "bytes per triple": https://arxiv.org/abs/2406.16412
Basically, it's a measure of how many bytes we need to encode a triple or quad in the N-Triples/N-Quads format. It's useful by being a reasonable estimation of how much information is in the dataset when uncompressed.
We can calculate this on the flat distribution serializer, by just examining the byte size of a stream element and dividing by the number of statements in that element. We'll need some changes to the stat counters to accomodate this.... maybe we'll need to merge in another stream with this extra information.
For this statistic, the "sum" and "unique" columns don't make sense, so skip them.

OK, it works! https://riverbench.github.io/v/dev/datasets/politiquices/#statistics-for-full-distributions

repo: RiverBench/RiverBench


text:
Checkstyle fixes

Hey,
can someone please verify, if the current master branch can not be built because of checkstyle violations? Because here it does:
$ mvn clean package -DskipTests -Dgpg.skip=true
It does so on do/while blocks, when the "while" statement is put on the same line as the curly bracket.
If this is wanted, then i fixed those violations.
I also added checks for "run.sh" in the jmh folder, so that it fails, whenever one of the "mvn" commands fails. Right now it always ran through and jmh used old deployed versions of the jars (grrrr, took me some time to figure out, that it failed bcs of checkstyle)

Coverage remained the same at 84.027% when pulling f3617a045e90f4ad59c1722d3233e18f1e7834ee on okrische:feature/checkstyle-fixes into af363143c7566d78030e652d3371f34029cc6491 on RoaringBitmap:master.

Checkstyle also fails, when compiled/run with jdk7, hmm.
$ mvn clean checkstyle:checkstyle  ... [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:checkstyle (default-cli) on project RoaringBitmap: Execution default-cli of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:checkstyle failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-checkstyle-plugin:2.17:checkstyle: java.lang.UnsupportedClassVersionError: com/puppycrawl/tools/checkstyle/api/AuditListener : Unsupported major.minor version 52.0 ...
Looks like, checkstyle already works with jdk8? Sigh.

Hi @okrische,
The build is failing because:

Roaring depends on the latest version of com.puppycrawl.tools:checkstyle
com.puppycrawl.tools:checkstyle:0.7 has been released 2 weeks ago
this version is not compatible with java 7

To fix the issue, just set explicitly the version to 6.19 in the root pom.
HTH

So, with 7.0 then, the RightCurly check will fail with the current master. Ok. Do you think, the RightCurly changes make sense nonetheless?
I am pretty used to this:
do {    something(); } while(test());
But with 7.0 of the puppy checkstyle thingie, together with google style, it enforces:
do {    something(); }  while(test());

Coverage remained the same at 84.027% when pulling e369534939a52723aee3a86214ab45969c9d016b on okrische:feature/checkstyle-fixes into af363143c7566d78030e652d3371f34029cc6491 on RoaringBitmap:master.

@okrische
I am with you here... this style rule seems a tad odd. Nothing wrong with it per se, but forcing people to write this way is a bit much.
What are your thoughts @gssiyankai ?

Maybe the google style guide has not been updated yet on checkstyle side, yet.

https://google.github.io/styleguide/javaguide.html#s4.1-braces

Line break after the closing brace, only if that brace terminates a statement or terminates the body of a method, constructor, or named class. For example, there is no line break after the brace if it is followed by else or a comma.

And in a do/while the do {} is followed by "while". Hm.

@lemire,
No preference. I can go with both.

@okrische
I feel strongly that this is correct:
        do {
            System.out.println("Count is: " + count);
            count++;
        } while (count < 11);

while this is ugly...
        do {
            System.out.println("Count is: " + count);
            count++;
        }
        while (count < 11);

If someone feels very differently, we can discuss it... but if not...

Maybe the google style guide has not been updated on checkstyle side, yet.

We do this work actually. Roaring has its own style which is a watered down version of the Google style as interpreted by checkstyle... (meaning, we allow more things) That is, we do not use the default "google style" from checkstyle, instead we provide our own.  This gives us some flexibility.
Can you go to file style/roaring_google_checks.xml? Find <module name="RightCurly">... next look at the content:
https://github.com/RoaringBitmap/RoaringBitmap/blob/master/style/roaring_google_checks.xml#L60
I think that the problem is that we have LITERAL_DO in the list which forces you to make the changes from your commit...
https://github.com/RoaringBitmap/RoaringBitmap/pull/111/commits/f3617a045e90f4ad59c1722d3233e18f1e7834ee
I think that if you delete LITERAL_DO from the line 60 in style/roaring_google_checks.xml, you'll find that your "ugly" commit is unnecessary.
Can you check?
(Note: I do not mean to imply that you did ugly work. Quite the opposite. You brought forth an important issue.)

Coverage decreased (-0.1%) to 83.903% when pulling e378ae1c1b404a5a81748d5d3f10ed0a192ab477 on okrische:feature/checkstyle-fixes into af363143c7566d78030e652d3371f34029cc6491 on RoaringBitmap:master.

changed roaring_google_checks.xml,
set version of puppycrawl checkstyle tool to 6.19,
(also tested with puppycrawl checkstyle tool 7.0, so, when roaring goes jdk8, then it will work as well)
and added that fix to run.sh in jmh, so it will fail, when any build fails

Looks great to me. Since @gssiyankai  went over some of this... let us merge.

authors: coveralls gssiyankai lemire okrische

repo: RoaringBitmap/RoaringBitmap


text:
Evaluate batch iteration

I have implemented a similar pattern to the go library for batch iteration. I will probably port this to the buffer package later this week. I would be interested in seeing benchmark results for this implementation.

Coverage increased (+0.06%) to 91.253% when pulling ff00f3e06d97589110ab4ba25e886c80fb8ed651 on richardstartin:iterators into 50515ad921d2c2c2232d7b8a5ffff7af36218696 on RoaringBitmap:master.

OK. I plan to port to the buffer version and have used the wrong email address on some commits which needs fixing (I will need to force push).

@richardstartin I think we want to do something meaningful like sum the values being iterated over. And compare the old-school iterators with the new iterators.
Is this what you have in mind?

@lemire The code I propose evaluating is on #243 - can we discuss there?

Of course.

I'm going to lock this conversation.

authors: coveralls lemire richardstartin


text:
Improving documentation.

Strictly speaking, our bitmaps violate the Java contract. It is possible for two bitmaps to be "equal" while having a different hash code.
The reason why that is is that...

We decided that equals was "set equality". So it is not sensitive to runOptimize(). It makes sense, I suppose. It can be computed quickly. We have fast algorithms.

For the hashCode computation, if we want to it to be insensitive to the runOptimize(), we effectively have to redo the run compression, it seems and I cannot find an efficient way to do it. Now, if we only had arrays and run containers, it would not be too hard. You could hash a run like this...

def fast(start, end):
    K = end + 1 - start
    return ((31**K-1)*(30*start+1)-30*K) // 900

and it would be equivalent to the array computation
def f(start, end):
    h = 0
    for i in range(start,end+1):
        h = 31 * h + i
    return h

But how do you deal with bitmap containers? It seems like you might have to iterate through every bit set... which is pretty terrible.
So if try to satisfy the contract, we will have slow hashes. Now hashes are typically used in a context where you want high speed.
So the solution I am proposing is that we selectively break the equal/hashCode contract by telling users that they either need to always do "run" compression, or never.
What is the impact? If you use bitmaps as keys in a hash table, you might try to use two bitmaps that differ in their storage but are otherwise equal as sets. So you'd get as a result that the 'key' is not found. But this is  easily fixable by just calling "runCompress" before you use the bitmap if "runCompress" is used in the bitmaps that are hashed.

@richardstartin Can you have a look?

@Oppen Please have a look too!

In my opinion this should not be violating the spec. We should not implement hashCode or equals at all, and nobody should put a bitmap in a HashMap or HashSet and expect a good outcome. The equals method really tests set equality and not structural equality, give it another name like isSame or isEqual.
The other option is to implement the specification of equals and hashCode. If a user finds that’s slow, they are in the very small minority of people who care.
I’m guessing you don’t have time to actually fix this right now (nor do I) so the documentation is an adequate mitigation.

What is the impact? If you use bitmaps as keys in a hash table, you might try to use two bitmaps that differ in their storage but are otherwise equal as sets. So you'd get as a result that the 'key' is not found.

One thing quite worrying to me is you suggest OK to use RoaringBitmap as key of a hash structure. Any structure which hash may change (including mutable structures) is not a good candidate for a hash structure in my opinion (or at least, you need to know what you are doing). In the case of RoaringBitmap and discussed limitation, it may be too much to know. I feel we should recommend not using RoaringBitmaps as key in hash-based structure.

The other option is to implement the specification of equals and hashCode. If a user finds that’s slow, they are in the very small minority of people who care.

I feel current .equals implementation is OK, but current .hashCode implementation is dubious. Maybe we should drop .hashCode implementation, until implementing a slow one (as slow is better than broken (I feel current hashCode is broken, as very unsafe)).

I don't think we have a choice: there is still a hashCode. In Java, it cannot be helped.
My current view is that the current implementation is fast and simple. Improving the documentation probably helps.
@blacelle
We know that some people put bitmaps into sets which may effectively be implemented as a hash set:
https://github.com/RoaringBitmap/RoaringBitmap/issues/46
You are totally correct that this will not work if the instance is mutated. So I do not see how it can be safe.
I am actually not sure what purpose hashCode serves. My impression is that if it is used at all, it should be fast, but maybe I am wrong about it.
It seems that @Oppen wants to implement it in Go: https://github.com/RoaringBitmap/roaring/pull/347
I think we should discuss it.
It should be helpful to know and understand why people want to hash the bitmaps.

I don't think we have a choice: there is still a hashCode. In Java, it cannot be helped.

@lemire we could just not implement it actually, then it would default to Object semantics. I don't think this is a very important problem and the javadoc is sufficient.

I don't think we have a choice: there is still a hashCode. In Java, it cannot be helped.

We can either rely on default hashCode, which has a specific behaviour. We may also override, and throw UnsupportedOperationException, to prevent some usages. (May be a bad idea, still it is an option if we consider current .hashCode as broken.)
We may also limit .hashCode usage for Immutable implementations.

I am actually not sure what purpose hashCode serves.

?. You mean, out of hash-based structures?

We may also force .runOptimize on .hashCode calls.

We may also force .runOptimize on .hashCode calls.

I don't think it is quite satisfying.

we could just not implement it actually, then it would default to Object semantics.

It would still not meet the contract.

I'll merge. We can improve later.

authors: blacelle lemire richardstartin


text:
Update README.md to use NuGet badge

Also fixing the casing of .NET

I see, you already have badges but in the bottom. Usually projects have them in the top. Would like to move them?

See f4c2425e43a5fc3f59ee7eeb18e7f61a9fd770e9
I prefer it below the title. Also, I prefer .Net over .NET 😉
Thanks anyway! 👍

You're welcome 🖖. Officially it's .NET, by the way ;)

authors: RobThree abatishchev

repo: RobThree/IdGen


text:
DHT20::read() Need Time out

int DHT20::read()
{
//  do not read to fast == more than once per second.
uint32_t temp ;
if (millis() - _lastRead < 1000)
{
return DHT20_ERROR_LASTREAD;
}
int status = requestData();
if (status < 0) return status;
//  wait for measurement ready
temp = millis();
while (isMeasuring())
{
if(millis()-temp >=1000)
{
Serial.print("DHT20 Time Out\n");
return 0;
}
yield();
}
//  read the measurement
status = readData();
if (status < 0) return status;
//  convert it to meaningful data
return convert();
}
Thanks!

Thanks for the issue.
What is the problem exactly?
What platform(s) did it occur?

Note: Error code is already defined: DHT20_ERROR_READ_TIMEOUT in the DHT20.h file

Fixed in 0.2.3 release


text:
A recent security update of git broke the setup_sdcard.sh script

Hi,
As the title says, the fix for the CVE-2022-24765 broke the setup_sdcard.sh script:
$ sudo bash -ex setup_sdcard.sh \
    --img-2gb ${export_filename}.img \
    --dtb beaglebone \
    --distro-bootloader \
    --rootfs_label rootfs \
    --hostname wb \
    --enable-cape-universal \
    --enable-uboot-pru-rproc-54ti \
    --emmc-flasher
(snip)
+ '[' '!' xu-boot.img = x ']'
+ echo 'Backup version of u-boot (u-boot.img): /opt/backup/uboot/'
Backup version of u-boot (u-boot.img): /opt/backup/uboot/
+ mkdir -p /tmp/tmp.EdxemZpPZo/disk/opt/backup/uboot/
+ '[' u-boot/bb-u-boot-am335x-evm/u-boot.img ']'
+ cp -v ./u-boot/bb-u-boot-am335x-evm/u-boot.img /tmp/tmp.EdxemZpPZo/disk/opt/backup/uboot/u-boot.img
'./u-boot/bb-u-boot-am335x-evm/u-boot.img' -> '/tmp/tmp.EdxemZpPZo/disk/opt/backup/uboot/u-boot.img'
+ '[' -f /tmp/tmp.EdxemZpPZo/disk/etc/init.d/cpufrequtils ']'
+ '[' xam335x_evm = xbeagle_x15 ']'
+ sed -i 's/GOVERNOR="ondemand"/GOVERNOR="performance"/g' /tmp/tmp.EdxemZpPZo/disk/etc/init.d/cpufrequtils
+ '[' '!' x = xenable ']'
+ '[' '!' -f /tmp/tmp.EdxemZpPZo/disk/opt/scripts/boot/generic-startup.sh ']'
+ cd /tmp/tmp.EdxemZpPZo/disk/opt/scripts/
+ git pull
fatal: unsafe repository ('/tmp/tmp.EdxemZpPZo/disk/opt/scripts' is owned by someone else)
To add an exception for this directory, call:

	git config --global --add safe.directory /tmp/tmp.EdxemZpPZo/disk/opt/scripts
+ cleanup_keep_net_alive
+ '[' -e /proc/125998 ']'
+ kill 125998
Command exited with non-zero status 128
1.33user 6.78system 0:16.99elapsed 47%CPU (0avgtext+0avgdata 4648maxresident)k
543244inputs+1320216outputs (32major+26074minor)pagefaults 0swaps

Hi @jtremesay-sereema thanks for the report...  In Bullseye i've been moving the main features of this script into packages, thus it's not really seeing updates any more.. So let's just nuke the git pull call

authors: RobertCNelson jtremesay-sereema

repo: RobertCNelson/omap-image-builder