text:
Qualitative analysis

What are good ways of assessing quality achieved by the LPCNet Vocoder? I found that PESQ results are way worse than the quality I experienced myself, with ratings constantly in the range between 1 and 2 (which is to be interpreted as hardly/barely understandable). Has anyone experienced similar problems with PESQ? What are the alternatives?

PESQ is useless for vocoders in general, but there's an ancient quality assessment tool that does a good job. I believe it's called "ears" :-) Seriously, subjective listening is really the only decent way I've found to evaluate vocoders. I've not come across any remotely useful objective metric.

Thank you for taking the time to answer!

repo: xiph/LPCNet


text:
Reduce the number of checkpoints used in tx rdo

I want awcy working again so I can test.

Coverage decreased (-0.03%) to 82.578% when pulling 20c79c8dee0302632835bb6f1457e3414ee9ccd8 on KyleSiefring:fewer_checkpoints_tx_rdo_review into 5d7599c9bbdcbd1ff44d100d806003bd7021544d on xiph:master.

source: gharchive/pull-request

authors: KyleSiefring coveralls

license_type: permissive

license_source: bigquery


text:
fixed a small thing to make more sense

super small PR

:+1:

authors: Toastdeib rexatlanti

repo: xivanalysis/xivanalysis

license: MIT

license_source: github-api


text:
Bugfixes surrounding torch dtypes and QOL updates for torch

This PR does the following:

Bugfixes the conflicting torch dtypes in the attention computation by casting the returned key and values from the kv cache to the input types. This matches the JAX implementation where key, values are stored in fp32 and fp16 respectively post ROPE. (thanks @tensorqt for bringing this up) (should also close #50)

qol fixes surrounding torch_main.py cleaning up imports and setting up prompt testing similar to main.py

Fixes changes from #17 being overwritten

closing in favor of #72

repo: xjdr-alt/entropix


text:
some files/Path error from executing xmake, in win10 subsystem (WSL)

在win10的子系统(wsl.exe)下，执行xmake出现dos风格的文件及路径
ls -l
total 12
-rwxrwxrwx 1 ubuntu ubuntu  521 Jul 26 14:21 'D:\cworks\cpp.xmake\vscode-build.log'
drwxrwxrwx 1 ubuntu ubuntu 4096 Jul 18 20:52  asio
drwxrwxrwx 1 ubuntu ubuntu 4096 Jul 19 20:05  build
drwxrwxrwx 1 ubuntu ubuntu 4096 Jul 26 10:21 'd:\cworks\cpp.xmake'
drwxrwxrwx 1 ubuntu ubuntu 4096 Jul 15 09:36  lua53
drwxrwxrwx 1 ubuntu ubuntu 4096 Jul 24 09:49  modules
drwxrwxrwx 1 ubuntu ubuntu 4096 Jul 22 20:17  ravi
drwxrwxrwx 1 ubuntu ubuntu 4096 Jul 15 17:19  sol2
-rwxrwxrwx 1 ubuntu ubuntu 1522 Jul 26 14:15  xmake.lua
虽然可以编译通过，但有可能造成某些文件没有正确生成

你执行xmake -v 贴下详细的编译输出，我看下

xmake -v
configure
{
arch = x86_64
ccache = true
mode = release
ndk_stdcxx = true
plat = linux
kind = static
buildir = build
clean = true
host = linux
}
=============== Build test release =================
checking for the gcc ... /usr/bin/gcc
checking for the c++ compiler (cxx) ... gcc
checking for the ccache ... /usr/bin/ccache
checking for the /usr/bin/gcc ... ok
checking for the flags (-O3) ... ok
[  0%]: ccache compiling.release fullpath.cpp
/usr/bin/ccache /usr/bin/gcc -c -fvisibility=hidden -O3 -m64 -I/usr/local/include -I/usr/include -o build/.objs/test/linux/x86_64/release/./fullpath.cpp.o fullpath.cpp
checking for the flags (-MMD -MF) ... ok
checking for the g++ ... /usr/bin/g++
checking for the linker (ld) ... g++
[100%]: linking.release test
/usr/bin/g++ -o build/linux/x86_64/release/test build/.objs/test/linux/x86_64/release/./fullpath.cpp.o -s -fvisibility=hidden -lpthread -ldl -lm -lreadline -m64 -L/usr/local/lib -L/usr/lib

ls -lt
total 8
drwxrwxrwx 1 ubuntu ubuntu 4096 Jul 30 10:20  build
drwxrwxrwx 1 ubuntu ubuntu 4096 Jul 30 10:20  d:
drwxrwxrwx 1 ubuntu ubuntu 4096 Jul 30 10:20 'd:\cworks\testcpp.xmake'
-rwxrwxrwx 1 ubuntu ubuntu 1364 Jul 30 10:19  fullpath.cpp
-rwxrwxrwx 1 ubuntu ubuntu 1016 Jul 30 10:18  xmake.lua

tree
.
├── build
│   └── linux
│       └── x86_64
│           └── release
│               └── test
├── d:
│   └── cworks
│       └── testcpp
├── d:\cworks\testcpp.xmake
├── fullpath.cpp
└── xmake.lua

确实有点怪，你敲下 ls -a testcpp看下，有没有 .xmake目录，感觉像是 .xmake的配置目录生成到了 d:\cworks\testcpp.xmake
你再看下 你这是不是设置过 XMAKE_CONFIGDIR环境变量。

另外，我看到有 'D:\cworks\cpp.xmake\vscode-build.log' ，你这是vscode下调用执行xmake? 如果cmd下，直接手动执行命令 会有这个问题么？  我好确认下 是否是 xmake-vscode插件的问题

是在vscode的终端下执行的，
settings.json
"terminal.integrated.shell.windows": "c:\windows\system32\bash.exe",
"terminal.external.windowsExec": "c:\windows\system32\bash.exe"
另外启动一个wsl(bash.exe)，xmake -v能正常编译，不会产生这些奇怪路径，可能是你说的vscode插件的问题

那应该是xmake-vscode插件的问题。等回头我再看看。

我这边暂时没环境，你也可以clone下xmake-vscode源码，用vscode打开后，点击调试运行后，帮忙在你这本地环境直接调试下 xmake-vscode插件，看看是哪里的path处理有问题。。

我尝试性修复了下xmake-vscode插件，你更新下试试

更新后测试，没有问题了，谢谢！

source: gharchive/issue

authors: jason-fan waruqi

repo: xmake-io/xmake


text:
.xmake directory always appears next to xmake.lua

Xmake Version
2.9.4
Operating System Version and Architecture
Windows 10
Describe Bug
No matter what I seem to do, an .xmake directory always appears next to the xmake.lua file, regardless of the current working directory.
Expected Behavior
cd target_dir
xmake -P ../build
I am expecting all outputs generated by xmake to be within target_dir. It places a .xmake directory inside of target_dir AND inside of ../build directory where xmake.lua is. I do not want the scripts directory polluted in this example.
This seems to do with AppData/temp/xmake directory. This directory seems to store invocation dates for a particular xmake execution on the specified folder. After the first run, if you delete .xmake within ../build, .xmake directory will not appear again within ../build. However, if you delete the generated data within AppData/temp/xmake directory, the next xmake invocation generates .xmake within ../build.
I do not want any outputs generated within ../build (this example)
Project Configuration
toolchain("myclang")
set_toolset("cc", "clang")
set_toolset("ld", "clang")
toolchain_end()
set_config("plat", "cross")
set_toolchains("myclang")
target("test")
set_kind("binary")
add_files("../src/*.c")
Additional Information and Error Logs

see https://github.com/xmake-io/xmake/issues/3342
$ cd target_dir
$ xmake f -P ../build
$ xmake

I have already tried that. It does not work. .xmake still appears next to xmake.lua in ../build

It works for me.
ruki:test ruki$ tree .
.
├── build
│   └── xmake.lua
├── out
└── src
    └── main.cpp

3 directories, 2 files
ruki:test ruki$ ls -a ./build/
.		..		xmake.lua
ruki:test ruki$ ls -a ./
.		..		.gitignore	build		out		src
ruki:test ruki$ cd out/
ruki:out ruki$ xmake f -P ../build/
checking for platform ... macosx
checking for architecture ... x86_64
checking for Xcode directory ... /Applications/Xcode.app
checking for SDK version of Xcode for macosx (x86_64) ... 14.0
checking for Minimal target version of Xcode for macosx (x86_64) ... 14.0
ruki:out ruki$ xmake
[ 50%]: cache compiling.release ../src/main.cpp
[ 75%]: linking.release test
[100%]: build ok, spent 1.283s
ruki:out ruki$ ls -a ../build/
.		..		xmake.lua
ruki:out ruki$ ls -a ../
.		..		.gitignore	build		out		src
ruki:out ruki$ ls -a .
.	..	.xmake	build

Are you running on mac? My system is windows. I don't think I understand the justification "it works for me" when the example you gave would be on a different OS.
It does not work on windows. It is generating the erroneous .xmake next to xmake.lua

It still works for me on windows.
PS C:\Users\wangrunqing\Downloads\tst> dir .

    目录: C:\Users\wangrunqing\Downloads\tst

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----          2024/8/7     12:12                build
d-----          2024/8/7     12:21                out
d-----          2024/8/7     12:08                src
-a----         2024/3/25      9:42             64 .gitignore

PS C:\Users\wangrunqing\Downloads\tst> dir .\build

    目录: C:\Users\wangrunqing\Downloads\tst\build

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----          2024/8/7     12:09           1964 xmake.lua

PS C:\Users\wangrunqing\Downloads\tst> dir .\out
PS C:\Users\wangrunqing\Downloads\tst> cd out
PS C:\Users\wangrunqing\Downloads\tst\out> xmake f -P ..\build
checking for platform ... windows
checking for architecture ... x64
checking for Microsoft Visual Studio (x64) version ... 2022
checking for Microsoft C/C++ Compiler (x64) version ... 19.41.33923
PS C:\Users\wangrunqing\Downloads\tst\out> xmake
[ 50%]: compiling.release ..\src\main.cpp
[ 75%]: linking.release tst.exe
[100%]: build ok, spent 1.125s
PS C:\Users\wangrunqing\Downloads\tst\out> dir ..\build

    目录: C:\Users\wangrunqing\Downloads\tst\build

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----          2024/8/7     12:09           1964 xmake.lua

PS C:\Users\wangrunqing\Downloads\tst\out> dir .

    目录: C:\Users\wangrunqing\Downloads\tst\out

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----          2024/8/7     12:21                .xmake
d-----          2024/8/7     12:21                build


text:
🛑 Design Swan is down

In aebe55c, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 78 ms

Resolved: Design Swan is back up in 392f5a7 after 12 minutes.

repo: xoryorz/upptime


text:
🛑 Design Swan is down

In 651c2a1, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 79 ms

Resolved: Design Swan is back up in a0f3c66 after 12 minutes.


text:
🛑 Design Swan is down

In 68377fb, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 82 ms

Resolved: Design Swan is back up in 37e2686 after 13 minutes.


text:
🛑 Design Swan is down

In fc813d8, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 96 ms

Resolved: Design Swan is back up in 111d854 after 18 minutes.


text:
🛑 Design Swan is down

In 77ae478, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 126 ms

Resolved: Design Swan is back up in 181f141 after 30 minutes.


text:
🛑 Design Swan is down

In 83a9abb, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 126 ms

Resolved: Design Swan is back up in b63f8a1 after .


text:
🛑 Design Swan is down

In be1a359, Design Swan (https://www.designswan.com) was down:

HTTP code: 500
Response time: 127 ms

Resolved: Design Swan is back up in f4f058e after 24 minutes.


text:
...SECS(x) macros -> inline functions

inline auto MICROSEC(const HighResClock::duration& x) { return std::chrono::duration_cast<std::chrono::microseconds>(x).count(); }
inline auto MILLISEC(const HighResClock::duration& x) { return std::chrono::duration_cast<std::chrono::milliseconds>(x).count(); }
inline auto      SEC(const HighResClock::duration& x) { return std::chrono::duration_cast<std::chrono::seconds>(x).count(); }

But actually... Disabling/enabling iProf completely still entails those macros, but now at least they can now be part of iProf, (and prefixed with IPROF).

But actually... Disabling/enabling iProf completely still entails those macros, but now at least they can be part of iProf, (and prefixed with IPROF).

repo: xparq/iprof


text:
Implement a simple cache layer

Implement a simple cache layer that caches data by chunk, so minimal chunks are pulled to build tiles and each tiles chunk data can be reused. This is particularly useful for datasets that are chunked temporaly or specifically not chunked in the spatial dimension. Otherwise a lot more thought would be needed past POC

Going to leave this up to the platform I think for now

repo: xpublish-community/xpublish-wms


text:
Update cross-site frame counting real world example section with a new patched bug on GitHub

Hi,
I've made an update to the frame-counting.md file, adding a new example that discusses a blog post I recently published. The example illustrates how cross-site frame counting can potentially expose private repositories on GitHub. I'm excited about the opportunity to contribute to your repository, especially since I've gained valuable insights from it.
Thank you for your dedicated work!

is exposing private repositories on GitHub limited to checking if a file exists not the file contents?
they did not add COOP :(

Hi @NDevTK,
Yeah, in this specific scenario, it's only possible to expose the name of private repositories and the names of the files associated with them. Using cross-site frame counting, it's not possible to expose the full content of the files or any specific section of the content in this context.
Thank you for your reply :)

Thanks for the contribution! Even though it's a small change to the wiki, feel free to add yourself to contributors https://xsleaks.dev/docs/contributions/

Thank you very much, @terjanq, for accepting my pull request. I will add a new commit that includes me in the list of contributors, and I look forward to continuing to contribute in the future.
I've noticed that there seems to be an error <failed to extract shortcode: shortcode "hint" must be closed or self-closed> when rendering the file /contributions/_index.md:49:1. This error seems to occurs due to a tag in Hugo during the checks that run when a PR is being merged and it failed to merge the changes. I've read the code, and all the hints tags appear to be correctly declared.
Do you have any insights on what might be causing this issue?

authors: NDevTK mr-medi terjanq

repo: xsleaks/wiki


text:
🛑 Xstatic is down

In f48dd30, Xstatic (https://www.xstatic.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Xstatic is back up in c5ab757 after 10 minutes.

repo: xstaticwebdev/upptime


text:
AVX512 not enabled with clang-8.0

See https://github.com/pitrou/arrow/runs/1972721611?check_suite_focus=true#step:8:900
In file included from /arrow/cpp/src/arrow/util/bpacking_avx512.cc:19:
/arrow/cpp/src/arrow/util/bpacking_simd512_generated.h:47:14: error: implicit instantiation of undefined template 'xsimd::batch<unsigned int, 16>'
  simd_batch masks(mask);
             ^
xsimd_ep/src/xsimd_ep-install/include/xsimd/types/xsimd_base.hpp:35:11: note: template is declared here
    class batch;
          ^

Yet the compilation command has the flags -march=skylake-avx512 -mbmi2 -mavx512f -mavx512cd -mavx512vl -mavx512dq -mavx512bw. Does xsimd expect more flags when detecting AVX512?

Here is a similar issue on macOS with AppleClang 12.0.0.12000032:
https://github.com/pitrou/arrow/runs/1972721219?check_suite_focus=true#step:5:570

Ok, the explanation is that, while __AVX512F__  is defined, __GNUC__ is also defined by clang to a value smaller than 6.

@JohanMabille we may want to do the same trick to detect clang version as in xtensor here.

This simple fix seems to compile fine here (I don't have AVX512 on the CPU to check that runtime works):
// AVX512 instructions are supported starting with gcc 6
// see https://www.gnu.org/software/gcc/gcc-6/changes.html
#if !defined(XSIMD_X86_INSTR_SET) && (defined(__AVX512__) || defined(__KNCNI__) || defined(__AVX512F__)\
    && (defined(__clang__) || !defined(__GNUC__) || __GNUC__ >= 6))
    #define XSIMD_X86_INSTR_SET XSIMD_X86_AVX512_VERSION

I don't have AVX512 on the CPU to check that runtime works

Yeah, we have an i9 hanging around. We should be able to test what works there.

@pitrou FYI 7.5.0 was released by @JohanMabille today, which includes all of the recent fixes with respect to AVX512, saturated arithmetics, etc.

Thank for the heads up. We indeed noticed that all of our issues were fixed!

authors: SylvainCorlay pitrou

repo: xtensor-stack/xsimd


text:
"Pip subprocess error " in Step 7 during Installation

Platform: Ubuntu 20.04
I followed the steps until I was stuck in step 7. The attachment is the stdout and stderr dumped during the installation.
stdout.txt
stderror.txt

duplicated

repo: xtorker/PCCArena


text:
Floating point hexadecimal format for number literals

https://github.com/WebAssembly/spec/blob/master/test/core/float_literals.wast#L95

Here is the current deal https://github.com/maurobringolf/webassembly-floating-point-hex-parser

I think we can make new issues for uncovered cases. I'm closing this.

repo: xtuc/js-webassembly-interpreter


text:
图片选择有问题

选择图片，点击拍照图标，拍照完后，在图片列表没有拍照的图片，再拍一张才有上一次拍的照片

请严格按issue模版要求来填写issue,否则将于2天后自动删除该issue.

authors: PetrolName xuexiangjys

repo: xuexiangjys/XUI


text:
Debug parameters evaluated, but not consumed by logger

For example, at this point a string is created from a slice, which causes copying.
log.Debug("[PROXY] request from ", conn.RemoteAddr(), "\n\n", string(pkt.Raw()))

It is clear that this is an insignificant optimization, compared to the execution time of the IO request, but I would like to get rid of such places if possible.
something like

log.isDebugEnabled() {
...
}

would be nice
Additionally, I want the request body to be logged only under the trace level. #141

Hmm should we change the name of the option debug to log-level?
Or we can actually just simplify or remove the logging request body part which is not really necessary.

@xvzc
Yes, I think viewing the body of the request will not be useful. It can be removed

authors: LiquidTheDangerous xvzc

repo: xvzc/SpoofDPI


text:
Whisper api Transcription Only Works for the First Audio

Description
When using Whisper AI, the transcription works correctly for the first audio file. However, if another audio file (or the same audio file) is sent, the output is gibberish and unintelligible.
Steps to Reproduce
Transcribe an audio file using the Whisper AI API via a cURL call.
Attempt to transcribe a second audio file or re-transcribe the first audio file.
Observe the output for the second transcription.
Expected Behavior
Whisper AI should consistently transcribe audio files accurately, regardless of whether it is the first or following audio.
Actual Behavior
The transcription is correct for the first audio file.
Any following transcription attempts produce gibberish.

So, it's really happening:

It seems this issue was caused by changes I cherry-picked from @lukaskwkw's fork. I’ve rolled back some of those changes, and the problem appears to be resolved.

However, this fix comes with a drawback: temporary files are being created again, which takes up additional disk space and slightly reduce performance.
Unfortunately, I have limited time to dedicate to this project. It was originally created for personal use, but I no longer need it.
By the way, you can use the large-v2 model instead of medium (which is the default). It has much higher accuracy and is not much slower. Unfortunately, the original project does not support v3/turbo models, so large-v2 is the best model you can use with this project.

thank you for the follow up,I'm already using large-v2 (which meets my needs).
After investigating, I discovered the root cause was that the state context wasn't being reset between requests. I've implemented a solution in v0.2.2 by adding a context reset function:
func (ws *WhisperState) ResetContext() error { 	// Attempt to create a new context using the model 	context, err := ws.model.CreateContext() 	if err != nil { 		return fmt.Errorf("failed to create new context: %w", err) 	} 	ws.context = context 	return nil }  which is now called before each transcription :
e.POST("/v1/audio/transcriptions", func(c echo.Context) error {     if err := whisperState.ResetContext(); err != nil {         e.Logger.Error("Failed to reset context:", err)         return c.JSON(http.StatusInternalServerError, map[string]string{             "error": "Failed to reset transcription context",         })     } and it seems to work just great, no need to roll back any changes.

It seems like your implementation cause memory leak:

Reproduce:
Just make api calls many times

hmm ok too many calls, but a leakage is a leakage, I guess some states need to be cleaned up, but I think I'm close, need to investiagte more.

authors: sidodam xzeldon

repo: xzeldon/whisper-api-server


text:
fix: usage of node12 in actions/checkout

fixes #90.

You're welcome!


text:
Setup the input and output for the whole project in Python

Inputs
In terms of input we are talking about a grid like this:
[] [] [] [] []
[] [] [] [] []
[] [] [] [] []
[] [] [] [] []
[] [] [] [] []
with letters in there!
Output
In terms of output we are looking at this:

word-1
word-2
word 3
etc.

Conclusion
I'll setup the script for "reading" input and to output a proper list of words when calling the main function

Now I need to setup the loading of the grid-like data into some sort of data structure.
I think that a better data format in the .txt file would be:
x,x,x,x,x
x,x,x,x,x
x,x,x,x,x
x,x,x,x,x
x,x,x,x,x

IDEA: Might be interesting to have a separate function which only takes care of the solving of the boggle game board

repo: yacineMahdid/ai-boggle-solver


text:
UIAlertView deprecated in iOS 9, 10

It would be great if CLImageEditorViewController could test for the availability of UIAlertViewController and use that API instead of the deprecated UIAlertView.  This is noticeable in apps targeting iOS 9.0+.
Thanks so much for this great library.

Thank you for your advice.
In above commit, UIAlertView replaced with UIAlertController.

Thank you!

authors: cliffjoyce yackle

repo: yackle/CLImageEditor

license: mit


text:
popUntil method definition is wrong

I think this method is wrong:
void popUntil(void Function(Route<dynamic>) predicate)
The parameter should be: bool Function(Route<dynamic>)
Inside the method there was made an unnecessary cast:
void popUntil(void Function(Route<dynamic>) predicate) {
    this
        .navigatorKey!
        .currentState!
        .popUntil(predicate as bool Function(Route<dynamic>));
}

I'm having problem with popUntil too.

I fixed locally and it worked:
  void popUntil(bool Function(Route<dynamic>) predicate) {
    this
        .navigatorKey!
        .currentState!
        .popUntil(predicate);
  }

How ever, casting to not null with ! is not the best solution.

Fix in the release 0.1.1, thanks @daniloapr for contribution, and sorry for the publication to late.


text:
Add new getFile API

https://core.telegram.org/bots/api#getfile

+1

Done, thanks to @universome
Released on v0.13.0

authors: lenny76 pennyfx yagop

repo: yagop/node-telegram-bot-api


text:
Bug fixes

UPDATED 2019-09-23

Bug fixes

putIfAbsent may return null instead of value for existing keys
Logical deletion in remove was not marked properly
Fix Non-ZC concurrent put

Move desrialization to an atomic value exchange method in Handle

Fix Non-ZC concurrent removals

Move desrialization to an atomic remove in Handle

Other improvements

Some improvements to type safety in InternalOakMap and relatives (mostly trying to reduce fallout from mixed skiplist comparator and make comparator usage safer)
Refactor Integer OakMap reference implementation to a new class so that serializer and comparator can be reused
Pulled up Result class to top level so that it can be used in Handle as well
Fixed: OffHeapOakTest fails silently because JUnit doesn't fail on thread exceptions

Fail test when exceptions occur in threads

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

These changes were made before we discussed fixing other, but related, linearization issues. I'm closing this PR as a more thorough fix is called for.

I just updated (force pushed) this PR so that it is aligned with recent changes @yoavz1997 included. Since this change list is getting quite large, this PR currently only fixes non-ZC put and remove.
Note that it also partially addresses #52 - not by fixing the test, but at least making it propagate failure properly.
@sanastas @Eshcar would appreciate if you took another look

I went through entire PR and do not have other comments.

authors: eranmeir sanastas

repo: yahoo/Oak


text:
We introduce a cache to avoid computing find_necessary_steps during each inference call

@tobibaum
I've introduced a cache to avoid computing find_necessary_steps multiple times during each inference call. This has 2 benefits: 1) it reduces computation time of the compute call 2) it avoids a subtle multi-threading bug in networkx when accessing the graph from a high number of threads.
The following test should fail without these changes:
https://github.com/yahoo/graphkit/compare/multithreading_fix?expand=1#diff-eb68f4dabe94fb4dfdc148f0ef8961f8R283
Thanks for reviewing!

Codecov Report

Merging #10 into master will increase coverage by 0.59%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #10      +/-   ##
=========================================
+ Coverage   77.21%   77.8%   +0.59%
=========================================
  Files           5       5
  Lines         338     347       +9
=========================================
+ Hits          261     270       +9
  Misses         77      77

Impacted Files
Coverage Δ

graphkit/network.py
70.2% <100%> (+1.41%)
: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 d3f8a8a...429c3d1. Read the comment docs.

Okay updated the test and verified that no errors occur

👍

authors: codecov-io huyng tobibaum

repo: yahoo/graphkit


text:
Apply patch from Yahoo! Japan.

Hello team,
I'm Hiroyuki, an engineer in Yahoo! JAPAN.
I found a bug of yjava_mdbm.
The fetch() method doesn't throw MdbmNoEntryException when no record is found.
(It throws MdbmFetchException.)
I have attached a test code reproducing the problem
and patches to fix it.
Please confirm these patches and fix the problem.
Thank you and best regards,
--
Hiroyuki KATO

Hi Hiroyuki-
Good catch, thanks for the patch!
-timrc

When a lookup fails due to not finding a key, fetch should return a code to indicate that the key is not present.  It should not throw an exception if that key is not present because this is not an exceptional condition.  Using an exception for a missing key will have poor performance.
Steve
From: Tim [mailto:notifications@github.com]
Sent: Friday, 29 January, 2016 09:11
To: yahoo/mdbm mdbm@noreply.github.com
Subject: Re: [mdbm] Apply patch from Yahoo! Japan. (#59)
Hi Hiroyuki-
Good catch, thanks for the patch!
-timrc
—
Reply to this email directly or view it on GitHub https://github.com/yahoo/mdbm/pull/59#issuecomment-176866981 .  https://github.com/notifications/beacon/AHJP7DB2y2Rg1FRXKmyR3mVx8MXTLGqOks5pe5SSgaJpZM4HPUyI.gif

authors: areese steve-carney timrc-git

repo: yahoo/mdbm


text:
fix: broken links

Issue Triage link seems to never have existed, so removed.  Could replace
There are many examples:

https://www.kubernetes.dev/docs/guide/issue-triage/
https://www.chromium.org/for-testers/bug-reporting-guidelines/triage-best-practices/

Just don't know what Yahoo wants to use
Thank you for this wonder repository

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@rgisrael you might be the only contributor still at Yahoo.  Any chance for a once-over and possible merge?  If not, no worries, this repo hasn't been touched in 2 years.  Thank you.

repo: yahoo/oss-guide


text:
what is the latest release

👋  I have a QQ about the release tag.
I saw the latest release 1.13.4 got marked as pre release, but the latest release was tagged on 1.12.3, so raising this issue asking what is the latest release (is it 1.13.3 or 1.12.3).
Thanks!
relates to https://github.com/Homebrew/homebrew-core/pull/71161

At this moment, the latest release is V1.12.3. V1.13.4 is just the pre-release. Since I found some bugs in from V1.13.0 to V1.13.3, I did not mark them as release or pre-release. V1.13.4 will be the latest release soon.

Thanks!

repo: yahoojapan/NGT


text:
How to search encrypted value in Yajra datatables of laravel?

I am using Yajra datatable, But I am getting problem to search encrypted value. My name,email,phone_no is stored in encrypted format.
How can we match the searched value with encrypted value which is stored in the database?
I am not getting the response.My code is as below.
$contacts_array = DB::table(DB::raw("(SELECT c.*,cp.title as company, cp.logo as logo,co.connections
FROM app_contact1 as c
LEFT JOIN app_company as cp ON c.company_id=cp.company_id
LEFT JOIN (SELECT count(connection_id) as connections, contact_id FROM app_connection WHERE organization_id=? AND contact_id !='' GROUP BY contact_id) as co ON co.contact_id=c.contact_id
WHERE c.organization_id=? AND NULLIF(c.archived, ' ') IS NULL AND ( (c.privacy = 0 OR c.privacy IS NULL) OR (c.privacy = 1 AND (c.created_by='".$my_user."' OR FIND_IN_SET('".$my_user."',c.stakeholders))) )
ORDER BY c.contact_id  desc) as contacts"))->setBindings([$session_org_id,$session_org_id]);
 Datatables::of($contacts_array)
   ->filterColumn('c.c.name', function ($contacts_array, $search_value) {
            $query->where($query->qualifyColumn('c.name'), \EncryptHelper::instance()->en_de_crypt($search_value,'e'));
        });

@yajra I think you have also considered the case for which search has to work with Laravel Encrypted values. How to allow your searchbar to find encrypted values or to decrypted them before to search?

That is not a package problem at all.
Encrypted DB values are stored as string. You can only match those strings with the same encrypted string or you need to get all data from the column you want to search and search them in memory. Another approach would be to get a hashed value of the column value in another column and search for the hash (Hashes can be handled in some database drivers and their queries). But you can't use "like" with it because it needs to be an exact match.
In memory approach:
->filterColumn('user', function (Builder $query, $keyword)
	$userIDs = DB::table('users')
		->select([
			'users.id as user_id',
			'users.name',
			'users.deleted_at',
		])
		->whereNull('users.deleted_at')
		->get()
		->filter(function (User $user) use ($keyword) {
			return isset($user->name) && stristr($user->name, $keyword);
		})
		->pluck('user_id')
		->toArray();

	$query->whereHas('user', function (Builder $query) use ($userIDs) {
		$query->whereIn('users.id', $userIDs);
	});
});

authors: Echecivuole atulnaik2008 schonhoff

repo: yajra/laravel-datatables


text:
Individual-Weiterleitungen je Artikel

Wie eben in Slack besprochen bestünde zumindest auf meiner Seite der Wunsch für Weiterleitungen, die man im Artikel definieren kann. Z.B. Kategorie-Startartikel auf eine Unterkategorie.
Gerne genutzt von mir in Rex4 war die "URL-Page" aus dem SEO42-Addon (siehe Bild)

Ein Push von mir, weil z.B. unsere Kunden mit "externe URL" ihre eigenen Social Links pflegen

@lus Ob hier erst der Chef persönlich in die Falle treten muss? ;D
+1 von mir.

Diesen Wunsch würde ich unterstützen!

Auf jeden Fall ist sowas sinnvoll - ich nurnoch nicht geantwortet, weil ich nciht weiss, ob das nicht besser im structure addon, also im core, eingebaut werden müsste.. aber sowas in der Art wird kommen..

Könnte ich gut einsetzen!
+1 von mir

Wie schaut's aus, wer hat Bock? :D

Ich schließe mich an! Ein absolut benötigtes Feature, aber es mangelt an Kenntnisse mich bei der Umsetzung zu beteiligen :(

Lässt sich doch sicher mit einem REWRITE-Scheme regeln - oder?

Gerade eben kam im Slack wieder der Wunsch nach der o.g. Funktion auf.

Es soll sich bitte niemand genötigt fühlen, aber ich muss das nach 1 Jahr mal wieder pushen... :)

Ist auf dem Schirm und eher ein REDAXO Core Thema wo sich dann wiederum das rewrite addon dranhaengt

Da wir das AddOn selbst nie einsetzten, kann uns jemand kurz erklären, was die folgenden Punkte genau machten:

interne Ersetzung
interne Ersetzung inkl. Sprache
Root Kategorie entfernen (wurde hier nur Root entfernt oder alle Elternkategorien?)
Sprachumschalter

Zusätzliche Idee:

Weiterleitung auf erste Online-Kindkategorie

"Root Kategorie entfernen" hat wirklich nur die unterste Ebene entfernt. Das brauchte man, wenn man seine verschiedenen Menus in Kategorien hatte, diese aber nicht in der URL auftauchen sollten ( z.B. statt "hauptmenu/kat1/typ2/ding1" nur "/kat2/typ2/ding1" und "menu_unten/impressum" wird nur "/impressum").
Das kann man aber mittlerweile mit dem yrewrite_scheme-AddOn machen. Da kann man einfach eine Liste von Kategorien angeben, die entfernt werden.

1. interne Ersetzung:
hier konnte man einen Artikel auswählen, auf den weitergeleitet wird. Damit konnte man z.B. eine Kategorie, die einen leeren Startartikel hatte, auf einen bestimmten Unterartikel verweisen. Dies wurde dann auch in der Navi direkt in der URL hinterlegt. ("/kategorie/" wurde zu "/kategorie/unterartikel/".
(ist heute mit yrewrite_scheme global möglich, d.h. wenn leerer Startartikel, dann ersten Unterartikel anzeigen. Aber eben nur global)
2. interne Ersetzung inkl. Sprache
siehe 1. inkl. automatischer Sprachwechsel
3. Sprachumschalter
einfache Möglichkeit, in die Hauptnavigation einen Sprachwechsel zu integrieren: Kategorie anlegen, in den Startartikel gehen und die gewünschte Sprache wählen in die gewechselt werden soll. Hier wurde dann immer der aktuelle Artikel in der jeweilig anderen Sprache verlinkt.

Danke für eure Erklärungen

Sprachumschalter
einfache Möglichkeit, in die Hauptnavigation einen Sprachwechsel zu integrieren: Kategorie anlegen, in den Startartikel gehen und die gewünschte Sprache wählen in die gewechselt werden soll. Hier wurde dann immer der aktuelle Artikel in der jeweilig anderen Sprache verlinkt.

Ich habs mehrfach gelesen und nicht verstanden :)
Hast du als Kategorie deutsch/english/italiano angelegt und dann mit der jeweiligen Sprache verknüpft?
Ist diese Option noch interessant für Redaxo 5?

Ich habs mehrfach gelesen und nicht verstanden :)
Habe ich mich maximalkompliziert ausgedrückt ? ;-)

Hast du als Kategorie deutsch/english/italiano angelegt und dann mit der jeweiligen Sprache verknüpft?

So ungefähr. Habe es damals nur bei zweisprachigen Webseiten eingesetzt. D.h. in der deutschen Struktur habe ich "EN" als Hauptelement eingesetzt und in der englischen "DE" und dann jeweils die Option genutzt.
Ich meine mich zu erinnern, dass ich die Funktion bei noch einer Gelegenheit verwendet habe. Was es genau war, habe ich leider nicht mehr auf dem Schirm...

Ist diese Option noch interessant für Redaxo 5?
Das ist natürlich eine gute Frage. Ich würde mal sagen, würde es manchmal die Sache sicherlich erleichtern. D.h. wenn es eine kleine Erweiterung ist, wäre es ein "Nice to have"

Sprachumschalter
Leitet nur die url um

zunächst:

Custom URL
Externe URL
Interne URL (Linkmap)

authors: alexplusde alexwenz dergel dpf-dd marcohanke netzproductions omphteliba skerbis tbaddade tyrant88


text:
Add touch

Need a comment on how to implement tests better, because this pr will result 200ms delay in tests since it's testing if it changes the access and modification time of an existing file. Also is using os.Remove() okay to remove files after each test? Or file system should be mocked somehow?

Thank you for the PR @wralith

authors: wralith yakuter

repo: yakuter/gol


text:
Add missing SDK methods and tests

Describe the feature request
Since the old functions used web3.js we still need to migrate a few methods to ethers.js and add the test for these methods

Since this issue has been created twice, I close this one.

repo: yam-finance/synths-sdk


text:
Lua event handlers proposal

Currently the only way to execute Lua is to manually call dofile/loadfile, this is far from perfect and is not enough to make a proper mod.
What we might want to do is add a global function registerHandler taking an event name as first param and a function as second parameter.
Sample usage would be:
registerHandler("update", function (delta)
  print("Frame delta: " + delta)
end)

registerHandler("imgui", function (delta)
  -- some imgui code
end)

This would require storing a list of functions to call for each event and actually firing the event in various places.

Mod files can also be loaded in like LUA libraries with foo = require "path.foo" and then later have the functions run with foo.bar(baz). This just means that the only thing you need to worry about is providing the means to load them (autoexec should probably load the mods somehow).
Ideally, mods should be using the native events like Game.GetPlayer():OnMeleeHitEvent(), etc, and tweaking them to their needs. Otherwise, you'll have to recreate shells for event once again.
It would be possible to create a generic hook-up though with something like:
-- Create a table to store all the functions mods wish to run off of our handles
ModHandles = {}
ModHandles.Triggers = {}
ModHandles.AnyHandle = "Any"

-- Add functions to our table for usage with handles
function ModHandles.AddHandle(string handle, func trigger)
    table.insert(ModHandles.Triggers, {handle = handle, trigger = trigger})
end

-- Run our functions when handles happen
function ModHandles.TriggeredHandle(string handle, args arg)
    for k, v in ipairs(ModHandles.Triggers) do
        if (v.handle == handle) or (v.handle == ModHandles.AnyHandle) then
            v.trigger(param)
        end
    end
end

You would then hook up the generic events with something like this:
player = Game.GetPlayer()
player:OnMeleeHitHandle(function(arg) ModHandles.TriggeredHandle("PlayerMeleeHit", arg) end)
-- repeat with different handles for each native event

I believe we already have at least some support in regards to this as a whole so we may close this i suppose @yamashi ?

I believe we already have at least some support in regards to this as a whole so we may close this i suppose @yamashi ?

authors: WSSDude420 willuwontu yamashi

repo: yamashi/CyberEngineTweaks


text:
Why depend on both yaml-rust2 and serde_yaml?

Thank you for this library! Wouldn't it make sense to use either serde_yaml or yaml-rust2, maybe offering the option with a feature flag? Otherwise anyone using this library will pull both dependencies.

Hi, Ecco! Thanks for stopping by!
Initially, I did mean to do all parsing using just yaml-rust2, as it's a bit lower level and I figured might be needed at some point to report more specific and detailed validation errors.
It's not quite there yet, though, so still just using serde_yaml as well for that part.
However, just for loading the YAML schema itself, which is relatively well-defined, serde_yaml does the trick.
Now, the thing is, since serde_yaml has been 'deprecated', I guess until a definitive fork pops up I'm also considering parsing the schema file itself using yaml-rust2 as well.
WDYT?

I think the main problem here is that anyone using your library will transitively inherit your dependencies as well, making their binary larger. I agree that the current situation of Rust and YAML is a bit messy with no de facto standard. Have you looked at saphyr-rs/saphyr? It's being written by the maintainers of yaml-rust2 :)

@Ecco I think you'd be glad to know that, after getting serde_yaml to parse the input into an intermediary model, then transforming that intermediary model into the actual schema model used for validation, I've started to use saphyr instead to directly construct the schema model from the saphyr::Yaml doc (saves a whole lot of code, and can do one-step ingest).
Afterwards, I plan to rewrite the validation to also use saphyr_parse directly so can perform validation as it goes without having to parse the entire document first.

https://github.com/yaml-schema/yaml-schema/pull/6

authors: Ecco aisrael

repo: yaml-schema/yaml-schema


text:
Find cause of 28MB to 44MB build size increase

Happen between commits 6f4a4c991d and ca87942a95

Archiving for later

repo: yaml/yamlscript


text:
Moved project path into exec command

Improved command execution passing the path with the cwd param.
I think that this also fixes the #7 because the cd command was executed after the agvtools

thanks!

authors: Reggionick yanamura

repo: yanamura/ios-bump-version


text:
How to train?

How can I use the repo to train a model?

Please clicking on the corresponding  extensive box。

thank you

authors: liuxubit yancie-yjr

repo: yancie-yjr/StreamYOLO


text:
is external dictionaries attributes type support Nullable(String) ?

when I try to write a dictionary config.xml, I have the error:e.displayText() = DB::Exception: Unknown type Nullable(String), e.what() = DB::Exception
<attribute> <name>name</name> <type>Nullable(String)</type> <null_value></null_value> <injective>true</injective> </attribute>

tax_name
String
assumeNotNull(tax_name)

true

repo: yandex/ClickHouse


text:
Fix missing messages in Kafka materialized views

This PR fixes three small issues:

IProfilingBlockInputStream checked limits after reading a block (which would be committed, but not used)
Limits were applied on the UnionBlockInputStream instead of Kafka streams, which could cause an extra block to be read
StorageKafka: make commit message only if messages are consumed (this is not an issue, but optimization)

refs #1690

@tobad357 can you rebuild ClickHouse from this PR and run your tests? It'd be great if you could help out and convert your tests into an integration test here https://github.com/yandex/ClickHouse/tree/master/dbms/tests/integration (we'd need a docker compose with Kafka, kafkacat, and configuration)


text:
🛑 Google is down

In 65e13da, Google (https://google.icloudnative.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Google is back up in b72095d after 7 minutes.

repo: yangchuansheng/upptime


text:
Future time boxes start on Sunday and Friday/Sat showing as weekend

Hi,

The future time boxes are showing as starting on Sunday on the drop plan suddenly?
The Timebox starts on the 26/3 but its showing in dropplan as the 25/3 and Friday/Saturday are showing as holiday.
All future timeboxes are like this - but the current one is right?
Has something changed?
Thanks
Sam

Is this still going? I fixed a few issues there.

authors: SamanthaEntwistle yanivsegev

repo: yanivsegev/VSTS-DropPlan


text:
react/prop-types: components with props that all have default values fails to validate

Problem
When using the react/prop-types rule when a component has default values for all of its props the rule fails to validate correctly.
Reproduction case
Run it in repl.it/@jvdl/eslint-plugin-react-default-value-prop-validation-bug or clone jvanderloo/eslint-plugin-react-default-value-prop-validation-bug and run locally.
eslint config:
  "rules": {
    "react/prop-types": "error"
  }

Example that does validate as expected:
function Foo({ fooProp1 }) {
  return (
{fooProp1}
);
}

Example that does not validate as expected:
function FooBar({ foobarProp1 = "foo" }) {
  return (
{foobarProp1}
);
}

Expected results
(Assuming a file that has both of the above examples in it)
./example.js
   4:16  error  'fooProp1' is missing in props validation  react/prop-types
  19:19  error  'foobarProp1' is missing in props validation  react/prop-types

Note in the above expected results that both functions fail props validation.
Actual results
./example.js
  4:16  error  'fooProp1' is missing in props validation  react/prop-types

Note that for the function FooBar the props validation passes, even though there is no explicit prop types declaration, only the implicit one by virtue of the types of the default value for the prop.
Additional notes
It appears that this case only occurs when all props have a default value, if only some of the props have one then all props will be properly validated as not having a prop type.
e.g. in the following example only one of the props has a default value
function Bar({ barProp1 = "foo", barProp2 }) {
  return (
{barProp1} and {barProp2}
);
}

This shows the expected result of:
  10:16  error  'barProp1' is missing in props validation  react/prop-types
  10:34  error  'barProp2' is missing in props validation  react/prop-types

I'm not sure what you're asking about. All of these components need explicit .propTypes = added to them, that's the point of this rule.

All of these components need explicit .propTypes = added to them, that's the point of this rule.

Agreed, however when a component has default values defined in the function signature for all of its props, then the rule doesn't validate that component.
For instance, if I have the following code:
function FooBar({ foobarProp1 = "foo" }) {
  return (
{foobarProp1}
);
}

This component will not be validated by react/prop-types despite the lack of an explicit .propTypes = ... definition.
Whereas the following code:
function Foo({ fooProp1 }) {
  return (
{fooProp1}
);
}

function Bar({ barProp1 = "foo", barProp2 }) {
  return (
{barProp1} and {barProp2}
);
}

Will trigger the rule for both components if no explicit propTypes definition is present.

Ah, thanks for clarifying. Indeed, those should both be equally warned upon.

authors: jvanderloo ljharb

repo: yannickcr/eslint-plugin-react


text:
Adapter一定要继承SwipeMenuAdapter吗？

用到databinding ，不想改Adapter，可以不继承SwipeMenuAdapter吗？用TabLayout+viewpager 滑动没反应。

是哒，必须继承SwipeMenuAdapter。

@yanzhenjie  看demo里面，SwipeMenuCreator只能设置Menu的宽高，可以设置他的位置吗？或者说有直接写在XML中的方式吗？

确定宽高、自适应宽高、icon、文字、文字颜色、文字style、横向还是竖向这些都可以设置，menu的位置只能在item的右边或者左边。

@yanzhenjie  我的意思是，比如menu在右边，但是他的高度 不是匹配整个item，相当于设置了padding一样，上下都缩进一定距离

上面也说了可以指定menu的item的宽高，都是居中的。

repo: yanzhenjie/SwipeRecyclerView


text:
The "put" program seems to be missing

In CMakeLists.txt , there's a command "add_subdirectory(put)".
In tutorial, it also says that we should upload graph data  onto HDFS by running put program.
Howerver, I can't find put program anywhere.

Sry for the mistake, you can find the put program in https://github.com/yaobaiwei/Grasper/tree/master/put

authors: NightDeer yaobaiwei

repo: yaobaiwei/GTran


text:
[KYUUBI #306] SparkProcessBuilder support Windows

     ❨?❩

Why are the changes needed?

SparkProcessBuilder support Windows. Easy to test for developers using Windows.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[x] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

@yaooqinn Updating the user name requires updating all the file information, which is very troublesome, so I created a new PR.

thanks, merged to master for v1.1.0

can we also make a PR to support server instance in win？

For Windows, it's mostly for testing, I think it's good enough to run with an IDE.

authors: Honglun yaooqinn

repo: yaooqinn/kyuubi


text:
Plugin: collection before/after Write events should get the File object, not just strings

this function should get the entire File object so that a plugin can access additional information from the File object to decide how it wants to act.
for example I want to be able to allow an individual file to configure a plugin differently, which can be done by extending its frontmatter:
---
template: ''
plugins:
  html-minifier:
    enabled: false
---
...content

And accessing the data from within the plugin:
var filePluginConfig = fileContents.data && fileContents.data.plugins &&
        fileContents.data.plugins['html-minifier'] ?
        fileContents.data.plugins['html-minifier'] : {};

    if (filePluginConfig.enabled === false) {
      return;
    }

however that's not possible right now as you don't get the full file object for this event.

fixed via https://github.com/yarnjs/yarn/commit/ebbf268228cef6925235a9b41443a7b3f1bcfb8a

repo: yarnjs/yarn


text:
Create style guide for DOCS files, Consider documentation structure

Refer comments to PR https://github.com/yashaka/selene/pull/458 and issue #456 for start

Docs questionnaire to project owner @yashaka
where 👍 - my personal preference (but no pressure ;)

#
Area
Question
Options

1
layout
Where to store (put) images for individual page?
a) 👍 Always put into sub-folder images where .md file is located  b) Store images without sub-folder along with .md files in this folder  c) Store images in one global folder (i.e. theme folder assets/images or separate global folder for docs images assets/images-docs d) Provide other option

2
layout
How docs will be organized? Pay attention that folders and filename are URL paths on website
a) Provide folders (URLs) structure  b) Provide types of documents which will be written (faq, guides, tutorials, internals, etc.)  see my current mind's eye -> draft example

3
layout
How to name .md files?
a) 👍 Use hyphen(s) in lower case filenames  b) User underscore(s) in lower case filenames  c) Arbitrary name (with spaces and random case)

4
nav
How navigation menu (left on the website) will be structured?
a) Provide structure with section / sub-section / page headers  look at current draft implementation (left menu)

5
syntax
Links: Will we insist on using reference links (instead of inline links)?  i.e. [click me][selene-github]  [selene-github]: https://yashaka.github.io/selene/
a) 👍 Yes  b) No

6
syntax
Links: What format will we use for reference text in links?
a) 👍 Lower case words separated by hyphens, i.e. [click me][selene-github] b) Lower case words separated by spaces, i.e. [click me][selene github]c) No matter (arbitrary text, including UPPER case)  d) Provide other option

7
syntax
Links: What order will be in reference list?
a) Alphabetical order  b) 👍 Order of appearance in text  c) No matter (arbitrary order)  d) Provide other option

8
syntax
Code blocks: How to write language identifier in fenced blocks?
a) 👍 Without space after three back-ticks  b) With space  b) No matter

9
content
Should I provide syntax example on our page for such standard blocks as:  Footnotes, Tables, Blockquotes, Inline HTML  if there is a link to cheat sheet with standard syntax  (see draft page)
a) 👍 No, link to cheat sheet will be enoughb) Yes, long-read in one place is better

10
content
Should I provide syntax example on our page for fancy theme's blocks  (Admonitions, Content tabs, Buttons, etc.)  or simply add link to material theme reference page.
a) Yes, will be nice to have long-read with all fancy examples  b) 👍 No, link to theme page will be enough,because some blocks might be required setup in configuration file(not configured during initial docs setup, i.e. what we are doing now)

11
UI
Should I enable theme feature content.tabs.link for tabbed content?  Current state is disabled,You can click on tabs on draft page (each tab is switched individually)
a) Enable - this means that all tabs with the same label will be activatedwhen a user clicks a content tab regardless of order inside a container.  b) 👍 Disable - each tab switched individually

12
git
Will we use special branch name pattern for docs contributions?  for example, docs-* or docs/* This let us to trigger Markdown linter (or other docs CI job)only for such branches.Also we can add PR auto-labeler (in the future)to assign label for PR from docs branches
a) 👍 Yes, and pattern will be docs-* b) Yes, and pattern will be docs/* c) No, pattern is no neededd) Yes, but provide other pattern

13
github
Need we add separate issue labelfor documentation tasks?
a) 👍 Yes, I will add docs label  b) Yes, I will add label with another title  c) No, we don't needed it now

14
linter
There is an option to add GitHub action with linting Markdown files,  to check standard syntax,  but it will require one more config file markdownlint.conf in  root of the project and additional discussion about its setup.  Need we this linter now? or delay its integration,  when MD syntax becomes a real problem and we integrate pre-commit hooksfor Markdown linting
a) Yes, let's integrate it now as quick wayb) Create issue for the futurec) We no need it, local (IDE) linter will be enough  d) 👍 It's better to integrate pre-commit hooks in the future

15
website optimization
Should we insist writers / editors to provide optimized images? (shrink size via external services)
a) 👍 Yes, they should care about website performance  b) No, it's too much for editors.

What I've already changed
(without your approving) on draft docs website:

I divided CONTRIBUTING.md on three pages:

"How to contribute" - it's snippet of modified CONTRIBUTING.md in the root located in /contrib/code/how-to-contribute/
"Code Conventions" - it's new page in /contrib/code/code-conventions/
"Release workflow" - it's new page in /contrib/code/release-workflow/
Pay attention that I renamed it (was "Release process")

I converted all links (except all badges links) in README.md to reference links
I formatted README.md according to draft rules. Also I removed "dollar" character ($) from installation commands (because Markdown linter require output line for these commands)
I inserted links to docs website for CONTRIBUTING.md, "Release workflow" and "CHANGELOG.md" links at the end of README.md, i.e. visitors from GitHub or PyPI will be redirected to docs website (not GitHub).
I changed case to lower for pages which includes pages with CAPS LOCK, in order URL will be in lowe case (It's mor common), for example will be https://yashaka.github.io/selene/changelog/
I changed GitHub repo icon to "cat" because it's more associated with GitHub than Git icon
I added "social" links to the footer (from README)

1 :
assets is inside same directory where my-file.md lives.
This is my-fild.md file content
![](assets/my-pic.png)

2: need to think more on it...
not sure if like something like /guide/how-to-integrate-selene-into-selenium-project.md
i would love more something like /how-to-integrate-selene-into-selenium-project.guide.md
3: a) 👍 Use hyphen(s) in lower case filenames
I would add to the end the "type" sufix, i.e. guide in /how-to-integrate-selene-into-selenium-project.guide.md... but not sure...
let's then try to use such sufixes (i.e. tags in names)
4:
(below: ./ is the root of repo)

Overview (-> ./README.md)
Learn Basics

Selene Quick Start -> ./docs/learn-core/selene-quick-start.tutorial.md (https://yashaka.github.io/selene/learn-core/selene-quick-start-tutorial)

Learn Advanced

Custom Selene Conditions

FAQ

How to configure chrome with profile -> ./docs/faq/how-to-configure-chrome-with-profile.faq.md (https://yashaka.github.io/selene/faq/how-to-configure-chrome-with-profile-faq)

Real Life Examples
*
Contributing

...
...

Changelog
License

If the section is empty it can be omitted so far...
5: recommend reference links over full url links
6: a) 👍 Lower case words separated by hyphens, i.e. [click me][selene-github]
7: b) 👍 Order of appearance in text
8: a) 👍 Without space after three back-ticks
9: a) 👍 No, link to cheat sheet will be enough
10: b) 👍 No, link to theme page will be enough,
because some blocks might be required setup in configuration file
11: b) 👍 Disable - each tab switched individually
12: a) 👍 Yes, and pattern will be docs-*
13: a) 👍 Yes, I will add docs label
14: d) 👍 It's better to integrate pre-commit hooks in the future
15: a) 👍 Yes, they should care about website performance

I divided CONTRIBUTING.md on three pages:

Ok, just make it two-levels, i.e:

Contributing (first level)

How to ... (second level)

...
And OK to everything else.

Eventually, after discussion in private this navigation structure was approved:
Overview  # -> ./README.md
Learn Basics
    ...
Learn Advanced
    ...
FAQ
    ...
Use Cases
    ...
Contribution
    ...
Changelog
License

and folders (URLs) structure:
📁 docs/
├── 📁 assets
    ├── 📁 images
        ├── 🎨 logo-icon.png
        └── 🎨 favicon.png
├── 📁 contribution/
    ├── 📄 code-conventions.guide.md
    ├── 📄 index.md
    ├── 📄 ...
    └── 📄 to-source-code.guide.md
├── 📁 faq/
    ├── 📁 assets/
        └── 🎨 chrome-driver-window.png
    ├── 📄 index.md
    ├── 📄 q-tbd-1.howto.md
    └── 📄 custom-chrome-profile.howto.md
├── 📁 learn-advanced/
    ├── 📁 assets/
    ├── 📄 index.md
    ├── 📄 learn-deeper-1.tutorial.md
    └── 📄 learn-deeper-2.guide.md
├── 📁 learn-basics/
    ├── 📄 index.md
    ├── 📄 quick-start.tutorial.md
    └── 📄 learn-something.tutorial.md
├── 📁 use-cases/
    ├── 📁 assets/
        └── 🎨 my-pic.png
    ├── 📄 ex-tbd-1.example.md
    ├── 📄 ex-tbd-2.example.md
    └── 📄 index.md
├── 📄 changelog.md
├── 📄 index.md
└── 📄 license.md

Documentation website was updated https://yashaka.github.io/
with new structure and formatted README (Overview)

authors: hotenov yashaka

repo: yashaka/selene


text:
Downloading from other languages?

Hi! Thank you so much for this code, it's exactly what I was looking for. I'm trying to download the Spanish version of one of the sessions, but when copying the link into the code it only downloads the English version.
Also, what's the default download directory for the files? Can't seem to find it. Thanks

there is no default download location. It downloads in the directory where you execute it. Try running pwd to get where your terminal is.

oh ok! Thanks! Got it. As far as the language, there's no current way to select it right? It just selects the English as default?

yes currently it could only download English

Really awesome project @yashrathi-git, thanks!
@naamex for selecting languages you just have to adjust the header parameter "hs-languagepreference" to the desired one (e.g. "de-DE"). The header parameter "accept-language" does not need to be changed.

Hi @flowni! I actually discovered this a few days ago, is this on the main.py file right? I was able to change it, but when I went to download it said "Unauthorized" and the login didn't work

authors: flowni naamex yashrathi-git

repo: yashrathi-git/pyHeadspace


text:
Dose not work?!

I know that is is no longer avalable, but can you still use the code, I can't get it to work.

The plugin is still alive to my knowledge. You can get it from the link in the documentation.


text:
register new stream and API port for AzuraCast

A developer version should be made with the AzuraCast stream.
URLS are:
MP3:
https://azuracast.mahoro-net.org/listen/tsumugi/radio.mp3
API:
https://azuracast.mahoro-net.org/api/nowplaying/tsumugi
https://azuracast.mahoro-net.org/api/nowplaying_static/tsumugi.json << faster fetch
Goal: achieve the exact same features as it did before
Later on, I should:

update R/a/dio codebase to compile for API32 (just like the commits from here)
Add alarm sound preview on R/a/dio too
either make a new Tsumugi port from R/a/dio, or port existing features from R/a/dio back into Tsumugi

requested songs appearance (with colored text)
5 songs start history
request songs with HTTPS PUT (quite complex)
probably even moar stuff?

yup done

repo: yattoz/webradio-app


text:
🛑 GIT is down

In 5ba5414, GIT (https://git.neko.red) was down:

HTTP code: 0
Response time: 0 ms

Resolved: GIT is back up in 6873d5a.


text:
🛑 校務系統 is down

In cedceeb, 校務系統 (https://sys.ndhu.edu.tw/INC/SSO_RWD/Login.aspx) was down:

HTTP code: 503
Response time: 750 ms

Resolved: 校務系統 is back up in 0000112 after 11 minutes.


text:
[Blog] 이미지 자동 최적화

https://github.com/typicode/husky + https://github.com/lovell/sharp + https://github.com/image-size/image-size

굳이...?


text:
Execute Selenium tests with coverage on Github Workflow

Unfortunately, I have tried a looooot of stuff. All without any success on github workflow... but working successfully locally!?
Obviously, a system lib is missing to interact with elements. Indeed, I got a lot of "Element Not Intractable (Interactable) exception".
First, I was thinking about an issue with a X server or something like that. But no... Despite all that sweats... still not fixed!
Here is a summary of what I have already tried:

with or without headless mode
with or without various options in ChromeOptions
Chromium instead of Chrome
Firefox instead of Chromium
various cleanup with apt (fresh install, purge, update, etc)
with chromedriver-manager and chromedriver downloaded manually
with Xvfb launch manually (Xvfb $DISPLAY &):

with or without screen option: -screen 0 1920x1200x24
with :1 or :99 as display monitor number

xvfb_run command wrapper
with or without tox (fixing BTW the passenv option)
github action gabrielbb/xvfb-action
selenium-standalone/chrome docker image
pyvirtualdisplay, with :

visible False + headless
visible True + not headless

You can see more in selenium_ci branche.
Anyway, please note that interactable issue doesn't seem to occurred in any case. It happens at least for cookie banner (displayed in JS). Strangely, some events binding seems to work, but not for all. That's why I'm thinking now it could be a good start for investigation.
Most of the time, I never give up. But here, honestly... I'm tired with all that bullshits. Really. I waste a ton of times to get it work without any success on github... but always working like a charm on my local post!! Yeah, "but I stiiiill, haven't fouuuuuund, what's I'm looking fooor" :/
Any examples you find on the web (and there are a lot), DON'T interact with elements. When you take a look deeper into the tests, they just... hit a page and returns its title !! Wow, so wonderful, many thanks! Using Selenium just for this... Well, maybe you need to review your proof of concept ! I can do exactly the same thing with just a basic curl + xml parse lib, Dude!
So we never know... Maybe one day, someone would take a look at this issue, fix it and for sure, I will buy him a coffee!!

huuuum... interesting ! It seems that in fact, this is the Javascript execution which is broken !
Take a look at this job: https://github.com/ychab/wagtail_folioblog/actions/runs/3563436816/jobs/5986218019

Maybe the chromedriver download webdriver-manager is not good?
Action: try to install manually the latest chromedriver with google-chrome-stable

Inspector, you have not tried everything yet !

test again with selenium grid (we never know)
mostly : if the threading server launch by Django Test Suite has some trouble to serve static files ? If true, for sure not having JS scripts fwill failed ! It could explain a lot of things... Like why its work for others projects and not mine !!
Maybe a good action would be to get more detailled with driver (verbose mode) and see it the browser downloaded the JS script as well...

Pfffff mouhaha I'm so stupid!! Why I'm the only one it didn't work?? Because I'm the only one having to forgot to... run NPM dist command which copy static files !! God daaaaaaaaaaamn!!!
Now, we are on the good way! So... never give up bro! (until it didn't work again!!)

PS: webdriver screenshots + github workflow artifacts give me some precious eyes!


text:
TkConsumes, TsConsumes

Let's create two new decorators in org.takes.facets.fork package: TsConsumes and TkConsumes. They should be used like this:
new TsConsumes(takes, "application/json");
new TsMethods(takes, "text/*");
new TkMethods(take, "text/xml,application/xml");

They should allow only request with certain Content-Type to get through. I would suggest to implement them internally by means of TsFork and FkTypes.
Let's not forget about proper Javadoc documentation and unit tests.

@yegor256 thanks, I added the "bug" tag

@celezar this task is for you, keep these principles in mind, and don't hesitate to ask any technical questions. 30 mins is the budget of the task. This is exactly how much will be paid when the problem is solved (no matter how much time you will actually spend). See this for more information

@yegor256 many thanks, 15 mins added to your acc for reporting this bug, pmt ID 000-4b12a3f7

@davvd @yegor256 Is this task affected by changes made in #133? Since we don't have Takes anymore.

@celezar yes, indeed, we need to create only TkConsumes

Please assign this task to someone else.

@davvd give this to somebody else pls

@davvd give this to somebody else pls

@yegor256 someone else will help in this task, no problem at all

@yegor256 attached this issue to milestone "1.0" (let me know if this is wrong)

@ikhvostenkov the task is yours please proceed

@ikhvostenkov you're working with this issue for 15 days already; -30 added to your rating, current score is: +61

@davvd PR has been accepted 5 days ago, but due to https://github.com/yegor256/takes/issues/253 merge is not possible. We need to wait until https://github.com/yegor256/takes/issues/253 will be fixed.

@ikhvostenkov the problem in #253 was suppressed by @Ignore two days ago. we can merge now without problems

@davvd https://github.com/yegor256/takes/pull/215 resolves this issue. Fix has been successfully merged.

@ikhvostenkov I'm a reporter here, you should ask me to close it, not @davvd

@yegor256 Could you please close this one if no comments from your site and you are satisfied with solution in https://github.com/yegor256/takes/pull/215

@ikhvostenkov sure, thanks!

@ikhvostenkov Much appreciated! 38 mins was added to your account, payment ID 57307234, time spent is 455 hours and 13 mins. age=2944, that's why a bonus here for fast delivery. added +38 to your rating, now it is equal to +115

authors: celezar davvd ikhvostenkov yegor256


text:
有没有python版本的呀

赞，感谢分享非常不错的工作。想在python上使用视频生成的核心能力，主要是图片滤镜、图片之间的转场动画效果等~ 不知道这个好不好转换，感谢回答分享~

不好意思，不会python

authors: plmsmile yellowcath

repo: yellowcath/PhotoMovie


text:
How to solve this error ''raise ValueError('Unknown mat file type, version %s, %s' % ret) ValueError: Unknown mat file type, version 97, 116''

(geneface) root@autodl-container-b94c46a1f4-577005f2:~/GeneFace-1.1.0/data_util/face_tracking# python convert_BFM.py
Traceback (most recent call last):
File "/root/GeneFace-1.1.0/data_util/face_tracking/convert_BFM.py", line 5, in
original_BFM = loadmat('/root/GeneFace-1.1.0/data_util/face_tracking/convert_BFM.py')
File "/root/miniconda3/envs/geneface/lib/python3.9/site-packages/scipy/io/matlab/mio.py", line 225, in loadmat
MR, _ = mat_reader_factory(f, **kwargs)
File "/root/miniconda3/envs/geneface/lib/python3.9/site-packages/scipy/io/matlab/mio.py", line 74, in mat_reader_factory
mjv, mnv = get_matfile_version(byte_stream)
File "/root/miniconda3/envs/geneface/lib/python3.9/site-packages/scipy/io/matlab/miobase.py", line 231, in get_matfile_version
raise ValueError('Unknown mat file type, version %s, %s' % ret)
ValueError: Unknown mat file type, version 97, 116

I have asked ChatGPT ,and tried the suggestions it offered,but it still doesn't works.

Please read the docs/prepare_env/install_guide.md, download the BFM2009 model
You can obtain a file named BaselFaceModel.tgz, extract a file named 01_MorphableModel.mat from it and save it into the directory ./deep_3drecon/BFM/

repo: yerfor/GeneFace


text:
Rename environment structs in semantics

This has been bugging me for a while, not sure what you think.
It’s probably a little less confusing to call these ‘environments’ as they are more related to evaluation, although to be honest the difference between ‘contexts’ and ‘environments’ is sometimes a tad… context dependent!
The rename reduces verbosity slightly in some cases which is a nice win for readability as well, I think.

Yeah there’s no single right answer on this. I think the reduced verbosity is nice enough, so let’s go with this and see how we feel later?

Yeah there’s no single right answer on this. I think the reduced verbosity is nice enough, so let’s go with this and see how we feel later?

Sure 👍

authors: brendanzab wezm

repo: yeslogic/fathom


text:
.jade files in /app/jade/ not rendering as html in /.tmp

I've got the generator working and serving locally -- my changes to index.jade and main.styl render as expected in /.tmp and preview fine in the browser. But when I create new .jade files in /app/jade/ they don't get created as new .html in /.tmp. Also, nothing happens when I create subfolders under /app/jade/ as described in the readme.
Could I have missed something in setting up or config?

+1

@bumpux I fixed it by updating the missing pages to the jade task. I thought the generator would do this automatically, but we need to add it for every page.
src: ['index.jade','post/index.jade'],

Made a PR for this so jade files get generated recursive. Files starting with an underscore are omitted.

Please use globbing in grunt config: http://gruntjs.com/configuring-tasks#globbing-patterns

authors: Poltergeist bumpux d2tstudio yfr

repo: yfr/generator-jade


text:
geom_tile example not working

I've tried geom_tile/geom_bin2d exactly as in the example and it returns an error:
df = pd.DataFrame(dict(
x=np.random.normal(0, 1, 1000),
y=np.random.normal(0, 1, 1000),
w=np.random.uniform(-1, 1, 1000)
))
df.head()
ggplot(df, aes(x='x', y='y', fill='w')) + geom_tile()
Returns:ValueError: Cannot convert NA to integer

Same for me.

repo: yhat/ggplot


text:
有gpt4的api key, 去代码里改了model 后的参数为gpt4,但是调用时还是gpt3，点解？

有gpt4的api key, 去代码里改了model 后的参数为gpt4,但是调用时还是gpt3，点解？

--use_chatgptapi 么？

--use chatgptapi 不稳定，很大概率connect error,  --use gpt3 稳定一些，但是两个都改了model部分的参数后，试验一下，后台显示依然都消耗的gpt3的token

use gpt3 不能改 model

class ChatGPTBot(ChatHistoryMixin, BaseBot):
default_options: ClassVar[dict[str, str]] = {"model": "gpt-4-0314"}
openai_key: str
api_base: str | None = None
proxy: str | None = None
deployment_id: str | None = None
history: list[tuple[str, str]] = dataclasses.field(default_factory=list, init=False)

用这个--use chatgptapi   也改了对应位置的model参数后，用--use chatgptapi 回答成功了，但是看上去依然是gpt3的答案

理论上已经是 3.5 路我们看看

理论上已经是 3.5 路我们看看

是3.5了。

好的我先关了哈


text:
Minor fixes and refactoring

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Tests pass?
✔

Fixed issues

Merged. Thank you!

authors: alexkart samdark

repo: yiisoft/cache


text:
Bump validator to 2nd version in dependencies

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Closed in favor of #121.

repo: yiisoft/yii-middleware


text:
AutoLoginMiddleware bug

Type of the first parameter of method \Yiisoft\Yii\Web\User\AutoLogin::addCookie is \Yiisoft\Yii\Web\User\AutoLoginIdentityInterface, but \Yiisoft\Yii\Web\User\User::getIdentity returns \Yiisoft\Auth\IdentityInterface on src/User/AutoLoginMiddleware.php:44

No a bug:
interface AutoLoginIdentityInterface extends IdentityInterface

I've added testcase see #322

Should be moved to https://github.com/yiisoft/user

authors: samdark xepozz

repo: yiisoft/yii-web


text:
UniqueValidator has a bug in version 2.0.46

Since the release of the version 2.0.46 the error messages will not be added to all "targetAttribute"s anymore.
So this block from the documentation of the UniqueValidator is not true anymore:
 * // a1 and a2 need to be unique together, and they both will receive error message
 * [['a1', 'a2'], 'unique', 'targetAttribute' => ['a1', 'a2']]

What steps will reproduce the problem?
I have an ActiveRecord class
with these rules:
            [['ref_report_id'], 'integer'],
            [['ref_report'], 'integer', 'max' => 127],
            [['ref_report', 'ref_report_id'], 'unique', 'targetAttribute' => ['ref_report', 'ref_report_id']],

What is the expected result?
I'm getting these errors from the validation:
[
            'ref_report' => ["The combination \"{$ref_report}\"-\"{$ref_report_id}\" of Ref Report and Ref Report ID has already been taken."],
            'ref_report_id' => ["The combination \"{$ref_report}\"-\"{$ref_report_id}\" of Ref Report and Ref Report ID has already been taken."]
]

What do you get instead?
I'm getting this now (only the first, because of this skipOnError==true):
[
            'ref_report_id' => ["The combination \"{$ref_report}\"-\"{$ref_report_id}\" of Ref Report and Ref Report ID has already been taken."]
]

Additional info
Commit: https://github.com/yiisoft/yii2/pull/19409/files/1f4ac6647fb95ab97de73492d897e9782b3af372

Q
A

Yii version
2.0.46

PHP version
7.4

Operating system
Debian

Yes, documentation needs to be updated but this works as intended now.

Just had the same problem:
 * // a1 and a2 need to be unique together, and they both will receive error message
 * [['a1', 'a2'], 'unique', 'targetAttribute' => ['a1', 'a2']]

Minor note: If the behavior changes here, wouldn't it be better that a1 (first attribute) gets the error instead of a2. Currently always the last attribute seems to get the error message.

First attribute without an error gets a new message when skipOnError is set to true (default).

authors: bizley luke- r-simlinger


text:
Unknown Property Exception after adding column?

Hi
1- i have added New Column to the database table
2- added field to rules in model
[['country', 'city', 'number'], 'required'],
[['company_name', 'country', 'city'], 'string', 'max' => 50],
[['number'], 'string', 'max' => 25],
3- added to attribute labels
'id' => 'ID',
'company_name' => 'Company Name',
'country' => 'Office Country',
'city' => 'Office City',
'number' => 'Office Phone',
4- added to form (field type doesnt matter)
field($model, 'company_name')->textarea(['rows' => 9]) ?

but nothing works with the following error
Getting unknown property: app\modules\hrm\models\Offices::company_name

Any Idea?
Thank You

If you have a caching component set try clearing it's cache.

I have a good idea. How if you ask in yii official forum.

Thanks Alex it was caching Problem.Just Commented out my configuration for cache in web.php and after that it was fine.
Although it was strange though.

Yii will cache the table schema so if you change the table you need to clear the cache.

authors: Alex-Code mdmunir zohaibhassan


text:
yii/db/ActiveController error

$scrap = Scrap::findAll(['first'=>0,'user_id'=>$user_id,'TO_DAYS(add_time)'=>TO_DAYS(NOW())]);
error:
name: "PHP Fatal Error"
message: "Call to undefined function \modules\v1\controllers\TO_DAYS()"
code: 1
type: "yii\base\ErrorException"

Scrap::findAll([
    'first'=>0,
    'user_id'=>$user_id,
    'TO_DAYS(add_time)'=>new \yii\db\Expresion('TO_DAYS(NOW())'),
]);

http://www.yiiframework.com/forum/

TKS

authors: mdmunir webwlsong


text:
Allow limiting the length of the sql string that will be printed

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Tests pass?
yes

When we run a migration with a very large view, for example, it is bad to follow the migration progress on the screen.

Could you elaborate about use case?

I have a database view that takes up 4 pages of the screen when it is executed in a migration.
It would be very useful to be able to configure to only print the first 200 characters.

I suggest making it a global class property instead of a method parameter.

@arogachev done!

@thiagotalma Thanks! 👍 Made small corrections. Now I think it's ready for merge. Others,, please check.

Merged with adjustments. Thanks!

authors: arogachev samdark thiagotalma


text:
Deprecate some things going away/changing in 2.1

Obviously not all-inclusive, but any isolated changes in 2.1 that were easy to replicate in a non-breaking way, are now also in 2.0, with @deprecated tags on the deprecated classes/methods. This may help ease the migration to 2.1 a bit, with zero cost to the 2.0 codebase complexity.

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
yes

@rob006 Regarding docs – considering 2.0 requires PHP 5.4+ and ::class wasn't introduced until PHP 5.5, seems like we leave the ::className() references in-place in the docs. What do you think?

(Same reason I didn’t actually change any ::className() references in the code to ::class.)

Personally I would deprecate className() in 2.1 and remove in 2.2. One additional method will not hurt anyone.

Merged. Thank you!

authors: brandonkelly rob006 samdark


text:
error with yii\db\sqlite\QueryBuilder:batchInsert()

error with yii\db\sqlite\QueryBuilder:batchInsert() if php_sqlite3 extension is disabled, as class SQLite3 does not exist
line 69
if (version_compare(\SQLite3::version()['versionString'], '3.7.11', '>=')) {
return parent::batchInsert($table, $columns, $rows);
}
must be wrapped in like
if (extension_loaded('sqlite3')) {
    if (version_compare(\SQLite3::version()['versionString'], '3.7.11', '>=')) {
        return parent::batchInsert($table, $columns, $rows);
    }
}

how does your code manage to call sqlite batchinsert method when there is no sqlite installed?

as i understand from file, function continues execution if sqlite3 is not available, but it doesn't check if extension is enabled.
in fact, it is very strange function, as it almost fully duplicates its parent, which is called if sqlite3 class is available. So, if for real, i'm not sure why there's this 'if' statement at all.

p.s.
pdo_sqlite and sqlite3 are 2 different extensions

duplicate of #6763

authors: cebe yurii-github


text:
Error in installation

I am getting an error when I run unzip TextFuseNet-master, first I thought there must be a compressed file which I need to manually unzip but couldn't find it so I thought of running the above command but it is not been executed. Also, the next command i.e. cd TextFuseNet-master is also giving an error - 'Cannot find path'. What should I do?
Please help me in this regard.

Those instructions must be for an older version of the repo... you can just use:
cd TextFuseNet
pip install fvcore-master.zip
there is no need to unzip anything

Ok, I will try this way. I request you to please update the readme of the repo accordingly (if possible).

I do not own this repo and am not a contributor either. I just had the same problem when I used it :)


text:
NEW COMMAND

NEW COMMAND：
Count-Min Sketch
commands: [cmsinit | cmsincrby | cmsquery]
127.0.0.1:16379> cmsinit cms 0.01 0.01
OK
127.0.0.1:16379> cmsincrby cms abcdefg 1
(integer) 1
127.0.0.1:16379> cmsquery cms abcdefg
(integer) 1
127.0.0.1:16379> cmsincrby cms abcdefg 10
(integer) 11
127.0.0.1:16379> cmsquery cms abcdefg
(integer) 11

redis-benchmark -p 16379 -c 10 -n 100000  -r 100000000 cmsincrby cms __rand_int__ 1
====== cmsincrby cms __rand_int__ 1 ======
  100000 requests completed in 1.99 seconds
  10 parallel clients
  3 bytes payload
  keep alive: 1

99.89% <= 1 milliseconds
99.94% <= 2 milliseconds
99.94% <= 3 milliseconds
99.98% <= 4 milliseconds
99.99% <= 10 milliseconds
99.99% <= 11 milliseconds
100.00% <= 11 milliseconds
50175.61 requests per second

redis-benchmark -p 16379 -c 10 -n 100000 cmsquery cms helloworld
====== cmsquery cms __rand_int__ ======
  100000 requests completed in 1.01 seconds
  10 parallel clients
  3 bytes payload
  keep alive: 1

99.97% <= 1 milliseconds
99.99% <= 2 milliseconds
100.00% <= 4 milliseconds
100.00% <= 5 milliseconds
100.00% <= 5 milliseconds
98522.17 requests per second

HASH
commands: [hgetset]
127.0.0.1:16379> hgetset htest foo bar
(nil)
127.0.0.1:16379> hgetset htest foo baz
"bar"
127.0.0.1:16379> hget htest foo
"baz"

redis-benchmark -p 16379 -c 10 -n 100000  -r 100000000 hgetset __rand_int__ __rand_int__ __rand_int__
====== hgetset __rand_int__ __rand_int__ __rand_int__ ======
  100000 requests completed in 2.64 seconds
  10 parallel clients
  3 bytes payload
  keep alive: 1

97.91% <= 1 milliseconds
99.26% <= 2 milliseconds
99.75% <= 3 milliseconds
99.89% <= 4 milliseconds
99.93% <= 5 milliseconds
99.94% <= 6 milliseconds
99.99% <= 7 milliseconds
99.99% <= 8 milliseconds
100.00% <= 9 milliseconds
100.00% <= 18 milliseconds
100.00% <= 18 milliseconds
37878.79 requests per second

JSON
commands: [jset | jsetbool | jsetint | jsetfloat | jsetobj | jincrby | jincrbyfloat | jpush | jpop | jdel | jpatch | jget]
127.0.0.1:16379> jset jtest / '{"foo":"bar","list":[1,2,3]}'
OK
127.0.0.1:16379> jget jtest /
"{\"foo\":\"bar\",\"list\":[1,2,3]}"
127.0.0.1:16379> jget jtest /foo
"bar"
127.0.0.1:16379> jget jtest /list
"[1,2,3]"
127.0.0.1:16379> jget jtest /list/0
(integer) 1
127.0.0.1:16379> jget jtest /list/1
(integer) 2
127.0.0.1:16379> jget jtest /list/2
(integer) 3
127.0.0.1:16379> jget jtest /list/3
(nil)
127.0.0.1:16379> jset jtest /str haaaa
OK
127.0.0.1:16379> jget jtest /
"{\"dict\":{\"hello\":\"world\"},\"dou\":10000.0,\"foo\":\"bar\",\"int\":100,\"list\":[1,2,3],\"str\":\"haaaa\"}"
127.0.0.1:16379> jsetint jtest /int 100
OK
127.0.0.1:16379> jget jtest /
"{\"foo\":\"bar\",\"int\":100,\"list\":[1,2,3]}"
127.0.0.1:16379> jsetfloat jtest /dou 10000.0
OK
127.0.0.1:16379> jget jtest /
"{\"dou\":10000.0,\"foo\":\"bar\",\"int\":100,\"list\":[1,2,3]}"
127.0.0.1:16379> jsetobj jtest /dict '{"hello":"world"}'
OK
127.0.0.1:16379> jget jtest /
"{\"dict\":{\"hello\":\"world\"},\"dou\":10000.0,\"foo\":\"bar\",\"int\":100,\"list\":[1,2,3]}"
127.0.0.1:16379> jincrby jtest /int 1
OK
127.0.0.1:16379> jget jtest /int
(integer) 101
127.0.0.1:16379> jincrbyfloat jtest /dou 5.75
OK
127.0.0.1:16379> jget jtest /dou
"10005.750000"
127.0.0.1:16379> jpush jtest /list '[4]'
OK
127.0.0.1:16379> jget jtest /list
"[1,2,3,4]"
127.0.0.1:16379> jpush jtest /list '[5,6,7,8,9]'
OK
127.0.0.1:16379> jget jtest /list
"[1,2,3,4,5,6,7,8,9]"
127.0.0.1:16379> jpop jtest /list
(integer) 9
127.0.0.1:16379> jpop jtest /list
(integer) 8
127.0.0.1:16379> jget jtest /list
"[1,2,3,4,5,6,7]"
127.0.0.1:16379> jget jtest /str
"haaaa"
127.0.0.1:16379> jdel jtest /str
OK
127.0.0.1:16379> jget jtest /str
(nil)
127.0.0.1:16379> jpatch jtest '[{"op":"add","path":"/str","value":"xxxxx"},{"op":"replace","path":"/list","value":[100]}]'
OK
127.0.0.1:16379> jget jtest /
"{\"dict\":{\"hello\":\"world\"},\"dou\":10005.75,\"foo\":\"bar\",\"int\":101,\"list\":[100],\"str\":\"xxxxx\"}"

andyfu@andyfu-host:~$ redis-benchmark -p 16379 -c 10 -n 100000  -r 100000000 jset __rand_int__ '{"a":1,"b":[1,2,3],"c":{"foo":"bar"},d:4}'
====== jset __rand_int__ {"a":1,"b":[1,2,3],"c":{"foo":"bar"},d:4} ======
  100000 requests completed in 0.58 seconds
  10 parallel clients
  3 bytes payload
  keep alive: 1

99.97% <= 1 milliseconds
99.98% <= 2 milliseconds
100.00% <= 3 milliseconds
100.00% <= 6 milliseconds
100.00% <= 6 milliseconds
171821.30 requests per second

andyfu@andyfu-host:~$ redis-benchmark -p 16379 -c 10 -n 100000 jget jtest /dict
====== jget jtest /dict ======
  100000 requests completed in 1.09 seconds
  10 parallel clients
  3 bytes payload
  keep alive: 1

100.00% <= 1 milliseconds
91827.37 requests per second

andyfu@andyfu-host:~$ redis-benchmark -p 16379 -c 10 -n 100000  -r 100000000 jpush __rand_int__ /list '[1,2,3]'
====== jpush __rand_int__ /list [1,2,3] ======
  100000 requests completed in 1.36 seconds
  10 parallel clients
  3 bytes payload
  keep alive: 1

99.92% <= 1 milliseconds
99.95% <= 2 milliseconds
99.96% <= 3 milliseconds
99.98% <= 4 milliseconds
99.99% <= 7 milliseconds
99.99% <= 10 milliseconds
100.00% <= 11 milliseconds
100.00% <= 11 milliseconds
73637.70 requests per second

andyfu@andyfu-host:~$ redis-benchmark -p 16379 -c 10 -n 100000  -r 100000000 jpop __rand_int__ /list
====== jpop __rand_int__ /list [1,2,3] ======
  100000 requests completed in 1.00 seconds
  10 parallel clients
  3 bytes payload
  keep alive: 1

99.97% <= 1 milliseconds
99.99% <= 2 milliseconds
99.99% <= 8 milliseconds
100.00% <= 8 milliseconds
100000.00 requests per second

测试环境
hard disk
intel 250G SSD

memery
32G

cpu
lscpu
Architecture:          x86_64
CPU 运行模式：    32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
每个核的线程数：2
每个座的核数：  4
Socket(s):             1
NUMA 节点：         1
厂商 ID：           GenuineIntel
CPU 系列：          6
型号：              60
Model name:            Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
步进：              3
CPU MHz：             4264.531
CPU max MHz:           4400.0000
CPU min MHz:           800.0000
BogoMIPS:              8000.37
虚拟化：           VT-x
L1d 缓存：          32K
L1i 缓存：          32K
L2 缓存：           256K
L3 缓存：           8192K
NUMA node0 CPU(s):     0-7
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm xsaveopt dtherm ida arat pln pts

ardb.conf
thread-pool-size              4
qps-limit-per-host                  0
qps-limit-per-connection            0
rocksdb.options               write_buffer_size=512M;max_write_buffer_number=5;min_write_buffer_number_to_merge=2;compression=kSnappyCompression;\
                              bloom_locality=1;memtable_prefix_bloom_size_ratio=0.1;\
                              block_based_table_factory={block_cache=512M;filter_policy=bloomfilter:10:true};\
                              create_if_missing=true;max_open_files=10000;rate_limiter_bytes_per_sec=50M
lua-time-limit 5000
redis-compatible-mode     no
redis-compatible-version  2.8.0

应该是gcc的版本太低编译不过，需要gcc 4.9+

repo: yinqiwen/ardb


text:
有试过用tensorflow的模型跑一跑么？

如上。

？？？
| |
易作天
|
|
邮箱：csuyzt@163.com
|
签名由 网易邮箱大师 定制
在2020年04月14日 18:21，msnh 写道：
如上。
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

用numpy重构下一些基础网络，然后加载tensorflow pb数据，进行前向运算

@msnh2012 没有测试过，请问tensorflow pb的数据指定是mnist,cifar还是其它的？

都行呀，比如构建个VGG16试试，看可行不可行。

@msnh2012 纯numpy，估计速度很慢，所有没有没有弄很多层；不过，你提的是个好建议，周末测试一下vgg16看看，有结果，给你消息哈

@msnh2012 用vgg11在cifar10上测试验证了下；当然速度是很慢很慢的，batch-size为32，训练一个step大概1分钟；训练1w步，模型在测试集上精度为0.576；详见3_1-VGG.md。

可能训练是不太理想，inference应该还行


text:
Some Questions

Hello. Here's some questions for you.

I tried to trigger the toggle button, but it couldn't update the theme automatically, which means you need to double-click the title or change the size of the interface to update the theme.
The theme cannot be applied to all of the sub-widgets, like QMessageBox, AboutUs, QDialogue, etc. Maybe you could improve the function of this package.
Looking forward to your reply^^

What version of Windows do you use? Windows 11 or 10? I've only tested this in Windows 11.. at least that's what i remember. In Windows 11, theme is switched immediately.

This is very basic example of it so i don't do that.. If i applied the style change to all of the applications' windows, i have to handle nativeEvent at QApplication level or some sort. I'm not sure i can do that but i will try later.

I give you this link in case you are in a hurry
https://doc.qt.io/qt-6/qcoreapplication.html#installNativeEventFilter
I didn't read this carefully enough, but i think this is the key to solve the problem

I use Windows 10 to test your code, so it might occur the situation of incompatibility.
I'll have a look and give it try.

I will test it out on Windows 10 in my virtual machine, and if it is possible, i will solve that problem as well.

OK then, any progress if you make you can tell me.

Well.. I'm exhausted.
I made a progress, but that was a quite journey to me.
First of all i acutally found out that DWMWA_USE_IMMERSIVE_DARK_MODE which i used for switching theme is supported since Windows 11.
This still works for some reasons in Windows 10 as well, but as you said if it has not been resized it doesn't change the theme by itself.
So this is how i did that:
if self.isMaximized() or self.isFullScreen() or self.maximumWidth() == self.width():
            if self.isMaximized():
                self.showNormal()
                self.showMaximized()
            elif self.isFullScreen():
                self.showNormal()
                self.showFullScreen()
            elif self.maximumWidth() == self.width():
                self.resize(self.width()-1, self.height())
                self.resize(self.width()+1, self.height())
        else:
            self.resize(self.width()+1, self.height())
            self.resize(self.width()-1, self.height())

It's kinda shame that i wrote that kind of codes but there's nothing i can do 😥
As far as i know, i've never seen a single software which is made out of PyQt using win32 feature(customized title bar doesn't count), able to switch theme in real-time.
But at least it works now, in a very, very crude way..

Hmm, this is a solution of compromise, but so far so good. Thank you for working on this, and I'm really appreciate for your patient reply^^


text:
🛑 KeepShare is down

In 8f87bd3, KeepShare (https://keepshare.org/gv78k1oi/magnet%3A%3Fxt%3Durn%3Abtih%3AULRHXZU7IHGEIVKIXMRIGSRHSY26K7TF) was down:

HTTP code: 500
Response time: 795 ms

Resolved: KeepShare is back up in 3fe2b41 after 31 minutes.


text:
CodeMirror combined with Y.UndoManager results in duplicate input

Describe the bug
When deleting a character in CodeMirror editor, then undo-ing with Y.UndoManager, yjs reports that undo as two inputs. So even though the CodeMirror editor just shows one update, yjs "update" event gets called twice with two inputs making the resulting document value be incorrect.
My theory is something with Y.UndoManager reporting the undo, updating the Y.Text document and then updating CodeMirror, which recognizes an insert and reports that as a new insert operation. Or something similar, still investigating.
To Reproduce
Steps to reproduce the behavior:

Run the project (files included under "Additional context")
Put cursor in the CodeMirror textarea so it gets focus
Write the letter "a", then hit backspace to delete it, then hit CMD-Z/CTRL-Z to undo the change
See console.log results, it will show:

update: a
update:
update: a
update: aa

Expected behavior
When undoing a delete, yjs should only insert the deleted character once, not twice. So the result in the above example should just read:
update: a
update:
update: a

Screenshots

Environment Information

Browser: Chrome
yjs@13.4.1, y-codemirror@2.0.9, codemirror@5.58.1

Additional context
Files used to replicate problem:
package.json
{
  "scripts": {
    "start": "parcel index.html"
  },
  "dependencies": {
    "codemirror": "5.58.1",
    "parcel-bundler": "1.12.4",
    "y-codemirror": "2.0.9",
    "yjs": "13.4.1"
  }
}

index.html

index.js
import CodeMirror from 'codemirror'
import 'codemirror/lib/codemirror.css'
import * as Y from 'yjs'
import { CodeMirrorBinding } from 'y-codemirror'

const editor = CodeMirror(document.getElementById('editor'), {})
const doc = new Y.Doc()
const yText = doc.getText('text')
const binding = new CodeMirrorBinding(yText, editor)
const undoManager = new Y.UndoManager(yText, { captureTimeout: 0, trackedOrigins: new Set([binding]) })

CodeMirror.commands.undo = () => undoManager.undo()
CodeMirror.commands.redo = () => undoManager.redo()

doc.on('update', () => console.log('update:', yText.toString()))

I've tried to understand why, when y-indexeddb loads stored data, and updates CodeMirror, we don't get the same problem with a CodeMirror update resulting in two inserts. It appears that inside y-codemirror we have a typeObserver (with updates from our YText) and targetObserver (with updates from our CodeMirror) and because they're using the same mutex (from lib0/mutex) and get the updates at the same time only the typeObserver update is called. Type updates first, then target.
So the question is now why, when undoing a change, we don't get the same effect, that both type and target are updated simultaneously and thus targetObserver being ignored thanks to mutex.
It looks like when undoing we get first a typeObserver update and then a targetObserver update but both are running so maybe there is something happening async here, making the first typeObserver update not mutex block the targetObserver update.
Will continue investigating.

I believe I've found a solution, even if I'm a little bit unsure exactly why it works. Looking at CodeMirror source, if there is a curOp object (which there isn't is when y-indexeddb does its load), the operation() method appears to buffer operations and waits to call endOperation(), probably until no more operations are added. endOperation() flushes changes to the DOM.
So tried adding cm.endOperation() inside y-codemirror on line 69 like this:
    // if possible, bundle the changes using cm.operation
    if (cm) {
      cm.operation(performChange)
      cm.endOperation() // <-- new line
    } else {
      performChange()
    }

And doing that for the reproducable demo I shared in my original post seems to solve the problem. I think this is a good solution but because I'm note 100% sure of all the side-effects of doing this I'll probably wait a bit for a PR until I've tested it more.

repo: yjs/y-codemirror


text:
emoticon url start with 'https'

表情url改成https开头了

这个我更新了

authors: ipcjs ykrank


text:
Fix Google fonts loading issue on HTTPS

This pull request fixes the error loading Google fonts when site is served through HTTPS, it's visible on https://ylorant.github.io/splitty/

Indeed, thank you very much for the fix :)
I'll update the gh-pages branch during the evening.

Sure, no problem :)
Did you know that you can use the master branch for the github pages? see https://blog.github.com/2016-08-17-simpler-github-pages-publishing/

Oh interesting, I didn't know that. I will do that from now on, it's much simpler.

repo: ylorant/splitty


text:
Update run_clm_sft_with_peft.py

PeftModel.from_pretrained parameter should set  is_trainable=True,
otherwise all model parameters will be setted requires_grad = False

PeftModel.from_pretrained  parameter  is_trainable=True  is required


text:
使用的语料

请问alpaca-plus使用的语料是nlp_chinese_corpus构造的吗？还是pclue吗

你指的是指令数据吗？pCLUE在基础版和plus版都用了，但只用了很少一部分，因为有许多数据构造的都比较“机械式”。
大部分还是来自ChatGPT爬取的数据。

get~那预训练语料主要是nlp_chinese_corpus吗？不过似乎没有120g诶

并不是。预训练语料主要以cc、百科、新闻等数据构成（无法提供下载），是我们推出的中文NLU系列预训练模型使用的。感兴趣可以看我们的其他repo。

authors: qwjaskzxl ymcui

repo: ymcui/Chinese-LLaMA-Alpaca


text:
New rule: detect spot colour

Check

images
stroke operators
fill operators
colorspaces from the page resources

This looks good.

authors: tomtaylor yob

repo: yob/pdf-preflight


text:
기존에 등록된 프로젝트 설정 변경 시 오류

환경: OS X El Capitan 10.11.6, Google Chrome 56.0.2924.87(64-bit)
기존에 생성된 프로젝트에서 설정화면에 프로젝트 이름 및 설명을 변경한 후 저장하게 되면

위 화면이 나타나게 됩니다.
p.s 레드마인이 아닌 국내 오픈소스 프로젝트 관리툴을 사용하게 되어 너무너무 영광입니다.
앞으로도 더 좋은 소프트웨어를 위해 많은 피드백(ㅠ)드려도 용서해주세요!

@berryzed https://repo.yona.io 에서도 동일하게 재현되는지 확인 부탁드려도 될까요?
그리고 설치하신 OS가 OS X 이신건가요?

공식 저장소에서는 해당 현상이 발생하지 않습니다.
제가 진행했던 상황은 저장소 이름이 'test'로 지정된걸 'TEST'로 변경하였을 때 였는데
공식에선 잘되고 저희 쪽에 설치된 서버에서는 오류가 발생합니다.
환경이라는게 테스트 환경이었고 서버는 임시로 Windows 10에서 돌리고 있습니다.

@berryzed windows에서는 폴더 이름을 대소문자 구분된 형태의 두 가지를 지원하지 않아서 발생하는 문제입니다. 번거로우시겠지만 오류 메시지를 보여주시겠어요? 이론상 가능할것으로 보이는 꼼수로는 우선 이름을 test2 로 먼저 바꾼 다음 다시 TEST로 변경해보시겠어요?

@doortts 말씀해주신대로 하니깐 정상적으로 되네요! 감사합니다~

authors: berryzed doortts

repo: yona-projects/yona


text:
Add bundle dependency type and re-enable static library linking against frameworks

This PR does two things:

Add a bundle dependency type. When using static libraries, in order to include resources (.xib, .storyboard, etc), we must also have a separate bundle target. Anytime the static library is linked against, we must also copy its associated bundle target. Conceptually, both are dependencies. When all targets are within the same project, we can use the target dependency type. This adds support for static lib + bundle targets that are part of a separate project from the root project that depends on them

This also re-adds support for static libraries linking against dynamic frameworks. When they are each  a part of a separate projects, simply adding the framework to the framework search paths doesn't suffice, since it does not create the dependency in Xcode which tells the build system to build one before the other.

https://github.com/yonaskolb/XcodeGen/issues/576

Thank you for your changes. I face the same problem as you, so it is great to see some changes to make it work. Unfortunately, your changes work for me only when the bundle is part of the same project. I am unable to use implicit bundles that are created as part of another project.

Could you post the relevant snippet from your project.yml file?

I have dependencies: with the following content in a target with a type bundle.unit-test.
- bundle: BundleThatIsPartOfThisProject # This one appears in Copy Bundle Resourses
- bundle: AnotherBundleInAnotherProject # This one does not apper in the copy phase

Try adding the full filename of the bundle product:
dependencies:
     - bundle: MyBundle.bundle

🤦♂ I had a wrong path to the xcodegen CLI, so it was not using the one I built from your source code. It works now. Sorry for the panic. 😄

Thanks @bsmith11! Looks good to me. Could you:

add 2 changelog entries
add a bundle and a static library including a dynamic framework to Fixtures/TestProjec and check there are no warnings. CI will also build the iOS and macOS app targets to make sure it builds properly

The test is failing because it looks like the Bundle.bundle file reference is not having its UUID resolved for some reason.

THanks @bsmith11, the workspace changes look good. Just a typo to fix as @moayes pointed out

👍 , I should have some time to clean these things up this week

Hi @bsmith11, would be great to get this into the release this weekend!

The tests are failing because the fixtures need to be regenerated

I think its all good to go now. I had to update my stuff to work with https://github.com/yonaskolb/XcodeGen/pull/635 (great change btw!)

@bsmith11 Can I become a collaborator on that Fork of the repo? :)  I would like to help bring that PR to the finish line. c.c. @yonaskolb

This PR adds the bundle dependency type https://github.com/yonaskolb/XcodeGen/pull/723
I'm closing this for now. If someone wants to add support for static libraries linking against dynamic frameworks, then create a new PR for that. @simonpierreroy, sounds like you might want to give this a go?

Great. Thank you.

authors: TomasLinhart bsmith11 simonpierreroy yonaskolb

repo: yonaskolb/XcodeGen